moxian
2ee44002fd
Mechanically IWYU the tests
...
python3 ~/github/include-what-you-use/iwyu_tool.py -j5 -p build $( find
src/ tests/ -maxdepth 1 -name '*.cpp' | grep -v -f
tools/iwyu/bad_files.txt ) -- -Xiwyu --comment_style=long -Xiwyu -
-max_line_length=1000 -Xiwyu --cxx17ns -Xiwyu
--mapping_file=../tools/iwyu/cata.imp | tee out/iwyu/f-a-01.txt >
/dev/null
followed by
cat out/iwyu/f-a-02.txt | python3
~/github/include-what-you-use/fix_includes.py --reorder --nosafe_headers
followed by manual fixups of <stddef.h> -> <cstddef> and similar.
tests/generic_factory_test.cpp gets mangled very badly (IWYU bug) so
it's excluded from the list.
Code size:
includes:
$ cat obj/tiles/*.inc | wc
288068 576136 17898260
$ cat tests/obj/tiles/*.inc | wc
167044 334088 10465766
post-processed source (clang -E):
./make_preproc.sh src/
68567896 177775140 2134075721
./make_preproc.sh tests/
39341957 102891720 1243323710
2025-02-10 00:46:57 -08:00
Clarence "Sparr" Risher
8b27b967ae
Replace point constants with static class members
2024-11-26 10:14:26 -05:00
PatrikLundell
7a1aa9cd06
Introduce camp z level construction ( #73176 )
...
* Added Z level aware construction
* Added Z level aware construction
* Unused parameter bug
* 'nother unused parameter (for later use)
* 'demanded astyle
* bug + style demands
* doc, token change
* Added missing z description line
* Removed actual roof usage due to other issues
* Update data/json/mapgen/basecamps/expansion/modular_livestock/version_2/modular_livestock_construction.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Restore disappearing constant
* Sort out merge mess
* satisfy insistent style demand
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-06 23:37:40 -05:00
PatrikLundell
f7e64c68d6
Made tinymap load take a tripoint_abs_omt parameter instead of untyped tripoint ( #72145 )
...
* Made tinymap load use omt coordinates (and thus alignment)
2024-03-19 19:32:24 -07:00
PatrikLundell
37d4f59f59
Preparation for using typed tripoints consistently
2024-02-25 14:27:44 +01:00
John Bytheway
898565f5a2
Add support for parametric basecamp expansions
...
We have a lot of examples of basecamp expansions that are almost
identical in layout, but vary only in materials. With this change,
those can be consolidated into a single recipe definition using
parametric mapgen to define the options.
One pair of expansions is converted to this new format as an example.
2023-03-09 20:16:47 -05:00
andrei
c6e49f97a6
tests: more mapgen cleanup tests
2022-06-27 22:26:44 +03:00