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

Nugget Doom post-3.2.0 + Woof! post-14.5.0 merge #7

Draft
wants to merge 396 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
8507a60
Cosmetic changes for menus (#1837)
ceski-1 Aug 14, 2024
5c4ef64
Center menu titles (#1839)
ceski-1 Aug 15, 2024
0880d6f
umapinfo: fix levelpic for fullscreen patches (#1841)
rfomin Aug 15, 2024
cfad4e9
simplify search in zip file directory
rfomin Aug 17, 2024
794af9d
cosmetic change
rfomin Aug 17, 2024
7a51a26
allow to set gamedescription (and thus the window title) with DEHACKE…
fabiangreffrath Aug 17, 2024
3ce7877
rename last resolution scale option "native"->"maximum", DRS tweak (#…
rfomin Aug 17, 2024
ff04dad
Merge branch 'woof-323674e' into upstream-merge
MrAlaux Aug 18, 2024
7acf418
rename "maximum"->"max"
rfomin Aug 18, 2024
8494781
Merge branch 'woof-6db18d5' into upstream-merge
MrAlaux Aug 18, 2024
7127d5b
Merge addendum
MrAlaux Aug 19, 2024
10b7152
Merge branch 'woof-fb48862' into upstream-merge
MrAlaux Aug 19, 2024
14b58f3
Merge addendum
MrAlaux Aug 19, 2024
2b80211
Merge branch 'woof-c7ad119' into upstream-merge
MrAlaux Aug 19, 2024
70d8c5c
Merge addendum
MrAlaux Aug 19, 2024
6c5cffe
Merge branch 'woof-7f50fbb' into upstream-merge
MrAlaux Aug 19, 2024
841813f
Merge addendum
MrAlaux Aug 19, 2024
b66df66
Merge branch 'woof-045b3a2' into upstream-merge
MrAlaux Aug 19, 2024
38eaf80
Merge addendum
MrAlaux Aug 19, 2024
4c1d0cc
Merge branch 'woof-e100d5c' into upstream-merge
MrAlaux Aug 19, 2024
3732faf
Merge addendum
MrAlaux Aug 19, 2024
5f37db7
Merge addendum 2
MrAlaux Aug 19, 2024
8545368
Merge branch 'woof-215c75a' into upstream-merge
MrAlaux Aug 19, 2024
44eb8e0
Merge addendum
MrAlaux Aug 19, 2024
1d5615e
Merge branch 'woof-51cb24d' into upstream-merge
MrAlaux Aug 19, 2024
7f67d4c
Merge addendum
MrAlaux Aug 19, 2024
2ac93c0
Merge branch 'woof-e81db0a' into upstream-merge
MrAlaux Aug 19, 2024
06f7749
Merge addendum
MrAlaux Aug 19, 2024
8bc73b7
Merge branch 'woof-6ff3979' into upstream-merge
MrAlaux Aug 19, 2024
0cd4e67
Merge addendum
MrAlaux Aug 19, 2024
8a8a47c
don't use SDL_RenderSetLogicalSize (#1847)
rfomin Aug 19, 2024
a41654b
fix building on Win7 (#1849)
rfomin Aug 19, 2024
e4d5ebf
Merge branch 'woof-49979ae' into upstream-merge
MrAlaux Aug 20, 2024
0d2f221
Merge branch 'woof-835603d' into upstream-merge
MrAlaux Aug 20, 2024
9364f48
Merge addendum
MrAlaux Aug 20, 2024
6e0a66d
Merge branch 'woof-2d48a6e' into upstream-merge
MrAlaux Aug 20, 2024
5c9341f
Merge addendum
MrAlaux Aug 20, 2024
39de172
Merge branch 'woof-9b91cec2' into upstream-merge
MrAlaux Aug 20, 2024
0b3acd7
Merge branch 'woof-3ce7877' into upstream-merge
MrAlaux Aug 20, 2024
2efe306
Merge branch 'woof' into upstream-merge
MrAlaux Aug 21, 2024
eaef531
fix the background update of the credits screen, simplify (#1860)
rfomin Aug 21, 2024
a9e7210
fix crash with S_FUNC item instructions, simplify (#1859)
rfomin Aug 21, 2024
15fd3af
menu cleanup, fix crash when switching tabs with mouse wheel (#1861)
rfomin Aug 21, 2024
e67b6be
Remember cursor position in Sound Volume menu (#1863)
JNechaevsky Aug 21, 2024
23ae392
Update sensor event state when sensor reporting is set
ceski-1 Aug 22, 2024
528f420
Merge branch 'woof' into upstream-merge
MrAlaux Aug 23, 2024
bc39a9b
add PNG palette translation (#1865)
rfomin Aug 23, 2024
a34a846
fix clean screenshots on demo and intermission screens
fabiangreffrath Aug 23, 2024
d61a8eb
translate image after error checking
rfomin Aug 23, 2024
f948d4e
add support for 32-bit PNGs, refactoring (#1867)
rfomin Aug 24, 2024
89150be
remove credits screen, restore original demo loop (#1866)
rfomin Aug 24, 2024
dbd7935
restore R_IsPatchLump, add V_LumpSize
rfomin Aug 24, 2024
f34ad25
remove V_LinearToPatch
rfomin Aug 25, 2024
86bddfa
Merge branch 'master' into upstream-merge
MrAlaux Aug 25, 2024
a02f54e
Merge addendum
MrAlaux Aug 25, 2024
4b3b636
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Aug 25, 2024
5bab389
Merge addendum
MrAlaux Aug 26, 2024
365cb19
Restore small quotation-mark character
MrAlaux Aug 26, 2024
387c0de
consistently check for _WIN32 macro
fabiangreffrath Aug 26, 2024
af359ba
scan for soundfonts relative to executable and config directory (#1869)
fabiangreffrath Aug 26, 2024
b5070cb
uniform color quantization (#1868)
rfomin Aug 27, 2024
edff3f2
remove unnecessary check
rfomin Aug 27, 2024
cbf2e28
Blit directly to texture (#1870)
gendlin Aug 28, 2024
3876d09
Merge branch 'master' into upstream-merge
MrAlaux Aug 29, 2024
2ba2df9
Merge addendum
MrAlaux Aug 29, 2024
0e199ad
Merge branch 'master' into upstream-merge
MrAlaux Aug 29, 2024
2cfe2bd
Freecam fixes
MrAlaux Aug 29, 2024
eb0a9f6
Merge branch 'master' into upstream-merge
MrAlaux Sep 1, 2024
7e599ff
Merge addendum
MrAlaux Sep 1, 2024
80b431d
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 1, 2024
ccefc80
Merge addendum
MrAlaux Sep 1, 2024
80556a0
update the woof.desktop file
fabiangreffrath Sep 1, 2024
18cbd6d
Fix CI errors/warnings
MrAlaux Sep 1, 2024
d7e1a45
allow drag-and-drop on non-Windows
fabiangreffrath Sep 1, 2024
ac814f0
Initialize `r_fov` early
MrAlaux Sep 1, 2024
eab8ca7
Use same data type for pitch and angleturn (#1872)
ceski-1 Sep 2, 2024
0514102
Let mouse and gamepad advance through cast sequence (#1874)
ceski-1 Sep 2, 2024
55a65d9
Add extra gyro calibration step, increase calibration time (#1875)
ceski-1 Sep 2, 2024
dfc450d
Replace `show_endoom` with `exit_sequence` (#1873)
ceski-1 Sep 2, 2024
6663fba
id24: intermissions (#1833)
rfomin Sep 3, 2024
4bc92a1
check background_lump, cosmetic changes
rfomin Sep 3, 2024
bbead25
store the size of the decoded image for flats
rfomin Sep 3, 2024
cd63e89
move libraries to "third-party" directory (#1879)
rfomin Sep 3, 2024
507e99a
forgot target_woof_settings
rfomin Sep 4, 2024
fa92338
Merge branch 'woof-dfc450d' into upstream-merge
MrAlaux Sep 4, 2024
6729d32
Merge addendum
MrAlaux Sep 4, 2024
9b56ae1
remove lump number "caching" in WI_Ticker
rfomin Sep 4, 2024
fffdc4b
Merge branch 'woof' into upstream-merge
MrAlaux Sep 5, 2024
c419214
Merge addendum
MrAlaux Sep 5, 2024
75bb03d
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 5, 2024
0a5ac67
Add SDL version check for Joy-Cons
ceski-1 Sep 5, 2024
1c05906
Fix freecam mouselook
MrAlaux Sep 5, 2024
fd4e5e0
update vcpkg
rfomin Sep 5, 2024
2f7e6cd
fix "update vcpkg" step
rfomin Sep 5, 2024
a95d355
small CI workflow updates
rfomin Sep 5, 2024
a5796a3
simplify
rfomin Sep 5, 2024
34654d7
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 5, 2024
0071ae7
Fix some Linter reports
MrAlaux Sep 5, 2024
a34a666
update README.md
fabiangreffrath Sep 6, 2024
6f1d7f1
fix variable initialization in U_BuildEpisodes
rfomin Sep 6, 2024
e61b634
move Exit Sequence to the Misc menu, remove Menu Backdrop (#1881)
fabiangreffrath Sep 6, 2024
b43f5b1
Merge branch 'master' into upstream-merge
MrAlaux Sep 7, 2024
5622e51
Merge addendum
MrAlaux Sep 7, 2024
246864f
rename "Level Brightness"->"Extra Lighting", like in KEX port (#1887)
rfomin Sep 7, 2024
10c6422
same rules for highlight thermo as for other items (#1886)
rfomin Sep 7, 2024
3ee1bb5
Add gamepad rumble support (#1876)
ceski-1 Sep 7, 2024
388ee0b
rewrite win_opendir.c (from Chocolate Doom)
rfomin Sep 8, 2024
be5f634
net: Hide public IP addresses for privacy (from Chocolate Doom)
rfomin Sep 8, 2024
7a50a03
more efficient use of zone memory features (#1888)
rfomin Sep 8, 2024
b1f0684
fix M_StringJoin
rfomin Sep 8, 2024
8b4f4c3
More menu tweaks (#1890)
ceski-1 Sep 8, 2024
05f0927
bring back old shade screen method (#1891)
rfomin Sep 9, 2024
0daec49
fix game speed affect DRS (#1889)
rfomin Sep 9, 2024
6d32f05
Merge branch 'master' into upstream-merge
MrAlaux Sep 9, 2024
45dcc36
fix dark overlay flickering
rfomin Sep 10, 2024
47e5997
Add secondary menus (#1895)
ceski-1 Sep 10, 2024
aa0eef8
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 11, 2024
4f602dd
Merge addendum
MrAlaux Sep 11, 2024
9f38843
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 11, 2024
af69587
fix wrong parameter of WideCharToMultiByte function
rfomin Sep 11, 2024
8a53b78
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 11, 2024
c0d3ae5
fix reference to timer2.enabled
dbalsom Jun 30, 2024
43fd386
id24: skies (#1894)
rfomin Sep 13, 2024
dad1c68
automap: properly highlight death exit sectors (#1900)
fabiangreffrath Sep 13, 2024
707cd5c
Revert "don't use SDL_RenderSetLogicalSize (#1847)" (#1906)
rfomin Sep 14, 2024
bc7f6d5
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 14, 2024
a4eb56e
increase the height of the fire sky texture (#1909)
rfomin Sep 14, 2024
3bee945
OPL3 Improvements (#1907)
jpernst Sep 15, 2024
3e05f8c
fix clang-tidy padding warning
rfomin Sep 15, 2024
ad47fe9
"Back" button/key works in help screen
rfomin Sep 15, 2024
e5dc326
implement m_json wrapper (#1904)
rfomin Sep 15, 2024
036af1d
json lump: add type and version checking
rfomin Sep 15, 2024
6143dd5
fix version check
rfomin Sep 15, 2024
4e6ed4a
fix build
rfomin Sep 15, 2024
e87ac53
interpolation of wipe melt animation, adapted from R&R (#1903)
rfomin Sep 16, 2024
58b7bdd
make death use action demo compatible (#1910)
rfomin Sep 16, 2024
e3ceb7f
fix broken/inconsistent weapon switching (#1902)
fabiangreffrath Sep 16, 2024
d931f75
Activate OPL3 chips on-demand based on voice pressure (#1911)
jpernst Sep 17, 2024
5c952ca
remove sub millisecond check in MIDI player loop
rfomin Sep 20, 2024
04ae706
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 21, 2024
db1944a
Merge addendum
MrAlaux Sep 21, 2024
5493940
Merge branch 'nugget-70d8c5c' into upstream-merge
xemonix0 Sep 21, 2024
4c847d7
Merge branch 'nugget-7f67d4c' into upstream-merge
xemonix0 Sep 21, 2024
caf672c
Merge remote-tracking branch 'nugget/upstream-merge' into upstream-merge
xemonix0 Sep 21, 2024
181d886
Merge addendum
xemonix0 Sep 21, 2024
cd05385
Fix status-bar chunks
MrAlaux Sep 21, 2024
5426138
umapinfo: proper fix levelpic for fullscreen patches (#1918)
rfomin Sep 22, 2024
c29a90c
Merge branch 'master' into upstream-merge
MrAlaux Sep 22, 2024
f9f5609
Merge addendum
MrAlaux Sep 22, 2024
f7c0a1d
Merge branch 'master' into upstream-merge
MrAlaux Sep 22, 2024
db2516e
use ALFUNC() in i_pcsound.c, avoid code duplication
fabiangreffrath Sep 23, 2024
a2253b0
"Critical" restriction for SSG in Doom 1
ceski-1 Sep 17, 2024
ede79db
Add vanilla `input_weapon9` support
ceski-1 Sep 17, 2024
6f6629a
Add "last used weapon" binding
ceski-1 Sep 17, 2024
fe3bd8d
Add "cycle through all weapons" option
ceski-1 Sep 18, 2024
01a6138
Merge pull request #1920 from ceski-1/weapon_switching
ceski-1 Sep 23, 2024
5eabddb
Merge remote-tracking branch 'nugget/upstream-merge' into upstream-merge
xemonix0 Sep 24, 2024
5624552
Adjust default look speed
ceski-1 Sep 24, 2024
880fc33
Disable rumble by default
ceski-1 Sep 24, 2024
647030e
Add advanced gamepad menu
ceski-1 Sep 25, 2024
d225e33
Merge pull request #1924 from ceski-1/padadv
ceski-1 Sep 25, 2024
796c0d0
Add custom weapon slots feature (#1923)
ceski-1 Sep 25, 2024
7b26024
Fix restore defaults for advanced gamepad menu
ceski-1 Sep 25, 2024
ddb24e3
Clear weapon slot only once per tic
ceski-1 Sep 25, 2024
a64206a
Merge branch 'master' into upstream-merge
MrAlaux Sep 26, 2024
c4ddb3d
fix misaligned sky texture for texture height 200 (#1927)
fabiangreffrath Sep 27, 2024
02334eb
Merge branch 'master' into upstream-merge
MrAlaux Sep 28, 2024
f0b470a
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Sep 28, 2024
32ab733
Merge addendum
MrAlaux Sep 28, 2024
d697c35
Merge branch 'master' into upstream-merge
MrAlaux Sep 28, 2024
8eacb57
Merge addendum
MrAlaux Sep 28, 2024
a4ae658
Merge branch 'master' into upstream-merge
MrAlaux Sep 28, 2024
5e214af
Merge branch 'master' into upstream-merge
MrAlaux Sep 29, 2024
14332c3
Menu changes (#1928)
ceski-1 Oct 1, 2024
ec0e91f
Streamline saving game with a gamepad (#1929)
ceski-1 Oct 1, 2024
1d27148
Fix mbf21 add / remove NOBLOCKMAP or NOSECTOR (#1930)
fabiangreffrath Oct 1, 2024
3592063
Prevent unintentional death use reload (#1935)
ceski-1 Oct 2, 2024
bc9a876
tweaks to audio menus (#1931)
rfomin Oct 2, 2024
7b63671
CI: don't use bash on Windows
rfomin Oct 2, 2024
ed349ec
More death use reload fixes (#1938)
ceski-1 Oct 3, 2024
9a43e54
Add auto save feature (#1939)
ceski-1 Oct 4, 2024
2ee9ead
Implement option to correct automap aspect ratio (#1940)
thearst3rd Oct 4, 2024
826b9b7
More menu adjustments (#1941)
ceski-1 Oct 6, 2024
d5196be
Fix WAD stats not recognizing files containing maps properly
xemonix0 Oct 6, 2024
fd4ead9
Rename gyro speed to sensitivity
ceski-1 Oct 8, 2024
7e004e9
Remove full stop from `autosave` CVAR description
MrAlaux Oct 8, 2024
0a42943
Update quickload menu separately from load menu (#1947)
ceski-1 Oct 8, 2024
154ccf8
fix CreateWaitableTimer on Windows 7
rfomin Oct 8, 2024
ff65fd6
initialize hTimer
rfomin Oct 8, 2024
04f1323
update screenshot function (#1943)
rfomin Oct 8, 2024
dd1a3d7
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 9, 2024
b3dafac
Merge addendum
MrAlaux Oct 9, 2024
5ff8630
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 9, 2024
55d6b31
fix uncapped rendering for fizzle and crossfade (#1953)
rfomin Oct 9, 2024
5af52a7
fix garbage column in bunny scroll (#1952)
rfomin Oct 9, 2024
a55429f
Don't stretch vertically scrolling skies
ceski-1 Oct 10, 2024
67e2997
Merge branch 'master' into upstream-merge
MrAlaux Oct 11, 2024
cbe7559
Merge addendum
MrAlaux Oct 11, 2024
2e5de09
add lump priority to determinate load order (#1956)
rfomin Oct 11, 2024
010bc54
remove WOOFDATADIR macro (#1958)
fabiangreffrath Oct 11, 2024
e446290
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 11, 2024
48acf82
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 11, 2024
1143ef1
Color settings
MrAlaux Oct 12, 2024
2da2964
Merge branch 'nugget-5e214af' into upstream-merge
xemonix0 Oct 12, 2024
f085ffe
Merge remote-tracking branch 'nugget/upstream-merge' into upstream-merge
xemonix0 Oct 12, 2024
b7f66b6
Merge branch 'master' into upstream-merge
MrAlaux Oct 13, 2024
59f016d
Update `lastOn` when moving between load menu types
ceski-1 Oct 14, 2024
54fcbd4
Add gyro invert turn/look options (#1963)
ceski-1 Oct 15, 2024
6ff9ac7
Color-settings improvements
MrAlaux Oct 15, 2024
e3ac8f9
Merge remote-tracking branch 'nugget/upstream-merge' into upstream-merge
xemonix0 Oct 19, 2024
dae5778
Changelog corrections
MrAlaux Oct 20, 2024
781d884
Actually fix WAD stats not recognizing files containing maps properly
xemonix0 Oct 20, 2024
45cd1f1
Fix menu item alignment inconsistency
xemonix0 Oct 20, 2024
6acdf9d
Fix lost-soul slam desync
MrAlaux Oct 20, 2024
68467a4
Merge branch 'master' into upstream-merge
MrAlaux Oct 22, 2024
bf56983
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 22, 2024
d3ccce3
Update gyro ranges, defaults, menu items (#1964)
ceski-1 Oct 25, 2024
bc90bf9
Slow Motion button and hitscan-trails cheat
MrAlaux Oct 27, 2024
bbd6e8f
Fix `comp_longautoaim` doubling BFG-tracer range
MrAlaux Oct 29, 2024
db3f48d
Merge branch 'master' into upstream-merge
MrAlaux Oct 29, 2024
52f4680
Merge addendum
MrAlaux Oct 29, 2024
67770f6
Merge remote-tracking branch 'upstream/master' into upstream-merge
MrAlaux Oct 29, 2024
6b4d225
return early out of R_StoreWallRange() if a line has no linedef
fabiangreffrath Oct 29, 2024
f3ce1aa
demote some messages to debug verbosity (#1962)
fabiangreffrath Oct 29, 2024
d9577d1
Alt.-state system, custom hitscan-trail sprites
MrAlaux Oct 30, 2024
0f30a36
Merge branch 'master' into upstream-merge
MrAlaux Oct 30, 2024
a097350
Merge addendum
MrAlaux Oct 30, 2024
aca0778
FOV-effects improvements
MrAlaux Oct 30, 2024
2e7a10e
Merge branch 'master' into upstream-merge
MrAlaux Oct 30, 2024
b40a4c2
"Count" option for secret-revealed message (#1966)
MrAlaux Oct 31, 2024
807ae88
Midi volume fixes (#1970)
ceski-1 Oct 31, 2024
09a1315
minor description fix
fabiangreffrath Oct 31, 2024
07836ba
Fix scale for gyro threshold indicator
ceski-1 Oct 31, 2024
05a95e9
Rumble adjustments
ceski-1 Oct 31, 2024
3d8ec36
Prevent `-speed` from being overridden by game-speed keys (#1969)
MrAlaux Oct 31, 2024
c94b994
Fix death-use action on intermission screen (#1973)
ceski-1 Nov 1, 2024
ff41be5
Fix crash when loading empty "colormaps"
MrAlaux Nov 1, 2024
982a944
Simplify gyro space options (#1976)
ceski-1 Nov 4, 2024
3b43eba
Update README.md
ceski-1 Nov 4, 2024
7e9a70c
fix MBF21 ripper weapons causing too much damage (#1977)
rfomin Nov 4, 2024
65d6a2e
Level-stats format settings (#1967)
MrAlaux Nov 6, 2024
9fccd73
Merge branch 'master' into upstream-merge
MrAlaux Nov 7, 2024
e37bd67
Merge branch 'woof-65d6a2e' into upstream-merge
MrAlaux Nov 7, 2024
643b031
Merge addendum
MrAlaux Nov 7, 2024
a6f2e99
Fix localview when toggling slow motion
MrAlaux Nov 7, 2024
07f6f1c
Fix slowmo pitch decrease, and more
MrAlaux Nov 8, 2024
598b27b
Merge branch 'master' into upstream-merge
MrAlaux Nov 8, 2024
d4d5f26
Merge remote-tracking branch 'nugget/upstream-merge' into upstream-merge
xemonix0 Nov 11, 2024
67af5bf
Merge branch 'master' into upstream-merge
xemonix0 Nov 12, 2024
9cfdcbd
Merge branch 'master' into upstream-merge
xemonix0 Nov 12, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
92 changes: 72 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Linux GCC
os: ubuntu-22.04
compiler: gcc
extra-options: -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF
extra-options: -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF
shell: bash

- name: macOS Clang
Expand All @@ -51,7 +51,8 @@ jobs:
libopenal-dev \
libsndfile1-dev \
libfluidsynth-dev \
libxmp-dev
libxmp-dev \
libcjson-dev

- name: Install dependencies (macOS)
if: runner.os == 'macOS'
Expand All @@ -63,7 +64,8 @@ jobs:
openal-soft \
libsndfile \
fluid-synth \
libxmp
libxmp \
cjson

- name: Install dependencies (MSYS2)
if: matrix.config.shell == 'msys2 {0}'
Expand All @@ -83,6 +85,7 @@ jobs:
${{ matrix.config.msys-env }}-libsndfile
${{ matrix.config.msys-env }}-fluidsynth
${{ matrix.config.msys-env }}-libxmp
${{ matrix.config.msys-env }}-cjson

- uses: actions/checkout@v4

Expand All @@ -97,6 +100,10 @@ jobs:
- name: Build
run: cmake --build build

- uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Test
if: github.event_name == 'workflow_dispatch'
run: |
Expand All @@ -109,30 +116,75 @@ jobs:
cd build
cpack

- name: Upload AppImage
if: runner.os == 'Linux'
- name: Upload Artifacts
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: Cherry-Doom-AppImage
path: build/*.appimage
name: MSYS2-UCRT64
path: build/*.zip

- name: Extract Version Number
if: ${{ contains(github.ref, 'tags') && runner.os == 'Linux' }}
shell: bash
run: echo "VERSION=${GITHUB_REF##*_}" >> $GITHUB_ENV

cppcheck:
name: Cppcheck
runs-on: ubuntu-latest
linter:
name: ${{ matrix.name }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
name: [Cppcheck , Clang-Tidy]

steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install cppcheck
run: |
sudo apt-get update
sudo apt-get install \
cppcheck \
ninja-build \
libsdl2-dev \
libsdl2-net-dev \
libopenal-dev \
libsndfile1-dev \
libfluidsynth-dev \
libxmp-dev \
libcjson-dev

- uses: actions/checkout@v4

- name: Run cppcheck
shell: bash
- name: Configure
run: |
cmake -B build -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF

- name: Run Cppcheck
if: ${{ matrix.name == 'Cppcheck' }}
run: |
cppcheck --version
cppcheck --error-exitcode=1 -j4 -q --force -D__GNUC__ -U_MSC_VER -U_WIN32 -Isrc opl src setup textscreen
mkdir cppcheck_cache
cppcheck -j4 --cppcheck-build-dir="cppcheck_cache" \
--quiet \
--error-exitcode=1 \
--check-level=exhaustive \
--inconclusive \
--inline-suppr \
--std=c99 \
--suppress="memleak:${{ github.workspace }}/src/u_scanner.c" \
--project="${{ github.workspace }}/build/compile_commands.json" \
-i"${{ github.workspace }}/third-party" \
-D__GNUC__

- name: Run Clang-Tidy
if: ${{ matrix.name == 'Clang-Tidy' }}
uses: cpp-linter/cpp-linter-action@v2
id: cpp-linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version: 18
step-summary: true
files-changed-only: true
style: '' # disable clang-format checks.
tidy-checks: >-
-*
,clang-analyzer-*
,-clang-analyzer-cplusplus*
,-clang-analyzer-security*
,-clang-analyzer-valist*
database: 'build'
ignore: 'third-party|win32|toolsrc|src/i_pcsound.c'
123 changes: 123 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: Build Packages

on:
push:
branches: [ master ]
tags: ['*']
paths-ignore: ['**.md']
pull_request:
branches: [ master ]
paths-ignore: ['**.md']
workflow_dispatch:

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}

strategy:
fail-fast: false
matrix:
config:
- name: Linux GCC
os: ubuntu-22.04
toolchain: $VCPKG_INSTALLATION_ROOT
triplet: x64-linux-dynamic-release
artifact-name: Cherry-Doom-AppImage
artifact-path: build/*.appimage
extra-options: -DCMAKE_INSTALL_PREFIX=/usr

- name: MSVC x64
os: windows-latest
arch: x64
toolchain: ${env:VCPKG_INSTALLATION_ROOT}
triplet: x64-windows-static-release
artifact-name: Cherry-Doom-Win64
artifact-path: build/*.zip
extra-options: >-
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
-DCMAKE_IGNORE_PATH="C:/Strawberry/perl/bin;C:/Strawberry/c/lib"

- name: MSVC x86
os: windows-latest
arch: x86
toolchain: ${env:VCPKG_INSTALLATION_ROOT}
triplet: x86-windows-static-release
artifact-name: Cherry-Doom-Win32
artifact-path: build/*.zip
extra-options: >-
-DCMAKE_POLICY_DEFAULT_CMP0091=NEW
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
-DCMAKE_IGNORE_PATH="C:/Strawberry/perl/bin;C:/Strawberry/c/lib"

steps:
- uses: actions/checkout@v4

- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo sed -i 's/# deb-src/deb-src/' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install ninja-build
sudo apt-get build-dep libsdl2-dev

- name: Developer Command Prompt
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.config.arch }}

- name: Export GitHub Actions cache environment variables
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');

- name: Configure
run: >-
cmake -B build -G Ninja
-DCMAKE_BUILD_TYPE=Release
-DENABLE_WERROR=ON -DENABLE_HARDENING=ON -DENABLE_LTO=ON
-DCMAKE_TOOLCHAIN_FILE="${{ matrix.config.toolchain }}/scripts/buildsystems/vcpkg.cmake"
-DVCPKG_OVERLAY_TRIPLETS="cmake/triplets"
-DVCPKG_TARGET_TRIPLET=${{ matrix.config.triplet }}
${{ matrix.config.extra-options }}

- name: Build
run: cmake --build build --config "Release"

- name: Test
if: github.event_name == 'workflow_dispatch'
run: |
cd demotest
pip install pyyaml joblib
python demotest --jobs 4 --port ../build/src/cherry-doom

- name: Package (Linux)
if: runner.os == 'Linux'
run: |
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${{ github.workspace }}/build/vcpkg_installed/${{ matrix.config.triplet }}/lib"
cd build
cpack

- name: Package (Windows)
if: runner.os == 'Windows'
run: |
cd build
cpack

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.config.artifact-name }}
path: ${{ matrix.config.artifact-path }}

- name: Extract Version Number
if: ${{ contains(github.ref, 'tags') }}
shell: bash
run: echo "VERSION=${GITHUB_REF##*_}" >> $GITHUB_ENV
96 changes: 0 additions & 96 deletions .github/workflows/win_msvc.yml

This file was deleted.

4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
Merged changes from [Nugget Doom 3.3.0](https://github.com/MrAlaux/Nugget-Doom/releases/tag/nugget-doom-3.3.0), note:
- Disabled stats tracking when _Duplicate Monsters_ is enabled in the _Custom Skill_ settings

Also, merged changes from Nugget Doom's [`upstream-merge`](https://github.com/MrAlaux/Nugget-Doom/tree/upstream-merge) branch, effectively bringing changes from Woof! introduced post-14.5.0, as well as Nugget Doom changes post-3.2.0.

## Changes

- _Blood amount scaling with the amount of damage dealt_ is now toggleable through a setting, and is disabled by default
Expand All @@ -24,4 +26,4 @@ Merged changes from [Nugget Doom 3.3.0](https://github.com/MrAlaux/Nugget-Doom/r

## Bug Fixes

- The _Disable Stats Tracking_ setting of the _Custom Skill_ not being preserved in savegames and through rewinds
None.
Loading
Loading