0ad/source/simulation2/components
Yves 3362c591f5 Moves AI players to one global using the module pattern.
This avoids wrapping overhead that would otherwise be required because
multiple globals per compartment aren't supported anymore in newer
versions of SpiderMonkey.

Check the ticket for a detailed explanation.

Closes #2322
Refs #2241
Refs #1886

This was SVN commit r14441.
2013-12-30 10:04:59 +00:00
..
tests Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CCmpAIManager.cpp Moves AI players to one global using the module pattern. 2013-12-30 10:04:59 +00:00
CCmpCommandQueue.cpp Fixes multiplayer crash when host disconnects while clients are still loading. 2013-03-25 05:01:36 +00:00
CCmpDecay.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpFootprint.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpMinimap.cpp Implements attack notifications based on patch by madmax and zoot, fixes #1719 2013-10-06 04:49:38 +00:00
CCmpMotionBall.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpObstruction.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpObstructionManager.cpp As per ticket #1707. Some minor improvements to spatial subdivision. Makes way for future changes in RangeManager. 2013-09-15 14:03:53 +00:00
CCmpOverlayRenderer.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpOwnership.cpp Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
CCmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
CCmpPathfinder.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpPathfinder_Common.h Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
CCmpPathfinder_Tile.cpp Implemented nested territory boundaries. Fixes #918. 2012-01-18 21:22:58 +00:00
CCmpPathfinder_Vertex.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpPosition.cpp Optimize the "Move()" function by removing unnecessary message broadcast. Fixes #2094 2013-12-04 17:38:46 +00:00
CCmpProjectileManager.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpRallyPointRenderer.cpp Remove InitSavedGame, but keep the rallypoint problem it solved. Fixes #1762, Patch by mimo. 2013-10-16 17:58:12 +00:00
CCmpRangeManager.cpp * Add method to rangemanager to query around a position instead of an entity 2013-12-04 15:30:01 +00:00
CCmpSelectable.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpSoundManager.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpTemplateManager.cpp Let corpses cast shadows again. Refs #1771. 2013-10-05 16:22:46 +00:00
CCmpTerrain.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpTerritoryInfluence.cpp Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154 2013-10-15 10:05:08 +00:00
CCmpTerritoryManager.cpp Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154 2013-10-15 10:05:08 +00:00
CCmpTest.cpp Simplify component interface: remove explicit context parameter, use GetSimContext() instead. 2011-01-16 14:08:38 +00:00
CCmpUnitMotion.cpp Optimize the "Move()" function by removing unnecessary message broadcast. Fixes #2094 2013-12-04 17:38:46 +00:00
CCmpVision.cpp Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154 2013-10-15 10:05:08 +00:00
CCmpVisualActor.cpp Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
CCmpWaterManager.cpp Change the water manager so incremental updates to the water information is possible. Streamline a few things (and removes a not-really-used calculation to speed things up further). Fixes #2063 , refs #1743. 2013-08-18 09:27:11 +00:00
ICmpAIInterface.cpp Fix AI errors on skirmish maps. 2013-12-04 16:52:44 +00:00
ICmpAIInterface.h Fix AI errors on skirmish maps. 2013-12-04 16:52:44 +00:00
ICmpAIManager.cpp add file notification to Mac ticket 514, also change name of class FileInfo to CFileInfo to ease Mac development 2013-09-10 14:17:04 +00:00
ICmpAIManager.h Many small bugfixes for AIs. Adds support for difficulty (and along with that, some behind-the-door architecture for a handicap system). 2013-03-13 20:44:48 +00:00
ICmpCommandQueue.cpp # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
ICmpCommandQueue.h # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
ICmpDecay.cpp # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpDecay.h # Add corpse decay and building collapse. 2010-08-01 17:38:01 +00:00
ICmpFootprint.cpp Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
ICmpFootprint.h Expose Footprint::GetShape and TemplateManager::FindAllTemplates to scripts. 2010-05-01 09:48:39 +00:00
ICmpGuiInterface.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
ICmpGuiInterface.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
ICmpIdentity.cpp Missing files 2011-05-05 20:07:51 +00:00
ICmpIdentity.h Missing files 2011-05-05 20:07:51 +00:00
ICmpMinimap.cpp # Display units on the minimap 2010-04-23 18:36:48 +00:00
ICmpMinimap.h Implements attack notifications based on patch by madmax and zoot, fixes #1719 2013-10-06 04:49:38 +00:00
ICmpMotion.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpMotion.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpObstruction.cpp Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
ICmpObstruction.h Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
ICmpObstructionManager.cpp Stop units walking outside the edges of circular maps. 2010-10-30 18:25:34 +00:00
ICmpObstructionManager.h Fix some Clang warnings about unused private members 2013-10-19 00:53:58 +00:00
ICmpOverlayRenderer.cpp refactor path interface: 2011-03-23 13:36:20 +00:00
ICmpOverlayRenderer.h Use path types and conversions more consistently. 2011-03-21 22:59:00 +00:00
ICmpOwnership.cpp Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
ICmpOwnership.h Added a 'quiet' version of SetOwner() that doesn't send a message, to allow faux-atomic batch ownership changes. 2012-08-08 05:18:20 +00:00
ICmpParticleManager.cpp Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpParticleManager.h Set svn:eol-style=native, fix some inconsistent line endings 2013-12-06 00:42:50 +00:00
ICmpPathfinder.cpp Add obstruction debug mode, with GUI toggle. 2010-03-20 19:18:01 +00:00
ICmpPathfinder.h Allow building walls along the shore. Patch by sanderd17. Fix #1610. 2013-07-07 22:44:47 +00:00
ICmpPlayer.cpp Remove some unused component setters 2012-04-21 13:12:36 +00:00
ICmpPlayer.h Remove some unused component setters 2012-04-21 13:12:36 +00:00
ICmpPlayerManager.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPlayerManager.h # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ICmpPosition.cpp Optimize the "Move()" function by removing unnecessary message broadcast. Fixes #2094 2013-12-04 17:38:46 +00:00
ICmpPosition.h Optimize the "Move()" function by removing unnecessary message broadcast. Fixes #2094 2013-12-04 17:38:46 +00:00
ICmpProjectileManager.cpp Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18. 2012-05-19 23:07:41 +00:00
ICmpProjectileManager.h Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18. 2012-05-19 23:07:41 +00:00
ICmpRallyPointRenderer.cpp Remove InitSavedGame, but keep the rallypoint problem it solved. Fixes #1762, Patch by mimo. 2013-10-16 17:58:12 +00:00
ICmpRallyPointRenderer.h Remove InitSavedGame, but keep the rallypoint problem it solved. Fixes #1762, Patch by mimo. 2013-10-16 17:58:12 +00:00
ICmpRangeManager.cpp * Add method to rangemanager to query around a position instead of an entity 2013-12-04 15:30:01 +00:00
ICmpRangeManager.h * Add method to rangemanager to query around a position instead of an entity 2013-12-04 15:30:01 +00:00
ICmpSelectable.cpp Implements always visible hero selection rings, based on patch by Deiz/F00. Fixes #1365 2012-07-19 04:45:01 +00:00
ICmpSelectable.h Slightly speed up actor rendering; have selectables properly handle fog of war, etc. Refs #1365. 2012-07-30 21:06:54 +00:00
ICmpSettlement.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSettlement.h # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpSoundManager.cpp # Initial audio integration with new simulation system. 2010-04-04 21:24:39 +00:00
ICmpSoundManager.h # Initial audio integration with new simulation system. 2010-04-04 21:24:39 +00:00
ICmpTechnologyTemplateManager.cpp AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI. 2013-03-05 22:52:48 +00:00
ICmpTechnologyTemplateManager.h AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI. 2013-03-05 22:52:48 +00:00
ICmpTemplateManager.cpp # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
ICmpTemplateManager.h Disable XML validation when loading templates for AI, to save startup time 2011-02-20 20:45:39 +00:00
ICmpTerrain.cpp Summon planes back from the emptyness 2013-11-26 15:12:16 +00:00
ICmpTerrain.h Changes terrain anchoring to use faster CalcExactNormal instead of CalcNormalFixed, refs #1988, #2039 2013-07-17 05:42:16 +00:00
ICmpTerritoryInfluence.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
ICmpTerritoryInfluence.h # Health decay for buildings not in a civ center's territory. 2011-08-18 20:28:53 +00:00
ICmpTerritoryManager.cpp # Health decay for buildings not in a civ center's territory. 2011-08-18 20:28:53 +00:00
ICmpTerritoryManager.h Implemented nested territory boundaries. Fixes #918. 2012-01-18 21:22:58 +00:00
ICmpTest.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpTest.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ICmpUnitMotion.cpp Fix #1833: animals spin around needlessly while roaming. 2013-09-30 23:52:22 +00:00
ICmpUnitMotion.h Fix #1833: animals spin around needlessly while roaming. 2013-09-30 23:52:22 +00:00
ICmpUnknownScript.cpp # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpUnknownScript.h # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
ICmpValueModificationManager.cpp Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154 2013-10-15 10:05:08 +00:00
ICmpValueModificationManager.h Rename technology related files, methods and messages so their names represent the shared data flow between technologies and auras (and maybe future components). Implement the C++ part of auras through these generalised files. Fixes #2154 2013-10-15 10:05:08 +00:00
ICmpVision.cpp Fix highlighting of obstructed building placement previews. 2010-10-04 17:34:33 +00:00
ICmpVision.h Fix highlighting of obstructed building placement previews. 2010-10-04 17:34:33 +00:00
ICmpVisual.cpp Adds building previews that rise during construction, fixes #1174, refs #21. 2013-02-03 02:08:20 +00:00
ICmpVisual.h Adds building previews that rise during construction, fixes #1174, refs #21. 2013-02-03 02:08:20 +00:00
ICmpWaterManager.cpp # Support floating units in new simulation system. 2010-05-27 23:23:53 +00:00
ICmpWaterManager.h # Support floating units in new simulation system. 2010-05-27 23:23:53 +00:00