559 Commits

Author SHA1 Message Date
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
matoro
191b0c4d6d Use __LP64__ for BitSet 64-bit blocksize conditional check
The canonical way to check for 64-bit system is __LP64__ preprocessor
define.  This allows to build and pass test suite on ppc64le.
2023-12-24 18:30:48 +01:00
ζeh Matt
ae3c1037ad Properly name what the getter/setter for surface object index is 2023-08-26 20:50:06 +03:00
ζeh Matt
5f515b6a73 Refactor the code that uses MapGetFootpathElement 2023-08-05 18:09:38 +03:00
ζeh Matt
378e1f3c15 Ensure the tests use the correct overloads 2023-07-06 01:32:28 +03:00
ζeh Matt
c55eb50740 Add some basic tests for Equals and IEquals 2023-07-06 00:51:52 +03:00
Matthias Moninger
379287ed0f Remove legacy stuff in common.h (#20523)
* Remove old interop macro

* Remove legacy string macro things

* Unbreak the posix/linux/unix builds

* Add String::IEquals and use it for case insensitive compare

* Add missing include for posix

* Replace _strnicmp with String::StartsWith

* Add LoByte and HiByte into Util.h, swap macros

* Fix android build

* Hopefully last of the string things

* Replace STUB directly with the warning
2023-07-02 12:59:20 +03:00
ζeh Matt
ac583569da Remove Platform::CoreInit 2023-06-27 23:35:11 +03:00
Matthias Moninger
b291c87d51 Merge pull request #20271 from duncanspumpkin/objDescriptor
Rework Object Identifier callers
2023-06-26 16:11:45 +03:00
ζeh Matt
e4ac1f9e3c Add EverythingPark ride ratings to the tests 2023-06-09 17:30:07 +03:00
ζeh Matt
befb72b826 Add the Everything Park created by Marcel Vos to the test parks 2023-06-09 16:53:27 +03:00
duncanspumpkin
86c02b839f Format and fix tests 2023-05-22 20:07:06 +01:00
duncanspumpkin
dbb04f6a94 Further removal 2023-05-22 08:52:43 +01:00
Silent
c4b70358c8 More MAX_PATH removals (#20113)
* Refactor FileScanner to lift a MAX_PATH limit

* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory

* Remove MAX_PATH from Platform.Posix.cpp
2023-05-09 20:08:46 +01:00
kyphii
6f55454ae8 Add ratings modifier for reversed trains (#20091)
* Add ratings modifier for reversed trains

* Add test save file and ratings for this

* Changelog entry

* Bump network version

* Modify changelog

* Changelog edit

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-05-06 02:40:41 +03:00
ζeh Matt
c6c29dbf64 Add BigTestMap to ride rating tests 2023-04-26 17:48:38 +03:00
Michael Steenbeek
812ea151bb Fix duplicate RGB colours in palette (#18299)
* Remove duplicate RGB colours from palette

* Update hash

* Update reference dat file

---------

Co-authored-by: Spacek531 <spacek531@comcast.net>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-04-16 15:15:26 +01:00
Duncan
1ec62e44bb Add missing string test (#19837) 2023-04-05 21:28:50 +01:00
Michał Janiszewski
049d962a7c Merge pull request #19462 from duncanspumpkin/cmakeTests
Actually Run All Unit Tests in CMake
2023-04-03 17:43:23 +02:00
Michael Steenbeek
fd80b4c822 Refactor and clean up date handling (#19666)
* Refactor and clean up date handling

* Remove gDate, remove direct access to days_in_month

* Adjust the MultiLaunch test

* Bump network version

---------

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2023-04-02 09:25:41 +01:00
Matthias Moninger
9e4099fcdf Fix VS debug builds not finding gtestd.lib (#19798) 2023-04-02 09:20:47 +02:00
duncanspumpkin
b9ce206044 Move to pretest discovery 2023-03-30 08:31:59 +01:00
duncanspumpkin
bde48f0b25 Fix running the tests 2023-03-29 22:05:21 +01:00
duncanspumpkin
2ea289d5c6 Fix tests that now fail to compile 2023-03-29 22:05:19 +01:00
duncanspumpkin
aee3f17b93 Fix cmake tests compiling 2023-03-29 22:04:13 +01:00