- matrix.yml SKIP condition referenced non-existent job names
(skip-duplicates, skip-duplicates-mods); corrected to match declared
jobs (skip-duplicates-code, skip-duplicates-data). Same fix for the
commented emscripten block.
- tests/Makefile batch runs now use --user-dir with a unique PID-based
path so parallel shard execution doesn't collide on filesystem state.
- Normalized comma-separated TEST_CASE tags to space-separated across
9 test files (25 declarations). Comma syntax is deprecated in Catch2
v2 and removed in v3. Also fixed a missing space between adjacent
tags in throwing_test.cpp.
* make projectile_attack void,
add targets_hit to dealt_projectile_attack, and
record hit data in it
* tweak BOUNCE
* Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* clang
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* default moose
* tusked + calves + anger triggers for normal
* wowee more description edits
* nerf calf health a lil
* give the moose a ribcage for health benefits
* more more more
* Update quadruped_weakpoints_animal.json
* I love arbitrary numbers !!!
* Update mammal.json
* Update data/json/monster_weakpoints/quadruped_weakpoints_animal.json
* Update quadruped_weakpoints_animal.json
* rename lungs to vitals
* HP recalculations
* Update mammal.json
* disable it
thank you Guardian
* Update monsters.json
---------
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Catch2 provides a customization point for converting our types to
strings by specializing the StringMaker template.
We have some specializations in stringmaker.h, but this feature was only
working intermittently. I finally figured out that was due to an ODR
violation. The test files that didn't include stringmaker.h were
compiling a different specialization than the ones that did.
Re-jig the test includes so that any file including catch.hpp also
includes stringmaker.h, thereby ensuring that the custom
specializations are used everywhere and there is no ODR violation.
I achieved this by adding a new cata_catch.h header and making all
existing headers include catch.hpp via the new header.
* Change _ctype.h and __locale to cctype and clocale
* Change _wctype.h to cwctype in game.cpp
* Change __functional_base to functional
* Remove libcxx internal headers
* Remove UNIX system headers
* Fix clang-tidy error with -nostdinc++
itype_id is (presumably) one of the oldest type ids in the game. In
particular, it predates string_id, and was simply a typedef of
std::string.
This is bad for type safety.
Make it be a string_id specialization instead, and update the rest of
the code accordingly.
* Helper script to run IWYU
* Run IWYU
* Update deprecated headers
* Run IWYU again
* Re-suppress cxxabi.h
This pragma got accidentally removed because it was deemed to be a
comment attached to a #include.
* Remove extra SDL header includes
* Fix ime.cpp headers
Some tweaks to help IWYU not break this file by messing with
platform-specific stuff not relevant on Linux.
* Update game.h
* Move new point.h includes inside #ifdef
* Re-add platform_win.h to mapsharing.cpp
* Apply suggestions from code review
Co-authored-by: ZhilkinSerg <ZhilkinSerg@users.noreply.github.com>
* Rebalance archery take... 5?
* Require a ranged weapon to break a damage threshold in order to inflict a critical hit.
* Re-audit strength requirements.
* Apply suggestions from code review
Co-Authored-By: Isaac Freund <ifreund@ifreund.xyz>
* Outline archery balance guidelines.
Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>