mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-20 06:12:57 +01:00
Clean up instances of 0x.. & 0x.. to 0x.., 0x..
This commit is contained in:
@@ -197,7 +197,10 @@ static void input_scroll_drag_begin(int x, int y, rct_window* w, rct_widget* wid
|
|||||||
platform_hide_cursor();
|
platform_hide_cursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Based on (heavily changed) rct2: 0x006E9E0E & 0x006E9ED0 */
|
/**
|
||||||
|
* Based on (heavily changed)
|
||||||
|
* rct2: 0x006E9E0E, 0x006E9ED0
|
||||||
|
*/
|
||||||
static void input_scroll_drag_continue(int x, int y, rct_window* w) {
|
static void input_scroll_drag_continue(int x, int y, rct_window* w) {
|
||||||
uint8 widgetIndex = _dragWidgetIndex;
|
uint8 widgetIndex = _dragWidgetIndex;
|
||||||
uint8 scrollIndex = _dragScrollIndex;
|
uint8 scrollIndex = _dragScrollIndex;
|
||||||
|
|||||||
@@ -899,7 +899,10 @@ static void sub_69E891()
|
|||||||
|
|
||||||
#pragma region Tables
|
#pragma region Tables
|
||||||
|
|
||||||
// rct2: 0x0097F0BC & 0x0098BC60
|
/**
|
||||||
|
*
|
||||||
|
* rct2: 0x0097F0BC, 0x0098BC60
|
||||||
|
*/
|
||||||
const uint8 RCT1ColourConversionTable[32] = {
|
const uint8 RCT1ColourConversionTable[32] = {
|
||||||
0, 1, 2, 4, 5, 6, 7, 9,
|
0, 1, 2, 4, 5, 6, 7, 9,
|
||||||
11, 12, 13, 14, 15, 16, 18, 19,
|
11, 12, 13, 14, 15, 16, 18, 19,
|
||||||
|
|||||||
@@ -41,7 +41,9 @@
|
|||||||
#include "park.h"
|
#include "park.h"
|
||||||
#include "scenery.h"
|
#include "scenery.h"
|
||||||
|
|
||||||
/* Replaces 0x00993CCC & 0x00993CCE */
|
/**
|
||||||
|
* Replaces 0x00993CCC, 0x00993CCE
|
||||||
|
*/
|
||||||
const rct_xy16 TileDirectionDelta[] = {
|
const rct_xy16 TileDirectionDelta[] = {
|
||||||
{ -32, 0 },
|
{ -32, 0 },
|
||||||
{ 0, +32 },
|
{ 0, +32 },
|
||||||
|
|||||||
Reference in New Issue
Block a user