------------------------------------------------------------------------ r2011 | helixhorned | 2011-09-06 10:46:50 -0700 (Tue, 06 Sep 2011) | 6 lines sdlayer.c: also SDL_WarpMouse() in debugging builds. This has at least three effects: 1) Mouse turning works with SDL 1.3 2) The mouse pointer can't leave the window area with the console up, so that focus always stays with the application 3) Menu selection using the mouse doesn't work. Not dramatic IMO. ------------------------------------------------------------------------ r2010 | helixhorned | 2011-09-06 10:46:34 -0700 (Tue, 06 Sep 2011) | 2 lines polymer.c: Fix a potential zero-size calloc call when a two-walled sector is present (like in E4L1). Also sneak in a trivial change in cache1d.c ------------------------------------------------------------------------ r2009 | helixhorned | 2011-09-06 10:46:17 -0700 (Tue, 06 Sep 2011) | 5 lines Using this dynamic checking tool: http://embed.cs.utah.edu/ubc/, fix two issues with signed integer overflow. One is related to clipping and the other to Polymost mouse-picking for overlong walls. Many more remain especially in the 8-bit rendering code, but I expect many of them to be intended. ------------------------------------------------------------------------ r2008 | helixhorned | 2011-09-06 10:46:00 -0700 (Tue, 06 Sep 2011) | 3 lines Tweak the source so that it can be built by clang. The only necessary change is to remove a couple of 'inline's for functions with external linkage, which seems to be a GCC convenience. ------------------------------------------------------------------------ r2007 | helixhorned | 2011-09-06 10:45:39 -0700 (Tue, 06 Sep 2011) | 2 lines mdsprite.c: prevent a couple of float divides by zero and save model file name into m->head.nam after loading (but before preprocessing for Polymer) ------------------------------------------------------------------------ r2006 | helixhorned | 2011-09-06 10:45:21 -0700 (Tue, 06 Sep 2011) | 6 lines Make Polymer declare a callback function G_Polymer_UnInit() that is called whenever we change to another renderer etc. and define it for the game and editor. The purpose of the function is to clean up references to Polymer resources like lights. This fixes 1) all lights becoming spot lights in the game and 2) an issue with maphack lights in the editor (can't recall which exactly). ------------------------------------------------------------------------ r2005 | terminx | 2011-09-04 16:06:12 -0700 (Sun, 04 Sep 2011) | 2 lines Fix crashes on 64-bit due to unintended address truncation on ptr vars ------------------------------------------------------------------------