Matt
83355e35cc
Move IStream, MemoryStream, FileStream into OpenRCT2 namespace
2020-08-05 16:29:36 +02:00
Sidney
7c0b03463c
Close #12452 : Refactor DIAGNOSTIC_LEVEL to use strong enum ( #12549 )
2020-08-02 07:51:02 +01:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Michael Steenbeek
d7637cd70f
Replace many C-style casts ( #11720 )
2020-05-11 14:32:56 +02:00
Michał Janiszewski
2323cc1596
Use named casts instead of old-style casts
...
Change prepared with clang-tidy and google-readability-casting check
2020-04-22 17:09:29 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Michał Janiszewski
180655dafa
Fix printf format specifiers ( #8160 )
2018-10-26 06:09:12 -07:00
Ted John
b9c2fdedd1
Resolve absolute path when indexing files
...
This ensures scenarios are displayed with their full path in the scenario select window rather than as specified in config or command line.
2018-09-08 22:17:21 +01:00
clang-format
b02dfdbc93
Binpack function arguments together
...
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2018-07-23 16:00:22 +02:00
clang-format
95ce592579
Enforce not breaking before assignments and function names
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2018-07-23 16:00:19 +02:00
clang-format
3a4a11f738
clang-format core
2018-07-23 16:00:03 +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
Aaron van Geffen
ee4b8c11ae
Prevent invoking a copy constructor in some ranged for loops.
2018-06-08 22:29:42 +02:00
Ted John
080330070b
Write file index even if there are no files
2018-05-20 18:40:06 +01:00
Ted John
7075f6ca25
Use correct language for scan-objects
2018-05-11 20:39:00 +01:00
Ted John
35df72e61f
Remove use of gCurrentLanguage
2018-05-11 20:39:00 +01:00
ZehMatt
ee53855c62
Use emplace_back with reference as return type.
2018-04-26 21:26:30 +02:00
Ted John
20be1cc0a8
Small refactor and code format
2018-04-26 21:26:30 +02:00
ZehMatt
b9d939b294
Show progress of processed elements instead of pending tasks.
2018-04-26 21:26:30 +02:00
ZehMatt
7be1cd3e37
Use std::list and fixed step size.
2018-04-26 21:26:30 +02:00
ZehMatt
b9e0eede44
Code cleanup
2018-04-26 21:26:30 +02:00
ZehMatt
64d9109226
Add progress report back.
2018-04-26 21:26:30 +02:00
ZehMatt
6b649e6b29
Remove unused includes.
2018-04-26 21:26:30 +02:00
ZehMatt
dfcec4d9da
Refactor file indexing to use the job pool instead of threads.
2018-04-26 21:26:30 +02:00
ZehMatt
e841c5b20b
Use multiple threads to generate object index cache.
2018-04-26 21:26:30 +02:00
Michał Janiszewski
b26d484726
Fix remaining headers
2018-03-31 23:48:15 +02:00
Ted John
0f00659c8e
Do not show file index error if it doesn't exist
2018-02-11 10:39:15 +00:00
Ted John
dcb92a466d
Add new base path for user data and config
...
Refactor more path resolution to Platform2.cpp
2017-12-01 21:09:45 +00:00
Michał Janiszewski
0a9ee59152
Change format to use 5-wide index
2017-11-25 16:42:12 +01:00
Michał Janiszewski
39bb4bcc41
Report indexing progress
2017-11-25 16:42:12 +01:00
Christian F. Coors
06afeeda9a
Apply some refactoring
2017-11-02 12:22:28 +01:00
Ted John
0df10cc41d
Log exception messages
2017-08-31 18:02:39 +01:00
Ted John
dcb78b18d9
Add HeaderSize to FileIndexHeader to increase rebuild chance when alignment changes
2017-08-31 18:02:39 +01:00
Ted John
f2cd0b2f3b
Refactor ObjectRepository to use FileIndex
2017-08-30 21:58:43 +01:00
Ted John
8808444562
Refactor TrackDesignRepository to use FileIndex
2017-08-30 21:01:07 +01:00
Ted John
a118b09e79
Rebuild index if language has changed
2017-08-30 19:32:28 +01:00
Ted John
ed8483f5c3
Time index building and handle bad files
2017-08-30 19:27:25 +01:00
Ted John
c5760a22bd
Add more logging and comments
2017-08-30 18:57:11 +01:00
Ted John
e417d2f8b0
Fix all errors
2017-08-30 18:40:42 +01:00
Ted John
4f3669f279
Start work on new FileIndex base class
...
[ci skip]
2017-08-29 19:18:13 +01:00