mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Allocate image IDs for RCT1 images
This commit is contained in:
@@ -618,6 +618,8 @@ rct_g1_element *gfx_get_g1_element(sint32 image_id) {
|
||||
if (image_id < SPR_G2_BEGIN) {
|
||||
return &g1Elements[image_id];
|
||||
}
|
||||
|
||||
return &g2.elements[image_id - SPR_G2_BEGIN];
|
||||
if (image_id < SPR_CSG_BEGIN) {
|
||||
return &g2.elements[image_id - SPR_G2_BEGIN];
|
||||
}
|
||||
return &csg.elements[image_id - SPR_CSG_BEGIN];
|
||||
}
|
||||
|
||||
@@ -746,6 +746,8 @@ enum {
|
||||
SPR_G2_SORT = SPR_G2_BEGIN + 77,
|
||||
SPR_G2_COPY = SPR_G2_BEGIN + 78,
|
||||
SPR_G2_PASTE = SPR_G2_BEGIN + 79,
|
||||
|
||||
SPR_CSG_BEGIN = 393216,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user