Marijn van der Werf
80ea7f7de5
Name gfx_fill_rect_inset flags
2016-11-10 17:54:33 +00:00
Michał Janiszewski
1f0adb95da
Check value of DEBUG_LEVEL_X macro, not just definition
...
DEBUG_LEVEL_X macros are always defined to 0 or 1, this could prevent
some optimisations from compilers, especially inlining
`get_current_rotation()`.
2016-11-02 08:19:25 +00:00
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
Ted John
7ca8b3d278
Refactor viewport_paint
2016-10-18 20:59:32 +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
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
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
04af8fcd17
Remove unused string buffers
2016-09-10 23:50:31 +01:00
Ted John
17198cfdb2
Integrate gTrackDesignSaveMode
2016-09-10 18:03:25 +01:00
Ted John
b5211a41de
Integrate viewport ref counters
2016-09-10 12:35:18 +01:00
Michał Janiszewski
599b092487
Conditionally integrate some variables
2016-09-03 18:40:23 +01:00
Michał Janiszewski
1a533147d0
Initalise g_ps_EE7880 properly
...
This should fix rendering problems in 64-bit mmap builds
2016-09-01 22:57:17 +02:00
Michał Janiszewski
dd7bfdc529
Conditionally integrate pointer at 0xEE7880
2016-08-30 15:27:08 +01:00
Ted John
8cf7e87b5c
Fix many warnings for x64
2016-08-27 23:32:15 +01:00
Ted John
8aaf7e313f
Merge pull request #4278 from marijnvdwerf/clean/data-12
...
Integrate misc data
2016-08-16 17:54:18 +01:00
wolfreak99
706b622464
Suggested Improvements
2016-08-16 02:28:50 -04:00
wolfreak99
791733a571
See-through paths, Convert gCurrentViewportFlags to uint32
2016-08-15 00:58:15 -04:00
wolfreak99
92e875e007
(Partially) implement gCurrentViewportFlags
2016-08-15 00:28:22 -04:00
Marijn van der Werf
0ae97d5f4c
Integrate WeatherColours
2016-08-14 11:37:58 +02:00
Michael Steenbeek
7f71bece5c
Clean up some residual usage of non-integrated versions of already integrated variables
2016-08-13 10:52:42 +01:00
Michał Janiszewski
9ac3b78530
Integrate g_currently_drawn_item
2016-08-07 11:41:33 +02:00
Michał Janiszewski
0ece63a7f6
Wrap RCT2's addresses in RCT2_ADDRESS macro
2016-08-06 21:38:46 +01:00
Michał Janiszewski
0e42554f73
Integrate drawpixelinfo bits pointer
...
This makes 64 bit build finally render properly, previously part of the pointer was getting overwritten by store to RCT2_ADDRESS_VIEWPORT_PAINT_X, which didn't make it invalid, but caused it to point wrong offset.
2016-08-05 23:46:44 +01:00
Michał Janiszewski
b16b6814aa
Fix pointer types for 64 bit builds
2016-08-01 23:14:42 +02:00
Michał Janiszewski
9f57c82653
Refactor access to g_sprite_list
...
Hide g_sprite_list behind accessor function with a check. `assert` is
temporarily disabled, as it breaks nearly every park.
2016-07-17 22:19:34 +02:00
Michał Janiszewski
601f344b40
Integrate g_music_tracking_viewport
2016-07-16 13:07:01 +01:00
Michał Janiszewski
a6d0e6916e
Fix function definitions to match their declarations
...
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Michał Janiszewski
639f19adbf
Fix define checks in project
2016-07-09 10:05:12 +02:00
Charles Cook
5c9110b99a
Prevent viewport_invalidate from causing covered viewports to redraw and cache window and viewport visibility.
2016-07-05 18:02:23 -04:00
Ted John
ad1b9265dc
integrate variables for various drawing pointers
2016-06-16 11:36:15 +02:00