Commit Graph

438 Commits

Author SHA1 Message Date
Michał Janiszewski c8f91d3f35
Update backtrace token for upcoming release 2024-04-02 22:11:17 +02:00
Michał Janiszewski a2762ed321
Update backtrack submission token 2024-03-02 11:41:04 +01:00
AuraSpecs d11a82aa4f
Add Ukrainian Language
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2024-02-23 20:37:48 +01:00
Michał Janiszewski 1a74a74988
Update backtrace token for upcoming release 2024-02-03 13:42:47 +01:00
Michał Janiszewski d7823d3ad3
Update backtrace token for upcoming release 2024-02-03 13:42:01 +01:00
ζeh Matt 8653ad740a
Apply missing game state parameter 2024-01-19 16:32:19 +02:00
Andrei BENCSIK 03ddac9c7f Refactor GetInstallPath for linux
simplify the Platform::GetInstallPath (linux) by removing unnecessary
vector, removing unused #ifdef path and using string_views where
appropriate. no vector was actually needed as the prefixes are fixed
(same as the SearchLocations) - using a plain array avoids an
unnecessary allocation (actually a couple as the old code was using
push_back without reserve).

how it was tested?
run the game, check it finds path OK - PASS
run in the debugger, actually loop through OK - PASS
2024-01-07 00:20:05 +02:00
James103 1d8dc111f1
Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Michał Janiszewski bb449ef3cb
Update Crash.cpp
Update backtrace token for upcoming release
2023-12-31 14:55:40 +01:00
Michał Janiszewski beb28ff32a Properly initialize class loader on Android
https://github.com/OpenRCT2/OpenRCT2/pull/20502 changed how startup is
handled. This affected Android as well and changed AndroidClassLoader to
be initialized statically, but this turns out to be problematic due to
JVM not being fully initialized in our context by this time.

To fix this, move AndroidClassLoader initialization to JNI_OnLoad call,
where JVM is fully available.

