Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Revert "Add mansion basecamp" (merged to wrong branch)" (now to the right branch) #49357

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
c8bc740
Add duct tape blindfold for old reciepe plus tweaks for reciepe (#47527)
Lamandus Feb 23, 2021
527a8cf
Prepare npc, spell, character, and item for new ai (#47207)
KorGgenT Feb 23, 2021
66b96ee
Make acetylene torch cut metal walls. (#46255)
NeviNovat Feb 23, 2021
3b21668
Added disassembly recipes for several items (#46316)
Karol1223 Feb 23, 2021
3fb2c77
Celsius temperature for freezing point (#47028)
Hirmuolio Feb 23, 2021
1421ea6
Stand up peek (#47257)
Moltenhead Feb 23, 2021
b27ac44
[AFTERSHOCK] Basic Ballistic Weapons (#47559)
Mom-Bun Feb 24, 2021
3d84c5f
makes glass walls and glass doors constructable (#47692)
OromisElf Feb 24, 2021
e6d5b9a
Crackers as bread and jam&cheese sandwich (#47649)
Maleclypse Feb 24, 2021
ec9fc7d
[Aftershock] misc typograpical fixes (#47783)
casswedson Feb 28, 2021
daa41ca
Tweaks for teas (#47848)
Lamandus Mar 3, 2021
4fc21aa
Have travis run for 0.F-dev (#47844)
actual-nh Mar 3, 2021
a551e51
Tweakes to copper and metal pipes. (#47825)
Lamandus Mar 3, 2021
72788ac
Fried eggs deluxe, sandwiches, and condiment list (#47786)
Maleclypse Mar 3, 2021
8061ef0
Homemade toastems, buttercream frosting and recipes (#47696)
Maleclypse Mar 3, 2021
640a6da
[My Sweet Cataclysm] Chocolate Cows don't drop "cow pies" (#47609)
Feb 19, 2021
ce0d59d
Remove unused FATIGUE energy source from spells (#47852)
Mar 3, 2021
26b913f
[Magiclysm] add owlbear origin snippet (#47752)
KorGgenT Mar 3, 2021
707cc7c
[Magiclysm] add lesser banishment spell, buff greater banishment (#47…
KorGgenT Mar 3, 2021
e60cde0
Unhardcode bio_heatsink and bio_climate (#47713)
Ramza13 Feb 23, 2021
2a91c50
Hunting lodge Location (#44378)
Maleclypse Mar 4, 2021
2f90806
fungal evolution (#47247)
LyleSY Mar 4, 2021
4fb7e26
Add book strap carrier (#47665)
FuelType-Memes Mar 4, 2021
4a123a0
Partial mine jsonify; new zombie miner (#47790)
Night-Pryanik Mar 4, 2021
e4a0bec
Add 0.F-dev to matrix.yml (#47875)
actual-nh Mar 4, 2021
3f49f36
0.F-dev workflows (#47875)
actual-nh Mar 5, 2021
26dc37d
Alter brown bread recipe to match canned version (#47915)
actual-nh Mar 6, 2021
ea1fef8
Mine entrance expand (#47928)
Night-Pryanik Mar 8, 2021
a8fa063
[DinoMod] Mushroom Madness (#47907)
LyleSY Mar 8, 2021
f424831
misc typograpical fixes (#47953)
casswedson Mar 9, 2021
ac02312
body pillow recipe makes makeshift body pillow now (#47917)
OromisElf Mar 9, 2021
04e56d6
Traffic Bollards and an example of deployment (#48017)
Maleclypse Mar 14, 2021
e5eea19
add description for Uyen's missions (#48026)
akirashirosawa Mar 14, 2021
04ddaaf
JSONize some trap features, replace trap int_id externs with string_i…
anothersimulacrum Mar 14, 2021
11a3f96
Clean up character mutation gain a bit (#47821)
anothersimulacrum Mar 2, 2021
033fcca
Allow CBMs to specify mutations that prevent installation. (#47822)
anothersimulacrum Mar 14, 2021
fe36d15
Spiral mine jsonify (#48003)
Night-Pryanik Mar 14, 2021
1f1712d
prevent bell spam (#47987)
Jamuro-g Mar 14, 2021
d59da9e
Note that vat is required for fermentation in vinegar brewing (#47651)
nornagon Feb 21, 2021
8fe0606
Unhardcode ease of sleep (#48010)
Ramza13 Mar 13, 2021
2ee5b41
Flag Fix for Bollards for 0.F Dev (#48052)
Maleclypse Mar 16, 2021
b9134ae
Add Faction Endings to Hub 01 (#48007)
Mar 16, 2021
5793dd5
Merge most effect flags and character flags (#47633)
Ramza13 Mar 16, 2021
fd60adc
added electric train engine (#48012)
OromisElf Mar 16, 2021
8db3e59
Allow filtering by level in the recipe craft menu (#47995)
Saicchi Mar 12, 2021
638f1ff
Fix MSC Typo (#48115)
TheShadowFerret Mar 18, 2021
52775c7
A livelier Zoo (#48108)
Termineitor244 Mar 18, 2021
fb8fbb2
Increased the probability of condoms in wallets (#48100)
Termineitor244 Mar 17, 2021
0c72608
[Magiclysm] Less HP consumed at higher levels of Sacrificial Healing …
Termineitor244 Mar 17, 2021
73cfabb
Ki strike scroll (#47962)
Maleclypse Mar 18, 2021
bb392a5
Zombie Pig upgrades (#47860)
Maleclypse Mar 18, 2021
11431fe
Unhardcode default Scenario/Profession & Make random starts respect S…
John-Candlebury Mar 18, 2021
23e5c6b
Show in vpart info when a wheel needs other wheels (#48088)
anothersimulacrum Mar 16, 2021
723d3a5
Electrical train (#48033)
OromisElf Mar 18, 2021
e194908
Feral Human Damage/Description Tweak (#48032)
souricelle Mar 18, 2021
2eca1e4
updated talk_tags to contain more swears (#47215)
OromisElf Mar 18, 2021
f616c78
Better debug learn spell menu (#47946)
Saicchi Mar 18, 2021
deed1de
Add MRE chocolate to the game (#47935)
Mar 18, 2021
8a6f845
Update 40x46mm.json (#47859)
MichaelMacha Mar 18, 2021
b60d3db
Tweaks for crowbar and makeshift crowbar (#47827)
Lamandus Mar 18, 2021
90c672f
Add a new anger/fear trigger (#47792)
Venera3 Mar 18, 2021
e46a3e1
Add more nutrition debug (#47716)
RadHazard Mar 18, 2021
b035416
Update Aftershock README.md (#48123)
Maleclypse Mar 19, 2021
4d2a5ff
fix a typo (#48131)
tsulh Mar 21, 2021
5972ed3
Remove recycler and associated infrastructure (#48096)
kevingranade Mar 17, 2021
6c40675
[Dark Skies Above] Plague Emissary Fix, Harvest Tweak (#48150)
ephemeralstoryteller Mar 21, 2021
ebbb375
mapgen: allow placing active bomb items for better craters in Dark Sk…
mlangsdorf Mar 21, 2021
ce543fc
food_containers get colored with their foods colortag (#47426)
Jamuro-g Mar 21, 2021
4eb59cc
Dark Skies Above: spellcheck the descriptions (#48164)
mlangsdorf Mar 21, 2021
4c5af9b
Valentine Card Spawn (#48210)
Maleclypse Mar 25, 2021
b8bde12
Blacklist/Whitelist monsters by species (#48203)
John-Candlebury Mar 25, 2021
989f728
[Magiclysm] bundles (#48118)
OromisElf Mar 25, 2021
69b8029
cap pain gain from hauling heavy furniture (#47586)
Jamuro-g Mar 25, 2021
2f8011c
Fix allows siphon action to transfer tank contents inside same vehicl…
Jamuro-g Mar 25, 2021
aff0ae6
Allow filtering debug messages by type (#47619)
Saicchi Mar 25, 2021
7c1efef
Give the sports drink positive enjoyment value (#47617)
Mar 25, 2021
f03e86e
fix color coding of container stat summary (#47409)
Jamuro-g Mar 25, 2021
b587234
fixed power armor ui (#47475)
Jamuro-g Mar 25, 2021
c915c22
Add gun variants, allowing to specify multiple guns with the same sta…
anothersimulacrum Mar 25, 2021
5a9221d
Turbine CBM Obsoletion (#47774)
Mom-Bun Feb 27, 2021
20b73f1
NPC Interaction Tweak (#47819)
LordMadness Mar 25, 2021
1725ec3
Added warning when removing gunmods (#47816)
Jamuro-g Mar 1, 2021
6fedfc5
Added vehicle racking activity (#47557)
Jamuro-g Mar 25, 2021
382e0a6
Get bionic tools to use power as charges (#47694)
Ramza13 Mar 25, 2021
0350fd7
Migrate some activities to activity actor system (#47913)
Mar 25, 2021
f57f419
Moved Scourge and Lobotomizer to weapon category in inventory (#47893)
chrispikula Mar 25, 2021
d8cfd7e
Deluxe scrambled eggs from human meats (#47866)
adamkad1 Mar 25, 2021
732d67a
Improve naming of uilist single letter parameters (#47722)
Saicchi Mar 25, 2021
f3c1e8a
Adds effect_on_condition, allowing json scriptable events to happen a…
Ramza13 Mar 25, 2021
8993fdf
[Magiclysm] Add spellcraft skillbook (#47431)
Salty-Panda Mar 25, 2021
ab02e41
added golem core, summon golem spell and ways to find golem core (#47…
OromisElf Mar 25, 2021
d7e6d94
new druid spell: seed of growth (#47912)
OromisElf Mar 25, 2021
79ab76d
[Magiclysm] Overhaul and balance dragon items (#47499)
Salty-Panda Mar 25, 2021
a7e8faf
[Magiclysm] New spell: Jar of Force (#47952)
Light-Wave Mar 25, 2021
53a2cf0
Detect duplicate values in json definitions of sets (#48225)
jbytheway Mar 26, 2021
633a14b
Change weather to use effect_on_conditions (#48178)
Ramza13 Mar 27, 2021
3e9b8c4
Material volume fixes (#48194)
Dekker3D Mar 23, 2021
18ea051
Update description of LEAVES mutation line (#48215)
Saint-of-Grey Mar 28, 2021
9467233
monsters: Monsters on patrol (#48155)
mlangsdorf Mar 31, 2021
06ddc58
Make gym furniture constructible (#48271)
Zeropol Mar 31, 2021
90c5b6b
Add Red Concrete (#48242)
Maleclypse Mar 31, 2021
e35ba42
Fix typo
AMurkin Mar 31, 2021
3c21727
Filter items by book skill ( V, e, / ), fixes #47530 (#48275)
Zeropol Apr 1, 2021
fa1c884
Replace "two-by-four" with "plank" in user-facing strings (#47709)
Musteval Apr 1, 2021
4e75e35
Added warning to excessive long attack times (#47835)
Jamuro-g Apr 1, 2021
2265b68
meatballs (#48124)
pontim Apr 1, 2021
dd1efaa
Jsonify drug dealer map extra (#48327)
Night-Pryanik Apr 5, 2021
67da174
Allows defining enchantments inline in bionics/mutations (#48151)
Ramza13 Apr 6, 2021
892f52a
Unhardcode bio_drain bionic faults (#48295)
Ramza13 Apr 6, 2021
949ef78
Mutations + Bionics: The Cancelling (#47117)
Apr 6, 2021
dbdc236
Add Underground Pit Digging (#47943)
Shadestyle Apr 6, 2021
9e2c8bb
Misc typographical fixes (#48346)
casswedson Apr 7, 2021
3f3557c
[Magiclysm] Fix orc archer not spawning with ammo (#46780)
actual-nh Apr 7, 2021
bbd32a7
Reword student description (#48370)
Apr 4, 2021
f8fd52c
Add feral scientists and lab security (#47996)
souricelle Apr 7, 2021
de5c562
Split debug_menu function
jbytheway Mar 31, 2021
c003943
Split game::handle_action
jbytheway Apr 3, 2021
fdcb6e2
Refactor Character::hardcoded_effects
jbytheway Apr 3, 2021
b12e3f8
Split ammo_set_test function
jbytheway Apr 3, 2021
9d1e93b
Refactor iteminfo_test coverage and encumbrance
jbytheway Apr 3, 2021
74622d0
Fix compilation of magic.cpp (#48430)
jbytheway Apr 8, 2021
f1ea18a
Enable clang-tidy readability-function-size (#48407)
jbytheway Apr 9, 2021
052e9e2
Aftershock: Cold Suits (#48428)
John-Candlebury Apr 9, 2021
1257e51
Fix some dialog in refugee trees
slitherrr Apr 8, 2021
96597e4
Clarify Wood Saw's log-to-plank ability in its description (#48444)
MitztheKat Apr 9, 2021
d8b9274
[Dark Skies] Lore and JSON Cleanup, Blacklists Mutant Wildlife (#48448)
ephemeralstoryteller Apr 10, 2021
0ae3294
[Dark Skies] Adds ballistic armor to aliens (#48446)
ephemeralstoryteller Apr 10, 2021
8ec1361
Audit Pocket Length/Volume/Weight Clothing (#48420)
ANickelN Apr 10, 2021
f822826
Fix glass weights, lengths and volumes (#48449)
ANickelN Apr 10, 2021
b945ca6
Dark Skies Above: Surveillance drone scan and reinforcements (#48228)
mlangsdorf Apr 10, 2021
8917af9
simple makeshift glaive (#48386)
Brian-Otten Apr 10, 2021
c58511e
Mark string for translation
AMurkin Apr 10, 2021
512dc85
Enable clang-tidy check for noexcept move constructors (#48467)
jbytheway Apr 11, 2021
b42fcf0
Retractable security gates (#48336)
Maleclypse Apr 11, 2021
a4013e3
Fix missing harvest entry introduced in #48228
jbytheway Apr 11, 2021
32c1bed
Work around issues with STL move assignments (#48482)
jbytheway Apr 13, 2021
bdc6d72
Enable performance-inefficient-vector-operation (#48480)
jbytheway Apr 13, 2021
7267463
Simplify mapgen logic
jbytheway Aug 12, 2020
7c3295d
fix typo (#48505)
casswedson Apr 14, 2021
2a93265
Move HashCombine to clang-tidy-plugin/Utils.h
jbytheway Apr 13, 2021
d30b7b3
Add initial UnsequencedCallsCheck
jbytheway Apr 13, 2021
ff850ac
Exempt more things from unsequenced calls check
jbytheway Apr 13, 2021
f77ccff
Treat nested calls as sequenced
jbytheway Apr 14, 2021
288ec34
Treat logical operators as sequencing
jbytheway Apr 14, 2021
c41aa29
Better identification of effectively const methods
jbytheway Apr 14, 2021
d00c16c
Provide class name in UnsequencedCallsCheck
jbytheway Apr 14, 2021
b120ed5
Know that list initialization is sequenced
jbytheway Apr 14, 2021
dbfbb77
Fix warnings discovered by UnsequencesCallsCheck
jbytheway Apr 14, 2021
5a9d486
Add new try_parse_integer API
jbytheway Apr 5, 2021
f0cea94
Port string_input_popup to try_parse_integer
jbytheway Apr 5, 2021
fcd501c
Improve cata-no-long check
jbytheway Apr 5, 2021
6e68cc7
Stop using atoi in safemode_ui
jbytheway Apr 5, 2021
dbe5455
Stop using atoi in output.cpp
jbytheway Apr 6, 2021
ac0d8f9
Stop using atoi in debug_menu.cpp
jbytheway Apr 6, 2021
b6da7c6
Stop using sscanf in ranged.cpp
jbytheway Apr 6, 2021
e04f291
Stop using atoi in options.cpp
jbytheway Apr 6, 2021
e136bac
Stop using sscanf in iexamine.cpp
jbytheway Apr 6, 2021
fe09612
Stop using atoi in iuse.cpp
jbytheway Apr 6, 2021
10283db
Stop using sscanf in item_factory.cpp
jbytheway Apr 6, 2021
db8a322
Stop using atoi/atof in item.cpp
jbytheway Apr 6, 2021
742b750
Disable some tests on Apple platforms
jbytheway Apr 10, 2021
55c8318
Enable cert-err34-c
jbytheway Sep 13, 2020
c511a73
Work around Mac OS parsing issues
jbytheway Apr 15, 2021
32ae9b7
Enable clang-tidy cert-msc{30,32,50,51}-cpp
jbytheway Apr 16, 2021
544ee9c
Enable performance-implicit-conversion-in-loop
jbytheway Apr 16, 2021
e2c15eb
Add cold resistance gear to escape pod
John-Candlebury Apr 15, 2021
52f6f98
Move Mingw CI build to GitHub actions (#48572)
jbytheway Apr 19, 2021
d6561b3
Enable ClangBuildAnalyzer on PRs to 0.F-dev (#48586)
BrettDong Apr 20, 2021
d13331b
More robust sunburn tests; better burn feedback. (#48527)
jbytheway Apr 20, 2021
a5dcf48
Enable clang-tidy check bugprone-unused-return-value (#48546)
jbytheway Apr 20, 2021
d5088f0
[DinoMod] Dinosaur Jr. bugfix (#48585)
LyleSY Apr 20, 2021
b72a9ac
CRT filenames, fixes and Lore Background (#48506)
Maleclypse Apr 20, 2021
b98c05a
[Aftershock] Greeting Card snippets (#48209)
Maleclypse Apr 20, 2021
ae4b7cb
Unhardcode bio recycler, add hunger enchantment (#47637)
Ramza13 Apr 20, 2021
cb594cb
Improve UnsequencedCallsCheck
jbytheway Apr 17, 2021
de43106
Fix inefficient string concatenations
jbytheway Apr 18, 2021
d97efba
Enable performance-inefficient-string-concatenation
jbytheway Apr 16, 2021
1861443
Enable clang-tidy check cert-flp30-c
jbytheway Apr 20, 2021
7fa0f4c
Improve error message for JSON files with a BOM (#48595)
jbytheway Apr 21, 2021
a06437a
Improve tripoint formatting in debug messages (#48611)
jbytheway Apr 23, 2021
b130269
Improve messages for some JSON errors
jbytheway Apr 21, 2021
de8b73d
Omit tests that are failing on Mingw (#48622)
jbytheway Apr 23, 2021
0848413
Triage clang-tidy readability-braces-around-statements (#48653)
jbytheway Apr 27, 2021
7b91ec8
Correct description of epidemiologist in newspaper (#48684)
actual-nh Apr 29, 2021
74e3d1d
Enable performance-type-promotion-in-math-fn
jbytheway Apr 30, 2021
e4b494b
Remove unused global statics
jbytheway Apr 30, 2021
d84f2a7
Check for unused static variables
jbytheway Apr 30, 2021
523b577
Enable clang-tidy readability-isolate-declaration (#48629)
jbytheway May 3, 2021
c7577ae
New clang-tidy check for static int_ids (#48688)
jbytheway May 3, 2021
1f2efab
Fix StringMaker ODR violations in tests
jbytheway Apr 28, 2021
eb1930c
Fix json formatter build and string extraction script
Qrox May 5, 2021
870bd62
clang-tidy modernize-use-emplace (#48661)
jbytheway May 14, 2021
fa293c3
Add a few epitaphs (#48752)
Zeropol May 28, 2021
d46f89e
[MSC] Make sugar comestible to sugarkin (#48967)
Fris0uman May 28, 2021
1d3948b
Remove "burst" from the code for good (#48856)
Fris0uman May 28, 2021
ddcdce5
Add Eye colors cosmetic traits (#48726)
Fris0uman May 28, 2021
ad41bed
Jsonize fungalization (#48479)
Fris0uman May 28, 2021
657098c
Bases for the first four Hub01 basement npcs (#48719)
John-Candlebury May 28, 2021
839921a
Aftershock: Basic Exoplanet Region (#48206)
John-Candlebury May 28, 2021
5fe37f9
Adding lard to hallula recipe (#48728)
ToxiClay May 28, 2021
abe7553
Redesigning Arthropods Part 3: Wasps! (#47960)
Venera3 May 28, 2021
8f4196c
Replace comma with semicolon (#48869)
ToxiClay May 14, 2021
4021d19
Fix found->find typo (#48624)
ccaviness Apr 23, 2021
55b8caa
adding steel knuckles (#48535)
FayFlightee May 28, 2021
77b117d
Update wood.json (#48515)
Nbane522 May 28, 2021
3b6f246
Fix woods soup being treated as a meat material when eggs were used (…
JustCaptcha Apr 12, 2021
b925bee
Placing specials around cities now scales with city size (#48628)
stubkan May 28, 2021
990584c
[Magiclysm] Forge Floor and Wall improvements (#48234)
Maleclypse May 28, 2021
d3b3d47
Faux Fur survivor gear and recipes (#47424)
Maleclypse May 28, 2021
99b50c8
Avgas fuel pump (#48458)
Night-Pryanik May 28, 2021
d34cd01
New "Bordered" scenario (#48514)
Night-Pryanik May 28, 2021
e3d9f29
Add proper wasp nests (#48161)
Venera3 May 28, 2021
c64a1c7
[Magiclysm] Fix ring stacking by adding ONE_PER_LAYER flag (#47518)
KorGgenT May 28, 2021
1e88cc5
Addition of Gravel Material and according recipes, stone fixes (#49043)
SenpaiSlime May 28, 2021
7bc2f45
added mechanical winch and metal gate to construction menu (#47919)
OromisElf May 28, 2021
a6b6c7a
Update soy milk and almond milk to fix carnivores having no problems …
RelMayers May 28, 2021
53ecbb6
Lint Aftershock json file (#49062)
jbytheway May 29, 2021
b9e1e6f
Remove unused static variables
jbytheway May 29, 2021
98079be
Add missing header
jbytheway May 29, 2021
943fa1b
Suppress a clang-tidy warning
jbytheway May 29, 2021
5360af5
GitHub CI: ignore upload failure after build fails
jbytheway May 29, 2021
c96fec8
Port clang-tidy-plugin to LLVM 12
jbytheway May 2, 2021
8c22fa1
Update build script and workflow for LLVM 12
jbytheway May 2, 2021
5317eb2
Disable new warnings from LLVM 12
jbytheway May 3, 2021
55b240e
Add version sanity check to module
jbytheway May 4, 2021
5d060eb
Update DEVELOPER_TOOLING for LLVM 12
jbytheway May 4, 2021
a6130b7
Update clang-tidy plugin docs for Windows
Qrox May 5, 2021
1323254
Bump CTPS version to llvm-12.0.0-r3
jbytheway May 18, 2021
002e297
Update clang-tidy-scripts.patch link
jbytheway May 18, 2021
10eb53b
Minor grammar/style fixes
jbytheway May 18, 2021
1fe76c5
Capitalize LLVM consistently
jbytheway May 20, 2021
85b915b
Add iexamine actors, replace cardreader actor
anothersimulacrum Dec 11, 2020
c6545a1
Revert #48802 and #49000
ZhilkinSerg May 31, 2021
e06dcec
Extract mutation.transform and mutation.triggers for translation
Aloxaf May 30, 2021
6399558
[AFS] Update Schwarz Walder Description (#49099)
Maleclypse May 31, 2021
e52dd9c
Mark constructor explicit (#49131)
jbytheway Jun 1, 2021
6c41ff3
Clang tidy cata combine locals into point (#49130)
jbytheway Jun 1, 2021
f7867c5
Introduce Total Conversion mod category
jbytheway May 30, 2021
c803b91
get_all_mods can return multiple sets of mods
jbytheway May 31, 2021
e630dc2
Fixed spelling of sterilizing
Jun 1, 2021
3a87d50
Typographical/clarity changes
ToxiClay May 9, 2021
af0219e
Split military outposts and bunkers (#48697)
krulunio Jun 2, 2021
44ba80f
Provide documentation and support for llama builds (#49161)
jbytheway Jun 4, 2021
8e43acf
Content: Flight suit and helmet (#49246)
BrettDong Jun 12, 2021
fc5eddf
[DinoMod] Implements rideable zombie T Rex via missions (#45273)
LyleSY Jun 14, 2021
c44b085
Add wattle fences (#49156)
Delta5861 Jun 14, 2021
c8f13cf
Add some extra descs for leg clothing (#49218)
faefux Jun 14, 2021
ff8dfd2
Add mansion basecamp (#49241)
krulunio Jun 18, 2021
f286bc3
Revert "Add mansion basecamp (#49241)" (#49356)
anothersimulacrum Jun 18, 2021
f8fd64b
Revert "Revert "Add mansion basecamp (#49241)" (#49356)"
anothersimulacrum Jun 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 53 additions & 16 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@
# this codebase and we do not intend to fix. The disabled checks appearing
# thereafter in a separate alphabetical list have yet to be triaged. We may
# fix their errors or recategorise them as checks we don't care about.
#
# Comments on the checks we have decided are not worthwhile:
#
# * cert-dcl21-cpp (postfix operator++ and operator-- should return const objects)
# This is an unconventional code style, and conflicts with
# readability-const-return-type.
#
# * cert-env33-c (calls to system, popen)
# Unlikely to catch bugs, and using system is convenient for portability.
#
# * cert-err58-cpp (exceptions from static variable declarations)
# We have lots of memory allocations in static variable declarations, and
# that's fine.
#
# * modernize-use-auto
# We prefer an almost-always-avoid-auto style.
#
# * modernize-use-trailing-return-type
# An arbitrary style convention we haven't adopted.
#
# * readability-braces-around-statements
# Covered by astyle and buggy in clang-tidy 8. Can enable once we have a newer
# clang-tidy.

Checks: "\
bugprone-*,\
cata-*,\
Expand All @@ -21,34 +45,47 @@ modernize-*,\
-modernize-use-trailing-return-type,\
performance-*,\
readability-*,\
-readability-braces-around-statements,\
-bugprone-branch-clone,\
-bugprone-infinite-loop,\
-bugprone-misplaced-widening-cast,\
-bugprone-narrowing-conversions,\
-bugprone-unused-return-value,\
-cert-err34-c,\
-cert-flp30-c,\
-cert-msc30-c,\
-cert-msc32-c,\
-cert-msc50-cpp,\
-cert-msc51-cpp,\
-bugprone-redundant-branch-condition,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-unhandled-self-assignment,\
-cert-dcl37-c,\
-cert-dcl51-cpp,\
-cert-oop54-cpp,\
-cert-str34-c,\
-clang-analyzer-core.CallAndMessage,\
-clang-analyzer-deadcode.DeadStores,\
-misc-misplaced-const,\
-misc-no-recursion,\
-misc-non-private-member-variables-in-classes,\
-misc-redundant-expression,\
-modernize-avoid-bind,\
-modernize-avoid-c-arrays,\
-modernize-loop-convert,\
-modernize-pass-by-value,\
-modernize-return-braced-init-list,\
-modernize-use-default-member-init,\
-modernize-use-emplace,\
-performance-inefficient-vector-operation,\
-performance-noexcept-move-constructor,\
-performance-implicit-conversion-in-loop,\
-performance-inefficient-string-concatenation,\
-performance-type-promotion-in-math-fn,\
-modernize-use-override,\
-performance-no-automatic-move,\
-performance-trivially-destructible,\
-performance-unnecessary-value-param,\
-readability-braces-around-statements,\
-readability-avoid-const-params-in-decls,\
-readability-convert-member-functions-to-static,\
-readability-else-after-return,\
-readability-function-size,\
-readability-function-cognitive-complexity,\
-readability-implicit-bool-conversion,\
-readability-isolate-declaration,\
-readability-magic-numbers,\
-readability-make-member-function-const,\
-readability-named-parameter,\
-readability-qualified-auto,\
-readability-redundant-access-specifiers,\
-readability-use-anyofallof,\
"
WarningsAsErrors: '*'
HeaderFilterRegex: '(src|test|tools).*'
Expand Down
20 changes: 18 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@

**Opening a new issue?** Please read [ISSUES.md](../ISSUES.md) first.

Contributing to Cataclysm: Dark Days Ahead is easy — simply fork the repository here on GitHub, make your changes, and then send us a pull request.
**Want an introductory guide for creating game content?** You might want to
read the [Guide to adding new content to CDDA for first time
contributors](https://github.com/CleverRaven/Cataclysm-DDA/wiki/Guide-to-adding-new-content-to-CDDA-for-first-time-contributors)
on the CDDA wiki.

Cataclysm:Dark Days Ahead is released under the Creative Commons Attribution ShareAlike 3.0 license. The code and content of the game is free to use, modify, and redistribute for any purpose whatsoever. See http://creativecommons.org/licenses/by-sa/3.0/ for details.
This means any contribution you make to the project will also be covered by the same license, and this license is irrevocable.

## Guidelines
## Using a good text editor

Most of the Cataclysm: Dark Days Ahead game data is defined in JSON files.
These files are intended to be easy for you to edit, but there are some
pitfalls. Using Windows Notepad can get you into trouble, because it likes to
insert a special character called a BOM at the start of the file, which CDDA
does not want.

If you're going to be editing JSON files consider getting a more fully-featured
editor such as [Notepad++](https://notepad-plus-plus.org/).

## Contributing to GitHub

Contributing to Cataclysm: Dark Days Ahead is easy — simply fork the repository here on GitHub, make your changes, and then send us a pull request.

There are a couple of guidelines we suggest sticking to:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/CBA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
Expand All @@ -16,6 +17,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Clang-tidy (clang-8, tiles)
name: Clang-tidy (clang-12, tiles)

on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
Expand All @@ -15,6 +16,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
Expand All @@ -26,11 +28,11 @@ on:

jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
env:
CMAKE: 1
CLANG: clang++-8
COMPILER: clang++-8
CLANG: clang++-12
COMPILER: clang++-12
CATA_CLANG_TIDY: plugin
TILES: 1
SOUND: 1
Expand All @@ -41,9 +43,10 @@ jobs:
fetch-depth: 1
- name: install dependencies
run: |
#sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
sudo apt-get update
sudo apt-get install libncursesw5-dev clang-8 libclang-8-dev llvm-8-dev llvm-8-tools \
sudo apt-get install libncursesw5-dev clang-12 libclang-12-dev llvm-12-dev llvm-12-tools \
libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev libpulse-dev ccache \
gettext
- name: prepare
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cmake-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**/CMakeLists.txt'
- '**.cmake'
- '**.cmake.in'
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**/CMakeLists.txt'
- '**.cmake'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.py'
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.py'

Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- 0.F-dev
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
Expand All @@ -18,6 +19,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
Expand Down Expand Up @@ -71,16 +73,27 @@ jobs:
tiles: 1
native: osx
title: Clang 12, macOS 10.15, Tiles
- compiler: g++
os: ubuntu-latest
cmake: 0
tiles: 1
title: GCC, Ubuntu cross-compile to MinGW-Win64, Tiles
ldflags: -static-libgcc -static-libstdc++
mxe_target: i686-w64-mingw32.static
wine: wine
name: ${{ matrix.title }}
runs-on: ${{ matrix.os }}
env:
CMAKE: ${{ matrix.cmake }}
COMPILER: ${{ matrix.compiler }}
MXE_TARGET: ${{ matrix.mxe_target }}
WINE: ${{ matrix.wine }}
OS: ${{ matrix.os }}
TILES: ${{ matrix.tiles }}
SOUND: ${{ matrix.tiles }}
SANITIZE: ${{ matrix.sanitize }}
TEST_STAGE: ${{ matrix.test-stage }}
LDFLAGS: ${{ matrix.ldflags }}
EXTRA_TEST_OPTS: --error-format=github-action
NATIVE: ${{ matrix.native }}
GOLD: ${{ matrix.gold }}
Expand Down Expand Up @@ -132,8 +145,9 @@ jobs:
- name: build and test
run: bash ./build-scripts/build.sh
- name: upload artifacts if failed
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
if: failure()
with:
name: cata_test
path: tests/cata_test
if-no-files-found: ignore
1 change: 1 addition & 0 deletions .github/workflows/pr-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
types: [opened, edited, synchronize]
jobs:
validate:
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ os: linux
branches:
only:
- master
- development
- 0.F-dev

# Overall strategy for what sorts of builds to include:
# We want a build for each compiler and each platform.
Expand Down Expand Up @@ -99,7 +99,8 @@ jobs:
- stage: "Platforms and Tidy"
# MXE variant using alternate repository http://mirror.mxe.cc/repos/apt
env: COMPILER=g++ LDFLAGS="-static-libgcc -static-libstdc++" MXE_TARGET="i686-w64-mingw32.static" WINE="wine" TILES=1 SOUND=1
name: "Mingw-w64 Make cross-compile to Windows with Tiles and Sound"
name: "MinGW-Win64 Make cross-compile to Windows with Tiles and Sound"
if: type != pull_request
compiler: gcc
addons: &gcc
apt:
Expand Down
22 changes: 13 additions & 9 deletions build-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ then
cmake_extra_opts+=("-DCATA_CLANG_TIDY_PLUGIN=ON")
# Need to specify the particular LLVM / Clang versions to use, lest it
# use the llvm-7 that comes by default on the Travis Xenial image.
cmake_extra_opts+=("-DLLVM_DIR=/usr/lib/llvm-8/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-8/lib/cmake/clang")
cmake_extra_opts+=("-DLLVM_DIR=/usr/lib/llvm-12/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-12/lib/cmake/clang")
fi

if [ "$COMPILER" = "clang++-8" -a -n "$GITHUB_WORKFLOW" -a -n "$CATA_CLANG_TIDY" ]
if [ "$COMPILER" = "clang++-12" -a -n "$GITHUB_WORKFLOW" -a -n "$CATA_CLANG_TIDY" ]
then
# This is a hacky workaround for the fact that the custom clang-tidy we are
# using is built for Travis CI, so it's not using the correct include directories
# for GitHub workflows.
cmake_extra_opts+=("-DCMAKE_CXX_FLAGS=-isystem /usr/include/clang/8.0.0/include")
cmake_extra_opts+=("-DCMAKE_CXX_FLAGS=-isystem /usr/include/clang/12.0.0/include")
fi

mkdir build
Expand Down Expand Up @@ -195,11 +195,15 @@ else

if [ -n "$TEST_STAGE" ]
then
# Run the tests one more time, without actually running any tests, just to verify that all
# the mod data can be successfully loaded

mods="$(./build-scripts/get_all_mods.py)"
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
# Run the tests with all the mods, without actually running any tests,
# just to verify that all the mod data can be successfully loaded.
# Because some mods might be mutually incompatible we might need to run a few times.

./build-scripts/get_all_mods.py | \
while read mods
do
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
done
fi
fi
ccache --show-stats
Expand Down
Loading