equal
deleted
inserted
replaced
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; |