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

draw the overmap with SDL using sprites #43203

Closed
wants to merge 273 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
be319ae
Crackers as bread and jam&cheese sandwich (#47649)
Maleclypse Feb 24, 2021
172006f
[Aftershock] misc typograpical fixes (#47783)
casswedson Feb 28, 2021
1494e42
Tweaks for teas (#47848)
Lamandus Mar 3, 2021
6858e92
Have travis run for 0.F-dev (#47844)
actual-nh Mar 3, 2021
0f4314d
Tweakes to copper and metal pipes. (#47825)
Lamandus Mar 3, 2021
b49a365
Fried eggs deluxe, sandwiches, and condiment list (#47786)
Maleclypse Mar 3, 2021
534830c
Homemade toastems, buttercream frosting and recipes (#47696)
Maleclypse Mar 3, 2021
771a300
[My Sweet Cataclysm] Chocolate Cows don't drop "cow pies" (#47609)
Feb 19, 2021
3b50bfd
Remove unused FATIGUE energy source from spells (#47852)
Mar 3, 2021
2da35cf
[Magiclysm] add owlbear origin snippet (#47752)
KorGgenT Mar 3, 2021
a4ee6c3
[Magiclysm] add lesser banishment spell, buff greater banishment (#47…
KorGgenT Mar 3, 2021
ba434c9
Unhardcode bio_heatsink and bio_climate (#47713)
Ramza13 Feb 23, 2021
89c20e0
Hunting lodge Location (#44378)
Maleclypse Mar 4, 2021
4ab8515
fungal evolution (#47247)
LyleSY Mar 4, 2021
bf93e3c
Add book strap carrier (#47665)
FuelType-Memes Mar 4, 2021
78007a0
Partial mine jsonify; new zombie miner (#47790)
Night-Pryanik Mar 4, 2021
2cd64ff
Add 0.F-dev to matrix.yml (#47875)
actual-nh Mar 4, 2021
b1d3d9d
0.F-dev workflows (#47875)
actual-nh Mar 5, 2021
d9dad38
Alter brown bread recipe to match canned version (#47915)
actual-nh Mar 6, 2021
2d2a31a
Mine entrance expand (#47928)
Night-Pryanik Mar 8, 2021
119ee27
[DinoMod] Mushroom Madness (#47907)
LyleSY Mar 8, 2021
7a5aba9
misc typograpical fixes (#47953)
casswedson Mar 9, 2021
e714799
body pillow recipe makes makeshift body pillow now (#47917)
OromisElf Mar 9, 2021
cac4ab2
Traffic Bollards and an example of deployment (#48017)
Maleclypse Mar 14, 2021
38a9eba
add description for Uyen's missions (#48026)
akirashirosawa Mar 14, 2021
1e6fae9
JSONize some trap features, replace trap int_id externs with string_i…
anothersimulacrum Mar 14, 2021
7b38d20
Clean up character mutation gain a bit (#47821)
anothersimulacrum Mar 2, 2021
5ed4f91
Allow CBMs to specify mutations that prevent installation. (#47822)
anothersimulacrum Mar 14, 2021
2d2b0b7
Spiral mine jsonify (#48003)
Night-Pryanik Mar 14, 2021
3f3225f
prevent bell spam (#47987)
Jamuro-g Mar 14, 2021
d9b695b
Note that vat is required for fermentation in vinegar brewing (#47651)
nornagon Feb 21, 2021
0171816
Unhardcode ease of sleep (#48010)
Ramza13 Mar 13, 2021
84708e6
Flag Fix for Bollards for 0.F Dev (#48052)
Maleclypse Mar 16, 2021
33e885d
Add Faction Endings to Hub 01 (#48007)
Mar 16, 2021
862b925
Merge most effect flags and character flags (#47633)
Ramza13 Mar 16, 2021
ff264b3
added electric train engine (#48012)
OromisElf Mar 16, 2021
a614813
Allow filtering by level in the recipe craft menu (#47995)
Saicchi Mar 12, 2021
c53e24d
Fix MSC Typo (#48115)
TheShadowFerret Mar 18, 2021
d9587c3
A livelier Zoo (#48108)
Termineitor244 Mar 18, 2021
e140c9b
Increased the probability of condoms in wallets (#48100)
Termineitor244 Mar 17, 2021
a2e4c4a
[Magiclysm] Less HP consumed at higher levels of Sacrificial Healing …
Termineitor244 Mar 17, 2021
8058b5e
Ki strike scroll (#47962)
Maleclypse Mar 18, 2021
9dd8c9f
Zombie Pig upgrades (#47860)
Maleclypse Mar 18, 2021
2486081
Unhardcode default Scenario/Profession & Make random starts respect S…
John-Candlebury Mar 18, 2021
33603d0
Show in vpart info when a wheel needs other wheels (#48088)
anothersimulacrum Mar 16, 2021
da49254
Electrical train (#48033)
OromisElf Mar 18, 2021
8baf125
Feral Human Damage/Description Tweak (#48032)
souricelle Mar 18, 2021
7e4213f
updated talk_tags to contain more swears (#47215)
OromisElf Mar 18, 2021
804aae0
Better debug learn spell menu (#47946)
Saicchi Mar 18, 2021
b5155b6
Add MRE chocolate to the game (#47935)
Mar 18, 2021
c9f6f79
Update 40x46mm.json (#47859)
MichaelMacha Mar 18, 2021
113f6c4
Tweaks for crowbar and makeshift crowbar (#47827)
Lamandus Mar 18, 2021
75c3ef9
Add a new anger/fear trigger (#47792)
Venera3 Mar 18, 2021
2cfc2fd
Add more nutrition debug (#47716)
RadHazard Mar 18, 2021
3227de4
Update Aftershock README.md (#48123)
Maleclypse Mar 19, 2021
2aa7a94
fix a typo (#48131)
tsulh Mar 21, 2021
1221a45
Remove recycler and associated infrastructure (#48096)
kevingranade Mar 17, 2021
e32c82f
[Dark Skies Above] Plague Emissary Fix, Harvest Tweak (#48150)
ephemeralstoryteller Mar 21, 2021
3773789
mapgen: allow placing active bomb items for better craters in Dark Sk…
mlangsdorf Mar 21, 2021
bf8a9d3
food_containers get colored with their foods colortag (#47426)
Jamuro-g Mar 21, 2021
b6be37b
Dark Skies Above: spellcheck the descriptions (#48164)
mlangsdorf Mar 21, 2021
bb06ccf
Valentine Card Spawn (#48210)
Maleclypse Mar 25, 2021
91217cb
Blacklist/Whitelist monsters by species (#48203)
John-Candlebury Mar 25, 2021
9e85ff5
[Magiclysm] bundles (#48118)
OromisElf Mar 25, 2021
bd89116
cap pain gain from hauling heavy furniture (#47586)
Jamuro-g Mar 25, 2021
3ada1fb
Fix allows siphon action to transfer tank contents inside same vehicl…
Jamuro-g Mar 25, 2021
2427d7e
Allow filtering debug messages by type (#47619)
Saicchi Mar 25, 2021
f65f3c6
Give the sports drink positive enjoyment value (#47617)
Mar 25, 2021
512dbbe
fix color coding of container stat summary (#47409)
Jamuro-g Mar 25, 2021
f6509a5
fixed power armor ui (#47475)
Jamuro-g Mar 25, 2021
f602398
Add gun variants, allowing to specify multiple guns with the same sta…
anothersimulacrum Mar 25, 2021
d3b8f02
Turbine CBM Obsoletion (#47774)
Mom-Bun Feb 27, 2021
ca9e8ca
NPC Interaction Tweak (#47819)
LordMadness Mar 25, 2021
eae62f1
Added warning when removing gunmods (#47816)
Jamuro-g Mar 1, 2021
f163a9a
Added vehicle racking activity (#47557)
Jamuro-g Mar 25, 2021
e53bcc3
Get bionic tools to use power as charges (#47694)
Ramza13 Mar 25, 2021
92c54af
Migrate some activities to activity actor system (#47913)
Mar 25, 2021
b4013aa
Moved Scourge and Lobotomizer to weapon category in inventory (#47893)
chrispikula Mar 25, 2021
6a52abc
Deluxe scrambled eggs from human meats (#47866)
adamkad1 Mar 25, 2021
fef4e2b
Improve naming of uilist single letter parameters (#47722)
Saicchi Mar 25, 2021
594a482
Adds effect_on_condition, allowing json scriptable events to happen a…
Ramza13 Mar 25, 2021
e3460ae
[Magiclysm] Add spellcraft skillbook (#47431)
Salty-Panda Mar 25, 2021
12d7ee7
added golem core, summon golem spell and ways to find golem core (#47…
OromisElf Mar 25, 2021
a9c7d5c
new druid spell: seed of growth (#47912)
OromisElf Mar 25, 2021
aee767c
[Magiclysm] Overhaul and balance dragon items (#47499)
Salty-Panda Mar 25, 2021
a8c09ae
[Magiclysm] New spell: Jar of Force (#47952)
Light-Wave Mar 25, 2021
b3fbe69
Detect duplicate values in json definitions of sets (#48225)
jbytheway Mar 26, 2021
796cc5d
Change weather to use effect_on_conditions (#48178)
Ramza13 Mar 27, 2021
1bbecd7
Material volume fixes (#48194)
Dekker3D Mar 23, 2021
d532f9e
Update description of LEAVES mutation line (#48215)
Saint-of-Grey Mar 28, 2021
a819aef
monsters: Monsters on patrol (#48155)
mlangsdorf Mar 31, 2021
db041ba
Make gym furniture constructible (#48271)
Zeropol Mar 31, 2021
9ad305b
Add Red Concrete (#48242)
Maleclypse Mar 31, 2021
7827850
Fix typo
AMurkin Mar 31, 2021
b3e31b4
Filter items by book skill ( V, e, / ), fixes #47530 (#48275)
Zeropol Apr 1, 2021
f22a955
Replace "two-by-four" with "plank" in user-facing strings (#47709)
Musteval Apr 1, 2021
77dceda
Added warning to excessive long attack times (#47835)
Jamuro-g Apr 1, 2021
24bf070
meatballs (#48124)
pontim Apr 1, 2021
c99e814
Jsonify drug dealer map extra (#48327)
Night-Pryanik Apr 5, 2021
3c278af
Allows defining enchantments inline in bionics/mutations (#48151)
Ramza13 Apr 6, 2021
71a9317
Unhardcode bio_drain bionic faults (#48295)
Ramza13 Apr 6, 2021
c3ea468
Mutations + Bionics: The Cancelling (#47117)
Apr 6, 2021
5636035
Add Underground Pit Digging (#47943)
Shadestyle Apr 6, 2021
4c98e28
Misc typographical fixes (#48346)
casswedson Apr 7, 2021
f8144e9
[Magiclysm] Fix orc archer not spawning with ammo (#46780)
actual-nh Apr 7, 2021
b1af739
Reword student description (#48370)
Apr 4, 2021
65106b8
Add feral scientists and lab security (#47996)
souricelle Apr 7, 2021
887a83a
Split debug_menu function
jbytheway Mar 31, 2021
2775513
Split game::handle_action
jbytheway Apr 3, 2021
dcb662e
Refactor Character::hardcoded_effects
jbytheway Apr 3, 2021
a63287e
Split ammo_set_test function
jbytheway Apr 3, 2021
678e625
Refactor iteminfo_test coverage and encumbrance
jbytheway Apr 3, 2021
5567bce
Fix compilation of magic.cpp (#48430)
jbytheway Apr 8, 2021
b3c4967
Enable clang-tidy readability-function-size (#48407)
jbytheway Apr 9, 2021
74eb6ae
Aftershock: Cold Suits (#48428)
John-Candlebury Apr 9, 2021
d763ad3
Fix some dialog in refugee trees
slitherrr Apr 8, 2021
15b19f4
Clarify Wood Saw's log-to-plank ability in its description (#48444)
MitztheKat Apr 9, 2021
afe9298
[Dark Skies] Lore and JSON Cleanup, Blacklists Mutant Wildlife (#48448)
ephemeralstoryteller Apr 10, 2021
ac0642d
[Dark Skies] Adds ballistic armor to aliens (#48446)
ephemeralstoryteller Apr 10, 2021
64e6e1a
Audit Pocket Length/Volume/Weight Clothing (#48420)
ANickelN Apr 10, 2021
7016c8c
Fix glass weights, lengths and volumes (#48449)
ANickelN Apr 10, 2021
9f3f706
Dark Skies Above: Surveillance drone scan and reinforcements (#48228)
mlangsdorf Apr 10, 2021
593dad4
simple makeshift glaive (#48386)
Brian-Otten Apr 10, 2021
5bd0cfa
Mark string for translation
AMurkin Apr 10, 2021
f1a26e7
Enable clang-tidy check for noexcept move constructors (#48467)
jbytheway Apr 11, 2021
5cb71ed
Retractable security gates (#48336)
Maleclypse Apr 11, 2021
18b208b
Fix missing harvest entry introduced in #48228
jbytheway Apr 11, 2021
cea2a30
Work around issues with STL move assignments (#48482)
jbytheway Apr 13, 2021
4c8a6f7
Enable performance-inefficient-vector-operation (#48480)
jbytheway Apr 13, 2021
225c9ac
Simplify mapgen logic
jbytheway Aug 12, 2020
0b09580
fix typo (#48505)
casswedson Apr 14, 2021
f57944c
Move HashCombine to clang-tidy-plugin/Utils.h
jbytheway Apr 13, 2021
e938f65
Add initial UnsequencedCallsCheck
jbytheway Apr 13, 2021
d8cc732
Exempt more things from unsequenced calls check
jbytheway Apr 13, 2021
eaa137a
Treat nested calls as sequenced
jbytheway Apr 14, 2021
663d1fd
Treat logical operators as sequencing
jbytheway Apr 14, 2021
83b835b
Better identification of effectively const methods
jbytheway Apr 14, 2021
39b48f1
Provide class name in UnsequencedCallsCheck
jbytheway Apr 14, 2021
bb58a62
Know that list initialization is sequenced
jbytheway Apr 14, 2021
705aa09
Fix warnings discovered by UnsequencesCallsCheck
jbytheway Apr 14, 2021
d3e32d5
Add new try_parse_integer API
jbytheway Apr 5, 2021
cbb9998
Port string_input_popup to try_parse_integer
jbytheway Apr 5, 2021
6e0da27
Improve cata-no-long check
jbytheway Apr 5, 2021
4d1f37b
Stop using atoi in safemode_ui
jbytheway Apr 5, 2021
1201ce4
Stop using atoi in output.cpp
jbytheway Apr 6, 2021
c450117
Stop using atoi in debug_menu.cpp
jbytheway Apr 6, 2021
ad0dfbf
Stop using sscanf in ranged.cpp
jbytheway Apr 6, 2021
5208429
Stop using atoi in options.cpp
jbytheway Apr 6, 2021
a78f89b
Stop using sscanf in iexamine.cpp
jbytheway Apr 6, 2021
ba1d842
Stop using atoi in iuse.cpp
jbytheway Apr 6, 2021
3906c9c
Stop using sscanf in item_factory.cpp
jbytheway Apr 6, 2021
c23cef8
Stop using atoi/atof in item.cpp
jbytheway Apr 6, 2021
5a4cfe7
Disable some tests on Apple platforms
jbytheway Apr 10, 2021
b48364a
Enable cert-err34-c
jbytheway Sep 13, 2020
43a32bf
Work around Mac OS parsing issues
jbytheway Apr 15, 2021
a8750ae
Enable clang-tidy cert-msc{30,32,50,51}-cpp
jbytheway Apr 16, 2021
d5994d4
Enable performance-implicit-conversion-in-loop
jbytheway Apr 16, 2021
9d0e065
Add cold resistance gear to escape pod
John-Candlebury Apr 15, 2021
c321232
Move Mingw CI build to GitHub actions (#48572)
jbytheway Apr 19, 2021
f8409a3
Enable ClangBuildAnalyzer on PRs to 0.F-dev (#48586)
BrettDong Apr 20, 2021
764ea6a
More robust sunburn tests; better burn feedback. (#48527)
jbytheway Apr 20, 2021
26e7a13
Enable clang-tidy check bugprone-unused-return-value (#48546)
jbytheway Apr 20, 2021
6e44f68
[DinoMod] Dinosaur Jr. bugfix (#48585)
LyleSY Apr 20, 2021
d6f3197
CRT filenames, fixes and Lore Background (#48506)
Maleclypse Apr 20, 2021
a7f6e9d
[Aftershock] Greeting Card snippets (#48209)
Maleclypse Apr 20, 2021
7e1fc99
Unhardcode bio recycler, add hunger enchantment (#47637)
Ramza13 Apr 20, 2021
9a58ead
Improve UnsequencedCallsCheck
jbytheway Apr 17, 2021
9f53281
Fix inefficient string concatenations
jbytheway Apr 18, 2021
a718f4c
Enable performance-inefficient-string-concatenation
jbytheway Apr 16, 2021
0bd2b41
Enable clang-tidy check cert-flp30-c
jbytheway Apr 20, 2021
45e03a8
Improve error message for JSON files with a BOM (#48595)
jbytheway Apr 21, 2021
b0d598d
Improve tripoint formatting in debug messages (#48611)
jbytheway Apr 23, 2021
a3a59fd
Improve messages for some JSON errors
jbytheway Apr 21, 2021
bb95c53
Omit tests that are failing on Mingw (#48622)
jbytheway Apr 23, 2021
ae8d717
Triage clang-tidy readability-braces-around-statements (#48653)
jbytheway Apr 27, 2021
8a929ec
Correct description of epidemiologist in newspaper (#48684)
actual-nh Apr 29, 2021
8eada48
Enable performance-type-promotion-in-math-fn
jbytheway Apr 30, 2021
5932aed
Remove unused global statics
jbytheway Apr 30, 2021
78af7e7
Check for unused static variables
jbytheway Apr 30, 2021
c2fd031
Enable clang-tidy readability-isolate-declaration (#48629)
jbytheway May 3, 2021
618c951
New clang-tidy check for static int_ids (#48688)
jbytheway May 3, 2021
28a9e03
Fix StringMaker ODR violations in tests
jbytheway Apr 28, 2021
fc7dd71
Fix json formatter build and string extraction script
Qrox May 5, 2021
f1c3b37
clang-tidy modernize-use-emplace (#48661)
jbytheway May 14, 2021
9628ebc
Add a few epitaphs (#48752)
Zeropol May 28, 2021
72a4dda
[MSC] Make sugar comestible to sugarkin (#48967)
Fris0uman May 28, 2021
c334b73
Remove "burst" from the code for good (#48856)
Fris0uman May 28, 2021
ab0a2f0
Add Eye colors cosmetic traits (#48726)
Fris0uman May 28, 2021
c400e5a
Jsonize fungalization (#48479)
Fris0uman May 28, 2021
3feffdf
Bases for the first four Hub01 basement npcs (#48719)
John-Candlebury May 28, 2021
bc36921
Aftershock: Basic Exoplanet Region (#48206)
John-Candlebury May 28, 2021
5cfd541
Adding lard to hallula recipe (#48728)
ToxiClay May 28, 2021
a468e7a
Redesigning Arthropods Part 3: Wasps! (#47960)
Venera3 May 28, 2021
ba317eb
Replace comma with semicolon (#48869)
ToxiClay May 14, 2021
51db108
Fix found->find typo (#48624)
ccaviness Apr 23, 2021
86f886f
adding steel knuckles (#48535)
FayFlightee May 28, 2021
5dbecdd
Update wood.json (#48515)
Nbane522 May 28, 2021
0d1fe44
Fix woods soup being treated as a meat material when eggs were used (…
JustCaptcha Apr 12, 2021
7f3505d
Placing specials around cities now scales with city size (#48628)
stubkan May 28, 2021
295657d
[Magiclysm] Forge Floor and Wall improvements (#48234)
Maleclypse May 28, 2021
ac2349e
Faux Fur survivor gear and recipes (#47424)
Maleclypse May 28, 2021
98e9100
Avgas fuel pump (#48458)
Night-Pryanik May 28, 2021
ec666ed
New "Bordered" scenario (#48514)
Night-Pryanik May 28, 2021
2ec7d8c
Add proper wasp nests (#48161)
Venera3 May 28, 2021
4b4ba9d
[Magiclysm] Fix ring stacking by adding ONE_PER_LAYER flag (#47518)
KorGgenT May 28, 2021
4f6f658
Addition of Gravel Material and according recipes, stone fixes (#49043)
SenpaiSlime May 28, 2021
de800b4
added mechanical winch and metal gate to construction menu (#47919)
OromisElf May 28, 2021
e65a9b0
Update soy milk and almond milk to fix carnivores having no problems …
RelMayers May 28, 2021
fce00a7
Lint Aftershock json file (#49062)
jbytheway May 29, 2021
0205032
Remove unused static variables
jbytheway May 29, 2021
6de505c
Add missing header
jbytheway May 29, 2021
a3b8fbd
Suppress a clang-tidy warning
jbytheway May 29, 2021
5723e39
GitHub CI: ignore upload failure after build fails
jbytheway May 29, 2021
26957ca
Port clang-tidy-plugin to LLVM 12
jbytheway May 2, 2021
ca3fbe6
Update build script and workflow for LLVM 12
jbytheway May 2, 2021
068e71d
Disable new warnings from LLVM 12
jbytheway May 3, 2021
968a3fe
Add version sanity check to module
jbytheway May 4, 2021
8577d42
Update DEVELOPER_TOOLING for LLVM 12
jbytheway May 4, 2021
7f194a1
Update clang-tidy plugin docs for Windows
Qrox May 5, 2021
60466ee
Bump CTPS version to llvm-12.0.0-r3
jbytheway May 18, 2021
3c6edd3
Update clang-tidy-scripts.patch link
jbytheway May 18, 2021
71dbe83
Minor grammar/style fixes
jbytheway May 18, 2021
4bc7df2
Capitalize LLVM consistently
jbytheway May 20, 2021
57d7030
Add iexamine actors, replace cardreader actor
anothersimulacrum Dec 11, 2020
0d8340e
Revert #48802 and #49000
ZhilkinSerg May 31, 2021
fec7989
Extract mutation.transform and mutation.triggers for translation
Aloxaf May 30, 2021
3c75527
[AFS] Update Schwarz Walder Description (#49099)
Maleclypse May 31, 2021
83a7a41
Mark constructor explicit (#49131)
jbytheway Jun 1, 2021
a3814c1
Clang tidy cata combine locals into point (#49130)
jbytheway Jun 1, 2021
239fe00
Introduce Total Conversion mod category
jbytheway May 30, 2021
2c73529
get_all_mods can return multiple sets of mods
jbytheway May 31, 2021
8a351b2
Fixed spelling of sterilizing
Jun 1, 2021
c45da7b
Typographical/clarity changes
ToxiClay May 9, 2021
232a425
Split military outposts and bunkers (#48697)
krulunio Jun 2, 2021
2803abc
Provide documentation and support for llama builds (#49161)
jbytheway Jun 4, 2021
a68cd18
Content: Flight suit and helmet (#49246)
BrettDong Jun 12, 2021
dad6201
[DinoMod] Implements rideable zombie T Rex via missions (#45273)
LyleSY Jun 14, 2021
a272a53
Add wattle fences (#49156)
Delta5861 Jun 14, 2021
1afd770
Add some extra descs for leg clothing (#49218)
faefux Jun 14, 2021
3a998e3
Fix VS compile error with move constructor noexcept (#49347)
KorGgenT Jun 18, 2021
33a348c
Clear enchantment factory
anothersimulacrum Jun 18, 2021
f776757
Add python script to convert armor to use portions
anothersimulacrum Jun 18, 2021
3a2eb33
Check for invalid map_extras at validation time
jbytheway Jun 21, 2021
ed53dbd
Fix classic_zombies map_extras
jbytheway Jun 21, 2021
40ee04d
10mm adheres to GAME_BALANCE.md (#49380)
Jun 21, 2021
0ce9cae
Revert "Revert "Add mansion basecamp (#49241)" (#49356)"
ZhilkinSerg Jun 21, 2021
787ce29
Add fire lookout tower basecamp (#49247)
krulunio Jun 21, 2021
e9bab7d
Add radio tower basecamp (#49249)
krulunio Jun 21, 2021
c5e8aeb
Add pottery cottage basecamp (#49333)
krulunio Jun 21, 2021
1b1f7bb
draw the overmap with SDL using sprites
KorGgenT Aug 25, 2020
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