1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

6997 Commits

Author SHA1 Message Date
Ted John
2429cd84df Fix remaining issues 2016-09-24 11:21:04 +01:00
Ted John
a4b75fd84a Allow test ignoring 2016-09-24 11:21:04 +01:00
Ted John
21bb6c507d Fix bugs spotted by testpaint 2016-09-24 11:20:12 +01:00
Ted John
d94d2e5820 Clean up paint_reverse_freefall_rc_flat 2016-09-24 11:20:12 +01:00
Ted John
fd4103d8f5 Move sub_98197C_rotated and sub_98199C_rotated to helpers source
Because paint.c can't be used by testpaint.
2016-09-24 11:20:12 +01:00
Ted John
df761fb64d Fix bound boxes and draw order 2016-09-24 11:20:12 +01:00
Ted John
09cb01b28a Implement vertical 2016-09-24 11:20:12 +01:00
Ted John
8e6871cf77 Correct name of SPR enum items 2016-09-24 11:20:12 +01:00
Ted John
f713eb201a Implement slope 2016-09-24 11:20:12 +01:00
Ted John
a62277c44f Implement flat 2016-09-24 11:20:12 +01:00
Ted John
12109993ae Implement station 2016-09-24 11:20:12 +01:00
Ted John
5c5e9095db Fix #4476: Assertion Failed
Disable track preview for OpenGL drawing until a later time where we can use a different drawing engine for track preview alongside OpenGL.
2016-09-24 01:07:40 +01:00
Ted John
4a0a93d003 Merge pull request #4449 from duncanspumpkin/gl2
OpenGL Palettes
2016-09-23 21:41:09 +01:00
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
duncanspumpkin
48086503a6 Fix zooming size for opengl sprites 2016-09-21 19:06:45 +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
duncanspumpkin
56fddac199 Fix broken zoomed textures and palettes
Zoomed textures were failing to pass the image flags to the zoomed version of the texture. This would cause corrupted data to be passed as a tertiary colour to the palette function.
Also due to not recording the image flags in the palette hash map a tertiary colour of zero would be ignored and unremaped pink colour would be shown
2016-09-19 19:00:26 +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
duncanspumpkin
5f7a6fb369 Fixed OpenGL palette drawing
Added palettes to the texture atlas and now correctly use them to generate
images. Transparency semi supported but the colours are not quite
correct.
2016-09-18 20:28:46 +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