hedgewars/SDLh.pas
changeset 5670 e01f0b6f1969
parent 5660 1647244b3ffe
child 5724 3064ed85a5bd
child 5725 e27100a0e2d0
equal deleted inserted replaced
5668:36c1d1b789b8 5670:e01f0b6f1969
   209     SDL_JOYBALLMOTION   = 8;
   209     SDL_JOYBALLMOTION   = 8;
   210     SDL_JOYHATMOTION    = 9;
   210     SDL_JOYHATMOTION    = 9;
   211     SDL_JOYBUTTONDOWN   = 10;
   211     SDL_JOYBUTTONDOWN   = 10;
   212     SDL_JOYBUTTONUP     = 11;
   212     SDL_JOYBUTTONUP     = 11;
   213     SDL_QUITEV          = 12;
   213     SDL_QUITEV          = 12;
   214     SDL_VIDEORESIZE     = 16; // TODO: outdated? no longer in SDL 1.3?
   214     SDL_VIDEORESIZE     = 16;
   215 
   215 
   216     // SDL_Surface flags
   216     // SDL_Surface flags
   217     SDL_SWSURFACE   = $00000000;
   217     SDL_SWSURFACE   = $00000000;
   218     SDL_HWSURFACE   = $00000001;
   218     SDL_HWSURFACE   = $00000001;
   219     SDL_OPENGL      = $00000002;
   219     SDL_OPENGL      = $00000002;
   606             SDL_JOYBALLMOTION: (jball: TSDL_JoyBallEvent);
   606             SDL_JOYBALLMOTION: (jball: TSDL_JoyBallEvent);
   607             SDL_JOYBUTTONDOWN,
   607             SDL_JOYBUTTONDOWN,
   608             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   608             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   609             SDL_QUITEV: (quit: TSDL_QuitEvent);
   609             SDL_QUITEV: (quit: TSDL_QuitEvent);
   610             //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB
   610             //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB
   611             //SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
   611             SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
   612 {$ENDIF}
   612 {$ENDIF}
   613         end;
   613         end;
   614 
   614 
   615     PByteArray = ^TByteArray;
   615     PByteArray = ^TByteArray;
   616     TByteArray = array[0..65535] of Byte;
   616     TByteArray = array[0..65535] of Byte;