From 5a3f2e01ab5ef358eb62bdbfaf6b0c4d3a330958 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Thu, 19 Jan 2017 20:27:35 +0100 Subject: [PATCH] Add note explaining the start address of CSG1 --- src/openrct2/sprites.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openrct2/sprites.h b/src/openrct2/sprites.h index da90069dcf..9d09e1e2ed 100644 --- a/src/openrct2/sprites.h +++ b/src/openrct2/sprites.h @@ -752,8 +752,10 @@ enum { SPR_G2_COPY = SPR_G2_BEGIN + 78, SPR_G2_PASTE = SPR_G2_BEGIN + 79, + // 0x60000, chosen because it's a round hex number + // of the last possible range of image ID values that is large enough to fit all csg1 sprites. SPR_CSG_BEGIN = 393216, - + SPR_CSG_EDGE_BRICK_BASE = SPR_CSG_BEGIN + 40506, SPR_CSG_EDGE_IRON_BASE = SPR_CSG_BEGIN + 40590, SPR_CSG_EDGE_RED_BASE = SPR_CSG_BEGIN + 40926,