1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 08:45:00 +01:00

Use constexpr on openrct2/*

This commit is contained in:
Tulio Leao
2019-10-23 22:37:34 -03:00
parent e9bcad193a
commit 9123b597a9
9 changed files with 60 additions and 67 deletions

View File

@@ -30,7 +30,7 @@ struct rct_draw_scroll_text
uint8_t bitmap[64 * 40];
};
#define MAX_SCROLLING_TEXT_ENTRIES 32
constexpr int32_t MAX_SCROLLING_TEXT_ENTRIES = 32;
static rct_draw_scroll_text _drawScrollTextList[MAX_SCROLLING_TEXT_ENTRIES];
static uint8_t _characterBitmaps[FONT_SPRITE_GLYPH_COUNT + SPR_G2_GLYPH_COUNT][8];