forked from rosebudai/OpenRCT2-Web
Integrate _spriteFontCharacterWidths
This commit is contained in:
1 parent
9f847ca8bb
commit
4f34accfea
2 files changed
+2
-4
No files matched your search
+1
-2
@@ -93,8 +93,6 @@
|
||||
|
||||
#define RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS 0x0141E9E4
|
||||
|
||||
#define RCT2_ADDRESS_FONT_CHAR_WIDTH 0x0141E9E8
|
||||
|
||||
#define RCT2_ADDRESS_CURRENT_SUPPORT_SEGMENTS 0x0141E9B4
|
||||
#define RCT2_ADDRESS_CURRENT_PAINT_TILE_MAX_HEIGHT 0x0141E9D8
|
||||
|
||||
@@ -521,6 +519,7 @@
|
||||
|
||||
#define RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT 0x0141E9AC
|
||||
#define RCT2_ADDRESS_GAME_COMMAND_ERROR_TITLE 0x0141E9AE
|
||||
#define RCT2_ADDRESS_FONT_CHAR_WIDTH 0x0141E9E8
|
||||
#define RCT2_ADDRESS_COMMON_STRING_FORMAT_BUFFER 0x0141ED68
|
||||
#define RCT2_ADDRESS_NEXT_EXPENDITURE_TYPE 0x0141F56C
|
||||
#define RCT2_ADDRESS_WATER_RAISE_COST 0x0141F738
|
||||
|
||||
+1
-2
@@ -14,7 +14,6 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../addresses.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../sprites.h"
|
||||
#include "drawing.h"
|
||||
@@ -22,7 +21,7 @@
|
||||
|
||||
static const int SpriteFontLineHeight[] = { 6, 10, 10, 18 };
|
||||
|
||||
static uint8 *_spriteFontCharacterWidths = RCT2_ADDRESS(RCT2_ADDRESS_FONT_CHAR_WIDTH, uint8);
|
||||
static uint8 _spriteFontCharacterWidths[896];
|
||||
|
||||
TTFFontSetDescriptor *gCurrentTTFFontSet;
|
||||
|
||||
|
||||
Reference in new issue
Block a user