1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00
Commit Graph

66 Commits

Author SHA1 Message Date
CraigCraig
26287f5a3e More readability, grammar, spelling fixes 2017-05-15 09:28:43 +02:00
CraigCraig
58deb3a54a Grammar, readability, and spelling fixes
[ci skip]
2017-05-11 11:45:59 +02:00
Ted John
73fb132e41 Replace some SDL functions with our own 2017-05-04 17:27:51 +01:00
Marijn van der Werf
a0259b79d4 Use rct_widgetindex type 2017-05-03 22:43:33 +02:00
Marijn van der Werf
927190103b Use enum for tools 2017-05-03 16:09:21 +02:00
Marijn van der Werf
2b54032b8e Replace magic numbers in windows with constants 2017-05-02 14:41:53 +02:00
Marijn van der Werf
3cf725745d Add compile-time checked constants for widget ids 2017-05-02 09:58:25 +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
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
CraigCraig
e0b875398b Tons of spelling fixes (#5413)
[ci skip]
2017-04-30 06:39:24 +02:00
Broxzier
810103b90f Use loadsave window for selecting the heightmap 2017-04-24 23:19:51 +02:00
Richard Jenkins
0219da2468 Use localised strings for 'rides set mode' command help, fix off-by-one error: RIDES_MODE_COUNT 2017-04-23 22:18:59 +02:00
Richard Jenkins
5984fd8ed7 Add user-facing help for 'rides set mode' command 2017-04-23 22:18:59 +02:00
Richard Jenkins
cbf689d4ec Reduce command array size in 'rides set type' 2017-04-23 22:18:59 +02:00
Richard Jenkins
7a50a52582 Harden console command error checking, reduce command array sizes 2017-04-23 22:18:59 +02:00
Richard Jenkins
e51ee316b9 Invalidate test results after changing ride mode from console 2017-04-23 22:18:59 +02:00
Richard Jenkins
c564659aa4 Implement #5370: add ability to change ride operating mode from console 2017-04-23 22:18:59 +02:00
Richard Jenkins
a90e5a2492 Fix typos in 'rides set' help in console 2017-04-23 22:18:59 +02:00
Michał Janiszewski
b87a8095d1 Make input buffers' sizes consistent 2017-04-14 19:17:38 +02:00
Michał Janiszewski
f3ad6de014 Update gTextBoxInput size to be at least CHAT_INPUT_SIZE large
Fixes #5365
2017-04-14 17:58:42 +02:00
duncanspumpkin
6878341214 Make review changes 2017-03-13 17:41:27 +00:00
Ted John
bcc0bfa485 Rename climate.h to Climate.h 2017-03-11 22:59:33 +00:00
Michał Janiszewski
7341f4aadd Remove trailing whitespace
[ci skip]
2017-03-07 20:38:11 +01:00
Joël Troch
8167ff9678 Fix #1730: Add keyboard shortcuts for track construction (#5200) 2017-03-03 09:35:42 +01:00
Duncan
1654ba4fe4 Merge pull request #5236 from duncanspumpkin/refactor
Refactor fence to wall
2017-02-28 06:56:06 +00:00
Michał Janiszewski
7f48df20ec Refactor input 2017-02-27 20:20:41 +01:00
Ted John
af7af61536 Merge pull request #5240 from IntelOrca/refactor/config-cpp-2
Refactor config
2017-02-25 01:35:03 +00:00
duncanspumpkin
12ba104485 Add force commands for ratings.
Note these do not save and will reset if the rating is recalculated
2017-02-24 20:48:04 +00:00
duncanspumpkin
810bf301f3 Rename map element fence to wall 2017-02-20 21:10:49 +00:00
duncanspumpkin
f54c71b61c Rename functions to wall. Refactor game commands 2017-02-20 21:02:19 +00:00
duncanspumpkin
133266deb0 Label fence offsets 2017-02-19 11:03:05 +00:00
Ted John
fb2c835d52 Include new config header 2017-02-18 15:45:10 +00:00
Ted John
4457749b35 Move keyboard shortcut loading to C++ 2017-02-18 15:30:54 +00:00
Michał Janiszewski
6f4a02dd53 Merge pull request #5233 from janisozaur/fixes
Various fixes
2017-02-17 23:58:45 +01:00
Michael Steenbeek
260cd607c8 Add Catalan language (#5222) 2017-02-17 19:40:58 +01:00
Michał Janiszewski
726a01db1c Ensure main windows always exists 2017-02-17 09:07:05 +01:00
Aaron van Geffen
5feaab2f8e Fix #5206, #5207: Do not draw all disabled tabs.
PR #5138 had the unintended side-effect of drawing all disabled tabs, stemming from the assumption that !widget_is_disabled would be identical to widget_is_enabled.

I have reverted commit 4b91d92 to follow the original logic more closely, adding an exception for disabled tabs made explicitly visible through a sprite.

The tab PR has been much more involved than I'd originally anticipated. Hopefully, a new widget system will eventually make these things easier.
2017-02-11 11:45:22 +00:00
Ted John
477de18c17 Merge pull request #5138 from AaronVanGeffen/bugfix/twitch-tab
Disable Twitch tab in versions without Twitch support
2017-02-10 18:19:15 +00:00
Ted John
591e81a0af Merge pull request #5157 from IntelOrca/fix/windows-tests-assert
Allow control of assertion behaviour
2017-02-10 18:18:49 +00:00
Aaron van Geffen
4b91d92105 Simplify tab drawing logic. 2017-02-09 22:28:52 +01:00
Aaron van Geffen
d7d7c6d1dc Draw tab outline even if tab is disabled. 2017-02-09 22:28:52 +01:00
Jacob W. Breen
b1b5fa9c5a Fix #4972: Map window not updated properly when shrinking map... 2017-02-09 18:54:03 +00:00
Ted John
e649e7ad4a Move creation of version string to Version.cpp 2017-02-09 17:58:19 +00:00
Michał Janiszewski
7cb9d10d72 Fix wrong #define checks for DEBUG macro 2017-02-07 21:01:07 +01:00
duncanspumpkin
fef7445f0c Use flags where known. Refactor large 3d signs slightly 2017-02-04 08:12:44 +00:00
duncanspumpkin
e384b9a508 Label known offsets and flags of wall/fence 2017-02-02 18:52:35 +00:00
Michael Steenbeek
94d38b9f7a Don't remove vehicles when removing all guests, name some interaction fields 2017-01-30 23:51:01 +01:00
wolfreak99
70a855c395 Fix #5029: Invalid window limit can cause crash
#5121
2017-01-29 18:03:23 +00:00
Aaron van Geffen
990b9b8708 Fix #5005: The Right Arrow in Horizontal scroll bars does not work anymore. (#5107)
Both horizontal and vertical scrollbars had a malfunctioning widget: both the
right and bottom widgets weren't fired properly.

The bug was less noticeable for vertical scrollbars, as clicking the widget would
be treated as clicking empty space, which did not happen for the horizontal
scrollbar.

This patch fixes the underlying inconsistencies, making sure the widgets for
both types of scrollbars work -- when using either scrollbar, or when combined.
2017-01-23 19:06:53 +01:00
Ted John
a0fc01d54e Clean up game init a bit more 2017-01-23 12:55:59 +00:00