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

7012 Commits

Author SHA1 Message Date
duncanspumpkin
7c42322f0c Fix likely cause of #4377. Track design entrance locations.
During a refactor the entrance locations were incorrectly computed and this would cause issues. This would only happen when tracks were rotated so would not occur in some situations
2016-09-25 11:06:19 +01:00
duncanspumpkin
c919a71e9e Fix #4484. Shortcuts no longer run in textboxes
Issue was causing shortcuts to be run when a text box was in use. This would end up causing a crash on widget text boxes and cause annoyance for dialog text boxes.
2016-09-25 10:23:54 +01:00
Duncan
b792edb6dc Merge pull request #4473 from AaronVanGeffen/macos-alertstyle
Removed reference to deprecated NSWarningAlertStyle.
2016-09-25 10:10:53 +01:00
Ted John
2e0bfc9369 Allow more keyboard shortcuts on title screen 2016-09-25 00:09:55 +01:00
Michał Janiszewski
7b637a8f95 Fix #4477: Pack ObjectRepositoryHeader to ensure cache is valid in all builds 2016-09-24 15:56:25 +01:00
Ted John
fcb0f2acd6 Fix #4468: Boats at the Boat hire dock move on top of each other
Confusingly gSpriteSpatialIndex is indexed by .yx not .xy, all the more reason to use the dedicated helper method.
2016-09-24 12:55:17 +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
8d5d0ca736 Merge pull request #4447 from IntelOrca/paint/reverse-freefall-rc
Paint setup: reverse freefall coaster
2016-09-24 12:17:28 +01:00
Ted John
60b8ef6c0b Use more precise seed for random map generation
Clicking generate map quickly would generate roughly the same map twice in a row because the seed was using second precision timing rather than millisecond.
2016-09-24 12:11:48 +01:00
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
Aaron van Geffen
d52add4486 Removed reference to deprecated NSWarningAlertStyle. 2016-09-22 22:20:42 +02: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
wolfreak99
9a708cd9d2 auto-disable lightning without modifying config. 2016-09-21 10:37:50 -04:00
wolfreak99
c8714b7b62 Formatting improvements
Formatting improvement pt 2
2016-09-21 10:37:43 -04:00
wolfreak99
ce85e0e743 Make lightning disabled while weather effects are disabled (Gymnasiast
suggestion)

Interpreting Gymnasiast part 2
2016-09-21 10:36:35 -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
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