1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Add bulldozer cursor for clear scenery tool

This commit is contained in:
Aaron van Geffen
2024-08-03 20:44:12 +02:00
parent 7aaff77125
commit 5b1c867f23
5 changed files with 40 additions and 1 deletions

View File

@@ -912,6 +912,41 @@ namespace OpenRCT2::Ui
" XX.........XX "
" XXXXXXXXXX ");
static constexpr CursorData kBulldozerCursorData = cursorFromBitMap(
6, 31,
" XXX "
" XX...X "
" XX....X "
" X..XX.X "
" X..X X XXXXXXX "
" XXX X.......X "
" XX X.X X.XXX.X.X "
" X.X XXX.XXXXXXXX.XXX.X.X "
" X.X X...........X.XXX.X.X "
" X.X X.XXXXXX....X.XXX.X.X "
" X.X X.XX.X......X.......X "
" X.XXXXXXXXXXX..XXXX......X "
" X.X..........X...........X "
" X.X....XXXXXXXXXXX.XX.XXX "
" X.XXXXX..X..X..X..X..X..XX "
" X.X X.XX.XX.XX.XX.XX.XX.X "
" X.X X.XX.XX.XX.XX.XX.XX.X "
" XX.X X..X..X..X..X..X..X "
"X..X XXXXXXXXXXXXXXXXX "
" XX XXXXX "
" X...X "
" X...X "
" X...X "
" X...X "
" X...X "
"XXXXX...XXXXX "
" X.........X "
" X.......X "
" X.....X "
" X...X "
" X.X "
" X ");
static constexpr const CursorData* RawCursorData[] = {
nullptr, // CursorID::Arrow
&kBlankCursorData, // CursorID::Blank
@@ -940,6 +975,7 @@ namespace OpenRCT2::Ui
&kEntranceDownCursorData, // CursorID::EntranceDown
&kHandOpenDownCursorData, // CursorID::HandOpen
&kHandClosedDownCursorData, // CursorID::HandClosed
&kBulldozerCursorData, // CursorID::Bulldozer
};
const CursorData* getCursorData(CursorID cursorId)