1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Fix testpaint

This commit is contained in:
Ted John
2017-12-03 22:07:24 +00:00
parent 99d7aaa2d6
commit ebf43c2529
14 changed files with 522 additions and 18 deletions

View File

@@ -39,8 +39,6 @@ uint32 gPickupPeepImage;
sint32 gPickupPeepX;
sint32 gPickupPeepY;
rct_drawpixelinfo *unk_140E9A8;
/**
* 12 elements from 0xF3 are the peep top colour, 12 elements from 0xCA are peep trouser colour
*

View File

@@ -269,8 +269,6 @@ extern bool gTinyFontAntiAliased;
extern rct_drawpixelinfo gScreenDPI;
extern rct_drawpixelinfo gWindowDPI;
extern rct_drawpixelinfo *unk_140E9A8;
//
bool clip_drawpixelinfo(rct_drawpixelinfo *dst, rct_drawpixelinfo *src, sint32 x, sint32 y, sint32 width, sint32 height);
void gfx_set_dirty_blocks(sint16 left, sint16 top, sint16 right, sint16 bottom);

View File

@@ -20,6 +20,7 @@
#include "../common.h"
#include "../world/map.h"
#pragma pack(push, 1)
typedef struct rct_vehicle_colour {
uint8 body_colour;
uint8 trim_colour;
@@ -75,6 +76,7 @@ typedef struct rct_ride_entry_vehicle {
sint8* peep_loading_positions; // 0x61 , 0x7B
uint16 peep_loading_positions_count;
} rct_ride_entry_vehicle;
#pragma pack(pop)
typedef struct rct_vehicle {
uint8 sprite_identifier; // 0x00