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

13467 Commits

Author SHA1 Message Date
Aaron van Geffen
4455925fcb Move braces to follow code style. 2017-12-27 13:18:24 +01:00
Aaron van Geffen
10ed48611c Refactor bottom toolbar: hex to dec, apply macro.
This was one of the few windows that had its widget positions defined in
hexadecimals rather than decimals.

The logic was further obscured by using a macro to offset an experimental
change to accomodate longer dates. This change has been widely embraced,
so this patch applied said macro to improve legibility.
2017-12-27 13:18:07 +01:00
Michael Steenbeek
6d5dd061d7 Fix crash when opening object selection 2017-12-27 13:17:09 +01:00
Michał Janiszewski
8fdec42ff9 Remove redundant declarations 2017-12-26 22:16:03 +01:00
Michał Janiszewski
c4c5439943 Add missing include guards 2017-12-26 22:16:03 +01:00
Michał Janiszewski
b574c23172 Fix function declaration 2017-12-26 18:09:00 +01:00
Michał Janiszewski
8089cadc40 Reduce code duplication 2017-12-26 18:08:56 +01:00
Hielke Morsink
5396883a86 Make map_can_construct_at check for clearance cheat 2017-12-26 16:16:06 +01:00
Hielke Morsink
4ec213f680 Allow building through water with clearance disabled 2017-12-26 16:16:06 +01:00
Michał Janiszewski
fe55ed6f64 Add missing include guards 2017-12-26 11:44:41 +01:00
OpenRCT2 git bot
1b0d1b9238 Merge Localisation/master into OpenRCT2/develop. 2017-12-26 04:02:04 +00:00
Marijn van der Werf
a29c4f49a0 Add function description 2017-12-25 15:06:06 +01:00
Marijn van der Werf
6251577305 Refactor direct access to window list 2017-12-25 15:06:06 +01:00
Marijn van der Werf
6493427011 Clean up window classification comparison 2017-12-25 15:06:06 +01:00
Marijn van der Werf
0048ef091f Refactor direct access to window list 2017-12-25 15:06:06 +01:00
Park Joon-Kyu
bbf5571c17 Allow filtering guests by name (#6633) 2017-12-25 12:17:37 +01:00
OpenRCT2 git bot
bde6ee4694 Merge Localisation/master into OpenRCT2/develop. 2017-12-25 04:01:10 +00:00
Aaron van Geffen
d768a467b7 Implement std::string variant of TrimStart; add tests.
This also makes String::TrimStart handle all-whitespace strings.
2017-12-25 00:30:21 +01:00
Aaron van Geffen
4bc2ad18c4 Trim ideographic spaces as well. 2017-12-25 00:30:21 +01:00
Aaron van Geffen
6c26009f19 Fix #6097: String::Trim wasn't taking multibyte chars into account.
Extends StringTest with multibyte tests.
NB: ストリング is a katakana transcription of 'string'.
2017-12-25 00:30:21 +01:00
OpenRCT2 git bot
676bb47948 Merge Localisation/master into OpenRCT2/develop. 2017-12-24 04:00:25 +00:00
Michael Steenbeek
695660c26c Update contributors.md [ci skip] 2017-12-23 09:08:47 +01:00
OpenRCT2 git bot
74abb6e919 Merge Localisation/master into OpenRCT2/develop. 2017-12-23 04:00:28 +00:00
Aaron van Geffen
54e6ffdbdd Fix #6860: Intensity and nausea ratings are too high in build menu. 2017-12-23 00:13:33 +00:00
Michael Steenbeek
c846d98516 Fix English descriptions of path additions and banners 2017-12-22 16:59:11 +01:00
Michael Steenbeek
2e79aaf54c Fold vehicle name into regular name 2017-12-22 15:28:41 +01:00
Aaron van Geffen
558cc07cb0 Implement CP949 to UTF-8 conversion for Korean. 2017-12-22 14:51:21 +01:00
Aaron van Geffen
0232bb5add Implement CP932 to UTF-8 conversion for Japanese. 2017-12-22 14:51:21 +01:00
Michał Janiszewski
dd0dc4427b Add nullptr checks to vehicle_get_vehicle_entry results
This satisfies PIC builds in release mode.
2017-12-22 10:09:30 +01:00
Aaron van Geffen
1e7fe352fb Adjust Twitch options to make room for CJK glyphs. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
9e686197aa Audio tab: widen label for 'focus loss' option.
The string used in e.g. the German translation is much longer than its
English counterpart, which led to flickering of the label.
2017-12-22 08:03:03 +01:00
Aaron van Geffen
ec37e14f98 More consistent indentation for nested checkboxes.
Also fixes the height of the lightning effect checkbox.
2017-12-22 08:03:03 +01:00
Aaron van Geffen
4e57ad55b3 Refactor widgets for 'controls and interface' tab. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
dfffabc08f Change option window tab icons. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
8fd4f323fd Reposition widgets in Miscellaneous tab; add strings. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
b76c8b863a Move 'scenario grouping' to Misc tab. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
f7b92e4d37 Reposition widgets for 'Advanced' tab. 2017-12-22 08:03:03 +01:00
Aaron van Geffen
511a158fdd Options: introduce new 'Advanced' tab split off from 'Misc'. 2017-12-22 08:03:03 +01:00
OpenRCT2 git bot
001bbf65a9 Merge Localisation/master into OpenRCT2/develop. 2017-12-22 04:00:34 +00:00
Hielke Morsink
916060907f Fix sign mismatch warning 2017-12-21 23:47:30 +01:00
Hielke Morsink
b6718d08d4 Remove unnecessary return statements 2017-12-21 23:47:30 +01:00
Hielke Morsink
bcfd66cbc6 Use nullptr instead of 0 2017-12-21 23:47:30 +01:00
Hielke Morsink
3770b46e46 Replace 1 and 0 constants with bool where applicable 2017-12-21 23:47:30 +01:00
Hielke Morsink
628039dd8a Use range-based for loops in libopenrct2 2017-12-21 23:47:30 +01:00
Robert Lewicki
3c2aaefc85 Fix #6851: Passing password as argument does not work
* Using password from command line arguments to connect to server

* Replaced tabs with spaces

* Added myself to contributors
2017-12-21 21:23:01 +01:00
Aaron van Geffen
4678829e03 Use LIST_ROW_HEIGHT in Map window. 2017-12-21 16:50:23 +01:00
Aaron van Geffen
9582561a7b Use LIST_ROW_HEIGHT in Park window. 2017-12-21 16:50:23 +01:00
Aaron van Geffen
dbb22dd883 Use {SCROLLABLE/LIST}_ROW_HEIGHT in track list window. 2017-12-21 16:50:23 +01:00
Aaron van Geffen
ad5246976c Use SCROLLABLE_ROW_HEIGHT in ride list window. 2017-12-21 16:50:23 +01:00
Aaron van Geffen
a0cadab70b Use LIST_ROW_HEIGHT in Staff window's stats page. 2017-12-21 16:50:23 +01:00