Răsfoiți Sursa

world: cleanup

Daniele Bartolini 8 ani în urmă
părinte
comite
89c58cf711
2 a modificat fișierele cu 8 adăugiri și 8 ștergeri
  1. 6 6
      src/config.h
  2. 2 2
      src/world/sound_world_noop.cpp

+ 6 - 6
src/config.h

@@ -48,22 +48,22 @@
 #endif
 #endif
 
 
 #if !defined(CROWN_SOUND_OPENAL) \
 #if !defined(CROWN_SOUND_OPENAL) \
-	&& !defined(SOUND_WORLD_NOOP)
+	&& !defined(CROWN_SOUND_NOOP)
 
 
 	#ifndef CROWN_SOUND_OPENAL
 	#ifndef CROWN_SOUND_OPENAL
 		#define CROWN_SOUND_OPENAL 1
 		#define CROWN_SOUND_OPENAL 1
 	#endif // CROWN_SOUND_OPENAL
 	#endif // CROWN_SOUND_OPENAL
 
 
-	#ifndef SOUND_WORLD_NOOP
-		#define SOUND_WORLD_NOOP 0
-	#endif // SOUND_WORLD_NOOP
+	#ifndef CROWN_SOUND_NOOP
+		#define CROWN_SOUND_NOOP 0
+	#endif // CROWN_SOUND_NOOP
 #else
 #else
 	#ifndef CROWN_SOUND_OPENAL
 	#ifndef CROWN_SOUND_OPENAL
 		#define CROWN_SOUND_OPENAL 0
 		#define CROWN_SOUND_OPENAL 0
 	#endif
 	#endif
 
 
-	#ifndef SOUND_WORLD_NOOP
-		#define SOUND_WORLD_NOOP 0
+	#ifndef CROWN_SOUND_NOOP
+		#define CROWN_SOUND_NOOP 0
 	#endif
 	#endif
 #endif
 #endif
 
 

+ 2 - 2
src/world/sound_world_noop.cpp

@@ -5,7 +5,7 @@
 
 
 #include "config.h"
 #include "config.h"
 
 
-#if SOUND_WORLD_NOOP
+#if CROWN_SOUND_NOOP
 
 
 #include "core/memory/memory.h"
 #include "core/memory/memory.h"
 #include "world/audio.h"
 #include "world/audio.h"
@@ -162,4 +162,4 @@ void SoundWorld::update()
 
 
 } // namespace crown
 } // namespace crown
 
 
-#endif // SOUND_WORLD_NOOP
+#endif // CROWN_SOUND_NOOP