diff --git a/r5dev/mathlib/noisedata.h b/r5dev/mathlib/noisedata.h index f8aaeed8..89d0f159 100644 --- a/r5dev/mathlib/noisedata.h +++ b/r5dev/mathlib/noisedata.h @@ -8,6 +8,8 @@ // // **** DO NOT EDIT THIS FILE. GENERATED BY DATAGEN.PL **** // +#ifndef NOISEDATA_H +#define NOISEDATA_H static int perm_a[] = { 66,147,106,213,89,115,239,25,171,175,9,114,141,226,118,128,41,208,4,56, @@ -306,3 +308,5 @@ static float s_randomGradients[] = { 0.507019f,0.148758f, 0.751545f, 0.974243f,-0.153430f, -0.318230f, 0.986816f,-0.439372f, 0.776405f, 0.716919f }; + +#endif // NOISEDATA_H \ No newline at end of file diff --git a/r5dev/mathlib/parallel_for.h b/r5dev/mathlib/parallel_for.h index ac766efd..6bc9d74d 100644 --- a/r5dev/mathlib/parallel_for.h +++ b/r5dev/mathlib/parallel_for.h @@ -2,6 +2,7 @@ #include #include #include +#pragma once /// @param[in] nb_elements : size of your for loop /// @param[in] functor(start, end) : diff --git a/r5dev/naveditor/include/DroidSans.h b/r5dev/naveditor/include/DroidSans.h index f448817e..bb1f2599 100644 --- a/r5dev/naveditor/include/DroidSans.h +++ b/r5dev/naveditor/include/DroidSans.h @@ -1,3 +1,6 @@ +#ifndef DROIDSANS_H +#define DROIDSANS_H + // File: 'DroidSans.ttf' (108796 bytes) // Exported using binary_to_compressed_c.cpp static const unsigned int droidsans_size = 108796; @@ -2271,3 +2274,5 @@ static const unsigned int droidsans_data[108796 / 4] = 0x3032696e, 0x75073730, 0x3032696e, 0x75073830, 0x3032696e, 0x75073930, 0x3032696e, 0x75074130, 0x3032696e, 0x75074230, 0x4546696e, 0x75074646, 0x4646696e, 0x75074346, 0x4646696e, 0x00004446, 0x02000000, 0x02000500, 0x0300ffff, }; + +#endif // DROIDSANS_H \ No newline at end of file