Browse Source

More comments added, move #include

Vincent Gee 11 years ago
parent
commit
f0a16bb9e3

+ 2 - 2
Engine/source/console/simDictionary.h

@@ -33,11 +33,11 @@
 #include "platform/threads/mutex.h"
 #endif
 
+#include "TorqueConfig.h"
+
 #ifndef USE_CLASSIC_SIMDICTIONARY
 #include <string>
 #include <unordered_map>
-
-#include "TorqueConfig.h"
 #endif
 
 class SimObject;

+ 3 - 0
Templates/Empty/source/torqueConfig.h

@@ -34,6 +34,9 @@
 //If you plan to have less than 5000 objects use the Classic SimDictionary, if you plan to have more than
 //5000 objects use the new SimDictionary.
 
+//The improved SIMDICTIONARY uses C++ 11 and is designed for games where
+//there are over 10000 simobjects active normally.
+//To enable the new SIMDICTIONARY just comment out the line below.
 #define USE_CLASSIC_SIMDICTIONARY
 /// What's the name of your application? Used in a variety of places.
 #define TORQUE_APP_NAME            "Empty"

+ 3 - 0
Templates/Full/source/torqueConfig.h

@@ -34,6 +34,9 @@
 //If you plan to have less than 5000 objects use the Classic SimDictionary, if you plan to have more than
 //5000 objects use the new SimDictionary.
 
+//The improved SIMDICTIONARY uses C++ 11 and is designed for games where
+//there are over 10000 simobjects active normally.
+//To enable the new SIMDICTIONARY just comment out the line below.
 #define USE_CLASSIC_SIMDICTIONARY
 /// What's the name of your application? Used in a variety of places.
 #define TORQUE_APP_NAME            "Full"