1
0
forked from 0ad/0ad
0ad/source/simulation
pyrolink b5d9da29c1 #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation
*added CTerrain::getSlopeAngle[Face]() which returns the angle in
radians of the slope of the terrain.  getSlopeAngleFace should be used
for entities because it takes into account which way the entity is
facing, which allows for negative angles.
*the max and min graphical rotation for the slope is under traits.pitch.
This is used so that you can have certain units such as infantry that
don't rotate very far go down steep slopes but not rotate too much.
*JS documentation in docs/JSReg.rtf -- I put in most of the relevant
global functions; still needs entity functions.

This was SVN commit r3794.
2006-04-22 05:52:23 +00:00
..
scripting - fix w4 warnings 2005-08-09 15:55:44 +00:00
Aura.cpp Fixed GC bug (plus some potential ones that didn't seem to actually cause problems). 2006-03-16 03:45:31 +00:00
Aura.h Added C++ code for auras. Some things that still need to be implemented are: 2005-12-13 08:05:30 +00:00
BaseEntity.cpp #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation 2006-04-22 05:52:23 +00:00
BaseEntity.h #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation 2006-04-22 05:52:23 +00:00
BaseEntityCollection.cpp # refactoring 2006-04-14 06:32:05 +00:00
BaseEntityCollection.h all functions called via delay-load mechanism now return int (allows closures that can interrupt themselves when time is up) 2005-05-03 21:36:57 +00:00
BaseFormation.cpp # Updates to actor prop-switching system 2006-04-14 03:14:43 +00:00
BaseFormation.h # Fix unportable code and g++ specific warnings 2006-04-08 23:47:29 +00:00
BaseFormationCollection.cpp # refactoring 2006-04-14 06:32:05 +00:00
BaseFormationCollection.h #Unit formations and rank textures 2006-03-31 03:30:34 +00:00
BoundingObjects.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
BoundingObjects.h Projectile code and updates to some actors that can use it (celt_ijv and hele_iar) 2005-05-10 07:13:25 +00:00
Collision.cpp Added a "collision patch" system that groups entities into a grid on top of the map to make aura checking and collision detection faster. 2005-12-16 05:35:26 +00:00
Collision.h Added a "collision patch" system that groups entities into a grid on top of the map to make aura checking and collision detection faster. 2005-12-16 05:35:26 +00:00
Entity.cpp #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation 2006-04-22 05:52:23 +00:00
Entity.h #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation 2006-04-22 05:52:23 +00:00
EntityFormation.cpp # Fix unportable code and g++ specific warnings 2006-04-08 23:47:29 +00:00
EntityFormation.h # Fix unportable code and g++ specific warnings 2006-04-08 23:47:29 +00:00
EntityHandles.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityHandles.h Fixed warnings 2005-05-18 21:19:56 +00:00
EntityManager.cpp # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
EntityManager.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
EntityMessage.h Linux/GCC Compat 2004-11-23 23:56:10 +00:00
EntityOrders.h # First iteration of low-level pathfinder 2006-04-10 22:05:21 +00:00
EntityPredicate.h Forcing update of EntityPredicate.h 2005-03-30 18:25:07 +00:00
EntityProperties.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityProperties.h - fix w4 warnings 2005-08-09 15:55:44 +00:00
EntityStateProcessing.cpp #When appropriate (i.e. wheeled units), units will align with the slope of the terrain. *JS documentation 2006-04-22 05:52:23 +00:00
EntitySupport.h Added production queue system and associated events. It might still need some extra features but it should be functional. 2006-02-22 22:45:16 +00:00
EventHandlers.cpp #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
EventHandlers.h #Bar borders and angle penalty 2006-04-08 22:34:54 +00:00
FormationManager.cpp # Fix unportable code and g++ specific warnings 2006-04-08 23:47:29 +00:00
FormationManager.h # Fix unportable code and g++ specific warnings 2006-04-08 23:47:29 +00:00
LOSManager.cpp - vfs_load now returns error code and takes FileIOBuf; that must be freed via file_buf_free. if Handle is needed, use mem_wrap. 2006-01-24 08:16:29 +00:00
LOSManager.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
PathfindEngine.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
PathfindEngine.h # First iteration of low-level pathfinder 2006-04-10 22:05:21 +00:00
PathfindSparse.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
PathfindSparse.h Combat code, some scripting, broken network, and fixed some bugs. 2004-11-11 07:09:32 +00:00
ProductionQueue.cpp file_cache: fix: add buf/size combo to exact_buf_oracle if file_io rounded size up. 2006-03-07 05:44:34 +00:00
ProductionQueue.h Added production queue system and associated events. It might still need some extra features but it should be functional. 2006-02-22 22:45:16 +00:00
Projectile.cpp Terrain, Interact, LOSManager, Atlas, etc: Fixed some off-by-one and off-by-FLT_EPSILON problems with objects near/off the edge of the map. Also changed some model.GetBounds().GetCentre() into model.GetTransform().GetTranslation() to fix off-by-centre-of-bounds-minus-position problems. Thus, you can no longer make units in Atlas disappear off the edge and never be seen or selected again. Also changed out-of-bounds LOS value to make them visible if they somehow escape anyway. Also fixed out-of-bounds access of terrain heightmap. 2005-12-09 01:08:08 +00:00
Projectile.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
Scheduler.cpp Added support for cancelling a timeout or interval set using setTimeout/setInterval, which is used by the infidelity aura. 2005-12-18 07:33:16 +00:00
Scheduler.h Removed a compile warning and changed scheduler's "tasks to cancel" set to a hash set. 2005-12-18 07:41:02 +00:00
ScriptObject.cpp - fix w4 warnings 2005-08-09 15:55:44 +00:00
ScriptObject.h Changes to actor speed specifications. 2005-05-27 00:38:30 +00:00
Simulation.cpp # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
Simulation.h Atlas: Vaguely usable object placement code. Bug fixes. 2005-12-02 21:08:10 +00:00
TurnManager.cpp New JavaScript interface for the network client, plus some linux/gcc/misc fixes 2005-01-17 04:52:02 +00:00
TurnManager.h Lots of gcc -Wall fixes. The common ones: 2005-10-07 15:24:29 +00:00