1
0
forked from 0ad/0ad
0ad/source/simulation
Matei 455556783e # Fixed walking on a multistep path, which sometimes stopped after the first few steps.
The problem was incorrect logic in the start-next-segment-of-the-path
code that was added to allow multiple segments to be handled within the
same update. I'm not sure how this worked before but it seemed to give
continuous paths! Likely that's because the pathing for contact actions
is different.

Also added more sanity checks in Aura.cpp for deleted entities in the
m_Influenced queue. There was a crash caused by something here though
it's hard to reproduce.

This was SVN commit r5597.
2008-02-04 08:24:17 +00:00
..
AStarEngine.cpp # Fixed walking on a multistep path, which sometimes stopped after the first few steps. 2008-02-04 08:24:17 +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 # Fixed walking on a multistep path, which sometimes stopped after the first few steps. 2008-02-04 08:24:17 +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 Enable overlays other than the pathfinding one when the pathfinding one is hidden. 2007-12-01 18:05:46 +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 Enable overlays other than the pathfinding one when the pathfinding one is hidden. 2007-12-01 18:05:46 +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 # Fixed walking on a multistep path, which sometimes stopped after the first few steps. 2008-02-04 08:24:17 +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 fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR) 2007-12-29 16:22:23 +00:00
EntityTemplate.h Territorial limits applied 2007-07-14 06:15:19 +00:00
EntityTemplateCollection.cpp improvements and fixes: 2008-01-07 20:03:19 +00:00
EntityTemplateCollection.h part4: adapt codebase to changes in lib/ 2007-12-20 20:21:45 +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 fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR) 2007-12-29 16:22:23 +00:00
Formation.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
FormationCollection.cpp improvements and fixes: 2008-01-07 20:03:19 +00:00
FormationCollection.h part4: adapt codebase to changes in lib/ 2007-12-20 20:21:45 +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 pending improvements and partial fixes to self-tests 2008-01-03 22:07:18 +00:00
LOSManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
PathfindEngine.cpp part1a: misc fixes 2007-12-20 19:57:41 +00:00
PathfindEngine.h part1a: misc fixes 2007-12-20 19:57:41 +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 # Some fixes to projectiles 2008-02-03 09:10:15 +00:00
Projectile.h # Some fixes to projectiles 2008-02-03 09:10:15 +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 Changed Windows memory-allocation counter to get more predictable performance. Removed slow debug_printf warning about low FPS, to avoid positive feedback. 2008-01-12 21:08:11 +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 fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR) 2007-12-29 16:22:23 +00:00
Technology.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
TechnologyCollection.cpp improvements and fixes: 2008-01-07 20:03:19 +00:00
TechnologyCollection.h part4: adapt codebase to changes in lib/ 2007-12-20 20:21:45 +00:00
TerritoryManager.cpp pending improvements and partial fixes to self-tests 2008-01-03 22:07:18 +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 fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR) 2007-12-29 16:22:23 +00:00
TriggerManager.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
TurnManager.cpp # Some fixes to projectiles 2008-02-03 09:10:15 +00:00
TurnManager.h # Some fixes to projectiles 2008-02-03 09:10:15 +00:00