- put DTA_Localize at the end of the enum for backwards compat with integer usage

This commit is contained in:
Gutawer 2023-09-14 18:31:53 +01:00 committed by Christoph Oelckers
parent 44d134298a
commit 23b489960e
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,6 @@ enum
// For DrawText calls: // For DrawText calls:
DTA_TextLen, // stop after this many characters, even if \0 not hit DTA_TextLen, // stop after this many characters, even if \0 not hit
DTA_Localize, // localize text
DTA_CellX, // horizontal size of character cell DTA_CellX, // horizontal size of character cell
DTA_CellY, // vertical size of character cell DTA_CellY, // vertical size of character cell
@ -133,6 +132,7 @@ enum
DTA_Indexed, // Use an indexed texture combined with the given translation. DTA_Indexed, // Use an indexed texture combined with the given translation.
DTA_CleanTop, // Like DTA_Clean but aligns to the top of the screen instead of the center. DTA_CleanTop, // Like DTA_Clean but aligns to the top of the screen instead of the center.
DTA_NoOffset, // Ignore 2D drawer's offset. DTA_NoOffset, // Ignore 2D drawer's offset.
DTA_Localize, // localize drawn string, for DrawText only
}; };

View file

@ -430,7 +430,6 @@ enum DrawTextureTags
// For DrawText calls only: // For DrawText calls only:
DTA_TextLen, // stop after this many characters, even if \0 not hit DTA_TextLen, // stop after this many characters, even if \0 not hit
DTA_Localize, // localize drawn string
DTA_CellX, // horizontal size of character cell DTA_CellX, // horizontal size of character cell
DTA_CellY, // vertical size of character cell DTA_CellY, // vertical size of character cell
@ -463,6 +462,7 @@ enum DrawTextureTags
DTA_Indexed, // Use an indexed texture combined with the given translation. DTA_Indexed, // Use an indexed texture combined with the given translation.
DTA_CleanTop, // Like DTA_Clean but aligns to the top of the screen instead of the center. DTA_CleanTop, // Like DTA_Clean but aligns to the top of the screen instead of the center.
DTA_NoOffset, // Ignore 2D drawer's offset. DTA_NoOffset, // Ignore 2D drawer's offset.
DTA_Localize, // localize drawn string, for DrawText only
}; };