0ad/source/simulation
janwas a859562ea7 improvements and fixes:
- properly differentiate between buffer/offset alignment and length
alignment (relevant since block size has been increased to 256k)
- use VfsPath for most game paths instead of CStr
- clean up timer interface and implementation
- self-tests no longer crash
- file_cache.cpp: fix for the case where allocation fails (prevent
deleter from seeing a null pointer)
- allocators: move all shared_ptr-related stuff to its own component;
add DummySharedPtr
- codec: disable checksums (important for performance at work)
- File: made into an interface class to avoid export problems. not
entirely sure about this..
- vfs_path.h, path.h, os_path.h: proper fix for using
fs::change_extension and similar utility functions with derivatives of
basic_path
- lib_api: automatically link against import lib if building lib/ as a
DLL
- path_util: remove unused functions (this component is deprecated)
- compiler.h: add INLINE
- Xeromyces.cpp: pass PIVFS so that GetXMBPath works in self-test
(should do this mostly everywhere rather than have one singleton g_VFS)

This was SVN commit r5537.
2008-01-07 20:03:19 +00:00
..
AStarEngine.cpp Enable overlays other than the pathfinding one when the pathfinding one is hidden. 2007-12-01 18:05:46 +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 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 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 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 # 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 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
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 # 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