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
Ted John
5eee31f69a
Use SawyerChunkReader instead of SawyerEncoding
2017-02-05 12:18:07 +00:00
Ted John
c9d7cd8216
Refactor loading of SC6 information when scanning scenarios
2017-01-31 17:54:39 +00:00
Broxzier
60603ae10a
Use types from common.h
2017-01-14 12:37:31 +01:00
Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00