Additionally, guard against multiple calls to JNI_OnLoad, an issue
present on Linux-like systems (including Android).
2023-10-17 23:55:31 +02:00
Michał Janiszewski b396f6903b
Update Crash.cpp
Update backtrack token for upcoming release
2023-08-27 07:38:30 +02:00
ζeh Matt 3d5e6ea932
Replace Equals with IEquals where appropriate 2023-07-05 23:14:05 +03:00
Matthias Moninger 379287ed0f
Remove legacy stuff in common.h (#20523)
* Remove old interop macro

* Remove legacy string macro things

* Unbreak the posix/linux/unix builds

* Add String::IEquals and use it for case insensitive compare

* Add missing include for posix

* Replace _strnicmp with String::StartsWith

* Add LoByte and HiByte into Util.h, swap macros

* Fix android build

* Hopefully last of the string things

* Replace STUB directly with the warning
2023-07-02 12:59:20 +03:00
ζeh Matt 99aea9dba8
Remove dead code 2023-06-30 17:13:35 +03:00
ζeh Matt ac583569da
Remove Platform::CoreInit 2023-06-27 23:35:11 +03:00
ζeh Matt 484523f82f
Use static initialization for Android class loader 2023-06-27 23:09:53 +03:00
ζeh Matt 60a2d5c1f6
Use static initialization to get the correct masking function 2023-06-27 23:02:31 +03:00
ζeh Matt 873fff2513
Remove BitCountInit and handle that with static initialization 2023-06-27 22:45:19 +03:00
ζeh Matt a83337b2da
Use chrono for GetTicks and move into Platform.Common.cpp 2023-06-27 22:21:42 +03:00
ζeh Matt e19738b5d3
Remove Sleep functions and use Common version 2023-06-27 22:11:52 +03:00
ζeh Matt d8009291c4
Rename Shared.cpp to Platform.Common.cpp 2023-06-27 22:10:16 +03:00
Silent c4b70358c8
More MAX_PATH removals (#20113)
* Refactor FileScanner to lift a MAX_PATH limit

* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory

* Remove MAX_PATH from Platform.Posix.cpp
2023-05-09 20:08:46 +01:00
Michał Janiszewski 42fa4cb6b9
Update backtrace token (#20117) 2023-05-01 23:03:30 +02:00
undermark5 78aa02fe8a
Fix #13130: Android respects device locale (#19419)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2023-04-13 09:30:18 +00:00
Michael Steenbeek fd80b4c822
Refactor and clean up date handling (#19666)
* Refactor and clean up date handling

* Remove gDate, remove direct access to days_in_month

* Adjust the MultiLaunch test

* Bump network version

---------

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2023-04-02 09:25:41 +01:00
Michał Janiszewski 801d760487
Update backtrace token for upcoming release (#19742) 2023-03-28 11:36:17 +02:00
Gymnasiast fd4c9a7b9d
Close #19176, close #19273: Consistent “CmdLine” naming 2023-02-23 00:03:30 +01:00
Duncan 9deed6d98a
Replace snakes in Class names OpenRCT2/N*-P* (#19227)
* Replace snakes in Class names OpenRCT2/N*-P*

* Rename PODDate (and TimeOfDay for good measure)

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2023-01-20 05:24:44 +00:00
Hielke Morsink 0762fcb601
Rename snake_case functions in OpenRCT2/util folder 2023-01-18 22:44:13 +01:00
Michael Steenbeek bb55c6ce66
Remove loadsasnakes (#19192)
* Rename snake_case methods in scenario folder

* Rename snake_case methods in title folder

* Rename snake_case methods in object folder

* Rename snake_case methods in platform folder

* Rename snake_case methods in windows folder

* Rename tile_inspector.h to TileInspectorGlobals.h

* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00:00
Hielke Morsink 6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-01-17 13:24:51 +01:00
Gymnasiast 5309c80e29
Remove snake_case in interface folder 2023-01-16 22:20:41 +01:00
Duncan 8a8d3105f3
Remove snake_case from first chunk of Drawing (#19164)
* Remove snake_case from first chunk of Drawing

* Address formatting
2023-01-16 13:50:43 +00:00
Gymnasiast f4f6bfd5c5
Add Canadian French 2023-01-04 20:03:27 +01:00
James103 73738bbdc8
Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
73 48ba81371f
Fix #18600: Some copyright years are not updated
this will address issue report #18600
2022-11-16 11:13:32 +01:00
Hielke Morsink 31dd4bf604
Use lower-case u integral suffix 2022-10-29 16:33:05 +02:00
Hielke Morsink 5fa53ad528
Rename global config functions to use TitleCase 2022-10-16 21:46:08 +02:00
Silent 0f978fe907
Remove the last non-Unicode Windows functions 2022-10-07 15:05:43 +02:00
Silent e825ffade7
Platform.Win32: Migrate to modern locale functions and names 2022-10-07 15:05:43 +02:00
Gymnasiast 609becf8ad
Update backtrace token 2022-10-05 12:04:32 +02:00
73 b9e677945d
Replace 20XX with 2022 (#18158)
* Replace 2020 with 2022

Replace all 2020 headers with 2022

* replace other years with 2022

add missing years
2022-10-01 08:42:14 +01:00
Gymnasiast 6d3a3cec76
Apply review requests 2022-08-31 23:02:52 +02:00
Ted John 85a66c67ac
Add initial support for RCT Classic 2022-08-31 22:48:26 +02:00
Michał Janiszewski 4243bf0d8e Allow to register additional files for upload in case of crash 2022-08-04 19:48:47 +02:00
Michał Janiszewski bc51039e8f Don't take screenshot of crashed OpenGL application 2022-08-01 22:24:26 +02:00
Michał Janiszewski f9e870a388 Provide more traces for breakpad 2022-08-01 22:24:26 +02:00
Hielke Morsink e2da19f0f7
Add missing includes 2022-07-29 18:45:10 +02:00
Silent dc7e31f7af
Remove any traces of WinNT5.1 as per #16911 2022-06-20 21:26:40 +02:00
Gymnasiast bc6921e1cf
Start v0.4.1 2022-04-25 20:25:09 +02:00