Adding of _t to (u)int types, and WChar to char32_t

See: eaae0bb5e
This commit is contained in:
Jonathan G Rennison
2024-01-07 16:41:53 +00:00
parent 55d78a23be
commit 97e6f3062e
655 changed files with 7555 additions and 7555 deletions

View File

@@ -21,27 +21,27 @@ struct __declspec(align(16)) ParentSpriteToDraw {
struct __attribute__ ((aligned (16))) ParentSpriteToDraw {
#endif
/* Block of 16B loadable in xmm register */
int32 xmin; ///< minimal world X coordinate of bounding box
int32 ymin; ///< minimal world Y coordinate of bounding box
int32 zmin; ///< minimal world Z coordinate of bounding box
int32 x; ///< screen X coordinate of sprite
int32_t xmin; ///< minimal world X coordinate of bounding box
int32_t ymin; ///< minimal world Y coordinate of bounding box
int32_t zmin; ///< minimal world Z coordinate of bounding box
int32_t x; ///< screen X coordinate of sprite
/* Second block of 16B loadable in xmm register */
int32 xmax; ///< maximal world X coordinate of bounding box
int32 ymax; ///< maximal world Y coordinate of bounding box
int32 zmax; ///< maximal world Z coordinate of bounding box
int32 y; ///< screen Y coordinate of sprite
int32_t xmax; ///< maximal world X coordinate of bounding box
int32_t ymax; ///< maximal world Y coordinate of bounding box
int32_t zmax; ///< maximal world Z coordinate of bounding box
int32_t y; ///< screen Y coordinate of sprite
SpriteID image; ///< sprite to draw
PaletteID pal; ///< palette to use
const SubSprite *sub; ///< only draw a rectangular part of the sprite
int32 left; ///< minimal screen X coordinate of sprite (= x + sprite->x_offs), reference point for child sprites
int32 top; ///< minimal screen Y coordinate of sprite (= y + sprite->y_offs), reference point for child sprites
int32_t left; ///< minimal screen X coordinate of sprite (= x + sprite->x_offs), reference point for child sprites
int32_t top; ///< minimal screen Y coordinate of sprite (= y + sprite->y_offs), reference point for child sprites
int32 first_child; ///< the first child to draw.
uint16 width; ///< sprite width
uint16 height; ///< sprite height, bit 15: comparison_done: used during sprite sorting: true if sprite has been compared with all other sprites
int32_t first_child; ///< the first child to draw.
uint16_t width; ///< sprite width
uint16_t height; ///< sprite height, bit 15: comparison_done: used during sprite sorting: true if sprite has been compared with all other sprites
bool IsComparisonDone() const { return HasBit(this->height, 15); }
void SetComparisonDone(bool done) { SB(this->height, 15, 1, done ? 1 : 0); }