spring: develop 826610b7 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
tvo | tvo | develop | 2007-07-10 22:29:28 | develop 851906d6 |
Changeset | * Netcode patch by Auswaschbar: - CNet is now independent from CNetProtocol - moved map name, mod name and script name to CNetProtocol, removed functions from CNet and made the game use the already existing functions from CNetProtocol - struct connection got its own file, was made a class CConnection and got some usefull functions (which are removed from CNet) - CLocalConnection is a subclass and represents the connection between server / client in one instance of spring, there's no difference in usage between local and remote connections - simplified usage of CNet / CNetProtocol from outside (in CGame, CGameServer) - NETMSG_HELLO removed from NETMSG, moved inside CConnection, and this type of messages are now handled in CConnection (so CGame, CGameServer and CPreGame doesn't have to care) - new CDemoRecorder and CDemoReader all the demo stuff is done in CNetProtocol now, not on CNet anymore - removed handleerror() and made a class network_error instead (copy'n'paste from content_error) * Needed to fix two bugs before applying: - mod checksum wasn't correctly sent in CGameServer, causing no-gamesetup not-hosted demos to not work. - NETMSG_SENDPLAYERSTAT wasn't handled in CPreGame causing demo's of single player games without enemy (ie. that are finished immediately) to be unreplayable. * Commented out the feraiseexcept stuff, it causes too much headache atm, needs looking at. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3886 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/ExternalAI/GlobalAIHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/Game.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/GameSetup.h | [ Diff ] [ File ] | |||
mod - rts/Game/PreGame.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/PreGame.h | [ Diff ] [ File ] | |||
mod - rts/Game/SelectedUnits.cpp | [ Diff ] [ File ] | |||
add - rts/System/Connection.cpp | [ Diff ] [ File ] | |||
add - rts/System/Connection.h | [ Diff ] [ File ] | |||
add - rts/System/Demo.cpp | [ Diff ] [ File ] | |||
add - rts/System/Demo.h | [ Diff ] [ File ] | |||
add - rts/System/LocalConnection.cpp | [ Diff ] [ File ] | |||
add - rts/System/LocalConnection.h | [ Diff ] [ File ] | |||
mod - rts/System/LogOutput.h | [ Diff ] [ File ] | |||
mod - rts/System/Net.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net.h | [ Diff ] [ File ] | |||
mod - rts/System/NetProtocol.cpp | [ Diff ] [ File ] | |||
mod - rts/System/NetProtocol.h | [ Diff ] [ File ] | |||
add - rts/System/RemoteConnection.cpp | [ Diff ] [ File ] | |||
add - rts/System/RemoteConnection.h | [ Diff ] [ File ] | |||
mod - rts/System/TdfParser.h | [ Diff ] [ File ] |