1
0
forked from 0ad/0ad
0ad/source/lib/res/graphics
Ykkrosh fba692c8b5 # Fixed some warnings and potentially misleading code
* Removed ToJSVal<jsval> because it's treated as ToJSVal<long> and
causes minor confusion and/or compiler errors.
   Changed script interface functions to return either C++ types or a
jsval_t wrapper.
 * Replaced some C casts with static_cast to avoid significant confusion
and to cause compiler errors instead.
 * Removed some redundant argument-checking code. Simplified some
string-generating code.
 * Fixed some "dereferencing type-punned pointer will break
strict-aliasing rules" warnings (from `g++ -O3`).

This was SVN commit r5115.
2007-05-29 19:01:21 +00:00
..
tests # Updates to unit-testing system. 2006-08-22 21:38:53 +00:00
cursor.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
cursor.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ogl_shader.cpp # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
ogl_shader.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
ogl_tex.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
ogl_tex.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_bmp.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_codec.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_codec.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_dds.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
tex_internal.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_jpg.cpp dll_ver: don't call Wow64 stuff on 32-bit vista 2007-05-24 02:32:53 +00:00
tex_png.cpp remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
tex_tga.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
tex.cpp fix warnings 2007-05-28 14:25:07 +00:00
tex.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
unifont.cpp . split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it. 2007-05-09 21:01:11 +00:00
unifont.h remove all author/modified by tags. 2007-05-07 16:33:24 +00:00