0ad/source/graphics
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 Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
Camera.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
Camera.h - Seperate ViewCamera (eye position) and CullCamera (model culling, shadow 2006-01-22 19:12:30 +00:00
CinemaTrack.cpp fix warnings (VC7) 2006-02-19 21:16:54 +00:00
CinemaTrack.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
Color.cpp # refactoring 2006-04-14 06:32:05 +00:00
Color.h # refactoring 2006-04-14 06:32:05 +00:00
DefaultEmitter.cpp This was SVN commit r3524. 2006-02-17 01:13:04 +00:00
DefaultEmitter.h Fix Linux build, don't EVER #include <windows.h> again! 2006-01-21 20:01:17 +00:00
Frustum.cpp CVSROOT: doesn't seem particularly useful now 2005-09-30 00:59:42 +00:00
Frustum.h #More accurate bounds calculations to improve shadow resolution 2006-03-26 21:58:48 +00:00
GameView.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
GameView.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
HFTracer.cpp # fix W4 warnings on VC 2006-04-03 22:06:09 +00:00
HFTracer.h add ps/Errors.h and/or lib/types.h headers (shouldn't rely on precompiled.h to pull those in). 2005-01-07 00:47:44 +00:00
LightEnv.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
LightEnv.h * clean up CLightEnv a bit 2006-02-15 00:45:16 +00:00
MapIO.h Updated map format, to store lighting information in XML. Also, vital whitespace consistency improvements. 2005-05-11 03:07:08 +00:00
MapReader.cpp # housekeeping: 2006-04-09 07:46:37 +00:00
MapReader.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
MapWriter.cpp Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
MapWriter.h Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. 2006-03-21 20:55:45 +00:00
Material.cpp renderer: load/unload water textures (similar to alpha maps); do that in delay load and avoid leaking them. 2005-10-12 04:16:41 +00:00
Material.h Fixed prop player-colouring. Allowed per-object colours. (Coming soon: data to demonstrate it.) 2005-04-07 04:29:07 +00:00
MaterialManager.cpp Lots of gcc -Wall fixes. The common ones: 2005-10-07 15:24:29 +00:00
MaterialManager.h Minor fixes for Linux/GCC 2004-09-26 21:21:34 +00:00
MeshManager.cpp # Fixed failure when saving maps 2006-04-04 04:14:10 +00:00
MeshManager.h Resource leak fixes 2004-12-16 12:01:47 +00:00
MiniPatch.cpp Linux/GCC/glibc Compat 2004-12-18 23:30:28 +00:00
MiniPatch.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
Model.cpp Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). 2006-03-17 03:59:49 +00:00
Model.h Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). 2006-03-17 03:59:49 +00:00
ModelDef.cpp Quieter and more informative error when using props/units/tools/basket.xml (and maybe others), where the model has bones but doesn't have a boned animation 2006-04-14 04:35:36 +00:00
ModelDef.h Quieter and more informative error when using props/units/tools/basket.xml (and maybe others), where the model has bones but doesn't have a boned animation 2006-04-14 04:35:36 +00:00
ObjectBase.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
ObjectBase.h # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
ObjectEntry.cpp # Updates to actor prop-switching system 2006-04-14 03:14:43 +00:00
ObjectEntry.h # Updates to actor prop-switching system 2006-04-14 03:14:43 +00:00
ObjectManager.cpp # refactoring 2006-04-14 06:32:05 +00:00
ObjectManager.h Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). 2006-03-17 03:59:49 +00:00
ParticleEmitter.cpp fix warnings (VC7) 2006-02-19 21:16:54 +00:00
ParticleEmitter.h This was SVN commit r3526. 2006-02-17 02:02:18 +00:00
ParticleEngine.cpp This was SVN commit r3527. 2006-02-17 02:02:29 +00:00
ParticleEngine.h This was SVN commit r3528. 2006-02-17 02:02:39 +00:00
Patch.cpp Optimised game-loading, by not reading terrain textures or calculating bounding boxes when not necessary; maps load about twenty seconds faster (at least in Debug mode). Also fixed possible minor bug (FLT_MIN vs -FLT_MAX) and other trivial things. 2005-02-09 23:19:48 +00:00
Patch.h ran newline stomper; no real changes 2004-06-08 12:10:51 +00:00
RenderableObject.h * clean up CLightEnv a bit 2006-02-15 00:45:16 +00:00
SkeletonAnim.h Changes to actor speed specifications. 2005-05-27 00:38:30 +00:00
SkeletonAnimDef.cpp # Fixed failure when saving maps 2006-04-04 04:14:10 +00:00
SkeletonAnimDef.h Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). 2006-03-17 03:59:49 +00:00
SkeletonAnimManager.cpp # Fixed failure when saving maps 2006-04-04 04:14:10 +00:00
SkeletonAnimManager.h Minor changes for linux 2004-06-02 15:03:17 +00:00
Sprite.cpp - both tex.cpp and ogl_tex.cpp had functions named tex_* - confusing. renamed to ogl_tex* to disambiguate. 2005-09-02 02:54:02 +00:00
Sprite.h - both tex.cpp and ogl_tex.cpp had functions named tex_* - confusing. renamed to ogl_tex* to disambiguate. 2005-09-02 02:54:02 +00:00
Terrain.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
Terrain.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
TerrainProperties.cpp g_keys[] has been made redundant by SDL's key array; use SDL_GetKeyState instead to get address of new keys array 2005-10-31 16:26:51 +00:00
TerrainProperties.h 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
Texture.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
TextureEntry.cpp TerrainProperties: Use CTerrainPropertiesPtr (boost::shared_ptr) instead of CTerrainProperties*, to fix (slightly inelegantly) memory leaks. 2005-10-28 01:43:16 +00:00
TextureEntry.h TerrainProperties: Use CTerrainPropertiesPtr (boost::shared_ptr) instead of CTerrainProperties*, to fix (slightly inelegantly) memory leaks. 2005-10-28 01:43:16 +00:00
TextureManager.cpp More reliable texture blending. Resource unloading. Minor fixes. 2005-11-06 05:05:07 +00:00
TextureManager.h More reliable texture blending. Resource unloading. Minor fixes. 2005-11-06 05:05:07 +00:00
Unit.cpp # Updates to actor prop-switching system 2006-04-14 03:14:43 +00:00
Unit.h # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
UnitManager.cpp Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). 2006-03-17 03:59:49 +00:00
UnitManager.h # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00