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

860 Commits

Author SHA1 Message Date
Ted John
60df18ee0f Refactor paint_arrange_structs 2016-10-22 13:35:21 +01:00
Ted John
86dd18a65d Rename paint functions 2016-10-22 13:35:21 +01:00
Ted John
504257ce08 Refactor paint_init 2016-10-22 13:35:21 +01:00
Ted John
e4429641a4 Refactor viewport_paint_column 2016-10-22 13:35:21 +01:00
Ted John
67e9ccb1fc Refactor paint_ps_money_effects 2016-10-22 13:35:21 +01:00
Ted John
2aa0271222 Refactor paint_quadrant_ps 2016-10-22 13:35:21 +01:00
Duncan
81bb6cb950 Merge pull request #4649 from zsilencer/multiplayer
Guest+staff pickup and balloon pop commands
2016-10-20 12:46:27 +01:00
Ted John
7ca8b3d278 Refactor viewport_paint 2016-10-18 20:59:32 +01:00
zsilencer
db3aa2b656 Add balloon popping as game command 2016-10-18 13:40:50 -06:00
zsilencer
d74efb23fe Add picking up peeps/staff as game command 2016-10-18 13:40:49 -06:00
Ted John
dd3db116f7 Merge pull request #4606 from IntelOrca/refactor/scenario-sources
Refactor scenario sources and scenario list to C++
2016-10-16 22:27:34 +01:00
Ted John
00e907d007 Merge pull request #4414 from Broxzier/extended_tile_inspector
Extended tile inspector
2016-10-16 21:12:21 +01:00
Michał Janiszewski
2e4a5cd441 Fix mingw builds 2016-10-16 00:24:12 +02:00
Michał Janiszewski
00c47b8a04 Fix clang builds
Redeclaring the same typedef is not legal in C < 11, but a
forward-declaration works just fine for having a pointer to struct. No
changes needed in .cpp, as it includes the `typedef` from `object.h`
(via `scenario.h`).
2016-10-15 21:50:52 +01:00
Ted John
babf261542 Refactor scenario list to C++ 2016-10-15 21:50:52 +01:00
Ted John
62de531b4a Forward declare C functions for GCC's sake 2016-10-12 12:50:17 +01:00
Hielke Morsink
c19339edfe Minor improvements
- Paths are now properly rotated, including flat ones
- Banners can not be rotated
- The X and Y coordinates can be changed with spinners
- Highligint selected tile while now hovering over viewport
- Added helper function for enabling and disabling widgets more easily
2016-10-11 23:12:07 +02:00
Ted John
33a6c4fce3 Refactor cursors to C++ and improve isolation 2016-10-11 18:23:49 +01:00
LRFLEW
e5ff7412e4 Refactor/Improve String and Path Handling 2016-10-09 15:29:58 -05:00
Michał Janiszewski
9966052ca7 Fix more configurations 2016-10-06 23:32:10 +02:00
Michał Janiszewski
c9b0d9e24d Initialise all variables flagged by -Wmaybe-uninitialized 2016-10-06 23:13:28 +02:00
Michael Steenbeek
e45f4be196 Merge pull request #4535 from wolfreak99/weather_in_console
set render_weather_effects and render_weather_gloom in console
2016-10-05 22:37:23 +02:00
Ted John
001120e6b2 Fix #4531: Ride sound focus not available any longer
Only reset the ride viewport if it the window has actually been resized and maintain the viewport flags.
2016-10-05 19:08:20 +01:00
wolfreak99
53c123acae set render_weather_effects and render_weather_gloom in console 2016-10-05 10:43:38 -04:00
Ted John
d81bed5ee6 Fix resize invalidation when switching multiplayer window tabs 2016-10-02 13:47:20 +01:00
Ted John
42580af498 Fix #4304: Improve the chat improvement/coloring
Colour codes were being prepended to the line string but draw string was not given the start of the buffer.
2016-10-02 11:33:16 +01:00
LRFLEW
c70faa46de Fix Crash on Title Sequence Name Freeing 2016-09-25 22:59:03 +01:00
Ted John
2e0bfc9369 Allow more keyboard shortcuts on title screen 2016-09-25 00:09:55 +01:00
Michael Steenbeek
a170eeb367 Merge pull request #4302 from wolfreak99/render_rain_toggle
Add option to disable weather gloom and rain effects
2016-09-24 13:17:49 +02:00
Ted John
ce0f6aefea Merge pull request #4465 from duncanspumpkin/refactor_paint
Refactor paint
2016-09-23 21:39:42 +01:00
duncanspumpkin
5b01653c11 Add friction help command to rides set 2016-09-21 19:25:40 +01:00
wolfreak99
c8714b7b62 Formatting improvements
Formatting improvement pt 2
2016-09-21 10:37:43 -04:00
wolfreak99
98eb272c71 Break long lines for readability 2016-09-21 10:36:23 -04:00
wolfreak99
c60396cb53 Add option to disable weather gloom and rain effects 2016-09-21 10:35:02 -04:00
LRFLEW
0cc33d7780 Fix usage of paint_entry in 64-bit builds (#12) 2016-09-20 21:32:04 +01:00
duncanspumpkin
7561921b9c Refactor to use paint_entry union 2016-09-20 18:27:50 +01:00
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
Ted John
6ed84ddabd Fix #3936: 'Close all windows' shortcut leaves one window when top toolbar is hidden
Close all windows was missing out the last window in the list. Normally this would be the toolbar which is why the bug only appears when toolbars are hidden.
2016-09-18 23:27:02 +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
69eca489da Integrate gSavedView... 2016-09-17 14:10:39 +01:00
Ted John
05e510f003 Remove unused CALLPROC 2016-09-17 14:08:01 +01:00
Ted John
e96b1820c8 Integrate remaining GLOBALs in viewport.c 2016-09-17 13:59:41 +01:00
Ted John
1c6f964773 Integrate _viewportDpi1 and _viewportDpi2 2016-09-17 13:38:18 +01:00
Marijn van der Werf
5f24e57c51 Partially integrate gCurrentViewportFlags
The two bytes after RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS don't seem to be used, according to IDA. As far as I understand endianness, updating from an uin16 to an uint32 should be save.
2016-09-17 13:15:47 +01:00
duncanspumpkin
d0f9f6070c Remove use of global where not required 2016-09-15 20:30:10 +01:00
Ted John
b43ff24c3e Use non _t versions of int for consistency 2016-09-14 23:37:01 +01:00
Ted John
e4cb01e04b Integrate gUnkEDF81C 2016-09-14 18:29:56 +01:00
Ted John
8ce693bb82 Integrate locals in screen_get_map_xy 2016-09-14 12:51:14 +01:00
Ted John
aefa481b3d Integrate locals in viewport_interaction.c 2016-09-14 12:49:20 +01:00