Tulio Leao
9123b597a9
Use constexpr on openrct2/*
2019-10-29 18:44:14 -03:00
Matt
c6ea47c631
Make util_rand thread safe
2019-05-12 11:32:33 +02:00
Matt
6aa0e74d3e
Fix util_rand only returning 15 bit values.
2019-05-11 22:37:19 +02:00
Michael Steenbeek
cf913d1419
Remove two unused functions
2019-03-25 15:56:40 +01:00
Gymnasiast
262a9f29e8
Fix formatting
2019-03-24 22:24:40 +01:00
ζeh Matt
184d95c720
Fix #8947 : Detection of AVX2 support
2019-03-24 21:53:54 +01:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Matt
ecd4f61115
Add Network window
2019-02-07 18:50:58 +01:00
Michał Janiszewski
2d95052477
Compress minidumps with gzip
2018-10-24 23:36:14 +02:00
Michał Janiszewski
f9600ccfd9
Only provide strcasestr for WIN32 toolchains
...
All the other toolchains appear to be providing this function and only
MSVC+mingw are missing out.
cf. https://github.com/OpenRCT2/OpenRCT2/pull/7942
2018-08-30 22:56:14 +02:00
Hielke Morsink
e7af3290c0
Fix system file browser not populating properly ( #7916 )
2018-08-21 23:19:32 +02:00
Linus Unnebäck
fd07be587a
Remove Math::Clamp in favour of std::clamp
2018-08-12 16:47:12 +01:00
Hielke Morsink
0b03464186
Replace 0 and NULL with nullptr ( #7827 )
2018-07-25 22:49:20 +02:00
clang-format
d787872cbe
Indent preprocessor directives
2018-07-23 16:00:23 +02:00
clang-format
adb69a2fe8
clang-format ui/util/windows
2018-07-23 16:00:12 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Michael Steenbeek
ec3a1e575e
Replace Math::Min and Max with std variants
2018-06-20 17:11:35 +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
Hielke Morsink
aad1e69d7e
Add parentheses to macro arguments ( #7686 )
...
This adds parentheses around macro arguments that are either negative or used for calculations inside the macro itself. Doing this avoids getting errors in code that may look right.
2018-06-15 10:54:05 +02:00
Michał Janiszewski
7d67291910
Synchronise definition guards with declarations for str utils
2018-03-21 22:39:19 +01:00
pkubaj
38cdf5e8c9
Corrected fix to use AVX on FreeBSD>10
2018-03-20 23:15:28 +01:00
pkubaj
1191f64091
Fix build on FreeBSD 10
...
NOTE: This can be reverted once FreeBSD 10.4-RELEASE goes EoL.
2018-03-20 23:15:28 +01:00
Michał Janiszewski
4dd0995efb
Move cmath out of common.h
2018-03-18 23:29:13 +01:00
Michał Janiszewski
06e139f4cb
Use __builtin_cpu_supports for AVX2 detection
2018-02-12 22:24:22 +01:00
Michał Janiszewski
6a71688db7
Allow specifying cpuid subleaf
2018-02-12 22:24:22 +01:00
Michał Janiszewski
ad27806534
Implement AVX2 masking
2018-02-12 22:24:22 +01:00
Gymnasiast
5cc21fd21b
Replace NULL with nullptr in C++ files
2018-01-29 21:33:21 +00:00
ZehMatt
84f2917f59
Use const and constexpr whenever possible.
2018-01-11 22:29:08 +01:00
Ted John
c3eab7ead6
Refactor window.c to C++
2018-01-07 12:39:58 +01:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Michał Janiszewski
33a94fe1bb
Use C++ headers in C++ code
2018-01-04 07:36:54 +01:00
Michał Janiszewski
b2bc974fe7
Use nullptr where possible
2018-01-04 06:58:44 +01:00
Michał Janiszewski
1fdc8ef49e
Move definition of OPENRCT2_X86 macro
2018-01-01 23:49:09 +01:00
Michał Janiszewski
645b36169d
Move SSE4.1 code to its own file, detect SSE4.1 in runtime
2018-01-01 23:49:09 +01:00
Michał Janiszewski
8089cadc40
Reduce code duplication
2017-12-26 18:08:56 +01:00
Park Joon-Kyu
bbf5571c17
Allow filtering guests by name ( #6633 )
2017-12-25 12:17:37 +01:00
Michael Steenbeek
90446d06ed
Try to fix compilation on MSVC
2017-12-14 10:03:21 +01:00
Michael Steenbeek
717d71eb24
Make const char-char conversions explicit
2017-12-14 10:03:21 +01:00
Michael Steenbeek
1a9975d683
Compile util and cheats as C++
2017-12-14 10:03:21 +01:00