Generated_GlobalVariables.cpp 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. // DO NOT EDIT. This file is generated
  2. #include "../Precompiled.h"
  3. #include "../AngelScript/APITemplates.h"
  4. #include "../Audio/AudioDefs.h"
  5. #include "../Audio/SoundSource.h"
  6. #include "../Container/Sort.h"
  7. #include "../Container/Str.h"
  8. #include "../Core/Variant.h"
  9. #include "../Engine/DebugHud.h"
  10. #include "../Engine/EngineDefs.h"
  11. #include "../Graphics/Camera.h"
  12. #include "../Graphics/Drawable.h"
  13. #include "../Graphics/GraphicsDefs.h"
  14. #include "../Graphics/Light.h"
  15. #include "../Graphics/Material.h"
  16. #include "../Graphics/OcclusionBuffer.h"
  17. #include "../Graphics/Octree.h"
  18. #include "../Graphics/ParticleEffect.h"
  19. #include "../Graphics/Renderer.h"
  20. #include "../Graphics/Texture.h"
  21. #include "../Graphics/View.h"
  22. #include "../IO/FileSystem.h"
  23. #include "../IO/Log.h"
  24. #include "../Input/Input.h"
  25. #include "../Math/Frustum.h"
  26. #include "../Math/MathDefs.h"
  27. #ifdef URHO3D_NETWORK
  28. #include "../Network/Protocol.h"
  29. #endif
  30. #ifdef URHO3D_PHYSICS
  31. #include "../Physics/PhysicsWorld.h"
  32. #endif
  33. #include "../Resource/Image.h"
  34. #include "../Resource/ResourceCache.h"
  35. #include "../Scene/ReplicationState.h"
  36. #include "../Scene/Scene.h"
  37. #include "../UI/Font.h"
  38. #include "../UI/Text.h"
  39. #include "../UI/UIBatch.h"
  40. #ifdef URHO3D_URHO2D
  41. #include "../Urho2D/Drawable2D.h"
  42. #endif
  43. #ifdef URHO3D_URHO2D
  44. #include "../Urho2D/TileMapDefs2D.h"
  45. #endif
  46. // Some headers could re-define M_PI, ensure that it's undefined
  47. #undef M_PI
  48. namespace Urho3D
  49. {
  50. void ASRegisterGenerated_GlobalVariables(asIScriptEngine* engine)
  51. {
  52. // static const String SOUND_MASTER | File: ../Audio/AudioDefs.h
  53. engine->RegisterGlobalProperty("const String SOUND_MASTER", (void*)&SOUND_MASTER);
  54. // static const String SOUND_EFFECT | File: ../Audio/AudioDefs.h
  55. engine->RegisterGlobalProperty("const String SOUND_EFFECT", (void*)&SOUND_EFFECT);
  56. // static const String SOUND_AMBIENT | File: ../Audio/AudioDefs.h
  57. engine->RegisterGlobalProperty("const String SOUND_AMBIENT", (void*)&SOUND_AMBIENT);
  58. // static const String SOUND_VOICE | File: ../Audio/AudioDefs.h
  59. engine->RegisterGlobalProperty("const String SOUND_VOICE", (void*)&SOUND_VOICE);
  60. // static const String SOUND_MUSIC | File: ../Audio/AudioDefs.h
  61. engine->RegisterGlobalProperty("const String SOUND_MUSIC", (void*)&SOUND_MUSIC);
  62. // static const int STREAM_BUFFER_LENGTH | File: ../Audio/SoundSource.h
  63. engine->RegisterGlobalProperty("const int STREAM_BUFFER_LENGTH", (void*)&STREAM_BUFFER_LENGTH);
  64. // static const int QUICKSORT_THRESHOLD | File: ../Container/Sort.h
  65. engine->RegisterGlobalProperty("const int QUICKSORT_THRESHOLD", (void*)&QUICKSORT_THRESHOLD);
  66. // static const int CONVERSION_BUFFER_LENGTH | File: ../Container/Str.h
  67. engine->RegisterGlobalProperty("const int CONVERSION_BUFFER_LENGTH", (void*)&CONVERSION_BUFFER_LENGTH);
  68. // static const int MATRIX_CONVERSION_BUFFER_LENGTH | File: ../Container/Str.h
  69. engine->RegisterGlobalProperty("const int MATRIX_CONVERSION_BUFFER_LENGTH", (void*)&MATRIX_CONVERSION_BUFFER_LENGTH);
  70. // static const unsigned VARIANT_VALUE_SIZE | File: ../Core/Variant.h
  71. engine->RegisterGlobalProperty("const uint VARIANT_VALUE_SIZE", (void*)&VARIANT_VALUE_SIZE);
  72. // static const unsigned DEBUGHUD_SHOW_NONE | File: ../Engine/DebugHud.h
  73. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_NONE", (void*)&DEBUGHUD_SHOW_NONE);
  74. // static const unsigned DEBUGHUD_SHOW_STATS | File: ../Engine/DebugHud.h
  75. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_STATS", (void*)&DEBUGHUD_SHOW_STATS);
  76. // static const unsigned DEBUGHUD_SHOW_MODE | File: ../Engine/DebugHud.h
  77. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_MODE", (void*)&DEBUGHUD_SHOW_MODE);
  78. // static const unsigned DEBUGHUD_SHOW_PROFILER | File: ../Engine/DebugHud.h
  79. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_PROFILER", (void*)&DEBUGHUD_SHOW_PROFILER);
  80. // static const unsigned DEBUGHUD_SHOW_MEMORY | File: ../Engine/DebugHud.h
  81. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_MEMORY", (void*)&DEBUGHUD_SHOW_MEMORY);
  82. // static const unsigned DEBUGHUD_SHOW_EVENTPROFILER | File: ../Engine/DebugHud.h
  83. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_EVENTPROFILER", (void*)&DEBUGHUD_SHOW_EVENTPROFILER);
  84. // static const unsigned DEBUGHUD_SHOW_ALL | File: ../Engine/DebugHud.h
  85. engine->RegisterGlobalProperty("const uint DEBUGHUD_SHOW_ALL", (void*)&DEBUGHUD_SHOW_ALL);
  86. // static const String EP_AUTOLOAD_PATHS | File: ../Engine/EngineDefs.h
  87. engine->RegisterGlobalProperty("const String EP_AUTOLOAD_PATHS", (void*)&EP_AUTOLOAD_PATHS);
  88. // static const String EP_BORDERLESS | File: ../Engine/EngineDefs.h
  89. engine->RegisterGlobalProperty("const String EP_BORDERLESS", (void*)&EP_BORDERLESS);
  90. // static const String EP_DUMP_SHADERS | File: ../Engine/EngineDefs.h
  91. engine->RegisterGlobalProperty("const String EP_DUMP_SHADERS", (void*)&EP_DUMP_SHADERS);
  92. // static const String EP_EVENT_PROFILER | File: ../Engine/EngineDefs.h
  93. engine->RegisterGlobalProperty("const String EP_EVENT_PROFILER", (void*)&EP_EVENT_PROFILER);
  94. // static const String EP_EXTERNAL_WINDOW | File: ../Engine/EngineDefs.h
  95. engine->RegisterGlobalProperty("const String EP_EXTERNAL_WINDOW", (void*)&EP_EXTERNAL_WINDOW);
  96. // static const String EP_FLUSH_GPU | File: ../Engine/EngineDefs.h
  97. engine->RegisterGlobalProperty("const String EP_FLUSH_GPU", (void*)&EP_FLUSH_GPU);
  98. // static const String EP_FORCE_GL2 | File: ../Engine/EngineDefs.h
  99. engine->RegisterGlobalProperty("const String EP_FORCE_GL2", (void*)&EP_FORCE_GL2);
  100. // static const String EP_FRAME_LIMITER | File: ../Engine/EngineDefs.h
  101. engine->RegisterGlobalProperty("const String EP_FRAME_LIMITER", (void*)&EP_FRAME_LIMITER);
  102. // static const String EP_FULL_SCREEN | File: ../Engine/EngineDefs.h
  103. engine->RegisterGlobalProperty("const String EP_FULL_SCREEN", (void*)&EP_FULL_SCREEN);
  104. // static const String EP_HEADLESS | File: ../Engine/EngineDefs.h
  105. engine->RegisterGlobalProperty("const String EP_HEADLESS", (void*)&EP_HEADLESS);
  106. // static const String EP_HIGH_DPI | File: ../Engine/EngineDefs.h
  107. engine->RegisterGlobalProperty("const String EP_HIGH_DPI", (void*)&EP_HIGH_DPI);
  108. // static const String EP_LOG_LEVEL | File: ../Engine/EngineDefs.h
  109. engine->RegisterGlobalProperty("const String EP_LOG_LEVEL", (void*)&EP_LOG_LEVEL);
  110. // static const String EP_LOG_NAME | File: ../Engine/EngineDefs.h
  111. engine->RegisterGlobalProperty("const String EP_LOG_NAME", (void*)&EP_LOG_NAME);
  112. // static const String EP_LOG_QUIET | File: ../Engine/EngineDefs.h
  113. engine->RegisterGlobalProperty("const String EP_LOG_QUIET", (void*)&EP_LOG_QUIET);
  114. // static const String EP_LOW_QUALITY_SHADOWS | File: ../Engine/EngineDefs.h
  115. engine->RegisterGlobalProperty("const String EP_LOW_QUALITY_SHADOWS", (void*)&EP_LOW_QUALITY_SHADOWS);
  116. // static const String EP_MATERIAL_QUALITY | File: ../Engine/EngineDefs.h
  117. engine->RegisterGlobalProperty("const String EP_MATERIAL_QUALITY", (void*)&EP_MATERIAL_QUALITY);
  118. // static const String EP_MONITOR | File: ../Engine/EngineDefs.h
  119. engine->RegisterGlobalProperty("const String EP_MONITOR", (void*)&EP_MONITOR);
  120. // static const String EP_MULTI_SAMPLE | File: ../Engine/EngineDefs.h
  121. engine->RegisterGlobalProperty("const String EP_MULTI_SAMPLE", (void*)&EP_MULTI_SAMPLE);
  122. // static const String EP_ORIENTATIONS | File: ../Engine/EngineDefs.h
  123. engine->RegisterGlobalProperty("const String EP_ORIENTATIONS", (void*)&EP_ORIENTATIONS);
  124. // static const String EP_PACKAGE_CACHE_DIR | File: ../Engine/EngineDefs.h
  125. engine->RegisterGlobalProperty("const String EP_PACKAGE_CACHE_DIR", (void*)&EP_PACKAGE_CACHE_DIR);
  126. // static const String EP_RENDER_PATH | File: ../Engine/EngineDefs.h
  127. engine->RegisterGlobalProperty("const String EP_RENDER_PATH", (void*)&EP_RENDER_PATH);
  128. // static const String EP_REFRESH_RATE | File: ../Engine/EngineDefs.h
  129. engine->RegisterGlobalProperty("const String EP_REFRESH_RATE", (void*)&EP_REFRESH_RATE);
  130. // static const String EP_RESOURCE_PACKAGES | File: ../Engine/EngineDefs.h
  131. engine->RegisterGlobalProperty("const String EP_RESOURCE_PACKAGES", (void*)&EP_RESOURCE_PACKAGES);
  132. // static const String EP_RESOURCE_PATHS | File: ../Engine/EngineDefs.h
  133. engine->RegisterGlobalProperty("const String EP_RESOURCE_PATHS", (void*)&EP_RESOURCE_PATHS);
  134. // static const String EP_RESOURCE_PREFIX_PATHS | File: ../Engine/EngineDefs.h
  135. engine->RegisterGlobalProperty("const String EP_RESOURCE_PREFIX_PATHS", (void*)&EP_RESOURCE_PREFIX_PATHS);
  136. // static const String EP_SHADER_CACHE_DIR | File: ../Engine/EngineDefs.h
  137. engine->RegisterGlobalProperty("const String EP_SHADER_CACHE_DIR", (void*)&EP_SHADER_CACHE_DIR);
  138. // static const String EP_SHADOWS | File: ../Engine/EngineDefs.h
  139. engine->RegisterGlobalProperty("const String EP_SHADOWS", (void*)&EP_SHADOWS);
  140. // static const String EP_SOUND | File: ../Engine/EngineDefs.h
  141. engine->RegisterGlobalProperty("const String EP_SOUND", (void*)&EP_SOUND);
  142. // static const String EP_SOUND_BUFFER | File: ../Engine/EngineDefs.h
  143. engine->RegisterGlobalProperty("const String EP_SOUND_BUFFER", (void*)&EP_SOUND_BUFFER);
  144. // static const String EP_SOUND_INTERPOLATION | File: ../Engine/EngineDefs.h
  145. engine->RegisterGlobalProperty("const String EP_SOUND_INTERPOLATION", (void*)&EP_SOUND_INTERPOLATION);
  146. // static const String EP_SOUND_MIX_RATE | File: ../Engine/EngineDefs.h
  147. engine->RegisterGlobalProperty("const String EP_SOUND_MIX_RATE", (void*)&EP_SOUND_MIX_RATE);
  148. // static const String EP_SOUND_STEREO | File: ../Engine/EngineDefs.h
  149. engine->RegisterGlobalProperty("const String EP_SOUND_STEREO", (void*)&EP_SOUND_STEREO);
  150. // static const String EP_TEXTURE_ANISOTROPY | File: ../Engine/EngineDefs.h
  151. engine->RegisterGlobalProperty("const String EP_TEXTURE_ANISOTROPY", (void*)&EP_TEXTURE_ANISOTROPY);
  152. // static const String EP_TEXTURE_FILTER_MODE | File: ../Engine/EngineDefs.h
  153. engine->RegisterGlobalProperty("const String EP_TEXTURE_FILTER_MODE", (void*)&EP_TEXTURE_FILTER_MODE);
  154. // static const String EP_TEXTURE_QUALITY | File: ../Engine/EngineDefs.h
  155. engine->RegisterGlobalProperty("const String EP_TEXTURE_QUALITY", (void*)&EP_TEXTURE_QUALITY);
  156. // static const String EP_TIME_OUT | File: ../Engine/EngineDefs.h
  157. engine->RegisterGlobalProperty("const String EP_TIME_OUT", (void*)&EP_TIME_OUT);
  158. // static const String EP_TOUCH_EMULATION | File: ../Engine/EngineDefs.h
  159. engine->RegisterGlobalProperty("const String EP_TOUCH_EMULATION", (void*)&EP_TOUCH_EMULATION);
  160. // static const String EP_TRIPLE_BUFFER | File: ../Engine/EngineDefs.h
  161. engine->RegisterGlobalProperty("const String EP_TRIPLE_BUFFER", (void*)&EP_TRIPLE_BUFFER);
  162. // static const String EP_VSYNC | File: ../Engine/EngineDefs.h
  163. engine->RegisterGlobalProperty("const String EP_VSYNC", (void*)&EP_VSYNC);
  164. // static const String EP_WINDOW_HEIGHT | File: ../Engine/EngineDefs.h
  165. engine->RegisterGlobalProperty("const String EP_WINDOW_HEIGHT", (void*)&EP_WINDOW_HEIGHT);
  166. // static const String EP_WINDOW_ICON | File: ../Engine/EngineDefs.h
  167. engine->RegisterGlobalProperty("const String EP_WINDOW_ICON", (void*)&EP_WINDOW_ICON);
  168. // static const String EP_WINDOW_POSITION_X | File: ../Engine/EngineDefs.h
  169. engine->RegisterGlobalProperty("const String EP_WINDOW_POSITION_X", (void*)&EP_WINDOW_POSITION_X);
  170. // static const String EP_WINDOW_POSITION_Y | File: ../Engine/EngineDefs.h
  171. engine->RegisterGlobalProperty("const String EP_WINDOW_POSITION_Y", (void*)&EP_WINDOW_POSITION_Y);
  172. // static const String EP_WINDOW_RESIZABLE | File: ../Engine/EngineDefs.h
  173. engine->RegisterGlobalProperty("const String EP_WINDOW_RESIZABLE", (void*)&EP_WINDOW_RESIZABLE);
  174. // static const String EP_WINDOW_TITLE | File: ../Engine/EngineDefs.h
  175. engine->RegisterGlobalProperty("const String EP_WINDOW_TITLE", (void*)&EP_WINDOW_TITLE);
  176. // static const String EP_WINDOW_WIDTH | File: ../Engine/EngineDefs.h
  177. engine->RegisterGlobalProperty("const String EP_WINDOW_WIDTH", (void*)&EP_WINDOW_WIDTH);
  178. // static const String EP_WORKER_THREADS | File: ../Engine/EngineDefs.h
  179. engine->RegisterGlobalProperty("const String EP_WORKER_THREADS", (void*)&EP_WORKER_THREADS);
  180. // static const float DEFAULT_NEARCLIP | File: ../Graphics/Camera.h
  181. engine->RegisterGlobalProperty("const float DEFAULT_NEARCLIP", (void*)&DEFAULT_NEARCLIP);
  182. // static const float DEFAULT_FARCLIP | File: ../Graphics/Camera.h
  183. engine->RegisterGlobalProperty("const float DEFAULT_FARCLIP", (void*)&DEFAULT_FARCLIP);
  184. // static const float DEFAULT_CAMERA_FOV | File: ../Graphics/Camera.h
  185. engine->RegisterGlobalProperty("const float DEFAULT_CAMERA_FOV", (void*)&DEFAULT_CAMERA_FOV);
  186. // static const float DEFAULT_ORTHOSIZE | File: ../Graphics/Camera.h
  187. engine->RegisterGlobalProperty("const float DEFAULT_ORTHOSIZE", (void*)&DEFAULT_ORTHOSIZE);
  188. // static const unsigned DRAWABLE_UNDEFINED | File: ../Graphics/Drawable.h
  189. engine->RegisterGlobalProperty("const uint DRAWABLE_UNDEFINED", (void*)&DRAWABLE_UNDEFINED);
  190. // static const unsigned DRAWABLE_GEOMETRY | File: ../Graphics/Drawable.h
  191. engine->RegisterGlobalProperty("const uint DRAWABLE_GEOMETRY", (void*)&DRAWABLE_GEOMETRY);
  192. // static const unsigned DRAWABLE_LIGHT | File: ../Graphics/Drawable.h
  193. engine->RegisterGlobalProperty("const uint DRAWABLE_LIGHT", (void*)&DRAWABLE_LIGHT);
  194. // static const unsigned DRAWABLE_ZONE | File: ../Graphics/Drawable.h
  195. engine->RegisterGlobalProperty("const uint DRAWABLE_ZONE", (void*)&DRAWABLE_ZONE);
  196. // static const unsigned DRAWABLE_GEOMETRY2D | File: ../Graphics/Drawable.h
  197. engine->RegisterGlobalProperty("const uint DRAWABLE_GEOMETRY2D", (void*)&DRAWABLE_GEOMETRY2D);
  198. // static const unsigned DRAWABLE_ANY | File: ../Graphics/Drawable.h
  199. engine->RegisterGlobalProperty("const uint DRAWABLE_ANY", (void*)&DRAWABLE_ANY);
  200. // static const unsigned DEFAULT_VIEWMASK | File: ../Graphics/Drawable.h
  201. engine->RegisterGlobalProperty("const uint DEFAULT_VIEWMASK", (void*)&DEFAULT_VIEWMASK);
  202. // static const unsigned DEFAULT_LIGHTMASK | File: ../Graphics/Drawable.h
  203. engine->RegisterGlobalProperty("const uint DEFAULT_LIGHTMASK", (void*)&DEFAULT_LIGHTMASK);
  204. // static const unsigned DEFAULT_SHADOWMASK | File: ../Graphics/Drawable.h
  205. engine->RegisterGlobalProperty("const uint DEFAULT_SHADOWMASK", (void*)&DEFAULT_SHADOWMASK);
  206. // static const unsigned DEFAULT_ZONEMASK | File: ../Graphics/Drawable.h
  207. engine->RegisterGlobalProperty("const uint DEFAULT_ZONEMASK", (void*)&DEFAULT_ZONEMASK);
  208. // static const int MAX_VERTEX_LIGHTS | File: ../Graphics/Drawable.h
  209. engine->RegisterGlobalProperty("const int MAX_VERTEX_LIGHTS", (void*)&MAX_VERTEX_LIGHTS);
  210. // static const float ANIMATION_LOD_BASESCALE | File: ../Graphics/Drawable.h
  211. engine->RegisterGlobalProperty("const float ANIMATION_LOD_BASESCALE", (void*)&ANIMATION_LOD_BASESCALE);
  212. // const unsigned ELEMENT_TYPESIZES[] | File: ../Graphics/GraphicsDefs.h
  213. // Not registered because array
  214. // const VertexElement LEGACY_VERTEXELEMENTS[] | File: ../Graphics/GraphicsDefs.h
  215. // Not registered because array
  216. // const StringHash VSP_AMBIENTSTARTCOLOR | File: ../Graphics/GraphicsDefs.h
  217. engine->RegisterGlobalProperty("const StringHash VSP_AMBIENTSTARTCOLOR", (void*)&VSP_AMBIENTSTARTCOLOR);
  218. // const StringHash VSP_AMBIENTENDCOLOR | File: ../Graphics/GraphicsDefs.h
  219. engine->RegisterGlobalProperty("const StringHash VSP_AMBIENTENDCOLOR", (void*)&VSP_AMBIENTENDCOLOR);
  220. // const StringHash VSP_BILLBOARDROT | File: ../Graphics/GraphicsDefs.h
  221. engine->RegisterGlobalProperty("const StringHash VSP_BILLBOARDROT", (void*)&VSP_BILLBOARDROT);
  222. // const StringHash VSP_CAMERAPOS | File: ../Graphics/GraphicsDefs.h
  223. engine->RegisterGlobalProperty("const StringHash VSP_CAMERAPOS", (void*)&VSP_CAMERAPOS);
  224. // const StringHash VSP_CLIPPLANE | File: ../Graphics/GraphicsDefs.h
  225. engine->RegisterGlobalProperty("const StringHash VSP_CLIPPLANE", (void*)&VSP_CLIPPLANE);
  226. // const StringHash VSP_NEARCLIP | File: ../Graphics/GraphicsDefs.h
  227. engine->RegisterGlobalProperty("const StringHash VSP_NEARCLIP", (void*)&VSP_NEARCLIP);
  228. // const StringHash VSP_FARCLIP | File: ../Graphics/GraphicsDefs.h
  229. engine->RegisterGlobalProperty("const StringHash VSP_FARCLIP", (void*)&VSP_FARCLIP);
  230. // const StringHash VSP_DEPTHMODE | File: ../Graphics/GraphicsDefs.h
  231. engine->RegisterGlobalProperty("const StringHash VSP_DEPTHMODE", (void*)&VSP_DEPTHMODE);
  232. // const StringHash VSP_DELTATIME | File: ../Graphics/GraphicsDefs.h
  233. engine->RegisterGlobalProperty("const StringHash VSP_DELTATIME", (void*)&VSP_DELTATIME);
  234. // const StringHash VSP_ELAPSEDTIME | File: ../Graphics/GraphicsDefs.h
  235. engine->RegisterGlobalProperty("const StringHash VSP_ELAPSEDTIME", (void*)&VSP_ELAPSEDTIME);
  236. // const StringHash VSP_FRUSTUMSIZE | File: ../Graphics/GraphicsDefs.h
  237. engine->RegisterGlobalProperty("const StringHash VSP_FRUSTUMSIZE", (void*)&VSP_FRUSTUMSIZE);
  238. // const StringHash VSP_GBUFFEROFFSETS | File: ../Graphics/GraphicsDefs.h
  239. engine->RegisterGlobalProperty("const StringHash VSP_GBUFFEROFFSETS", (void*)&VSP_GBUFFEROFFSETS);
  240. // const StringHash VSP_LIGHTDIR | File: ../Graphics/GraphicsDefs.h
  241. engine->RegisterGlobalProperty("const StringHash VSP_LIGHTDIR", (void*)&VSP_LIGHTDIR);
  242. // const StringHash VSP_LIGHTPOS | File: ../Graphics/GraphicsDefs.h
  243. engine->RegisterGlobalProperty("const StringHash VSP_LIGHTPOS", (void*)&VSP_LIGHTPOS);
  244. // const StringHash VSP_NORMALOFFSETSCALE | File: ../Graphics/GraphicsDefs.h
  245. engine->RegisterGlobalProperty("const StringHash VSP_NORMALOFFSETSCALE", (void*)&VSP_NORMALOFFSETSCALE);
  246. // const StringHash VSP_MODEL | File: ../Graphics/GraphicsDefs.h
  247. engine->RegisterGlobalProperty("const StringHash VSP_MODEL", (void*)&VSP_MODEL);
  248. // const StringHash VSP_VIEW | File: ../Graphics/GraphicsDefs.h
  249. engine->RegisterGlobalProperty("const StringHash VSP_VIEW", (void*)&VSP_VIEW);
  250. // const StringHash VSP_VIEWINV | File: ../Graphics/GraphicsDefs.h
  251. engine->RegisterGlobalProperty("const StringHash VSP_VIEWINV", (void*)&VSP_VIEWINV);
  252. // const StringHash VSP_VIEWPROJ | File: ../Graphics/GraphicsDefs.h
  253. engine->RegisterGlobalProperty("const StringHash VSP_VIEWPROJ", (void*)&VSP_VIEWPROJ);
  254. // const StringHash VSP_UOFFSET | File: ../Graphics/GraphicsDefs.h
  255. engine->RegisterGlobalProperty("const StringHash VSP_UOFFSET", (void*)&VSP_UOFFSET);
  256. // const StringHash VSP_VOFFSET | File: ../Graphics/GraphicsDefs.h
  257. engine->RegisterGlobalProperty("const StringHash VSP_VOFFSET", (void*)&VSP_VOFFSET);
  258. // const StringHash VSP_ZONE | File: ../Graphics/GraphicsDefs.h
  259. engine->RegisterGlobalProperty("const StringHash VSP_ZONE", (void*)&VSP_ZONE);
  260. // const StringHash VSP_LIGHTMATRICES | File: ../Graphics/GraphicsDefs.h
  261. engine->RegisterGlobalProperty("const StringHash VSP_LIGHTMATRICES", (void*)&VSP_LIGHTMATRICES);
  262. // const StringHash VSP_SKINMATRICES | File: ../Graphics/GraphicsDefs.h
  263. engine->RegisterGlobalProperty("const StringHash VSP_SKINMATRICES", (void*)&VSP_SKINMATRICES);
  264. // const StringHash VSP_VERTEXLIGHTS | File: ../Graphics/GraphicsDefs.h
  265. engine->RegisterGlobalProperty("const StringHash VSP_VERTEXLIGHTS", (void*)&VSP_VERTEXLIGHTS);
  266. // const StringHash PSP_AMBIENTCOLOR | File: ../Graphics/GraphicsDefs.h
  267. engine->RegisterGlobalProperty("const StringHash PSP_AMBIENTCOLOR", (void*)&PSP_AMBIENTCOLOR);
  268. // const StringHash PSP_CAMERAPOS | File: ../Graphics/GraphicsDefs.h
  269. engine->RegisterGlobalProperty("const StringHash PSP_CAMERAPOS", (void*)&PSP_CAMERAPOS);
  270. // const StringHash PSP_DELTATIME | File: ../Graphics/GraphicsDefs.h
  271. engine->RegisterGlobalProperty("const StringHash PSP_DELTATIME", (void*)&PSP_DELTATIME);
  272. // const StringHash PSP_DEPTHRECONSTRUCT | File: ../Graphics/GraphicsDefs.h
  273. engine->RegisterGlobalProperty("const StringHash PSP_DEPTHRECONSTRUCT", (void*)&PSP_DEPTHRECONSTRUCT);
  274. // const StringHash PSP_ELAPSEDTIME | File: ../Graphics/GraphicsDefs.h
  275. engine->RegisterGlobalProperty("const StringHash PSP_ELAPSEDTIME", (void*)&PSP_ELAPSEDTIME);
  276. // const StringHash PSP_FOGCOLOR | File: ../Graphics/GraphicsDefs.h
  277. engine->RegisterGlobalProperty("const StringHash PSP_FOGCOLOR", (void*)&PSP_FOGCOLOR);
  278. // const StringHash PSP_FOGPARAMS | File: ../Graphics/GraphicsDefs.h
  279. engine->RegisterGlobalProperty("const StringHash PSP_FOGPARAMS", (void*)&PSP_FOGPARAMS);
  280. // const StringHash PSP_GBUFFERINVSIZE | File: ../Graphics/GraphicsDefs.h
  281. engine->RegisterGlobalProperty("const StringHash PSP_GBUFFERINVSIZE", (void*)&PSP_GBUFFERINVSIZE);
  282. // const StringHash PSP_LIGHTCOLOR | File: ../Graphics/GraphicsDefs.h
  283. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTCOLOR", (void*)&PSP_LIGHTCOLOR);
  284. // const StringHash PSP_LIGHTDIR | File: ../Graphics/GraphicsDefs.h
  285. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTDIR", (void*)&PSP_LIGHTDIR);
  286. // const StringHash PSP_LIGHTPOS | File: ../Graphics/GraphicsDefs.h
  287. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTPOS", (void*)&PSP_LIGHTPOS);
  288. // const StringHash PSP_NORMALOFFSETSCALE | File: ../Graphics/GraphicsDefs.h
  289. engine->RegisterGlobalProperty("const StringHash PSP_NORMALOFFSETSCALE", (void*)&PSP_NORMALOFFSETSCALE);
  290. // const StringHash PSP_MATDIFFCOLOR | File: ../Graphics/GraphicsDefs.h
  291. engine->RegisterGlobalProperty("const StringHash PSP_MATDIFFCOLOR", (void*)&PSP_MATDIFFCOLOR);
  292. // const StringHash PSP_MATEMISSIVECOLOR | File: ../Graphics/GraphicsDefs.h
  293. engine->RegisterGlobalProperty("const StringHash PSP_MATEMISSIVECOLOR", (void*)&PSP_MATEMISSIVECOLOR);
  294. // const StringHash PSP_MATENVMAPCOLOR | File: ../Graphics/GraphicsDefs.h
  295. engine->RegisterGlobalProperty("const StringHash PSP_MATENVMAPCOLOR", (void*)&PSP_MATENVMAPCOLOR);
  296. // const StringHash PSP_MATSPECCOLOR | File: ../Graphics/GraphicsDefs.h
  297. engine->RegisterGlobalProperty("const StringHash PSP_MATSPECCOLOR", (void*)&PSP_MATSPECCOLOR);
  298. // const StringHash PSP_NEARCLIP | File: ../Graphics/GraphicsDefs.h
  299. engine->RegisterGlobalProperty("const StringHash PSP_NEARCLIP", (void*)&PSP_NEARCLIP);
  300. // const StringHash PSP_FARCLIP | File: ../Graphics/GraphicsDefs.h
  301. engine->RegisterGlobalProperty("const StringHash PSP_FARCLIP", (void*)&PSP_FARCLIP);
  302. // const StringHash PSP_SHADOWCUBEADJUST | File: ../Graphics/GraphicsDefs.h
  303. engine->RegisterGlobalProperty("const StringHash PSP_SHADOWCUBEADJUST", (void*)&PSP_SHADOWCUBEADJUST);
  304. // const StringHash PSP_SHADOWDEPTHFADE | File: ../Graphics/GraphicsDefs.h
  305. engine->RegisterGlobalProperty("const StringHash PSP_SHADOWDEPTHFADE", (void*)&PSP_SHADOWDEPTHFADE);
  306. // const StringHash PSP_SHADOWINTENSITY | File: ../Graphics/GraphicsDefs.h
  307. engine->RegisterGlobalProperty("const StringHash PSP_SHADOWINTENSITY", (void*)&PSP_SHADOWINTENSITY);
  308. // const StringHash PSP_SHADOWMAPINVSIZE | File: ../Graphics/GraphicsDefs.h
  309. engine->RegisterGlobalProperty("const StringHash PSP_SHADOWMAPINVSIZE", (void*)&PSP_SHADOWMAPINVSIZE);
  310. // const StringHash PSP_SHADOWSPLITS | File: ../Graphics/GraphicsDefs.h
  311. engine->RegisterGlobalProperty("const StringHash PSP_SHADOWSPLITS", (void*)&PSP_SHADOWSPLITS);
  312. // const StringHash PSP_LIGHTMATRICES | File: ../Graphics/GraphicsDefs.h
  313. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTMATRICES", (void*)&PSP_LIGHTMATRICES);
  314. // const StringHash PSP_VSMSHADOWPARAMS | File: ../Graphics/GraphicsDefs.h
  315. engine->RegisterGlobalProperty("const StringHash PSP_VSMSHADOWPARAMS", (void*)&PSP_VSMSHADOWPARAMS);
  316. // const StringHash PSP_ROUGHNESS | File: ../Graphics/GraphicsDefs.h
  317. engine->RegisterGlobalProperty("const StringHash PSP_ROUGHNESS", (void*)&PSP_ROUGHNESS);
  318. // const StringHash PSP_METALLIC | File: ../Graphics/GraphicsDefs.h
  319. engine->RegisterGlobalProperty("const StringHash PSP_METALLIC", (void*)&PSP_METALLIC);
  320. // const StringHash PSP_LIGHTRAD | File: ../Graphics/GraphicsDefs.h
  321. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTRAD", (void*)&PSP_LIGHTRAD);
  322. // const StringHash PSP_LIGHTLENGTH | File: ../Graphics/GraphicsDefs.h
  323. engine->RegisterGlobalProperty("const StringHash PSP_LIGHTLENGTH", (void*)&PSP_LIGHTLENGTH);
  324. // const StringHash PSP_ZONEMIN | File: ../Graphics/GraphicsDefs.h
  325. engine->RegisterGlobalProperty("const StringHash PSP_ZONEMIN", (void*)&PSP_ZONEMIN);
  326. // const StringHash PSP_ZONEMAX | File: ../Graphics/GraphicsDefs.h
  327. engine->RegisterGlobalProperty("const StringHash PSP_ZONEMAX", (void*)&PSP_ZONEMAX);
  328. // const Vector3 DOT_SCALE | File: ../Graphics/GraphicsDefs.h
  329. engine->RegisterGlobalProperty("const Vector3 DOT_SCALE", (void*)&DOT_SCALE);
  330. // static const int MAX_RENDERTARGETS | File: ../Graphics/GraphicsDefs.h
  331. engine->RegisterGlobalProperty("const int MAX_RENDERTARGETS", (void*)&MAX_RENDERTARGETS);
  332. // static const int MAX_VERTEX_STREAMS | File: ../Graphics/GraphicsDefs.h
  333. engine->RegisterGlobalProperty("const int MAX_VERTEX_STREAMS", (void*)&MAX_VERTEX_STREAMS);
  334. // static const int MAX_CONSTANT_REGISTERS | File: ../Graphics/GraphicsDefs.h
  335. engine->RegisterGlobalProperty("const int MAX_CONSTANT_REGISTERS", (void*)&MAX_CONSTANT_REGISTERS);
  336. // static const int BITS_PER_COMPONENT | File: ../Graphics/GraphicsDefs.h
  337. engine->RegisterGlobalProperty("const int BITS_PER_COMPONENT", (void*)&BITS_PER_COMPONENT);
  338. // static const float SHADOW_MIN_QUANTIZE | File: ../Graphics/Light.h
  339. engine->RegisterGlobalProperty("const float SHADOW_MIN_QUANTIZE", (void*)&SHADOW_MIN_QUANTIZE);
  340. // static const float SHADOW_MIN_VIEW | File: ../Graphics/Light.h
  341. engine->RegisterGlobalProperty("const float SHADOW_MIN_VIEW", (void*)&SHADOW_MIN_VIEW);
  342. // static const int MAX_LIGHT_SPLITS | File: ../Graphics/Light.h
  343. engine->RegisterGlobalProperty("const int MAX_LIGHT_SPLITS", (void*)&MAX_LIGHT_SPLITS);
  344. // static const unsigned MAX_CASCADE_SPLITS | File: ../Graphics/Light.h
  345. engine->RegisterGlobalProperty("const uint MAX_CASCADE_SPLITS", (void*)&MAX_CASCADE_SPLITS);
  346. // static const unsigned char DEFAULT_RENDER_ORDER | File: ../Graphics/Material.h
  347. engine->RegisterGlobalProperty("const uint8 DEFAULT_RENDER_ORDER", (void*)&DEFAULT_RENDER_ORDER);
  348. // static const int OCCLUSION_MIN_SIZE | File: ../Graphics/OcclusionBuffer.h
  349. engine->RegisterGlobalProperty("const int OCCLUSION_MIN_SIZE", (void*)&OCCLUSION_MIN_SIZE);
  350. // static const int OCCLUSION_DEFAULT_MAX_TRIANGLES | File: ../Graphics/OcclusionBuffer.h
  351. engine->RegisterGlobalProperty("const int OCCLUSION_DEFAULT_MAX_TRIANGLES", (void*)&OCCLUSION_DEFAULT_MAX_TRIANGLES);
  352. // static const float OCCLUSION_RELATIVE_BIAS | File: ../Graphics/OcclusionBuffer.h
  353. engine->RegisterGlobalProperty("const float OCCLUSION_RELATIVE_BIAS", (void*)&OCCLUSION_RELATIVE_BIAS);
  354. // static const int OCCLUSION_FIXED_BIAS | File: ../Graphics/OcclusionBuffer.h
  355. engine->RegisterGlobalProperty("const int OCCLUSION_FIXED_BIAS", (void*)&OCCLUSION_FIXED_BIAS);
  356. // static const float OCCLUSION_X_SCALE | File: ../Graphics/OcclusionBuffer.h
  357. engine->RegisterGlobalProperty("const float OCCLUSION_X_SCALE", (void*)&OCCLUSION_X_SCALE);
  358. // static const float OCCLUSION_Z_SCALE | File: ../Graphics/OcclusionBuffer.h
  359. engine->RegisterGlobalProperty("const float OCCLUSION_Z_SCALE", (void*)&OCCLUSION_Z_SCALE);
  360. // static const int NUM_OCTANTS | File: ../Graphics/Octree.h
  361. engine->RegisterGlobalProperty("const int NUM_OCTANTS", (void*)&NUM_OCTANTS);
  362. // static const unsigned ROOT_INDEX | File: ../Graphics/Octree.h
  363. engine->RegisterGlobalProperty("const uint ROOT_INDEX", (void*)&ROOT_INDEX);
  364. // static const unsigned DEFAULT_NUM_PARTICLES | File: ../Graphics/ParticleEffect.h
  365. engine->RegisterGlobalProperty("const uint DEFAULT_NUM_PARTICLES", (void*)&DEFAULT_NUM_PARTICLES);
  366. // static const int SHADOW_MIN_PIXELS | File: ../Graphics/Renderer.h
  367. engine->RegisterGlobalProperty("const int SHADOW_MIN_PIXELS", (void*)&SHADOW_MIN_PIXELS);
  368. // static const int INSTANCING_BUFFER_DEFAULT_SIZE | File: ../Graphics/Renderer.h
  369. engine->RegisterGlobalProperty("const int INSTANCING_BUFFER_DEFAULT_SIZE", (void*)&INSTANCING_BUFFER_DEFAULT_SIZE);
  370. // static const int MAX_TEXTURE_QUALITY_LEVELS | File: ../Graphics/Texture.h
  371. engine->RegisterGlobalProperty("const int MAX_TEXTURE_QUALITY_LEVELS", (void*)&MAX_TEXTURE_QUALITY_LEVELS);
  372. // static const unsigned MAX_VIEWPORT_TEXTURES | File: ../Graphics/View.h
  373. engine->RegisterGlobalProperty("const uint MAX_VIEWPORT_TEXTURES", (void*)&MAX_VIEWPORT_TEXTURES);
  374. // const IntVector2 MOUSE_POSITION_OFFSCREEN | File: ../Input/Input.h
  375. engine->RegisterGlobalProperty("const IntVector2 MOUSE_POSITION_OFFSCREEN", (void*)&MOUSE_POSITION_OFFSCREEN);
  376. // static const unsigned SCAN_FILES | File: ../IO/FileSystem.h
  377. engine->RegisterGlobalProperty("const uint SCAN_FILES", (void*)&SCAN_FILES);
  378. // static const unsigned SCAN_DIRS | File: ../IO/FileSystem.h
  379. engine->RegisterGlobalProperty("const uint SCAN_DIRS", (void*)&SCAN_DIRS);
  380. // static const unsigned SCAN_HIDDEN | File: ../IO/FileSystem.h
  381. engine->RegisterGlobalProperty("const uint SCAN_HIDDEN", (void*)&SCAN_HIDDEN);
  382. // static const int LOG_RAW | File: ../IO/Log.h
  383. engine->RegisterGlobalProperty("const int LOG_RAW", (void*)&LOG_RAW);
  384. // static const int LOG_TRACE | File: ../IO/Log.h
  385. engine->RegisterGlobalProperty("const int LOG_TRACE", (void*)&LOG_TRACE);
  386. // static const int LOG_DEBUG | File: ../IO/Log.h
  387. engine->RegisterGlobalProperty("const int LOG_DEBUG", (void*)&LOG_DEBUG);
  388. // static const int LOG_INFO | File: ../IO/Log.h
  389. engine->RegisterGlobalProperty("const int LOG_INFO", (void*)&LOG_INFO);
  390. // static const int LOG_WARNING | File: ../IO/Log.h
  391. engine->RegisterGlobalProperty("const int LOG_WARNING", (void*)&LOG_WARNING);
  392. // static const int LOG_ERROR | File: ../IO/Log.h
  393. engine->RegisterGlobalProperty("const int LOG_ERROR", (void*)&LOG_ERROR);
  394. // static const int LOG_NONE | File: ../IO/Log.h
  395. engine->RegisterGlobalProperty("const int LOG_NONE", (void*)&LOG_NONE);
  396. // static const unsigned NUM_FRUSTUM_PLANES | File: ../Math/Frustum.h
  397. engine->RegisterGlobalProperty("const uint NUM_FRUSTUM_PLANES", (void*)&NUM_FRUSTUM_PLANES);
  398. // static const unsigned NUM_FRUSTUM_VERTICES | File: ../Math/Frustum.h
  399. engine->RegisterGlobalProperty("const uint NUM_FRUSTUM_VERTICES", (void*)&NUM_FRUSTUM_VERTICES);
  400. // static const float M_PI | File: ../Math/MathDefs.h
  401. engine->RegisterGlobalProperty("const float M_PI", (void*)&M_PI);
  402. // static const float M_HALF_PI | File: ../Math/MathDefs.h
  403. engine->RegisterGlobalProperty("const float M_HALF_PI", (void*)&M_HALF_PI);
  404. // static const int M_MIN_INT | File: ../Math/MathDefs.h
  405. engine->RegisterGlobalProperty("const int M_MIN_INT", (void*)&M_MIN_INT);
  406. // static const int M_MAX_INT | File: ../Math/MathDefs.h
  407. engine->RegisterGlobalProperty("const int M_MAX_INT", (void*)&M_MAX_INT);
  408. // static const unsigned M_MIN_UNSIGNED | File: ../Math/MathDefs.h
  409. engine->RegisterGlobalProperty("const uint M_MIN_UNSIGNED", (void*)&M_MIN_UNSIGNED);
  410. // static const unsigned M_MAX_UNSIGNED | File: ../Math/MathDefs.h
  411. engine->RegisterGlobalProperty("const uint M_MAX_UNSIGNED", (void*)&M_MAX_UNSIGNED);
  412. // static const float M_EPSILON | File: ../Math/MathDefs.h
  413. engine->RegisterGlobalProperty("const float M_EPSILON", (void*)&M_EPSILON);
  414. // static const float M_LARGE_EPSILON | File: ../Math/MathDefs.h
  415. engine->RegisterGlobalProperty("const float M_LARGE_EPSILON", (void*)&M_LARGE_EPSILON);
  416. // static const float M_MIN_NEARCLIP | File: ../Math/MathDefs.h
  417. engine->RegisterGlobalProperty("const float M_MIN_NEARCLIP", (void*)&M_MIN_NEARCLIP);
  418. // static const float M_MAX_FOV | File: ../Math/MathDefs.h
  419. engine->RegisterGlobalProperty("const float M_MAX_FOV", (void*)&M_MAX_FOV);
  420. // static const float M_LARGE_VALUE | File: ../Math/MathDefs.h
  421. engine->RegisterGlobalProperty("const float M_LARGE_VALUE", (void*)&M_LARGE_VALUE);
  422. // static const float M_INFINITY | File: ../Math/MathDefs.h
  423. engine->RegisterGlobalProperty("const float M_INFINITY", (void*)&M_INFINITY);
  424. // static const float M_DEGTORAD | File: ../Math/MathDefs.h
  425. engine->RegisterGlobalProperty("const float M_DEGTORAD", (void*)&M_DEGTORAD);
  426. // static const float M_DEGTORAD_2 | File: ../Math/MathDefs.h
  427. engine->RegisterGlobalProperty("const float M_DEGTORAD_2", (void*)&M_DEGTORAD_2);
  428. // static const float M_RADTODEG | File: ../Math/MathDefs.h
  429. engine->RegisterGlobalProperty("const float M_RADTODEG", (void*)&M_RADTODEG);
  430. #ifdef URHO3D_NETWORK
  431. // static const int MSG_IDENTITY | File: ../Network/Protocol.h
  432. engine->RegisterGlobalProperty("const int MSG_IDENTITY", (void*)&MSG_IDENTITY);
  433. #endif
  434. #ifdef URHO3D_NETWORK
  435. // static const int MSG_CONTROLS | File: ../Network/Protocol.h
  436. engine->RegisterGlobalProperty("const int MSG_CONTROLS", (void*)&MSG_CONTROLS);
  437. #endif
  438. #ifdef URHO3D_NETWORK
  439. // static const int MSG_SCENELOADED | File: ../Network/Protocol.h
  440. engine->RegisterGlobalProperty("const int MSG_SCENELOADED", (void*)&MSG_SCENELOADED);
  441. #endif
  442. #ifdef URHO3D_NETWORK
  443. // static const int MSG_REQUESTPACKAGE | File: ../Network/Protocol.h
  444. engine->RegisterGlobalProperty("const int MSG_REQUESTPACKAGE", (void*)&MSG_REQUESTPACKAGE);
  445. #endif
  446. #ifdef URHO3D_NETWORK
  447. // static const int MSG_PACKAGEDATA | File: ../Network/Protocol.h
  448. engine->RegisterGlobalProperty("const int MSG_PACKAGEDATA", (void*)&MSG_PACKAGEDATA);
  449. #endif
  450. #ifdef URHO3D_NETWORK
  451. // static const int MSG_LOADSCENE | File: ../Network/Protocol.h
  452. engine->RegisterGlobalProperty("const int MSG_LOADSCENE", (void*)&MSG_LOADSCENE);
  453. #endif
  454. #ifdef URHO3D_NETWORK
  455. // static const int MSG_SCENECHECKSUMERROR | File: ../Network/Protocol.h
  456. engine->RegisterGlobalProperty("const int MSG_SCENECHECKSUMERROR", (void*)&MSG_SCENECHECKSUMERROR);
  457. #endif
  458. #ifdef URHO3D_NETWORK
  459. // static const int MSG_CREATENODE | File: ../Network/Protocol.h
  460. engine->RegisterGlobalProperty("const int MSG_CREATENODE", (void*)&MSG_CREATENODE);
  461. #endif
  462. #ifdef URHO3D_NETWORK
  463. // static const int MSG_NODEDELTAUPDATE | File: ../Network/Protocol.h
  464. engine->RegisterGlobalProperty("const int MSG_NODEDELTAUPDATE", (void*)&MSG_NODEDELTAUPDATE);
  465. #endif
  466. #ifdef URHO3D_NETWORK
  467. // static const int MSG_NODELATESTDATA | File: ../Network/Protocol.h
  468. engine->RegisterGlobalProperty("const int MSG_NODELATESTDATA", (void*)&MSG_NODELATESTDATA);
  469. #endif
  470. #ifdef URHO3D_NETWORK
  471. // static const int MSG_REMOVENODE | File: ../Network/Protocol.h
  472. engine->RegisterGlobalProperty("const int MSG_REMOVENODE", (void*)&MSG_REMOVENODE);
  473. #endif
  474. #ifdef URHO3D_NETWORK
  475. // static const int MSG_CREATECOMPONENT | File: ../Network/Protocol.h
  476. engine->RegisterGlobalProperty("const int MSG_CREATECOMPONENT", (void*)&MSG_CREATECOMPONENT);
  477. #endif
  478. #ifdef URHO3D_NETWORK
  479. // static const int MSG_COMPONENTDELTAUPDATE | File: ../Network/Protocol.h
  480. engine->RegisterGlobalProperty("const int MSG_COMPONENTDELTAUPDATE", (void*)&MSG_COMPONENTDELTAUPDATE);
  481. #endif
  482. #ifdef URHO3D_NETWORK
  483. // static const int MSG_COMPONENTLATESTDATA | File: ../Network/Protocol.h
  484. engine->RegisterGlobalProperty("const int MSG_COMPONENTLATESTDATA", (void*)&MSG_COMPONENTLATESTDATA);
  485. #endif
  486. #ifdef URHO3D_NETWORK
  487. // static const int MSG_REMOVECOMPONENT | File: ../Network/Protocol.h
  488. engine->RegisterGlobalProperty("const int MSG_REMOVECOMPONENT", (void*)&MSG_REMOVECOMPONENT);
  489. #endif
  490. #ifdef URHO3D_NETWORK
  491. // static const int MSG_REMOTEEVENT | File: ../Network/Protocol.h
  492. engine->RegisterGlobalProperty("const int MSG_REMOTEEVENT", (void*)&MSG_REMOTEEVENT);
  493. #endif
  494. #ifdef URHO3D_NETWORK
  495. // static const int MSG_REMOTENODEEVENT | File: ../Network/Protocol.h
  496. engine->RegisterGlobalProperty("const int MSG_REMOTENODEEVENT", (void*)&MSG_REMOTENODEEVENT);
  497. #endif
  498. #ifdef URHO3D_NETWORK
  499. // static const int MSG_PACKAGEINFO | File: ../Network/Protocol.h
  500. engine->RegisterGlobalProperty("const int MSG_PACKAGEINFO", (void*)&MSG_PACKAGEINFO);
  501. #endif
  502. #ifdef URHO3D_NETWORK
  503. // static const int MSG_PACKED_MESSAGE | File: ../Network/Protocol.h
  504. engine->RegisterGlobalProperty("const int MSG_PACKED_MESSAGE", (void*)&MSG_PACKED_MESSAGE);
  505. #endif
  506. #ifdef URHO3D_NETWORK
  507. // static const unsigned CONTROLS_CONTENT_ID | File: ../Network/Protocol.h
  508. engine->RegisterGlobalProperty("const uint CONTROLS_CONTENT_ID", (void*)&CONTROLS_CONTENT_ID);
  509. #endif
  510. #ifdef URHO3D_NETWORK
  511. // static const unsigned PACKAGE_FRAGMENT_SIZE | File: ../Network/Protocol.h
  512. engine->RegisterGlobalProperty("const uint PACKAGE_FRAGMENT_SIZE", (void*)&PACKAGE_FRAGMENT_SIZE);
  513. #endif
  514. #ifdef URHO3D_PHYSICS
  515. // static const int DEFAULT_FPS | File: ../Physics/PhysicsWorld.h
  516. engine->RegisterGlobalProperty("const int DEFAULT_FPS", (void*)&DEFAULT_FPS);
  517. #endif
  518. #ifdef URHO3D_PHYSICS
  519. // static const float DEFAULT_MAX_NETWORK_ANGULAR_VELOCITY | File: ../Physics/PhysicsWorld.h
  520. engine->RegisterGlobalProperty("const float DEFAULT_MAX_NETWORK_ANGULAR_VELOCITY", (void*)&DEFAULT_MAX_NETWORK_ANGULAR_VELOCITY);
  521. #endif
  522. // static const int COLOR_LUT_SIZE | File: ../Resource/Image.h
  523. engine->RegisterGlobalProperty("const int COLOR_LUT_SIZE", (void*)&COLOR_LUT_SIZE);
  524. // static const unsigned PRIORITY_LAST | File: ../Resource/ResourceCache.h
  525. engine->RegisterGlobalProperty("const uint PRIORITY_LAST", (void*)&PRIORITY_LAST);
  526. // static const unsigned MAX_NETWORK_ATTRIBUTES | File: ../Scene/ReplicationState.h
  527. engine->RegisterGlobalProperty("const uint MAX_NETWORK_ATTRIBUTES", (void*)&MAX_NETWORK_ATTRIBUTES);
  528. // static const unsigned FIRST_REPLICATED_ID | File: ../Scene/Scene.h
  529. engine->RegisterGlobalProperty("const uint FIRST_REPLICATED_ID", (void*)&FIRST_REPLICATED_ID);
  530. // static const unsigned LAST_REPLICATED_ID | File: ../Scene/Scene.h
  531. engine->RegisterGlobalProperty("const uint LAST_REPLICATED_ID", (void*)&LAST_REPLICATED_ID);
  532. // static const unsigned FIRST_LOCAL_ID | File: ../Scene/Scene.h
  533. engine->RegisterGlobalProperty("const uint FIRST_LOCAL_ID", (void*)&FIRST_LOCAL_ID);
  534. // static const unsigned LAST_LOCAL_ID | File: ../Scene/Scene.h
  535. engine->RegisterGlobalProperty("const uint LAST_LOCAL_ID", (void*)&LAST_LOCAL_ID);
  536. // static const int FONT_TEXTURE_MIN_SIZE | File: ../UI/Font.h
  537. engine->RegisterGlobalProperty("const int FONT_TEXTURE_MIN_SIZE", (void*)&FONT_TEXTURE_MIN_SIZE);
  538. // static const int FONT_DPI | File: ../UI/Font.h
  539. engine->RegisterGlobalProperty("const int FONT_DPI", (void*)&FONT_DPI);
  540. // static const float DEFAULT_FONT_SIZE | File: ../UI/Text.h
  541. engine->RegisterGlobalProperty("const float DEFAULT_FONT_SIZE", (void*)&DEFAULT_FONT_SIZE);
  542. // static const unsigned UI_VERTEX_SIZE | File: ../UI/UIBatch.h
  543. engine->RegisterGlobalProperty("const uint UI_VERTEX_SIZE", (void*)&UI_VERTEX_SIZE);
  544. #ifdef URHO3D_URHO2D
  545. // const float PIXEL_SIZE | File: ../Urho2D/Drawable2D.h
  546. engine->RegisterGlobalProperty("const float PIXEL_SIZE", (void*)&PIXEL_SIZE);
  547. #endif
  548. #ifdef URHO3D_URHO2D
  549. // static const unsigned FLIP_HORIZONTAL | File: ../Urho2D/TileMapDefs2D.h
  550. engine->RegisterGlobalProperty("const uint FLIP_HORIZONTAL", (void*)&FLIP_HORIZONTAL);
  551. #endif
  552. #ifdef URHO3D_URHO2D
  553. // static const unsigned FLIP_VERTICAL | File: ../Urho2D/TileMapDefs2D.h
  554. engine->RegisterGlobalProperty("const uint FLIP_VERTICAL", (void*)&FLIP_VERTICAL);
  555. #endif
  556. #ifdef URHO3D_URHO2D
  557. // static const unsigned FLIP_DIAGONAL | File: ../Urho2D/TileMapDefs2D.h
  558. engine->RegisterGlobalProperty("const uint FLIP_DIAGONAL", (void*)&FLIP_DIAGONAL);
  559. #endif
  560. #ifdef URHO3D_URHO2D
  561. // static const unsigned FLIP_RESERVED | File: ../Urho2D/TileMapDefs2D.h
  562. engine->RegisterGlobalProperty("const uint FLIP_RESERVED", (void*)&FLIP_RESERVED);
  563. #endif
  564. #ifdef URHO3D_URHO2D
  565. // static const unsigned FLIP_ALL | File: ../Urho2D/TileMapDefs2D.h
  566. engine->RegisterGlobalProperty("const uint FLIP_ALL", (void*)&FLIP_ALL);
  567. #endif
  568. }
  569. }