0ad/source/simulation
Matei 207d1367ec # A number of network synchronization fixes.
- The server will no longer send a new turn until the previous one has
been "acknowledged". (TODO: this may create lag between turns in its
current form; investigate and possibly allow executing two turns while
the third is being negotiated).
- Mutexes are now being used in NetServer and NetClient to ensure
commands go into the right batches.
- Commented out some orders in the GUI code that should not be there and
are not 100% working anyway (they were part of the follow/formation
system).
- Units that spawn or are created by scripts now have net-safe position
and orientation.
- Added a debug flag that can be turned on to print details about when
commands are received and executed (DEBUG_SYNCHRONIZATION). This is
especially useful if you diff the stdouts of two running games. There
should be no differences if everything is in synch.

This was SVN commit r5463.
2007-11-18 09:09:06 +00:00
..
AStarEngine.cpp adding flag -triPathfind to enable triangulation pathfinding. it will use the orignial A* without the flag 2007-10-10 19:35:23 +00:00
AStarEngine.h pathfinding change: the engine uses Triangulation and A* on triangles now. dcdt package added. premake.lua changed to include the dcdt code. it needs to run update-workspaces.bat (flag -showOverlay will draw the triangulation and a single unit paths) 2007-10-09 07:27:45 +00:00
Aura.cpp # Bug fixes and cleanup of entity kill code. 2007-01-25 07:00:31 +00:00
Aura.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
BoundingObjects.cpp # SwEng 2007-05-02 12:07:08 +00:00
BoundingObjects.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Collision.cpp # SwEng 2007-05-02 12:07:08 +00:00
Collision.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Entity.cpp # A number of network synchronization fixes. 2007-11-18 09:09:06 +00:00
Entity.h pathfinder change: triangulation now handles static object update and removal. dcdt initialization is moved to RequestTriangulationPath() and will only be invoked when -triPathfind flag is supplied. unit radius slightly increased (again) to revolve the unit bouncing problem around buildings. 2007-10-13 23:37:23 +00:00
EntityFormation.cpp # SwEng 2007-05-02 12:07:08 +00:00
EntityFormation.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
EntityHandles.cpp Modified semantics of HEntity's validity check to count handles to units that are destroyed but not deleted as still valid handles. This fixes some previous code that assumed these semantics, such as code for dealing with exhausted gather targets. It looks like the meaning was changed long ago when the entity flags were added. Also added an IsAlive method in HEntity for the old check, in case any code needs to be switched over to that. 2007-05-16 06:58:49 +00:00
EntityHandles.h Modified semantics of HEntity's validity check to count handles to units that are destroyed but not deleted as still valid handles. This fixes some previous code that assumed these semantics, such as code for dealing with exhausted gather targets. It looks like the meaning was changed long ago when the entity flags were added. Also added an IsAlive method in HEntity for the old check, in case any code needs to be switched over to that. 2007-05-16 06:58:49 +00:00
EntityManager.cpp pathfinder change: triangulation now handles static object update and removal. dcdt initialization is moved to RequestTriangulationPath() and will only be invoked when -triPathfind flag is supplied. unit radius slightly increased (again) to revolve the unit bouncing problem around buildings. 2007-10-13 23:37:23 +00:00
EntityManager.h pathfinder change: triangulation now handles static object update and removal. dcdt initialization is moved to RequestTriangulationPath() and will only be invoked when -triPathfind flag is supplied. unit radius slightly increased (again) to revolve the unit bouncing problem around buildings. 2007-10-13 23:37:23 +00:00
EntityOrders.h # A number of network synchronization fixes. 2007-11-18 09:09:06 +00:00
EntityRendering.cpp # SwEng 2007-05-02 12:07:08 +00:00
EntityScriptInterface.cpp # A number of network synchronization fixes. 2007-11-18 09:09:06 +00:00
EntityStateProcessing.cpp adding flag -triPathfind to enable triangulation pathfinding. it will use the orignial A* without the flag 2007-10-10 19:35:23 +00:00
EntitySupport.cpp # SwEng 2007-05-02 12:07:08 +00:00
EntitySupport.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
EntityTemplate.cpp Territorial limits applied 2007-07-14 06:15:19 +00:00
EntityTemplate.h Territorial limits applied 2007-07-14 06:15:19 +00:00
EntityTemplateCollection.cpp cleanup: 2007-09-25 09:39:20 +00:00
EntityTemplateCollection.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
EventHandlers.cpp # Bug fixes and cleanup of entity kill code. 2007-01-25 07:00:31 +00:00
EventHandlers.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Formation.cpp # SwEng 2007-05-02 12:07:08 +00:00
Formation.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FormationCollection.cpp cleanup: 2007-09-25 09:39:20 +00:00
FormationCollection.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FormationManager.cpp # SwEng 2007-05-02 12:07:08 +00:00
FormationManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
LOSManager.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
LOSManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
PathfindEngine.cpp pathfinder change: triangulation now handles static object update and removal. dcdt initialization is moved to RequestTriangulationPath() and will only be invoked when -triPathfind flag is supplied. unit radius slightly increased (again) to revolve the unit bouncing problem around buildings. 2007-10-13 23:37:23 +00:00
PathfindEngine.h pathfinder change: triangulation now handles static object update and removal. dcdt initialization is moved to RequestTriangulationPath() and will only be invoked when -triPathfind flag is supplied. unit radius slightly increased (again) to revolve the unit bouncing problem around buildings. 2007-10-13 23:37:23 +00:00
PathfindSparse.cpp # SwEng 2007-05-02 12:07:08 +00:00
PathfindSparse.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ProductionQueue.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
ProductionQueue.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
Projectile.cpp # SwEng 2007-05-02 12:07:08 +00:00
Projectile.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Scheduler.cpp # SwEng 2007-05-02 12:07:08 +00:00
Scheduler.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ScriptObject.cpp More header-file rejigging. 2006-06-09 18:32:00 +00:00
ScriptObject.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Simulation.cpp # A number of network synchronization fixes. 2007-11-18 09:09:06 +00:00
Simulation.h # Multiplayer synchronization fixes. 2007-10-23 06:52:23 +00:00
Stance.cpp # SwEng 2007-05-02 12:07:08 +00:00
Stance.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
Technology.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
Technology.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
TechnologyCollection.cpp cleanup: 2007-09-25 09:39:20 +00:00
TechnologyCollection.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
TerritoryManager.cpp # SwEng 2007-05-02 12:07:08 +00:00
TerritoryManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
TRAStarEngine.cpp pathfinding change: the engine uses Triangulation and A* on triangles now. dcdt package added. premake.lua changed to include the dcdt code. it needs to run update-workspaces.bat (flag -showOverlay will draw the triangulation and a single unit paths) 2007-10-09 07:27:45 +00:00
TRAStarEngine.h # OS X fixes. 2007-10-11 08:00:05 +00:00
TriggerManager.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
TriggerManager.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
TurnManager.cpp # Multiplayer synchronization fixes. 2007-10-23 06:52:23 +00:00
TurnManager.h # A number of network synchronization fixes. 2007-11-18 09:09:06 +00:00