Gymnasiast
c5fff2bb77
Create enum class for FileMode
2025-03-25 22:47:08 +01:00
Gymnasiast
0dfc94799a
Rename FILE_TYPE and its members
2025-03-25 22:47:08 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
f40da09ab8
Move SawyerCoding from util into core, and into its own namespace
2024-10-29 21:59:28 +01:00
Michael Steenbeek
0ec76e09d4
Remove unused IStream::ReadString() function and fix includes
2024-10-15 17:39:54 +02:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +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
ζeh Matt
3d5e6ea932
Replace Equals with IEquals where appropriate
2023-07-05 23:14:05 +03:00
Michael Steenbeek
d8417fee30
Desnake the rct2/rct12 fields ( #19254 )
2023-01-22 19:16:41 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01: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
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
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
Michael Steenbeek
2c8c940caa
Refactor get_file_extension_type()
2022-01-27 11:14:19 +00:00
Michael Steenbeek
2fa33983ad
Close #16013 : Refactor RCT12Research import ( #16350 )
...
* Remove unused symbols in Research.h
* Move RCT12ResearchItem conversion out of Research.cpp/h
2022-01-03 10:20:04 +00:00
duncanspumpkin
7e7947fe8b
Move legacy identifier interpreting to separate file from parkfile
2021-12-15 21:29:02 +00:00
Duncan
cc22b584fd
Introduce RCT2 namespace ( #16037 )
...
* Introduce RCT2 namespace
* Drop RCT2:: prefix where possible
* Drop RCT2 from structure names
* Reduce header includes
2021-11-28 16:51:38 +00:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com >
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com >
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com >
2021-11-21 22:43:22 +01:00
Michael Steenbeek
71ff9bf6d6
Allow loading images from .pob files ( #15122 )
2021-07-28 21:25:51 +02:00
Matt
c30bd1266f
Refactor IStream::ReadArray to return unique_ptr
2021-02-12 19:30:53 +02: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
Gymnasiast
5f0aed0929
Add .sea support to New Scenario list and extension handling
2020-09-28 21:17:28 +02:00
Matt
83355e35cc
Move IStream, MemoryStream, FileStream into OpenRCT2 namespace
2020-08-05 16:29:36 +02:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Michael Steenbeek
9ef8d6da42
Convert most remaining C-style casts to C++-style ones ( #11867 )
2020-06-07 23:18:11 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Michael Steenbeek
9f891bfdcc
Allow opening SV7 files
2018-08-16 16:16:56 +02:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Hielke Morsink
0cf256ac9e
Ready copyright notice for clang-format
...
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.
I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02:00
Michał Janiszewski
93041bbce5
Fix mismatched deleter in TryClassifyAsTD4_TD6
2018-03-11 21:19:26 +01:00
Michał Janiszewski
30cbd0128f
Fix mismatched deallocator in FileClassifier.cpp
2018-02-10 19:59:49 +01:00
Gymnasiast
778ba466c5
Remove almost every extern C block
2018-02-05 16:20:15 +01:00
Ted John
02c58a6c5a
Remove custom base Exception class
2018-01-05 18:11:47 +00:00
Ted John
49f5611bd1
Rename scenario.c|h to cpp
2018-01-03 15:07:17 +01:00
Ted John
d14dce2b95
Prevent invalid chunk message when loading SC4
...
Exception messages were being logged when classifying the file type. This is generally unwanted as it will happen in normal cicumstances.
2018-01-02 18:23:14 +00:00
Tomas Dittmann
a9aaaf17a3
log exceptionmessage instead of custom string.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
b7d26665d6
Add console output for handled exceptions.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
f9e0865f31
use unique_ptr to prevent memoryleaks.
2017-12-27 14:32:19 +00:00
Tomas Dittmann
51bbfb084f
add missing exception handling.
...
Every TryClassifyAsX()-method now has exceptionhandling.
2017-12-27 14:32:19 +00:00
Michael Steenbeek
1a9975d683
Compile util and cheats as C++
2017-12-14 10:03:21 +01:00
Michał Janiszewski
00fd18809c
Move extern "C" {} blocks to headers ( #6282 )
2017-09-18 17:05:28 +02:00
Richard Jenkins
71e580a58f
Refactor game load functions, resolves #6011
2017-08-23 08:04:36 +02:00
Ted John
0d1d4960c1
Move get_file_extension_type to FileClassifier.h
2017-07-29 20:28:18 +01:00
Ted John
41989da732
Fix #4959 : Compiler warning: tmpnam
...
Load download parks directly from memory without writing to a temporary file.
2017-06-07 21:22:01 +01:00
Michał Janiszewski
79d76759bb
Fix #5516 : Update copyrights for 2017
...
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Michał Janiszewski
7341f4aadd
Remove trailing whitespace
...
[ci skip]
2017-03-07 20:38:11 +01:00