Menu ▾ ▴

Commit [r612]  Maximize  Restore  History

Commit of Worfje on 2006-08-25

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

worfje 2006-08-25

changed /branches/sdl_tryout/fellow/SRC/C/DRAW.C
changed /branches/sdl_tryout/fellow/SRC/C/FELLOW.C
changed /branches/sdl_tryout/fellow/SRC/C/GAMEPORT.C
changed /branches/sdl_tryout/fellow/SRC/C/KBD.C
added /branches/sdl_tryout/fellow/SRC/INCLUDE/GFXDRVSDL.H
changed /branches/sdl_tryout/fellow/SRC/INCLUDE/GRAPH.H
added /branches/sdl_tryout/fellow/SRC/INCLUDE/KBDDRVSDL.H
added /branches/sdl_tryout/fellow/SRC/INCLUDE/MOUSEDRVSDL.H
added /branches/sdl_tryout/fellow/SRC/WIN32/C/GFXDRVSDL.C
added /branches/sdl_tryout/fellow/SRC/WIN32/C/KBDDRVSDL.C
added /branches/sdl_tryout/fellow/SRC/WIN32/C/MOUSEDRVSDL.C
changed /branches/sdl_tryout/fellow/SRC/WIN32/C/WGUI.C
changed /branches/sdl_tryout/fellow/SRC/WIN32/C/WINMAIN.C
changed /branches/sdl_tryout/fellow/SRC/WIN32/C/kbdparser.c
changed /branches/sdl_tryout/fellow/SRC/WIN32/INCLUDE/WINDRV.H
changed /branches/sdl_tryout/fellow/SRC/WIN32/MSVC/WinFellow.dsp
/branches/sdl_tryout/fellow/SRC/C/DRAW.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/C/FELLOW.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/C/GAMEPORT.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/C/KBD.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/INCLUDE/GFXDRVSDL.H Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/INCLUDE/GRAPH.H Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/INCLUDE/KBDDRVSDL.H Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/INCLUDE/MOUSEDRVSDL.H Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/GFXDRVSDL.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/KBDDRVSDL.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/MOUSEDRVSDL.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/WGUI.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/WINMAIN.C Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/C/kbdparser.c Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/INCLUDE/WINDRV.H Diff Switch to side-by-side view
Loading...
/branches/sdl_tryout/fellow/SRC/WIN32/MSVC/WinFellow.dsp Diff Switch to side-by-side view
Loading...