1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00
Commit Graph

145 Commits

Author SHA1 Message Date
Gymnasiast
95717573f5 Upgrade platform_get_locale_measurement_format() 2022-01-16 13:17:53 +01:00
Gymnasiast
3f22b60f94 Upgrade platform_get_locale_currency() 2022-01-08 12:56:14 +01:00
Gymnasiast
12034b2d36 Upgrade platform_get_locale_language() 2022-01-08 12:56:14 +01:00
Gymnasiast
a21e545917 Upgrade platform_get_username() 2022-01-05 15:26:52 +01:00
Gymnasiast
77e5defeca Upgrade platform_original_game_data_exists() 2022-01-05 15:26:51 +01:00
Michael Steenbeek
ff909cc286 Change rct2_path into a C++ string
Co-authored-by: Ted John <ted@brambles.org>
2022-01-05 15:18:25 +01:00
Duncan
eba42a9584 Introduce Limits headers. (#15329)
* Move RCT12 limits to seperate file and namespace

* Remove prefix from constants

* Add rct1 limits file

* Rename constants to remove prefix

* Add RCT2 limits file

* Remove RCT2 prefix from constants

* Move constant to correct header

* Fix rebase mistakes

* Drop prefix
2021-11-27 16:20:05 +00:00
Duncan
b97c46421e Move all RCT1 to RCT1 namespace (#15283) 2021-08-25 20:44:24 +01:00
Hielke Morsink
6011478590 Directly use std::unique_ptr prvalues
This removes the unnecessary constructor calls and improves flexibility in case of typename changes.
All cases, except for the one in Context.cpp, are temporaries.
2021-08-20 23:38:15 +02:00
ζeh Matt
6b94e81622 Fix dereferencing memory from a temporary object (#15137) 2021-07-31 15:34:40 +01:00
Gymnasiast
8f6713a4f1 Reverse option, add shortcut 2021-05-24 16:54:30 +02:00
Gymnasiast
89eae5198b Add option to make water opaque 2021-05-24 16:39:39 +02:00
Michael Steenbeek
e89c37e7ae Fix #11829: Glitches when using mismatched csg1/csg1i 2021-03-17 13:40:45 +01:00
Matt
c30bd1266f Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
Umdlye
2c408342d9 Create toggle for zoom toolbar button 2021-02-01 17:27:40 +01:00
Michał Janiszewski
4bcf68d84a Use simple std::string assignment to plug memory leak 2021-01-19 22:10:15 +01:00
Gymnasiast
52bc650abf Improve feedback when selecting the wrong file 2021-01-03 18:40:02 +01:00
Gymnasiast
07c3a930e4 Apply review requests 2021-01-03 17:53:38 +01:00
Keith Stellyes
268e39d12a GOG installer extraction for POSIX 2021-01-03 17:53:14 +01:00
Tulio Leao
f7c6e04658 Close #13622: Refactor SORT into strong enum 2020-12-23 18:02:39 -03:00
Cory Sanin
82fd8506ad Feature: Add allowed_hosts to plugin section of config 2020-12-17 22:25:05 +01:00
Gymnasiast
75de0790bc Improve message when asking for a game_path with no filepicker available 2020-11-08 14:32:58 +01:00
Hielke Morsink
f0c1ea1d37 Split declarations and definitions to improve compile times when editing (#13332)
* Split FileStream declarations and definitions

* Split JobPool declarations and definitions

* Split StringBuilder declarations and definitions

* Split StringReader declarations and definitions

* Split ZoomLevel declarations and definitions

* Fix missing include in FileClassifier.cpp

* Remove pragma once from source files

* Fix missing include in StringBuilder.h

* Update Xcode project

* Fix compilation of tests

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-11-07 12:42:04 +00:00
Bryan DiLaura
894be65b6d Closes #12415: Refactor CURRENCY_TYPE to strong enum (#13276)
* closes #12415 CURRENCY_TYPE enum refactor

* reverses unintended change in Linux.cpp

* closes #12415 CurrencyType strong enum
2020-10-25 01:33:06 -03:00
Łukasz Pękalski
9dcbf6d4e6 Close #4865: Offer an option to disable inhibiting the monitor power (#13243)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2020-10-20 22:02:44 +02:00
Łukasz Pękalski
26720eb345 Fix #5178: Lighting effects cannot be disabled in software mode (#13206)
Lighting effect are now automatically turned off when software renderer is selected.
2020-10-15 17:05:39 +02:00
Keith Stellyes
3468d1fc6b Close #13125: Selecting the RCT2 files now uses localised dialogs 2020-10-09 21:13:14 +02:00
Julia Pinheiro
8800c32e52 Close #12404: Refactor DRAWING_ENGINE to use strong enum (#13070) 2020-10-02 22:41:30 -03:00
Michael Steenbeek
e4068b9fa8 Fix #8015: RCT2 files are not found when put into the OpenRCT2 folder (#13043)
As mentioned in #8015, gExePath is never set, so I removed that variable altogether.
2020-09-30 18:37:50 -03:00
Łukasz Pękalski
411f242cfd Close #12431 Refactor VirtualFloorStyles to use strong enum (#12790) 2020-08-27 21:06:39 -03:00
Tom Parsons
9cdae2d1e2 Fix #12401: Refactor SCALE_QUALITY to use strong enum (#12673) 2020-08-20 23:32:56 -03:00
Michał Janiszewski
55835456a0 Pester users to update to latest release 2020-08-14 10:18:17 +02:00
Matt Thomson
a8f8f06e2d Fix #12402: Refactor MEASUREMENT_FORMAT to use strong enum (#12642)
* Fix #12402: Refactor MEASUREMENT_FORMAT to use strong enum

* Remove redundant default branches

Co-authored-by: Matt Thomson <matt-thomson@users.noreply.github.com>
2020-08-13 21:51:28 +01:00
Michael Lu
7cd6e72edd Refactor TEMPERATURE_FORMAT to use strong enum (#12610)
* Refactor TEMPERATURE_FORMAT to use strong enum

* Rename TEMPERATURE_FORMAT to TemperatureFormat

* Rename TemperatureFormat to TempueratureUnit
2020-08-09 07:26:46 +01:00
Matt Thomson
150100d89f Fix #12416: Refactor CURRENCY_AFFIX to use strong enum 2020-08-04 21:35:59 +01:00
Gymnasiast
8b6cb7e943 Add config enum name for Forint 2020-06-30 11:27:01 +02:00
Gymnasiast
fe402f8bc4 Fix name of 'Deutsche mark' 2020-06-30 11:24:42 +02:00
Ted John
8f77125cdb Fix #11298: Unable to advertise server (500): Retry with ipv4 only (#11824)
Add new config option to allow any address to be advertised. This then
doesn't rely on the master server retrieving the server IP address via
the HTTP request which can often be IPv6 by default.
2020-05-30 18:21:22 +02:00
Gymnasiast
9a9ab47856 Remove Twitch from the rest of the code 2020-05-28 09:28:32 +02:00
Michael Steenbeek
451af76fb6 Remove nonfunctional "guest is lost" notification (#11722) 2020-05-11 21:31:02 +02:00
Michael Steenbeek
29fcdb5392 Fix Steam RCT1 detection (#11543) 2020-04-30 14:49:04 +02:00
Ted John
0e8c627324 Add config option for hot reload and refactor 2020-04-26 14:35:01 +01:00
Michael Steenbeek
0ecc64f781 Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
Aaron van Geffen
a81488d704 Fix #11272: Make casualty and stalled vehicle notifications optional 2020-04-16 14:41:39 +02:00
WantDiscussion
828eef7411 Introduced optional light effects for vehicles at night. (#10970) 2020-03-20 11:47:31 +01:00
Michael Berk
914c07a711 Added Random Title Sequence 2020-01-22 11:41:34 +01:00
Ted John
6f61c94dbd Remove old widechar <-> utf-8 conversion function 2019-07-22 23:44:03 +01:00
Spongeloaf
5777074a3e #9285 Add feature to remember scernario tab 2019-06-21 12:54:49 -04:00
Hielke Morsink
b3ed5b0cc1 Make giant screenshots transparent by default 2019-06-09 11:03:01 +02:00
Hielke Morsink
5418eb6e34 Add transparency setting to options window 2019-06-09 11:03:01 +02:00