draw.c
- disabled 8-bit support (not yet supported through SDL)
- drawBufferFlip calls function gfxDrvSDL_BufferFlip
- drawValidateBufferPointer calls function gfxDrvSDL_ValidateBufferPointer
- drawInvalidateBufferPointer calls function gfxDrvSDL_InvalidateBufferPointer
- drawEmulationStart calls functions gfxDrvSDL_SetMode and gfxDrvSDL_EmulationStart
- drawEmulationStop calls function gfxDrvSDL_EmulationStop
- comments are added to drawShutdown that would make double buffering possible
fellow.c
- added header file SDL.h
gameport.c
- renamed some parameters (gameportMouseHandler)
- gameportHardReset calls function mouseDrvSDLHardReset
- gameportEmulationStart calls function mouseDrvSDLEmulationStart
- gameportEmulationStop calls function mouseDrvSDLEmulationStop
- gameportStartup calls function mouseDrvSDLStartup (and not joyDrvStartup)
- disabled joystick support (not yet supported through SDL)
kbd.c
- interface to DirectX (kbdDrv) changed to SDL (kbdDrvSDL)
graph.h
- added variable prev_linetype to structure graph_line (usefully for supporting
double buffering with SDL, currently unused)
wgui.c
- keyboard replacement of joystick variables use SDL constants
winmain.c
- added polling loop for SDL events
- released DirectX from receiving mouse and keyboard events
kbdparser.c
- tried to fix keymap file support (not yet finished)
windrv.h
- added handle to SDL window (was used for enabling DirectX sound with SDL
graphics, handle need to be set manually)
Added the following files:
gfxdrvsdl.h/gfxdrvsdl.c
- SDL implementation of gfxdrv for DirectX
kbddrvsdl.h/kbddrvsdl.c
- SDL implementation of kbddrv for DirectX
mousedrv.h/mousedrv.c
- SDL implemetnation of mousedrv for DirectX