0ad/source/simulation
Ykkrosh fba692c8b5 # Fixed some warnings and potentially misleading code
* Removed ToJSVal<jsval> because it's treated as ToJSVal<long> and
causes minor confusion and/or compiler errors.
   Changed script interface functions to return either C++ types or a
jsval_t wrapper.
 * Replaced some C casts with static_cast to avoid significant confusion
and to cause compiler errors instead.
 * Removed some redundant argument-checking code. Simplified some
string-generating code.
 * Fixed some "dereferencing type-punned pointer will break
strict-aliasing rules" warnings (from `g++ -O3`).

This was SVN commit r5115.
2007-05-29 19:01:21 +00:00
..
AStarEngine.cpp # SwEng 2007-05-02 12:07:08 +00:00
AStarEngine.h remove all author/modified by tags. 2007-05-07 16:33:24 +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 # SwEng 2007-05-02 12:07:08 +00:00
Entity.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +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 . 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
EntityManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
EntityOrders.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
EntityRendering.cpp # SwEng 2007-05-02 12:07:08 +00:00
EntityScriptInterface.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
EntityStateProcessing.cpp # SwEng/cleanup 2007-05-18 00:14:26 +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 # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
EntityTemplate.h # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
EntityTemplateCollection.cpp # SwEng 2007-05-02 12:07:08 +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 # SwEng 2007-05-02 12:07:08 +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 # SwEng 2007-05-02 12:07:08 +00:00
PathfindEngine.h remove all author/modified by tags. 2007-05-07 16:33:24 +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 # SwEng 2007-05-02 12:07:08 +00:00
Simulation.h remove all author/modified by tags. 2007-05-07 16:33:24 +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 # SwEng 2007-05-02 12:07:08 +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
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 # move ps/Network into top level project (and static lib). 2006-08-26 20:25:37 +00:00
TurnManager.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00