1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
Commit Graph

8622 Commits

Author SHA1 Message Date
zaxcav
94eb6994fb Prevent peeps walking up and back down ride queues (#5423)
This bug is caused by inconsistent use of peep->interactionRideIndex. The primary use of this value is to record when a peep has decided to go on the ride at the queue entrance so they remember that decision when entering each queue path tile - without this they would re-decide whether to go on the ride each time they walk into a new ride queue tile.

This is also important for making the peeps walk up and back out of the queue when the ride is closed.

This value is also set when a peep decides not to go on a ride (though the reason why is not clear to me), but is not reset/changed on interaction with other tile types (e.g. shops, no entry signs, etc) causing peeps who bounce back on a ride queue entrance to walk up and down the queue.

Fixes #3499

Requires new network version.
2017-05-01 21:29:38 +02:00
Ted John
ded1a7b918 Fix #5421: Keyboard shortcuts are not working properly
Update magic numbers, change some to actually open window instead of delegating to the top toolbar.
2017-05-01 16:33:57 +01:00
Ted John
53c9230142 Merge pull request #5415 from IntelOrca/feature/mute-toolbar
Add mute button to toolbar
2017-04-30 23:08:18 +01:00
Ted John
4288e13947 Change mute widget index to its more logical position 2017-04-30 22:35:47 +01:00
Ted John
ae8aa2d466 Fix top toolbar tool switching
Moved tool active checks to top toolbar so that it can use constants.
2017-04-30 22:33:19 +01:00
Ted John
8bd0c703a7 Revert "fix and refactor DrawRLESprite2 (#5396)" as it broke water rendering
This reverts commit fde3c8a3ed.
2017-04-30 20:02:27 +01:00
Ted John
75e0c94082 Fix mute / unmute logic 2017-04-30 18:03:25 +01:00
Ted John
21bf897bda Adjust group box on interface options page 2017-04-30 17:46:23 +01:00
Ted John
eb422a70bd Fix toolbar strings and use new icon 2017-04-30 17:37:36 +01:00
Ted John
95c9ec5f54 Add ear toolbar icon to g2 2017-04-30 17:37:36 +01:00
Pulkit
970614bd51 WIDX_MUTE Improvements 2017-04-30 17:36:38 +01:00
Pulkit
89baa54633 Fixed the whitespaces 2017-04-30 17:33:26 +01:00
Pulkit
dff1d724a0 Updated the location of the mute button 2017-04-30 17:33:26 +01:00
Pulkit
daf968161e Added the mute option in the toolbar 2017-04-30 17:33:26 +01:00
Pulkit
f7d01e3983 Modified the Mute button Like the Cheat
I implemented the Mute button but for some reason I am unable to enable
the checkbox. Could someone kindly look into it
2017-04-30 17:33:26 +01:00
Pulkit
0ca023a459 Few Corrections, in the code. 2017-04-30 17:33:26 +01:00
Pulkit
a0f6a3b61b Updated Position of the Mute Button 2017-04-30 17:33:25 +01:00
Pulkit
ffa3896b24 Mute Button Implemented like in RCT1
Added the Mute button, like requested in the Issue #1421.
2017-04-30 17:33:21 +01:00
Ted John
1ab90d86ca Fix exporting non-RLE sprites 2017-04-30 17:22:27 +01:00
camthesaxman
a793ac24f3 remove unused variables 2017-04-30 06:42:23 +02:00
camthesaxman
2ac8c9bad3 build the version string at compile time 2017-04-30 06:42:23 +02:00
Cameron Hall
fde3c8a3ed fix and refactor DrawRLESprite2 (#5396) 2017-04-30 06:40:25 +02:00
CraigCraig
e0b875398b Tons of spelling fixes (#5413)
[ci skip]
2017-04-30 06:39:24 +02:00
Michał Janiszewski
b8bc6c7374 Bump network version to 19 2017-04-29 20:56:32 +02:00
Michał Janiszewski
f58233912d Prevent execution of invalid command in track_place 2017-04-29 20:56:32 +02:00
Michał Janiszewski
a5df306a84 Guard from null scenery entry 2017-04-29 20:56:32 +02:00
Michał Janiszewski
2609242780 Fix #3136: Add 255th FlatRideTrackBlock entry
This is to guard invalid ride type from invoking an uninitialised read.
2017-04-29 20:56:32 +02:00
Michał Janiszewski
dd6e040122 Prevent access to invalid banner in game command 2017-04-29 20:56:32 +02:00
Michał Janiszewski
bf11fdeb21 Fix #5395: Crash when no sections are present in config.ini
Missing sections in `config.ini`, particularily `[general]` can lead to
a null pointer dereference due to some fields being uninitialised.
2017-04-27 22:23:22 +02:00
Michael Steenbeek
92e110195e Define native file dialog strings when loading heightmap, to avoid crashes
Thanks to @wolfreak99 for the fix.
2017-04-27 16:02:35 +02:00
Michał Janiszewski
dcb1b8651b Fix scenery eye dropper checks 2017-04-24 23:25:21 +02:00
Michał Janiszewski
79cbb179c3 Fix memory leak in heightmap loader 2017-04-24 23:21:14 +02:00
Broxzier
f831195884 Fix typo (neightbour -> neighbour)
[ci skip]
2017-04-24 23:19:51 +02:00
Broxzier
d8253ef849 Add error for loading non 24-bit bitmaps 2017-04-24 23:19:51 +02:00
Broxzier
b456fe2a4d Copy argument to buffer since it may be freed, add missing break 2017-04-24 23:19:51 +02:00
Broxzier
058607b4e4 transform greyscale image to RGB when loaded 2017-04-24 23:19:51 +02:00
Broxzier
52ef6c8e34 Pass arguments with correct type for {COMMA16} 2017-04-24 23:19:51 +02:00
Broxzier
ca6c82a39d Fix issue for when smoothing raises a tile above water level 2017-04-24 23:19:51 +02:00
Broxzier
7fc9846bec Show errors to player 2017-04-24 23:19:51 +02:00
Broxzier
fb9ff85238 Only overwrite buffer when loading was successful 2017-04-24 23:19:51 +02:00
Broxzier
2cd4a686f6 Disable page widgets until a map is loaded
A few strings have their {WINDOW_COLOUR_2} setting removed, since this
prevented strings from being market as inset. All uses of these strings
have been checked.
2017-04-24 23:19:51 +02:00
Broxzier
8b8f982d0e Fix typos
[ci skip]
2017-04-24 23:19:51 +02:00
Broxzier
03bfc68250 Loading height map into memory 2017-04-24 23:19:51 +02:00
Broxzier
f93b7f761b Fix travis errors
Couldn't merge janitosaur's commit or apply a patch after the changes and rebase
2017-04-24 23:19:51 +02:00
Broxzier
0d07ea69f8 Add support for loading PNG files
This needs to be refactored
2017-04-24 23:19:51 +02:00
Broxzier
8548f60453 Optimization: Average RGB channels once before smoothing, instead of inside the loop. 2017-04-24 23:19:51 +02:00
Broxzier
624f3e3298 Fix smooth-tiles checkbox not being invalidated; updated default height values 2017-04-24 23:19:51 +02:00
Broxzier
810103b90f Use loadsave window for selecting the heightmap 2017-04-24 23:19:51 +02:00
Broxzier
3095106b0e Use average pixel value instead of only the red channel 2017-04-24 23:19:51 +02:00
Broxzier
6edea503b2 Refactored mapgen window file
- Removed duplicated code
- Moved shared widgets to define
- Moved shared widget handling code to function
2017-04-24 23:19:51 +02:00