Commit graph

371 commits

Author SHA1 Message Date
Patricia Aas
36fc3f5a74 Set no-unused-lambda-capture 2021-09-10 15:04:10 +02:00
Patricia Aas
adbe00a466 Don't install Clang 2021-09-10 15:02:40 +02:00
Patricia Aas
912624ccf9 Cache vcpkg_installed also 2021-09-10 14:39:33 +02:00
Patricia Aas
8b6a0a5c86 Don't use C-cast 2021-09-10 14:32:46 +02:00
Corentin Jabot
eb092224f4 Fix mac build maybe 2021-09-10 14:05:35 +02:00
Corentin Jabot
25394c4cdd Right the wrongs 2021-09-10 14:02:09 +02:00
Patricia Aas
a61da5ab80 Fix cache name 2021-09-10 14:00:33 +02:00
Patricia Aas
8ffa028b2f Try to add caching #4 2021-09-10 13:57:24 +02:00
Ólafur Waage
030c82d1bc Formatting changes. 2021-09-10 13:57:01 +02:00
Patricia Aas
f60e449d8e Corentin is wrong, still 2021-09-10 13:50:30 +02:00
Patricia Aas
0b4926cc60 Corentin is wrong 2021-09-10 13:39:21 +02:00
Patricia Aas
7687fb506c Refactor CMake
Thank you Jason!
2021-09-10 13:10:34 +02:00
Ólafur Waage
d0ab367bee Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 12:21:13 +02:00
Ólafur Waage
b7c312ebd7 Adding global to cmake property. 2021-09-10 12:21:05 +02:00
Patricia Aas
43f3514b04 make set_property global 2021-09-10 12:19:31 +02:00
Patricia Aas
9f64660938 use project to set language 2021-09-10 12:19:12 +02:00
Patricia Aas
b30d71ac96 Set C++ version to 17 2021-09-10 11:42:46 +02:00
Patricia Aas
706c6245a5 Capture local explicitly 2021-09-10 11:41:20 +02:00
Patricia Aas
0f7ad08ae9 Add missing include 2021-09-10 11:41:00 +02:00
Ólafur Waage
6d79a0862d Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:36:46 +02:00
Corentin Jabot
06cb7a17f6 Fix the build again 2021-09-10 11:35:26 +02:00
Ólafur Waage
d9536b94ea Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:35:24 +02:00
Ólafur Waage
7fbe29740c Adding MSVC_RUNTIME_LIBRARY to global property. 2021-09-10 11:35:15 +02:00
Corentin Jabot
8db4b0af79 Fix the build (this is why you make PRs kids) 2021-09-10 11:24:24 +02:00
Ólafur Waage
e07616ea52 Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:04:44 +02:00
Corentin Jabot
453dd17d7c Use size_t again 2021-09-10 11:04:27 +02:00
Patricia Aas
54ec3bcdf9 Don't use submodule anymore we are using FetchContent 2021-09-10 10:59:00 +02:00
Ólafur Waage
b3e63d766a Removing const from non reference argument 2021-09-10 10:54:44 +02:00
Ólafur Waage
434875e344
Merge pull request #26 from mod-cpp/owaage_test_refactor
Testing and Code refactor.
2021-09-10 10:23:17 +02:00
Ólafur Waage
1ad8a1ec8e Adding simple deterministic fuzz test for GameState. 2021-09-09 11:15:31 +02:00
Ólafur Waage
2f62f7ae1d Reverting pellet C++20 changes since we don't target 20 fully. 2021-09-09 10:59:59 +02:00
Ólafur Waage
613831f1c0 Fixes for ghost movement where they would occationally exit the stage when cornered. Closes #25 2021-09-09 10:56:29 +02:00
Ólafur Waage
60b3cdeb40 Formatting and const fixes. Also check for extra canGo calls. 2021-09-08 14:49:43 +02:00
Ólafur Waage
b79b2a29e8 Using std::erase for pellets possible in C++20 2021-09-08 10:21:37 +02:00
Ólafur Waage
55fbb53591 Refactoring Game and GameState. Moving game state update logic into that class. Game is now only event loop. 2021-09-07 16:00:19 +02:00
Ólafur Waage
ee4b216056 Adding ghost dead test. 2021-09-07 15:30:48 +02:00
Ólafur Waage
cbe5798590 Adding a couple of Ghost tests. 2021-09-07 11:25:45 +02:00
Ólafur Waage
aa45121bec Minor formatting and warning fixes. 2021-09-06 16:40:42 +02:00
Ólafur Waage
d0bd69aee1 Removing unnecessary forward decl. 2021-09-06 16:27:29 +02:00
Ólafur Waage
00bfd15074 Adding epsilon test for Position. Also adding tests for GridPosition and Position. 2021-09-06 16:24:30 +02:00
Ólafur Waage
4c47509d1b Cleanup of how tests are discovered. Prefix not needed or used. 2021-09-06 16:00:48 +02:00
Ólafur Waage
27517cdfa6 Seperating test files from the main test cpp file. 2021-09-06 15:54:19 +02:00
Ólafur Waage
fe32b18d0c Isolating SFML to the Canvas class. 2021-09-06 15:38:40 +02:00
Ólafur Waage
aa22b91e8b Adding header files to their own folder in the project. 2021-09-06 14:51:01 +02:00
Ólafur Waage
b55e654cce Adding MTd for statically linking in Windows due to asan dll's not being in path by default. 2021-09-02 10:37:03 +02:00
Olafur Waage
586ad62fed Lowering cmake version to 3.16 since that's the version ubuntu 20.04 LTS uses. 2021-08-27 15:32:31 +02:00
Ólafur Waage
f1e0430874
Corrected spelling of pick. 2021-08-27 14:23:50 +02:00
Patricia Aas
d196491ea4 Rename variable and remove unneeded curlies 2021-08-25 11:26:13 +02:00
Patricia Aas
4b7015b96b Remove unneeded init 2021-08-25 11:23:54 +02:00
Corentin Jabot
af1c650727 Be more explicit about captures 2021-08-12 10:19:54 +02:00