1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00
Commit Graph

491 Commits

Author SHA1 Message Date
duncanspumpkin
07eee1cdf9 Fix rebase mistakes 2021-04-03 00:21:43 +01:00
Gymnasiast
4437e692e2 Replace remnants of corrupted elements 2021-04-03 00:21:43 +01:00
Gymnasiast
87422c2806 Replace corrupt elements with invisibility bit 2021-04-03 00:21:43 +01:00
Ted John
4643469ac3 Finish refactor of loading / saving 2021-04-03 00:20:45 +01:00
Ted John
311ce446cf Extract IO to new class 2021-04-03 00:20:45 +01:00
Gymnasiast
d7d402747e Add Vietnamese language 2021-03-31 14:26:31 +02:00
Geoff B
6c8493cb69 Close #14253: Replace font size tokens with adjusted DrawText calls 2021-03-27 14:40:17 +01:00
Michael Steenbeek
713410ab6c Apply changed strings from the new-save-format branch 2021-03-27 14:31:13 +01:00
manatails
4fe5b1dc79 Add "Vandals stopped" stat for security guards (#14071)
* Add a stat for security guards: Vandals stopped

* Update src/openrct2-ui/windows/Staff.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Update src/openrct2/peep/Guest.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* No need to update screenCoords at the last line

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Add changelog entry and bump network version

* Update to new UI code

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-03-14 09:18:35 -03:00
Ted John
a9584ad797 Fix #14266: [Plugin] {STRINGID} format is not applied 2021-03-12 21:08:56 +01:00
Ted John
966129dd7c Remove network traffic window
Now available in the DevTools plugin.
2021-03-06 14:47:06 +01:00
Ted John
b179f6e597 Merge pull request #13965 from telk5093/footpath_hotkeys
Make ride construction shortcuts work for footpath too
2021-03-06 01:27:18 +00:00
TELK
99e72dde3f Change StringIds to more generic 2021-02-24 16:50:40 +09:00
Ted John
aedd93ef33 Add remove button to clear a shortcut 2021-02-23 21:34:32 +00:00
Ted John
ff86ebbfe5 Localise shortcut strings 2021-02-21 03:14:19 +00:00
Umdlye
2c408342d9 Create toggle for zoom toolbar button 2021-02-01 17:27:40 +01:00
Ted John
19f0d8dfe9 Fix #13842: News is imported incorrectly 2021-01-20 12:35:11 +01:00
Mathias Gibbens
b1e5a11bf3 Several more spelling fixes (#13752)
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>

Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2021-01-10 18:23:35 +00:00
Michael Steenbeek
1da6ae6b51 Merge pull request #13710 from skdltmxn/refactor/string_view
Refactor/string view
2021-01-10 13:37:01 +01:00
skdltmxn
b0a8ebc808 Refactor to use push_back more efficient (#13726) 2021-01-08 20:59:55 +00:00
X123M3-256
deca5a3881 Add "Single Rail Roller Coaster" ride type 2021-01-06 21:10:15 +01:00
skdltmxn
c093a50f3f Refactor to use string_view more properly 2021-01-07 01:52:10 +09:00
Gymnasiast
52bc650abf Improve feedback when selecting the wrong file 2021-01-03 18:40:02 +01:00
Keith Stellyes
268e39d12a GOG installer extraction for POSIX 2021-01-03 17:53:14 +01:00
Matt
7d4637613a Format the integers into temporary buffer to fix inline sprites 2021-01-02 16:46:05 +02:00
Matt
c2fd7708ad Use char_traits for length 2021-01-02 16:46:05 +02:00
Matt
2ef4dd23aa Replace std::stringstream with custom string buffer 2021-01-02 16:46:05 +02:00
Ted John
b0e57c0ca9 Do not allocate vector each time format string legacy is called 2021-01-02 11:27:50 +01:00
Michael Steenbeek
7337e9d4a3 Fix #13644, #13102: Underflows in ride graph, temperature, cut-away view 2020-12-24 23:08:01 +01:00
Tulio Leao
af0ec60bed Close #13626: Refactor RCT2LanguageId to strong enum 2020-12-23 20:07:54 -03:00
Michael Steenbeek
5dd0ff12c4 Fix #13550: Cut height in Cut-away view window is missing 2020-12-23 20:13:00 +01:00
csunday95
fa5437f920 Fix #13611: Zero under decimal is not displayed (#13618)
* fix for bug #13611; handled too few sig figs fixed point case

* added unit test cases to cover modified fixed point code

* removed blank line to satistfy clang-format

* sorted includes in formatting tests for clang-format

* removed redundant static_cast

 - already a char literal and assigning to char[] so code
 is functionally equivalent
2020-12-22 09:45:45 +00:00
Hielke Morsink
235afc4c62 Mark possibly unused variable as maybe_unused (#13612) 2020-12-20 15:35:23 +00:00
Ted John
05622fd9bb Merge pull request #13504 from IntelOrca/plugin/more-things
* Fix #13495: Add properties for park value, guests and company value
* Add more park attributes to plugin API
* Fix #13431: [Plugin] UI disabled widgets can still be interacted with.
* Fix #13078: [Plugin] Add colour picker widget
* Fix: #13509 [Plugin] Add ability to format strings
* Fix #13510: [Plugin] list view scroll resets when items is set.
* Fix #13512: [Plugin] Add item separators to list view
2020-12-06 16:13:07 +00:00
Tulio Leao
3a4ccfef37 Merge pull request #13523 from IntelOrca/fix/13517-date-format
Fix #13517: Bad formatting of dates
2020-12-06 10:17:59 -03:00
Ted John
6a00c78750 Fix #13527: Read access violation in format_string (#13529) 2020-12-06 01:08:43 -03:00
Ted John
be8736ffaa Fix: #13509 [Plugin] Add ability to format strings 2020-12-05 18:26:35 +00:00
Ted John
164f570aae Fix #13517: Bad formatting of dates 2020-12-05 13:56:08 +00:00
Ted John
17edaae02b Improve banner formatting fix 2020-11-29 01:19:51 +00:00
Ted John
ec03ce5317 Improve handling of braces 2020-11-27 18:54:57 +00:00
Ted John
9173ec2111 Handle int64 edge cases in Format 2020-11-27 18:54:57 +00:00
Ted John
086f10c183 Remove includes already in header 2020-11-27 18:54:57 +00:00
Ted John
fd605d7399 Apply review comments and fix build 2020-11-27 18:54:57 +00:00
Ted John
2847ac556a Fix FormatString stack memory issues 2020-11-27 18:54:57 +00:00
Ted John
92fcdfbd9b Fix GCC compiler errors 2020-11-27 18:54:57 +00:00
Ted John
b6a688e540 Refactor format tokens 2020-11-27 18:54:57 +00:00
Ted John
157c984d4c Fix more string functions 2020-11-27 18:54:56 +00:00
Ted John
711ac76753 Fix map tooltips 2020-11-27 18:54:56 +00:00
Ted John
80537832e9 Implement MOVE_X and INLINE_SPRITE 2020-11-27 18:54:56 +00:00
Ted John
2f7c1aab14 Start eradicating old format codes 2020-11-27 18:54:56 +00:00