1853 Commits

Author SHA1 Message Date
ceski
4ecef5fa59
Fix fuzz darkness (#1216) 2023-09-29 12:35:39 -07:00
ceski
1518890609
Don't apply autoaim to crosshair for direct vertical aiming (#1215) 2023-09-25 23:19:15 -07:00
Fabian Greffrath
62cd1e29a2 move green color translation formula one step away from cyan 2023-09-26 08:13:21 +02:00
Alaux
f1323c8512
Fix cheat key typos (#1214) 2023-09-26 07:58:44 +02:00
ceski
d9ee850ed5
Improved direct vertical aiming and height calculations (#1213)
* Fix autoaim for direct vertical aiming

* Increase autoaim range for direct vertical aiming

* Calculate `actualheight` from current sprite

* Use `actualheight` for lock-on crosshair

* Use `actualheight` for check/aim/shoot

* Remove unused `spriteheight`

* Revert "Fix autoaim for direct vertical aiming"

This reverts commit 3a82190a6a0806f2f031ff23ccf61381b1924279.

* Revert "Increase autoaim range for direct vertical aiming"

This reverts commit 6c0e819567bcd0518709146ba1e97fd53b0653db.
2023-09-23 11:21:16 -07:00
Roman Fomin
e1e8e06e96 fix semicolon 2023-09-20 19:56:04 +07:00
Fabian Greffrath
60030a8d4f Fluidsynth: support relative paths in soundfont_dir
to enable the AppImage to find its own bundled soundfont file
2023-09-17 22:20:37 +02:00
Fabian Greffrath
d447d1e5af Merge branch 'master' of github.com:fabiangreffrath/woof 2023-09-15 14:25:29 +02:00
Fabian Greffrath
ef34e6f769 document the new release in the metainfo file 2023-09-15 14:25:21 +02:00
Fabian Greffrath
69b1676e88 release Woof! 12.0.0 woof_12.0.0 2023-09-15 08:24:02 +02:00
Fabian Greffrath
3de298f894 take clean screenshots with the base palette 2023-09-14 19:40:51 +02:00
Fabian Greffrath
38d29534e1
Update README.md 2023-09-14 13:53:12 +02:00
Roman Fomin
f991383e5c
call I_OAL_ReinitSound in I_PCS_ReinitSound (#1207) 2023-09-14 18:23:57 +07:00
Roman Fomin
0d8de8c7f2
update CHANGELOG.md (#1208) 2023-09-14 18:23:17 +07:00
Fabian Greffrath
7dd0e39ee3
strip leading newlines from warnings and take care they always get their own line (#1205)
* strip leading newlines from warnings

* warnings always get their own new line

* all prios but VB_INFO should start on their own line

* remove some more leading newlines

* finish progress line in R_InitTranMap()
2023-09-14 10:12:30 +02:00
Fabian Greffrath
b048001622
attempt to play demo4 also for gamemode == commercial (Final Doom) (#1204) 2023-09-14 09:17:16 +02:00
Fabian Greffrath
8279ba7d13
overflow into the next gamemissions's map name array for MAP33-MAP35 (#1203) 2023-09-14 09:16:35 +02:00
Fabian Greffrath
97d125b782 always initialize the sprites[] array
Else, checks for  e.g. in P_SpawnMobj() may fail.
2023-09-14 09:09:24 +02:00
Fabian Greffrath
26a5f22c01 fix Boom HUD crashing if maxammo == 0
Fixes #1202, thanks @xemonix0
2023-09-14 08:11:22 +02:00
Fabian Greffrath
adc76a8ea7 simplify matters 2023-09-13 19:42:39 +02:00
Fabian Greffrath
eb5552057e fix right-aligned hud widgets partially drawn off-screen
Fixes #1201, thanks @liPillON
2023-09-12 17:25:08 +02:00
Roman Fomin
4aa9db1ee3
implementation of PC Speaker sound (taken from Chocolate Doom) (#1200)
* add I_ShutdownModule, cosmetic changes

* move the volume adjusting to `I_PCS_UpdateSoundParams`

* use vanilla S_AdjustSoundParams

* stop all sources before shutdown the module
2023-09-12 20:50:54 +07:00
Fabian Greffrath
aabca29fcc
reset menu string editing with ESC (#1199)
* reset menu string editing with ESC

* consider ESC is catched early

* call action routine even if string change is aborted

* M_StringDuplicate() instead of strdup()
2023-09-08 08:11:21 +02:00
Fabian Greffrath
082edd25ac display Automap toggle messages with togglemsg() 2023-09-07 11:25:23 +02:00
Fabian Greffrath
178493dede
add obituaries (#1198)
* add obituaries

Fixes #1092

* add forgotten files

* cosmetics

* add Voodoo obituary

* enable by default, change default color

* special obituaries only for damaging slime and lava

* nicer formatting

* add forgotten DEH substitute for OB_VOODOO

* fix constness issue

* remove unnecesssary includes

* remove bogus comment

* ouch, add back net_client.h include
2023-09-07 08:59:43 +02:00
Roman Fomin
c8302ce682 change the verbosity level for the sndfile error message
This error always occurs when there is tracker music in PWAD.
2023-09-06 16:18:48 +07:00
Roman Fomin
89fb25806f
fix colored console output in Windows cmd.exe (#1197) 2023-09-06 14:13:57 +07:00
Fabian Greffrath
652827f4cb
review message verbosities (#1196)
* review message verbosities

Fixes #1193

* midifile.c: promote VB_WARNING to VB_ERROR

* i_winmusic.c: pass a severity parameter to MidiError()

* i_flmusic: only print serious warnings by default

* shut up fuidsynth even more

* simplify matters
2023-09-05 09:51:36 +02:00
Fabian Greffrath
4058824900
Initialize logging verbosity immediately after parsing config (#1195)
* print config and version info after I_PrintfInit()

* move config parse warning

* rearrangements

Fixes #1194 

* add comment

* replace I_PutChar() with explicit newlines

* fix forgetto

---------

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2023-09-04 09:10:20 +02:00
Fabian Greffrath
9dfe03f212 kick out the -cdrom parameter 2023-09-01 08:27:39 +02:00
Fabian Greffrath
c33014ff89
clean interface for logging to console (#1191)
* initial implementation idea

* next step

* oversights

* apply PRINTF_ATTR() directly to the function definition

* hopefully fix format string error

* simpler solution

* fix linking error on windows

* make default verbosity configurable

* convert the first batch of printing calls

* register -verbose parameter

* remove ANSI color escape sequences on Windows

* convert the next batch of print calls

* fix omplicit declaration in i_sound.c

* d_main.c

* convert some more files, trailing space means no newline

* some more conversions, some comments

* more conversions

* final conversions?

* remove some more explicit newlines

* fix typo/forgetto
2023-09-01 08:23:27 +02:00
Fabian Greffrath
445ab3e208 non-existent cannot be a patch lump 2023-08-31 12:47:15 +02:00
Fabian Greffrath
275b5e73f1 properly calculate maximum HUD text line length
Fixes #1192, thanks @MrAlaux
2023-08-30 21:41:03 +02:00
Fabian Greffrath
3464ee75a1 reinitialize Automap if screen size changes while it is enabled
Fixes #1188, thanks @MrAlaux
2023-08-29 08:40:24 +02:00
Fabian Greffrath
5733435976 fix more type ambiguities
Fixes #1190, thanks again @coelckers
2023-08-27 14:59:35 +02:00
Fabian Greffrath
6b17ece275 fix a type ambiguity in maptexture_t
Fixes #1189, thanks @coelckers
2023-08-27 11:03:25 +02:00
Fabian Greffrath
288f88199f set autoload directory relative to executable directory
@MrALaux could you please test if autoload works with the AppImage from this commit?
2023-08-26 18:48:23 +02:00
Fabian Greffrath
483e4e7892
add support for XGLN/ZGLN nodes (#1186)
* add support for XGLN/ZGLN nodes

Code taken from DSDA-Doom, thanks @kraflab

Fixes #1185

* docs

* fix typo/forgetto

* document origin

* register new parameter

* add some linedef == NULL checks

* condense P_SetupLevel() logging even further

* cosmetics
2023-08-24 20:11:36 +02:00
Fabian Greffrath
06bc276c64
use CPACK_PACKAGING_INSTALL_PREFIX instead of CMAKE_INSTALL_PREFIX (#1187)
Gosh, why does it fall back to /usr/local?!
2023-08-23 14:59:13 +02:00
Fabian Greffrath
95da1a060e use CMAKE_INSTALL_PREFIX consistently 2023-08-23 14:12:52 +02:00
Fabian Greffrath
f5e237b544
save the index of the current screen in the first page's S_END element's y coordinate (#1183)
Fixes #1181
2023-08-23 08:48:15 +02:00
Fabian Greffrath
4be06980d2 let HUlib_init_multiline() clear all lines 2023-08-22 20:45:14 +02:00
Fabian Greffrath
629c1662a4 empty messages clear the whole widget 2023-08-22 20:25:06 +02:00
Fabian Greffrath
4e0bccdf53
move stats widget to the top-left in no-HUD mode (#1184)
* Revert "move stats widget to the top-left in distributed mode"

This reverts commit 44b4172253e0cacc3568d03096d2467dd8e6a508.

* move stats widget to the top-left in no-HUD mode
2023-08-22 20:16:03 +02:00
Fabian Greffrath
44b4172253 move stats widget to the top-left in distributed mode 2023-08-22 19:21:08 +02:00
Fabian Greffrath
c8d7c4b429 Merge branch 'master' of github.com:fabiangreffrath/woof 2023-08-22 09:41:11 +02:00
Fabian Greffrath
2546592066 set CPACK_PACKAGING_INSTALL_PREFIX to /usr as well 2023-08-22 09:29:51 +02:00
Fabian Greffrath
913b7f6958
organize HUD fonts in a dedicated struct (#1182)
* origanize HUD fonts in a dedicated struct (WIP)

* fix includes, comments

* some rearrangement

* try to make a bit more sense

* f->patches is an array of pointers

* const correctness

* do not redefine BG/FG macros

* some more constness fun

* bring back bar graph chars
2023-08-22 09:18:32 +02:00
Fabian Greffrath
b7c669c47c
bring back three-lined coords/stats widgets (#1180)
* bring back three-lined coords/stats widgets

Fixes #1131

* fix typo

* try to shut MSVC up

* restore original buffer length

* rearrange menu items

* simplify matters

* restore init ordering

* some final adjustments
2023-08-22 08:24:16 +02:00
Fabian Greffrath
4265250240 set CMake install prefix to /usr 2023-08-22 08:03:01 +02:00