Skip to content

Commit

Permalink
- put DTA_Localize at the end of the enum for backwards compat with i…
Browse files Browse the repository at this point in the history
…nteger usage
  • Loading branch information
Gutawer authored and coelckers committed Sep 14, 2023
1 parent 44d1342 commit 23b4899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/2d/v_draw.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ enum

// For DrawText calls:
DTA_TextLen, // stop after this many characters, even if \0 not hit
DTA_Localize, // localize text
DTA_CellX, // horizontal size of character cell
DTA_CellY, // vertical size of character cell

Expand Down Expand Up @@ -133,6 +132,7 @@ enum
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_NoOffset, // Ignore 2D drawer's offset.
DTA_Localize, // localize drawn string, for DrawText only

};

Expand Down
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/engine/base.zs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ enum DrawTextureTags

// For DrawText calls only:
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_CellY, // vertical size of character cell

Expand Down Expand Up @@ -463,6 +462,7 @@ enum DrawTextureTags
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_NoOffset, // Ignore 2D drawer's offset.
DTA_Localize, // localize drawn string, for DrawText only

};

Expand Down

0 comments on commit 23b4899

Please sign in to comment.