2025-08-28 07:45 CEST

spring: develop 4432f0fb Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2008-06-02 04:41:57 develop 1335364b
Changeset - converted map config scripts to lua format (LuaParser / MapParser)
  - if a script file is a TDF, then the load_tdf_map.lua script from
    maphelper.sdz is used to parse it.
  - map scripts also receive the name of the map, and its script name
    (in the 'Map' table)
  - MapOptions.lua is now handed the 'Map' table information as well
    (allows one to write a generic MapOptions.lua file that accesses
     the SMD/SM3 files to retrieve the defaults)
  - the SM3 format is yet to be converted to the lua format
    (but its MapInfo information is)
  - all maps now depend on the maphelper.sdz archive
    (see ArchiveScanner.cpp)

- added more testing functionality to unitsync/test/test.cpp
  - map archives
  - map info
  - mod sides

- added the '-DUNITSYNC' compilation flag for the unitsync build
  (specifically, for the MapParser.cpp file)

- added the AllowStartPosition(x, y, z, playerID) LuaRules/synced call-in
  - NETMSG_STARTPOS now generates InMapDrawer points locally
    (no need for the extra message)

- changed all of the LuaParser AddParam() calls to type-specific names

- added the LuaParser DotTable() routine (mostly untested)

- converted the BumpMap water caustics textures to a vector
  (unlimited count). the 'smoketex' projectile texture set should
  probably be changed as well (and any others that could benefit)

- added IntToString() to StdAfx.h ;-)

- allowed access to gs's randSeed (and the initial randSeed)
  if random() is added to definitions scripts, then you'll want to
  make sure that the same script always starts with the same randSeed

- globally renamed the 'MapHeader' struct to 'SMFHeader'



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5971 37977431-3df6-0310-b722-df95706aa16b
mod - AI/Global/AAI/AAIExecute.cpp Diff ] File ]
mod - AI/Global/AAI/AAIMap.cpp Diff ] File ]
mod - AI/Global/AAI/AAISector.cpp Diff ] File ]
mod - SConstruct Diff ] File ]
mod - installer/builddata/build.bat Diff ] File ]
add - installer/builddata/maphelper/maphelper/load_tdf_map.lua Diff ] File ]
add - installer/builddata/maphelper/maphelper/parse_tdf.lua Diff ] File ]
add - installer/builddata/maphelper/modinfo.tdf Diff ] File ]
mod - installer/builddata/springcontent/gamedata/parse_tdf.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/sidedata.lua Diff ] File ]
mod - installer/make_gamedata_arch.sh Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/GameSetupData.h Diff ] File ]
mod - rts/Game/PreGame.cpp Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/CommanderScript2.cpp Diff ] File ]
mod - rts/Game/StartScripts/GlobalAITestScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/LoadScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/SpawnScript.cpp Diff ] File ]
mod - rts/Game/StartScripts/TestScript.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/StartPosSelecter.cpp Diff ] File ]
mod - rts/Lua/LuaConstGame.cpp Diff ] File ]
mod - rts/Lua/LuaFeatureDefs.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaParser.cpp Diff ] File ]
mod - rts/Lua/LuaParser.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaRules.h Diff ] File ]
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Lua/LuaWeaponDefs.cpp Diff ] File ]
mod - rts/Map/BasicMapDamage.cpp Diff ] File ]
mod - rts/Map/MapInfo.cpp Diff ] File ]
mod - rts/Map/MapInfo.h Diff ] File ]
add - rts/Map/MapParser.cpp Diff ] File ]
add - rts/Map/MapParser.h Diff ] File ]
mod - rts/Map/SM3/Sm3Map.cpp Diff ] File ]
mod - rts/Map/SMF/BFGroundTextures.cpp Diff ] File ]
mod - rts/Map/SMF/SmfReadMap.cpp Diff ] File ]
mod - rts/Map/SMF/SmfReadMap.h Diff ] File ]
mod - rts/Map/SMF/mapfile.h Diff ] File ]
mod - rts/Rendering/Env/BumpWater.cpp Diff ] File ]
mod - rts/Rendering/Env/BumpWater.h Diff ] File ]
mod - rts/Rendering/InMapDraw.cpp Diff ] File ]
mod - rts/Rendering/InMapDraw.h Diff ] File ]
mod - rts/Sim/Features/FeatureHandler.cpp Diff ] File ]
mod - rts/Sim/Misc/DamageArrayHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/TransportCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.h Diff ] File ]
mod - rts/System/FileSystem/ArchiveScanner.cpp Diff ] File ]
mod - rts/System/GlobalStuff.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - rts/System/StdAfx.h Diff ] File ]
mod - tools/unitsync/javabind.cpp Diff ] File ]
mod - tools/unitsync/setup.py Diff ] File ]
mod - tools/unitsync/test/test.cpp Diff ] File ]
mod - tools/unitsync/unitsync.cpp Diff ] File ]