1
0
forked from 0ad/0ad
0ad/source/graphics
janwas c3405e6f50 path improvements/fixes:
- replace more std::wstring with Native or VfsPath; wstring_from_utf8 ->
NativePathFromString
- replace sequences of Join(Path(), Basename+extension) with
ChangeExtension in wsdl, CacheLoader
- add Path::IsDirectory to replace .empty() / path_is_dir_sep(.back()).
also changed behavior to reflect the fact that "" is the VFS root
_directory_
- Path::Join now allows 2 identical path types (e.g. VfsPath) or one
char* literal (prevents inadvertently introducing non-safe characters).
to convert from wstring or wchar_t, use an explicit ctor (e.g.
VfsPath(wchar_t_string))

This was SVN commit r9091.
2011-03-21 19:54:08 +00:00
..
tests path improvements/fixes: 2011-03-21 19:54:08 +00:00
Camera.cpp Fix perspective calculation in CCamera::GetScreenCoordinates. 2011-01-28 21:51:59 +00:00
Camera.h # Redesigned the camera control system. 2010-08-13 13:26:29 +00:00
CinemaTrack.cpp Fix MSVC compiler warnings (replace most M_PI with (float)M_PI) 2010-03-26 19:04:40 +00:00
CinemaTrack.h Add GPL header 2009-04-18 17:00:33 +00:00
ColladaManager.cpp path improvements/fixes: 2011-03-21 19:54: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 # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
Decal.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
DefaultEmitter.cpp Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
DefaultEmitter.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Frustum.cpp Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
Frustum.h Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
GameView.cpp # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
GameView.h Improve camera restraints at edge of map to be independent of zoom, and to work on circular maps. 2011-03-04 20:02:05 +00:00
HFTracer.cpp Improve camera restraints at edge of map to be independent of zoom, and to work on circular maps. 2011-03-04 20:02:05 +00:00
HFTracer.h Add some missing consts to arguments. 2010-07-25 14:10:46 +00:00
LightEnv.cpp Simplify the overly-complex CppDoc-breaking file headers 2009-04-18 17:51:05 +00:00
LightEnv.h move M_PI etc. to wposix.h to ensure they're always present on Windows (previously required MathUtil.h) 2010-03-20 20:54:03 +00:00
LOSTexture.cpp Flip iteration order in LOS texture blur to improve performance 2011-02-06 11:39:06 +00:00
LOSTexture.h Windows fixes 2011-02-03 02:33:37 +00:00
MapIO.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
MapReader.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
MapReader.h Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
MapWriter.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +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 # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
Material.h # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +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 # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
MeshManager.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +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 # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
Model.h # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
ModelAbstract.h # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
ModelDef.cpp Add automatic 'root' prop point when loading old PMDs 2010-11-20 20:16:06 +00:00
ModelDef.h Add automatic 'root' prop point when loading old PMDs 2010-11-20 20:16:06 +00:00
ObjectBase.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
ObjectBase.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
ObjectEntry.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
ObjectEntry.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
ObjectManager.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
ObjectManager.h Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss. 2011-02-17 20:08:20 +00:00
Overlay.h # Add on-screen health bars 2010-10-02 12:41:29 +00:00
ParticleEmitter.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
ParticleEmitter.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
ParticleEngine.cpp Tell the profiler about a few more bits of code 2011-03-03 22:38:01 +00:00
ParticleEngine.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +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
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 # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +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 # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
Terrain.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
TerrainProperties.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
TerrainProperties.h # Handle terrain passability and movement costs in pathfinder. 2010-05-27 23:31:03 +00:00
TerrainTextureEntry.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
TerrainTextureEntry.h Be more robust to broken terrain property files. 2011-02-05 13:13:57 +00:00
TerrainTextureManager.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
TerrainTextureManager.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
Texture.h # Add new texture loading system with automatic compression. 2010-09-10 21:02:10 +00:00
TextureConverter.cpp # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
TextureConverter.h # towards locale-independent pathnames on Linux 2011-03-21 17:53:13 +00:00
TextureManager.cpp path improvements/fixes: 2011-03-21 19:54:08 +00:00
TextureManager.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
Unit.cpp # Render unit silhouettes when behind buildings. 2011-03-18 16:57:54 +00:00
Unit.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
UnitAnimation.cpp # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
UnitAnimation.h # Initial version of terrain decal textures. 2011-03-13 19:22:05 +00:00
UnitManager.cpp Warning fixes 2010-07-29 21:04:07 +00:00
UnitManager.h Warning fixes 2010-07-29 21:04:07 +00:00