Build 2255
SVN-
Generale
winlayer.c: in WM_PALETTECHANGED handling code ("someone stole the palette
Mostra dettagli
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.
-
Generale
Add Makefile option to use the DMALLOC (debug malloc) library.
Mostra dettagli
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.
-
Generale
sdlayer.c: formatting of preprocessor lines
-
Generale
Support for the first "thumb" mouse button, called MOUSE4 in the menu.
Mostra dettagli
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.
-
Generale
Temporarily disable the 'model thinning-out' feature intended to save memory.
Mostra dettagli
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.