2025-08-27 19:12 CEST

spring: develop f7786973 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
tvo tvo develop 2007-09-01 22:53:28 develop 3e8fc0db
Changeset * Make the replay format better:
  - It has a proper header now with version field
    instead of the entire file being just a data blob.
  - The header has made the gameSetup script.txt
    modifications redundant: the UnixTime and Spring
    Version are in the header, and the gameSetup script
    is stored unmodified now.
  - It stores a game ID, this can be used to match
    replays of the same game together.
  - It stores the winning ally team, if any.
  - It stores player stats.
  - It stores team stats.
  - It stores game duration, both in game time and
    wallclock time.

* Added DemoDumper, a test program that dumps the
  header, player statistics and team statistics to
  a file. This serves as an example for how to read
  the format.

* Added NETMSG_GAMEID for the transfer of this server
  generated unique game identifier.

* Factored CRC calculation out of CArchiveScanner.
* Removed a number of unreferenced locals.
* Fixed some VC8 warnings.
* Set some svn:eol-style properties to native.

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4289 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/GameServer.h Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/Player.cpp Diff ] File ]
mod - rts/Game/Player.h Diff ] File ]
mod - rts/Game/Team.h Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaShaders.cpp Diff ] File ]
mod - rts/Lua/LuaUnitRendering.cpp Diff ] File ]
mod - rts/Sim/Misc/FeatureHandler.cpp Diff ] File ]
mod - rts/System/Demo.cpp Diff ] File ]
mod - rts/System/Demo.h Diff ] File ]
mod - rts/System/FileSystem/ArchiveScanner.cpp Diff ] File ]
mod - rts/System/FileSystem/ArchiveScanner.h Diff ] File ]
add - rts/System/FileSystem/CRC.cpp Diff ] File ]
add - rts/System/FileSystem/CRC.h Diff ] File ]
mod - rts/System/Main.cpp Diff ] File ]
mod - rts/System/NetProtocol.cpp Diff ] File ]
mod - rts/System/NetProtocol.h Diff ] File ]
add - rts/System/demofile.h Diff ] File ]
mod - rts/build/vstudio8/rts.vcproj Diff ] File ]
add - tools/DemoDumper/DemoDumper.cpp Diff ] File ]
add - tools/DemoDumper/DemoDumper.sln Diff ] File ]
add - tools/DemoDumper/DemoDumper.vcproj Diff ] File ]
add - tools/DemoDumper/README.txt Diff ] File ]