2025-08-27 06:56 CEST

spring: develop 9c7be74b Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
tvo tvo develop 2007-08-22 22:16:19 develop 9b29b2a2
Changeset * Add StartPosX and StartPosZ tags to TEAM section of start script (GameSetup),
  to be used in combination with the new StartPosType 3 (Choose Before Game).
  They are in the range of map coordinates as returned by unitsync.
* Removed the loop that was supposed to initialize the startPos of each team
  to the upper left corner of it's start rectangle, because it actually
  initialized the startpos to garbage data because gs->mapx and gs->mapy had
  not been initialized there yet.
* Add a CGameSetup::StartPosType enumeration so we don't have this mess with
  magic numbers in CGameSetup.
* Added a check for startPosType, it is set to 0 (Fixed) if the script sets
  it to a value out of range.


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4240 37977431-3df6-0310-b722-df95706aa16b
mod - Documentation/Spring start.txt Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/GameSetup.h Diff ] File ]