Build 2255
SVN-
General
winlayer.c: in WM_PALETTECHANGED handling code ("someone stole the palette
Show details
so try and steal it back"), prevent calling IDirectDrawSurface_SetPalette() with NULL arguments, causing a crash. It's happened for me on Vista, when initially changing from 8-bit to 32-bit mode.
-
General
Add Makefile option to use the DMALLOC (debug malloc) library.
Show details
I didn't have much success in finding bugs using it, but it works out-of-the-box on my setup, so it may be useful in the future.
-
General
sdlayer.c: formatting of preprocessor lines
-
General
Support for the first "thumb" mouse button, called MOUSE4 in the menu.
Show details
The second one is passed to the 'mouseb' variable, but the game currently can't map it since ud.config.MouseFunctions[] would have to be enlarged, breaking savegame compatibility. Works both for the Windows and SDL layers. For the latter, instead of using the SDL_BUTTON_X1/X2 macro constants, I'm using 8 and 9, since that is what SDL (and incidentally or not, xev) gives me for those buttons.
-
General
Temporarily disable the 'model thinning-out' feature intended to save memory.
Show details
It turns out that with model interpolation, out-of-bounds frame numbers may be generated with thinned out models, so disable it until I can sort out what's wrong with it. Also, minor code cleanup.