UB 1.13 Fixes (by Jazz)

- Externalized more hardcoded grid numbers


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8097 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2016-03-08 21:06:31 +00:00
parent ea6e30d8c8
commit 446484f6ca
5 changed files with 319 additions and 78 deletions
+35
View File
@@ -195,6 +195,41 @@ void IniGlobalGameSetting(lua_State *L)
lua_pushboolean(L, gGameUBOptions.InGameHeli);
lua_setglobal(L, "UB_iniINGAMEHELI");
lua_pushinteger(L, gGameUBOptions.SectorLaunchMisslesX);
lua_setglobal(L, "UB_iniSECTOR_LAUNCH_MISSLES_X");
lua_pushinteger(L, gGameUBOptions.SectorLaunchMisslesY);
lua_setglobal(L, "UB_iniSECTOR_LAUNCH_MISSLES_Y");
lua_pushinteger(L, gGameUBOptions.SectorLaunchMisslesZ);
lua_setglobal(L, "UB_iniSECTOR_LAUNCH_MISSLES_Z");
lua_pushinteger(L, gGameUBOptions.SectorFanX);
lua_setglobal(L, "UB_iniPOWERGEN_SECTOR_X");
lua_pushinteger(L, gGameUBOptions.SectorFanY);
lua_setglobal(L, "UB_iniPOWERGEN_SECTOR_Y");
lua_pushinteger(L, gGameUBOptions.SectorFanZ);
lua_setglobal(L, "UB_iniPOWERGEN_SECTOR_Z");
lua_pushinteger(L, gGameUBOptions.SectorDoorInTunnelX);
lua_setglobal(L, "UB_iniSECTOR_DOOR_IN_TUNNEL_X");
lua_pushinteger(L, gGameUBOptions.SectorDoorInTunnelY);
lua_setglobal(L, "UB_iniSECTOR_DOOR_IN_TUNNEL_Y");
lua_pushinteger(L, gGameUBOptions.SectorDoorInTunnelZ);
lua_setglobal(L, "UB_SECTOR_DOOR_IN_TUNNEL_Z");
#endif
//Mod Setting.ini