hedgewars/uMisc.pas
changeset 10150 fa5c83fd0ad9
parent 10127 7f29a65aa1e4
child 10424 4be6cd55f1cf
child 10633 2f062fac5791
equal deleted inserted replaced
10149:017ca6054845 10150:fa5c83fd0ad9
   298     s:= p^.TeamName + ':' + IntToStr(p^.TeamHealth) + ':';
   298     s:= p^.TeamName + ':' + IntToStr(p^.TeamHealth) + ':';
   299     GetTeamStatString:= s;
   299     GetTeamStatString:= s;
   300 end;
   300 end;
   301 
   301 
   302 {$IFDEF SDL2}
   302 {$IFDEF SDL2}
       
   303 // FIXME - pretty sure this is not handling endianness correctly like the SDL1 is
   303 const SDL_PIXELFORMAT_ABGR8888 = (1 shl 28) or (6 shl 24) or (7 shl 20) or (6 shl 16) or (32 shl 8) or 4;
   304 const SDL_PIXELFORMAT_ABGR8888 = (1 shl 28) or (6 shl 24) or (7 shl 20) or (6 shl 16) or (32 shl 8) or 4;
   304 {$ELSE}
   305 {$ELSE}
   305 const format: TSDL_PixelFormat = (
   306 const format: TSDL_PixelFormat = (
   306         palette: nil; BitsPerPixel: 32; BytesPerPixel: 4;
   307         palette: nil; BitsPerPixel: 32; BytesPerPixel: 4;
   307         Rloss: 0; Gloss: 0; Bloss: 0; Aloss: 0;
   308         Rloss: 0; Gloss: 0; Bloss: 0; Aloss: 0;