1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
Ted John
f5a23d77bd Add File::ReadAllLines helper 2017-06-04 00:47:33 +01:00
Ted John
cf7f1b7335 Change location of test data 2017-06-04 00:47:33 +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
Ted John
3fcd42fe2b Move more window code to UiContext 2017-05-29 22:38:43 +02:00
Ted John
006a76c099 Refactor registration of drawing engines 2017-05-29 22:38:42 +02:00
ceeac
f58d711981 Fix memory leak in Path::getDirectory. 2017-05-26 18:21:50 +02:00
Ted John
ac2eb8b5da Fix FileStream for macOS 2017-05-04 17:29:05 +01:00
Ted John
0ad94f92e3 Replace Stopwatch with chrono 2017-05-04 17:28:37 +01:00
Ted John
459d79d2f3 Use FILE instead of SDL for FileStream 2017-05-04 17:27:51 +01:00
Ted John
73fb132e41 Replace some SDL functions with our own 2017-05-04 17:27:51 +01:00
camthesaxman
2ac8c9bad3 build the version string at compile time 2017-04-30 06:42:23 +02:00
CraigCraig
e0b875398b Tons of spelling fixes (#5413)
[ci skip]
2017-04-30 06:39:24 +02:00
Ted John
0ec43e3611 Improve String::Split and add tests 2017-03-08 19:06:42 +00:00
Ted John
7ccce750a6 Use std::string instead of char * for UriHandler 2017-03-08 19:06:42 +00:00
Ted John
5a850cd155 Add some useful string functions 2017-03-08 19:06:42 +00:00
Ted John
3b341de835 Fix String::Trim and add test 2017-02-24 21:48:06 +00:00
Ted John
8d3bf515ed Fix trim function 2017-02-19 21:33:14 +00:00
Ted John
d5ee210797 Begin writing IniReader 2017-02-18 10:17:26 +00:00
Ted John
4ea74ad526 Remove RWops from check_file_paths 2017-02-12 10:40:27 +00:00
Ted John
fbe0e2504a Do not use RWops for saving track designs 2017-02-11 12:40:38 +00:00
Ted John
4d16e3e1bd Remove use of RWops from track design 2017-02-11 12:03:03 +00:00
Ted John
e649e7ad4a Move creation of version string to Version.cpp 2017-02-09 17:58:19 +00:00
Ted John
f59afb8c44 Use constant for assertion message 2017-02-09 17:57:39 +00:00
Ted John
3a4bc87198 Allow control of assertion behaviour
This allows tests to change the behaviour at runtime so that OpenRCT2 aborts instead of showing a message box.
2017-02-09 17:57:39 +00:00
Ted John
c379347d59 Use stream for chat log 2017-02-08 22:00:04 +00:00
Ted John
ad1634631f Fix MemoryStream::EnsureCapacity 2017-02-08 21:53:37 +00:00
Ted John
d124f4fad0 Use streams for network load and save 2017-02-08 18:16:33 +00:00
Ted John
2a11bc97fd Merge pull request #5179 from IntelOrca/refactor/sc-chunk-writer
Use streams for SV6 export
2017-02-08 12:01:38 +00:00
Ted John
629ccec466 Use write extended mode to fix checksum calculation
[ci skip]
2017-02-07 20:14:31 +00:00
Michał Janiszewski
7cb9d10d72 Fix wrong #define checks for DEBUG macro 2017-02-07 21:01:07 +01:00
Ted John
2518362112 Use streams for SV6 export 2017-02-05 15:45:23 +00:00
Ted John
652cad15c4 Refactor memory stream
Clean up a few things.
2017-02-05 02:40:16 +00:00
Ted John
fed4c248e3 Remove use of SDL RWOps from title sequence player 2017-02-02 22:00:01 +00:00
Ted John
5d7a712672 Use new S6 importer for title screen and fix issues 2017-02-02 22:00:01 +00:00
Ted John
8998b2ae18 Refactor S6 importer to use IParkImporter interface 2017-02-02 22:00:01 +00:00
Michał Janiszewski
6bd9e3eca8 Make sure various fields are initialised properly 2017-01-27 07:35:48 +01:00
Ted John
0d51bdde3f Fix broken code alignment 2017-01-14 23:40:46 +00:00
Broxzier
60603ae10a Use types from common.h 2017-01-14 12:37:31 +01:00
Michał Janiszewski
0a36af19e4 Mark classes as final to help devirtualisation 2017-01-13 12:12:50 +01:00
Michał Janiszewski
33dcb1a506 Rename types to avoid shadowing 2017-01-13 10:57:00 +01:00
Michał Janiszewski
cf670deb10 Add -Wshadow to CMakeLists and fix offenders 2017-01-13 10:02:17 +01:00
Ted John
ca9c3cc5ee Fix more warnings, disable others 2017-01-12 13:00:12 +00:00
Michał Janiszewski
171d973e55 Initialise fields of MemoryStream in header
This makes all the constructors use these defaulted values
2017-01-12 09:58:57 +01:00
Ted John
e1ace9528d Use std::string for File and FileScanner 2017-01-05 18:19:01 +00:00
Ted John
11477c5869 Refactor more of TrackDesignRepository to std::string 2017-01-05 17:51:31 +00:00
Ted John
be035dcdb2 Refactor various methods to use std::string 2017-01-05 13:13:22 +00:00
Ted John
25bc798ff8 Move contents of src into project sub directory 2017-01-04 17:44:12 +00:00