mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 23:33:59 -07:00
* 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. |
||
|---|---|---|
| .. | ||
| tests | ||
| cursor.cpp | ||
| cursor.h | ||
| ogl_shader.cpp | ||
| ogl_shader.h | ||
| ogl_tex.cpp | ||
| ogl_tex.h | ||
| tex.cpp | ||
| tex.h | ||
| tex_bmp.cpp | ||
| tex_codec.cpp | ||
| tex_codec.h | ||
| tex_dds.cpp | ||
| tex_internal.h | ||
| tex_jpg.cpp | ||
| tex_png.cpp | ||
| tex_tga.cpp | ||
| unifont.cpp | ||
| unifont.h | ||