raze-gles/polymer/eduke32/build/src
helixhorned 514a3bfd64 Prevent calling function pointers cast to an incompatible type.
Most often, this had happened when casting comparison functions for qsort()
like these: "int yax_cmpbunches(const int16_t *b1, const int16_t *b2)"
to a function pointer type expecting "const void *". Alas, this is undefined
behavior: see
http://blog.frama-c.com/index.php?post/2013/08/24/Function-pointers-in-C
and posts linked from it.

At least two cases have not been fixed:
- The savegame system maintains pointers which are either to data or a function in
  the generic "void *". This ought to be made into a union.
- Probably also:
  #define OSD_ALIAS     (int32_t (*)(const osdfuncparm_t*))0x1337

git-svn-id: https://svn.eduke32.com/eduke32@4068 1a8010ca-5511-0410-912e-c29ae57300e0
2013-09-21 13:38:44 +00:00
..
misc Fix linking with CLANG=1 by separating $(INVOCATION) into $(COMPILER) and $(LINKER) and removing "-x" from clang as a linker in Makefile.common. Additionally, the Build tools are now affected by CPLUSPLUS=1, for which small corrections have been made. 2012-11-06 07:49:44 +00:00
tmp Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
util checkdefs.sh: check first and second args, handle definelevelname. 2013-08-12 15:18:11 +00:00
a-c.c Add WIP x86_64 assembly texture mapping routines. 2013-09-21 13:37:31 +00:00
a.masm Fix a.masm changes so MSVC builds work again. The relevant functionality seems to work (non-power of 2 textures drawn without error), even with CLASSIC_NONPOW2_YSIZE_WALLS defined in engine.c, but I'm not familiar with any corner or edge cases that need to be watched out for with this. 2012-09-30 14:40:42 +00:00
a.nasm Classic: fix drawing tilesizy=512 walls, use non-pow2 routines with pskies. 2012-12-23 13:59:52 +00:00
a.wasm Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
a64.yasm Add WIP x86_64 assembly texture mapping routines. 2013-09-21 13:37:31 +00:00
baselayer.c When issuing "setrendmode" OSD command with mismatched vidmode, auto-switch. 2013-08-12 15:18:19 +00:00
build.c Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00
cache1d.c cache1d.c: cover up preceding assertion failure by bumping size of lzwrawbuf[]. 2013-06-13 17:11:04 +00:00
compat.c Wii: Fix most warnings. Three remain: two are labeled with FIXMEs; the third consists of signed/unsigned comparisons involving LSWAPIB() in kplib.c. 2013-02-18 08:50:08 +00:00
config.c Mapster32: add cvar/mapster32.cfg option "keeptexturestretch". 2013-01-16 20:38:56 +00:00
crc32.c Rather trivial changes in engine.c and crc32.c. 2012-03-22 22:48:06 +00:00
defs.c Add support for "orig_sizex" and "orig_sizey" parameters to "texture" block in def files. This is the same as using "dummytile" before defining a texture. Needed for compatibility with the .def files from Megaton, not because I like arbitrarily adding extranneous shit. :p 2013-09-14 17:58:46 +00:00
dxtfilter.c Fix signed/unsigned comparison warnings and mismatched format char warning. 2013-05-17 10:41:59 +00:00
dynamicgtk.c Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect. 2010-07-02 01:26:56 +00:00
engine.c Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00
engine_oldmap.h Lunatic (map-int VX) build: implement loading <V7 maps. 2013-04-25 21:10:22 +00:00
engine_priv.h Retire MultiPsky_TileToIdx() in favor of engine-side getpskyidx(). 2013-08-11 15:28:51 +00:00
glbuild.c Cleanup of console/on-screen-display (OSD) functionality. 2012-12-25 16:13:50 +00:00
gtkbits.c git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-10 07:38:50 +00:00
hightile.c Fix warnings that appear if big-endian || USE_OPENGL=0. 2013-01-08 06:17:10 +00:00
kplib.c kplib: don't write an int32_t where a char is expected. 2013-06-06 11:22:39 +00:00
lunatic.c Lunatic: prepare Makefiles for synthesis build. 2013-08-11 15:28:42 +00:00
lzwnew.c Patch adding Wii support by tueidj, part 10: sound and endianness changes 2012-05-01 12:40:53 +00:00
mdsprite.c Polymer: in model preprocessing, implement cos/sin by table lookup. 2013-09-13 20:23:56 +00:00
mutex.c Patch adding Wii support by tueidj, part 6: mutexes 2012-05-01 12:39:20 +00:00
osd.c Add support for listing symbols of a specified prefix to the "listsymbols" console command 2013-08-06 23:53:12 +00:00
osxbits.m Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
polymer.c Fix "The latest builds show the same screenshot for every save game entry", reported at http://forums.duke4.net/topic/2961-paper-cuts-minor-bugs-and-annoyances/page__view__findpost__p__169847 2013-08-24 22:55:37 +00:00
polymost.c Clear GL depth buffer before drawing a frame in Polymost. This should fix the issue with skies in the Duke64 TC. 2013-09-14 17:59:01 +00:00
pragmas.c Wii: Fix most warnings. Three remain: two are labeled with FIXMEs; the third consists of signed/unsigned comparisons involving LSWAPIB() in kplib.c. 2013-02-18 08:50:08 +00:00
quicklz.c Update QuickLZ to 1.5.1 beta 7 2012-05-17 21:36:50 +00:00
rawinput.c Fix a weird problem where the arrow keys would sometimes send a shift keypress on Windows, manifesting in odd things like inconsistent turning speeds when using the keyboard, the grid helper lines showing up in Mapster32 when they weren't supposed to, etc. For some reason, an extra raw input keyboard event is generated with an out of bounds VKey value (0xFF) which must be filtered for proper operation. I wasn't able to find any official documentation regarding this but I did find it mentioned in a couple of random newsgroup/forum postings. 2013-08-06 23:51:10 +00:00
scriptfile.c a couple more trivial tweaks 2012-01-10 23:45:34 +00:00
sdlayer.c Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00
smalltextfont.c Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startgtk.editor.c Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows. 2012-11-15 14:27:57 +00:00
startosx.editor.m Clean up some file and directory structure. 2012-12-29 10:54:35 +00:00
startwin.editor.c Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
texcache.c Fix USE_OPENGL=0 build 2013-06-27 23:05:11 +00:00
textfont.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
winbits.c Rip out all traces of nedmalloc. Sorry, XP users--it's time to upgrade to something newer than an OS from 2001 if this affects you. 2013-08-20 21:49:44 +00:00
winlayer.c Prevent calling function pointers cast to an incompatible type. 2013-09-21 13:38:44 +00:00