Ted John
ce0f6aefea
Merge pull request #4465 from duncanspumpkin/refactor_paint
...
Refactor paint
2016-09-23 21:39:42 +01:00
Michał Janiszewski
fd6d4e2fd7
Add variable to identify crashes in original code
2016-09-22 22:41:10 +01:00
duncanspumpkin
5b01653c11
Add friction help command to rides set
2016-09-21 19:25:40 +01: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
5519365fe0
Clean up parsing work data after parse
2016-09-20 12:48:35 +01:00
Ted John
f31bf03ee9
Refactor LanguagePack to interface / implementation
...
This reduces the required amount of includes and definitions necessary in LanguagePack.h and having to declare private signatures twice.
2016-09-20 12:29:38 +01:00
Ted John
6aee80193e
Merge pull request #4456 from Gymnasiast/add-bm-mini
...
Add drawing for missing B&M and mini RC pieces
2016-09-19 21:31:07 +01:00
Gymnasiast
ffcd0cacd1
Convert tabs to spaces and split off switches into own function
2016-09-19 22:04:08 +02:00
Ted John
dd66ae39ae
Clean up LanguagePack and fix memory leak
2016-09-19 19:42:27 +01:00
Michał Janiszewski
6a86f007f3
Fix #4437 : Crash in Network::Server_Handle_AUTH
2016-09-19 19:25:00 +01:00
Michał Janiszewski
b90f27a971
Plug memory leak in ObjectRepository
2016-09-19 18:34:08 +01:00
Gymnasiast
5610b72394
Add drawing for missing B&M and mini RC pieces
2016-09-19 19:15:31 +02:00
Michał Janiszewski
8afaf33b1c
Fix #4453 : path separators being mishandled
2016-09-19 17:59:06 +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
Ted John
23b5af6145
Close #3981 : Global configuration option/argument for RCT2 data path
...
Add the command line option --rct2-data-path which allows the RCT2 data path to be set irrespective of the config file.
2016-09-18 22:25:49 +01:00
Ted John
529f189832
Use sprintf for object_create_identifier_name
2016-09-18 21:53:00 +01:00
Ted John
2258652e83
Wrap direction in vehicle_update_motion_collision_detection
2016-09-18 21:49:58 +01:00
Michał Janiszewski
453e508716
Check access to duck_move_offset
2016-09-18 20:01:22 +02:00
Ted John
d786e57914
Move registers struct to common.h
...
So that it can still be used in x64 builds
2016-09-17 23:12:25 +01:00
Michał Janiszewski
2d5de506f4
Fix guards for NO_RCT2 builds
2016-09-17 22:59:32 +01:00
Ted John
20863bce52
Guard segments definition in USE_MMAP
2016-09-17 21:07:17 +01:00
Marijn van der Werf
487d6d8f15
Remove unnecessary addresses.h imports
2016-09-17 20:59:55 +01:00
Ted John
7c05ceb275
Make x64 fully stand alone without segment loading
2016-09-17 19:29:39 +01:00
Ted John
665f5e794b
Merge pull request #4442 from marijnvdwerf/integrate/vehicle
...
Integrate vehicle data
2016-09-17 19:15:27 +01:00
Marijn van der Werf
65919029ae
Integrate data at 0x0098DA64
2016-09-17 19:14:06 +01:00
Marijn van der Werf
a3a8484059
Complete integration of 0x009A3B04
2016-09-17 19:54:44 +02:00
Marijn van der Werf
a76e21a767
Integrate data at 0x009A37C4
2016-09-17 19:49:52 +02:00
Marijn van der Werf
1a6392cbc9
Integrate data at 0x009A37E4 - 0x009A39C4
2016-09-17 19:08:30 +02:00
Ted John
375069384b
Fix x64 builds
2016-09-17 16:35:19 +01:00
Ted John
c255333135
Fix CI
2016-09-17 16:33:35 +01:00
Ted John
c183b65065
Fix original paint mode
2016-09-17 16:32:36 +01:00
Ted John
0791def825
Integrate _unkEE788C
2016-09-17 16:21:13 +01:00
Ted John
f4cf1d6158
Integrate gUnkF1A4CC
2016-09-17 16:14:46 +01:00
Ted John
4f34accfea
Integrate _spriteFontCharacterWidths
2016-09-17 16:07:34 +01:00
Ted John
9f847ca8bb
Remove old RCT2 compatibility from vehicle paint
2016-09-17 15:58:59 +01:00
Ted John
c2ca1316e8
Integrate / remove various GLOBALs
2016-09-17 15:51:06 +01:00
Marijn van der Werf
59d2c7a341
Integrate table at 0x009A36C4
2016-09-17 16:07:45 +02:00
Ted John
9d37b8bb9c
Centre overall ride view on resize
2016-09-17 14:30:45 +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
Marijn van der Werf
4ba7b6820c
Integrate data at 0x0098D884
2016-09-17 14:01:08 +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
Ted John
814f67fb3d
Revert "Remove unoriginal junior RC tracks"
...
This reverts commit 6d03980f20 .
2016-09-16 18:54:54 +01:00
Marijn van der Werf
8982d87e77
Add missing paint functions to track_data_old
2016-09-16 19:45:07 +02:00
Michał Janiszewski
f354c0ec3f
Fix testpaint target for Linux
2016-09-16 19:44:45 +02:00
Marijn van der Werf
6d03980f20
Remove unoriginal junior RC tracks
2016-09-16 19:44:20 +02:00