Add missing include guards

These are necessary for unity builds.
master
Lukas Werling 2018-10-14 23:15:01 +02:00
parent 7273b87b01
commit ca11d86893
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,9 @@
* for the above references. * for the above references.
*/ */
#ifndef INC_C4MeshDenumerator
#define INC_C4MeshDenumerator
#include "lib/StdMesh.h" #include "lib/StdMesh.h"
#include "object/C4ObjectPtr.h" #include "object/C4ObjectPtr.h"
@ -38,3 +41,5 @@ public:
}; };
extern const StdMeshInstance::AttachedMesh::DenumeratorFactoryFunc C4MeshDenumeratorFactory; extern const StdMeshInstance::AttachedMesh::DenumeratorFactoryFunc C4MeshDenumeratorFactory;
#endif

View File

@ -17,6 +17,8 @@
/* Helper classes for individual sounds and effects in sound system. */ /* Helper classes for individual sounds and effects in sound system. */
#ifndef INC_C4SoundInstance
#define INC_C4SoundInstance
#include "platform/C4SoundSystem.h" #include "platform/C4SoundSystem.h"
class C4Object; class C4Object;
@ -101,3 +103,4 @@ public:
void SetPlayer(int32_t new_player); void SetPlayer(int32_t new_player);
}; };
#endif