1
0
forked from 0ad/0ad
0ad/source
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
..
collada remove all author/modified by tags. 2007-05-07 16:33:24 +00:00
graphics fix warnings 2007-05-28 14:25:07 +00:00
gui # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
i18n # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
lib # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
maths . 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
network . 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
pch Removed some header files from header files. 2007-01-13 22:44:42 +00:00
ps # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
renderer . 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
scripting # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
simulation # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
sound # Fixed some warnings and potentially misleading code 2007-05-29 19:01:21 +00:00
tools fix warnings 2007-05-28 14:25:07 +00:00
main.cpp acpi and mahaf: now set ModuleInitState to error if something fails (prevents a subsequent init from returning true and allowing its dependent to continue and crash into a wall) 2007-05-26 23:29:20 +00:00
test_setup.cpp # Linux fixes 2007-03-19 20:58:46 +00:00