0ad/source/graphics
Ykkrosh 609f1643d5 Fix -Wconversion warnings in simulation code.
Cast to smaller integer types explicitly.
Generally avoid platform-dependent types (size_t) in simulation code.
Use float versions of math.h functions, not double.

This was SVN commit r10017.
2011-08-16 11:18:32 +00:00
..
tests refactor file interface. requires workspace update 2011-05-25 10:39:13 +00:00
Camera.cpp Changes GetFocus to return points above water. 2011-08-10 22:45:55 +00:00
Camera.h Changes GetFocus to return points above water. 2011-08-10 22:45:55 +00:00
CinemaTrack.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
CinemaTrack.h Add GPL header 2009-04-18 17:00:33 +00:00
ColladaManager.cpp Report filename in Collada warning messages. 2011-05-14 16:43:08 +00:00
ColladaManager.h Fix #423 (Switch from CppDoc to Doxygen), based on patch from anr. 2010-07-29 15:55:41 +00:00
Color.cpp huge cleanup and conversion of most string handling (especially paths) to unicode 2009-11-03 21:46:35 +00:00
Color.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Decal.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
Decal.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
Entity.h Simplifies random map output, see #782. 2011-04-16 04:04:06 +00:00
Frustum.cpp Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
Frustum.h Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
GameView.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
GameView.h # Initial support for territories 2011-07-20 19:48:06 +00:00
HFTracer.cpp Avoid crash when pressing 'h' while multiplayer host game setup screen is loading 2011-07-03 18:36:43 +00:00
HFTracer.h Add some missing consts to arguments. 2010-07-25 14:10:46 +00:00
LightEnv.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
LightEnv.h # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
LOSTexture.cpp # Initial support for territories 2011-07-20 19:48:06 +00:00
LOSTexture.h Move Atlas map settings from JS to C++. 2011-05-29 15:02:02 +00:00
MapGenerator.cpp Adds GetCivData to map generator API (to replace the hardcoded starting entities in rmgen). 2011-07-24 03:28:18 +00:00
MapGenerator.h Adds GetCivData to map generator API (to replace the hardcoded starting entities in rmgen). 2011-07-24 03:28:18 +00:00
MapIO.h Implements random map system, fixes #6. 2011-03-22 01:34:45 +00:00
MapReader.cpp Fix uninitialised value 2011-06-26 21:45:58 +00:00
MapReader.h Adds AI control to Atlas player panel 2011-06-13 23:32:41 +00:00
MapWriter.cpp ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive) 2011-05-04 12:10:17 +00:00
MapWriter.h Use JSFastNative API in more places, for improved compatibility with future SpiderMonkey versions. 2010-10-21 19:54:59 +00:00
Material.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
Material.h # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
MaterialManager.cpp # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
MaterialManager.h huge cleanup and conversion of most string handling (especially paths) to unicode 2009-11-03 21:46:35 +00:00
MeshManager.cpp refactor path interface: 2011-03-23 13:36:20 +00:00
MeshManager.h refactor path interface: 2011-03-23 13:36:20 +00:00
MiniPatch.cpp # Handle terrain passability and movement costs in pathfinder. 2010-05-27 23:31:03 +00:00
MiniPatch.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
Model.cpp Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
Model.h Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
ModelAbstract.h # Minor particle system fixes. 2011-04-29 12:26:31 +00:00
ModelDef.cpp Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
ModelDef.h Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
ObjectBase.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
ObjectBase.h # Initial version of new particle system. 2011-04-03 19:15:15 +00:00
ObjectEntry.cpp Fix decals and LOS texture in Actor Viewer, by slightly reducing use of globals. 2011-04-05 20:32:03 +00:00
ObjectEntry.h # Initial version of new particle system. 2011-04-03 19:15:15 +00:00
ObjectManager.cpp cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
ObjectManager.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
Overlay.h # New territory border rendering. 2011-07-30 00:56:45 +00:00
ParticleEmitter.cpp Fix burst of particles when starting to construct a building. 2011-05-13 19:36:56 +00:00
ParticleEmitter.h Fix burst of particles when starting to construct a building. 2011-05-13 19:36:56 +00:00
ParticleEmitterType.cpp Fix hang with Boost 1.47 2011-08-02 21:07:58 +00:00
ParticleEmitterType.h # Minor particle system fixes. 2011-04-29 12:26:31 +00:00
ParticleManager.cpp cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
ParticleManager.h cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
Patch.cpp # Add solid black sides to the map, to hide underwater terrain. 2011-02-03 14:36:54 +00:00
Patch.h # Add solid black sides to the map, to hide underwater terrain. 2011-02-03 14:36:54 +00:00
RenderableObject.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
SColor.h Add GPL header 2009-04-18 17:00:33 +00:00
ShaderManager.cpp cleanup (requires update-workspaces) 2011-05-03 12:38:42 +00:00
ShaderManager.h Fix non-PCH build 2011-05-04 01:17:09 +00:00
ShaderProgram.cpp # Add new renderer mode based on GL_ARB_fragment_program. 2011-03-26 20:17:21 +00:00
ShaderProgram.h Fix -Wconversion warnings in simulation code. 2011-08-16 11:18:32 +00:00
ShaderTechnique.cpp Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
ShaderTechnique.h Graphics optimisations and features from eihrul. 2011-07-12 23:48:05 +00:00
SkeletonAnim.h # Unit animation improvements. 2010-06-05 00:49:14 +00:00
SkeletonAnimDef.cpp huge cleanup and conversion of most string handling (especially paths) to unicode 2009-11-03 21:46:35 +00:00
SkeletonAnimDef.h huge cleanup and conversion of most string handling (especially paths) to unicode 2009-11-03 21:46:35 +00:00
SkeletonAnimManager.cpp refactor path interface: 2011-03-23 13:36:20 +00:00
SkeletonAnimManager.h replace set/map with boost::unordered_* to reduce the number of expensive filesystem::basic_path::operator< calls based on a patch by ortalo (thanks!) 2011-02-19 21:24:39 +00:00
Sprite.cpp # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
Sprite.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
Terrain.cpp # New territory border rendering. 2011-07-30 00:56:45 +00:00
Terrain.h # New territory border rendering. 2011-07-30 00:56:45 +00:00
TerrainProperties.cpp refactor path interface: 2011-03-23 13:36:20 +00:00
TerrainProperties.h # Handle terrain passability and movement costs in pathfinder. 2010-05-27 23:31:03 +00:00
TerrainTextureEntry.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
TerrainTextureEntry.h Be more robust to broken terrain property files. 2011-02-05 13:13:57 +00:00
TerrainTextureManager.cpp refactor file interface. requires workspace update 2011-05-25 10:39:13 +00:00
TerrainTextureManager.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
TerritoryTexture.cpp Use player colours for territory borders in minimap 2011-07-30 12:07:27 +00:00
TerritoryTexture.h # Initial support for territories 2011-07-20 19:48:06 +00:00
Texture.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
TextureConverter.cpp Add global deepcopy() function in scripts, to do a structured clone of objects. 2011-05-12 23:50:42 +00:00
TextureConverter.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
TextureManager.cpp # New territory border rendering. 2011-07-30 00:56:45 +00:00
TextureManager.h # New territory border rendering. 2011-07-30 00:56:45 +00:00
Unit.cpp Fix entity ID association with animations. Fixes #790. 2011-04-20 00:04:05 +00:00
Unit.h Fix entity ID association with animations. Fixes #790. 2011-04-20 00:04:05 +00:00
UnitAnimation.cpp split debug_assert into ENSURE and ASSERT as discussed in a previous meeting. 2011-04-30 13:01:45 +00:00
UnitAnimation.h Fix entity ID association with animations. Fixes #790. 2011-04-20 00:04:05 +00:00
UnitManager.cpp Fix GCC 4.6 "set but not used" warnings 2011-04-07 16:34:51 +00:00
UnitManager.h Use a predictable RNG seed for random actor variations, so they are consistent between runs of the game. 2011-04-02 12:51:42 +00:00