1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
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
Michał Janiszewski
a611244b31 Fix #21976: Add algorithm include to fix gcc14 compile (#21977)
Co-authored-by: H3o66 <chris.h3o66@gmail.com>
2024-05-06 20:40:36 +00:00
Michał Janiszewski
7b12667ddb Reduce <algorithm> include (#21947) 2024-05-01 13:47:27 +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
Kostadin
11c46987ae Add #include <algorithm> to fix building with gcc 14 (#20981)
With gcc 14 some C++ Standard Library headers have been changed to no
longer include other headers that were used internally by the library.
In OpenRCT2's case it is the <algorithm> header.

Downstream Gentoo bug: https://bugs.gentoo.org/917016

GCC 14 porting guide: https://gcc.gnu.org/gcc-14/porting_to.html#header-dep-changes

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
2023-11-16 21:26:05 +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
Umar Ahmed
960a989d05 Close #11473: Implement FileWatcher for macOS 2023-01-08 14:18:13 +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
Silent
79660f2fe9 Fix FileWatcher (#18216) 2022-10-23 21:35:00 -03: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
Silent
dc7e31f7af Remove any traces of WinNT5.1 as per #16911 2022-06-20 21:26:40 +02:00
Silent
5e725913f8 Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
Tulio Leao
5afe6407a1 Cleanup c-style casts from FileWatcher.cpp 2020-09-10 21:36:21 +02:00
Matt
30376085cf Include missing headers 2020-08-05 16:29:29 +02:00
Ted John
127dd1543e Disable FileWatcher for macOS 2020-04-26 14:35:08 +01:00
Ted John
2f525e0539 Apply more code review comments 2020-04-26 14:35:07 +01:00
Ted John
d480fb8daa Apply suggestions from code review
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
Co-Authored-By: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-04-26 14:35:07 +01:00
Ted John
62d15e44db Fix mingw build 2020-04-26 14:35:07 +01:00
Ted John
4109b2c55a Fix build errors 2020-04-26 14:35:01 +01:00
Hielke Morsink
e8bdb95f13 format new files
Since many of the changes were made before the clang-format changes went live, the new source files used a different format still. This PR applies the new style to all the new source files.
2020-04-26 14:35:00 +01:00
Hielke Morsink
c064614280 Use new copyright/license notice 2020-04-26 14:35:00 +01:00
Ted John
5ba96a34ac Fix FileWatcher for Windows 2020-04-26 14:35:00 +01:00
Ted John
1fd33dd86a Use new FileWatcher class 2020-04-26 14:35:00 +01:00
Ted John
834cfad502 Create new FileWatcher class 2020-04-26 14:34:59 +01:00