1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00
Commit Graph

1768 Commits

Author SHA1 Message Date
duncanspumpkin
9840a73cc1 Refactor naming of paint global vars
Removed EDF81C from none viewport files this previously was used to pass image flags to the sprite renderer.
gUnkF1A4CC replaced with address reference to paint struct array to allow for non rct builds
Renamed _paint_structs to _paint_struct_quadrants. This array is used for working out which paint struct is at which quadrant and is not the main paint struct array
2016-09-20 18:08:45 +01:00
Marijn van der Werf
487d6d8f15 Remove unnecessary addresses.h imports 2016-09-17 20:59:55 +01:00
Ted John
f4cf1d6158 Integrate gUnkF1A4CC 2016-09-17 16:14:46 +01:00
Ted John
9d37b8bb9c Centre overall ride view on resize 2016-09-17 14:30:45 +01:00
Ted John
b43ff24c3e Use non _t versions of int for consistency 2016-09-14 23:37:01 +01:00
Michał Janiszewski
f6daea7cef Guard against passing NULL to qsort() 2016-09-11 21:20:48 +02:00
Ted John
64df46ba16 Integrate and remove unused globals 2016-09-11 01:02:16 +01:00
Ted John
7edcd11aa7 Integrate entertainer costumes 2016-09-11 00:40:51 +01:00
Ted John
0553ed5b95 Integrate various buffers 2016-09-10 23:01:42 +01:00
Ted John
07ce3c67ee Integrate last address in guest_list.c 2016-09-10 22:49:30 +01:00
Ted John
ab12cda49d Remove unnecessary draw string and address 2016-09-10 22:49:30 +01:00
Ted John
83de03b260 Remove unused address in about.c 2016-09-10 22:49:30 +01:00
Ted John
4350e53392 Integrate gS6Info 2016-09-10 18:30:53 +01:00
Ted John
f36485557d Integrate remaining globals in ride window 2016-09-10 18:21:05 +01:00
Ted John
17198cfdb2 Integrate gTrackDesignSaveMode 2016-09-10 18:03:25 +01:00
Ted John
d2b3a08739 Misc cleanup of RCT2_GLOBAL 2016-09-10 17:55:32 +01:00
Ted John
8950a03822 Integrate variables in top_toolbar.c 2016-09-10 17:52:46 +01:00
Ted John
20c35b10eb Integrate variables in park.c 2016-09-10 17:46:34 +01:00
Ted John
f81c394c8b Remove unused variables 2016-09-10 15:22:14 +01:00
Ted John
2299b22cbc Integrate staff variables 2016-09-10 15:17:18 +01:00
Ted John
2db375fb32 Integrate some ride variables 2016-09-10 14:37:20 +01:00
Ted John
9f4a70d642 Integrate more ride construction variables 2016-09-10 14:30:16 +01:00
Ted John
1f0820f662 Integrate various ride construction variables 2016-09-10 14:13:36 +01:00
Ted John
b5211a41de Integrate viewport ref counters 2016-09-10 12:35:18 +01:00
Ted John
d0950af9df Integrate gClearSceneryCost and gLandRightsCost 2016-09-10 12:28:01 +01:00
Ted John
b1e9810ec6 Fix shop profit calculation by using integrated variables 2016-09-09 23:48:17 +01:00
Ted John
952b9cb194 Remove remaining GLOBALs from guest window 2016-09-09 23:39:00 +01:00
Marijn van der Werf
c2a6eba1d3 Skip zeroed ride design previews 2016-09-09 22:15:29 +01:00
wolfreak99
498bab24c3 Fix window limit displayed in options 2016-09-09 17:16:12 +01:00
Ted John
cdaddaa00d Fix #4385: Wrong numbers in guests thoughts summary
get_arguments_from_peep was not setting the output thought arguments when a guest had no valid thought.
2016-09-08 22:06:39 +01:00
Michał Janiszewski
163e314379 Remove unused or set-but-not-read variables 2016-09-07 13:39:29 +01:00
Ted John
220afe04d5 x64: Fix readentirefile calls 2016-09-06 21:33:15 +01:00
Ted John
2b33c3d55e Integrate globals in new_ride.c 2016-09-05 23:20:08 +01:00
Ted John
248424e6ad Remove uses of 0x009BC677 buffer 2016-09-05 23:00:17 +01:00
Ted John
1e65c7e940 Replace cursor position globals with gCursorState 2016-09-05 22:37:57 +01:00
Ted John
1c9164d3d3 Use stack space instead of RCT2 string address 2016-09-05 22:34:07 +01:00
Ted John
32a6722cda Integrate gEditorSelectedObjects 2016-09-05 22:26:02 +01:00
Ted John
db327d26c8 Remove RCT2_GLOBALs from track_list.c 2016-09-05 21:21:33 +01:00
Ted John
584ac8031f Integrate tooltip text and num lines 2016-09-05 21:13:53 +01:00
Ted John
4a82cd0696 Centre keyboard shortcut key change window 2016-09-05 21:06:56 +01:00
Ted John
2dc315f228 Integrate gKeyboardShortcutChangeId 2016-09-05 21:04:22 +01:00
Ted John
3c5d4adcf0 Remove RCT2_GLOBALs from staff window 2016-09-05 20:59:38 +01:00
Ted John
3b8e2436c2 Clean up window_map_place_park_entrance_tool_down 2016-09-05 20:26:33 +01:00
Ted John
aa15ff6ed9 Fix #4379: x64: Crash when clicking audio device dropdown
The dropdown arguments are limited to 8 bytes which was not enough for STRING and the 64-bit address for the string. A similar issue also for the dropdown text field. Changed to same solution as other dropdowns.
2016-09-05 00:05:48 +01:00
Ted John
2cd16a6fe5 Remove unread variable 2016-09-04 21:47:05 +01:00
Michał Janiszewski
bfe1a7b58f Drop RCT2_GLOBAL from regular pointer 2016-09-04 21:19:19 +02:00
Michał Janiszewski
b7497f6654 Reduce inclusions of addresses.h 2016-09-04 21:19:19 +02:00
Ted John
6a665330c2 Integrate gCommonStringFormatBuffer 2016-09-04 15:55:37 +01:00
Ted John
5893c6da82 Remove loan hash, but keep for S6 export 2016-09-04 15:11:15 +01:00
Michał Janiszewski
f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00