hedgewars/SDLh.pas
changeset 754 94ac14829085
parent 753 40fc0deb388f
child 780 f45b0e513dfd
equal deleted inserted replaced
753:40fc0deb388f 754:94ac14829085
    63       SDL_INIT_VIDEO  = $00000020;
    63       SDL_INIT_VIDEO  = $00000020;
    64       SDL_INIT_AUDIO  = $00000010;
    64       SDL_INIT_AUDIO  = $00000010;
    65 
    65 
    66       SDL_GL_DOUBLEBUFFER = 5;
    66       SDL_GL_DOUBLEBUFFER = 5;
    67       SDL_OPENGL          = 2;
    67       SDL_OPENGL          = 2;
    68       
    68 
       
    69       RMask = $FF;
       
    70       GMask = $FF00;
       
    71       BMask = $FF0000;
       
    72       AMask = $FF000000;
       
    73 
    69 type PSDL_Rect = ^TSDL_Rect;
    74 type PSDL_Rect = ^TSDL_Rect;
    70      TSDL_Rect = record
    75      TSDL_Rect = record
    71                  x, y: SmallInt;
    76                  x, y: SmallInt;
    72                  w, h: Word;
    77                  w, h: Word;
    73                  end;
    78                  end;