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
Fabian Greffrath
c915aba59a
unambigious names for CI workflows
2023-08-22 08:00:50 +02:00
Fabian Greffrath
19c25e94c3
complete overhaul of the HU widgets system (i.e. hu_lib.*) ( #1178 )
...
* stuff compiles, but crashes
* stuff runs, kind of
* stuff works, mostly
* add back support for centered player messages
* pointers!
* more stuff working
* some aesthetics
* some more minor stuff
* some more clean-up
* some optimizations
* some more minor stuff
* update woofhud.md
* some rearrangements, comments
* make the "space" character 5 px wide
* build the w_title widget a bot earlier
* nicer
* fix some more minor alignment issues
2023-08-21 09:01:10 +02:00
Fabian Greffrath
77af6e50f6
skip "hidden" files in ZIP archives
2023-08-18 09:18:17 +02:00
Julia Nechaevskaya
edf67b8ebe
Improve BFG and SW2STONE brightmaps ( #1179 )
2023-08-17 22:05:56 +02:00
Fabian Greffrath
5e3150decd
consolidate hu_stext_t and hu_itext_t into hu_mtext_t ( #1177 )
...
* make hu_stext_t, hu_mtext_t, hu_itext_t all API-compatible
* consolidate hu_stext_t and hu_itext_t into hu_mtext_t
* rename abigious x member of hu_mtext_t
2023-08-15 11:57:46 +02:00
Fabian Greffrath
5c11fb69d8
optional widescreen widget arrangement ( #1176 )
2023-08-11 21:30:14 +02:00
Fabian Greffrath
837212ebde
remove some useless fields from textline widgets ( #1174 )
2023-08-10 13:49:08 +02:00
Fabian Greffrath
59adb20e17
optionally draw bar graphs in Boom HUD widgets ( #1173 )
2023-08-09 20:44:39 +02:00
Fabian Greffrath
34bc2ef837
hard-code startchar to HU_FONTSTART for all widgets
2023-08-09 20:44:04 +02:00
Fabian Greffrath
7ab38ec4a6
correctly bottom-align if Crispy HUD is preferred but not active
2023-08-09 20:14:35 +02:00
Fabian Greffrath
0d205abf97
make HU widget strings local to the respective builder functions ( #1172 )
...
* make HU widget strings local to the respective builder functions
* express buffer sizes in terms of HU_MAXLINELENGTH
2023-08-09 20:07:50 +02:00
Julia Nechaevskaya
7cd5c8e2d0
Use greenonly1 for Armor Bonus ( #1171 )
...
See: 92e4e71e34
2023-08-08 21:24:11 +02:00
Fabian Greffrath
c7c03d895c
correctly determine string length of the map title widget ( #1170 )
...
Fixes #1163
Hopefully only an intermediate solution until the hu_lib.c rewrite. 😉
2023-08-08 16:51:17 +02:00
Fabian Greffrath
3209e4e467
alternative approach to stable vissprite sorting in Vanilla order ( #1169 )
2023-08-08 12:30:57 +02:00
Fabian Greffrath
5594e81de1
use reverse-DNS naming for desktop files and add AppStream metadata information ( #1167 )
...
* use reverse-DNS naming for desktop files
This is consistent with Crispy Doom, and the
desktop entry specification recommends doing this as well.
* add AppStream metadata information
2023-08-07 18:22:09 +02:00
Fabian Greffrath
a3fc158f88
replace and extend crosshair patches with the shaded variants from Nugget Doom ( #1166 )
2023-08-07 18:22:02 +02:00
Fabian Greffrath
7202ffa754
reorder vissprites, so that objects with higher map indices appear in front ( #1165 )
...
* fix stable vissprites sorting
* add comment
2023-08-07 18:21:47 +02:00
Roman Fomin
6aed7bf13b
reset button state when automap is turned on ( #1164 )
2023-08-06 17:22:26 +07:00
kraflab
ff16687847
Fix PIT_ApplyTorque when line has no length
2023-08-06 12:17:16 +02:00
Roman Fomin
b51cd3096f
upload AppImage on release, cosmetic fixes
2023-08-02 22:54:55 +07:00
qurious-pixel
c02d49315b
[CI] AppImage CPACK ( #1161 )
...
* Generate AppImage CPACK
* Generate AppImage Artifact
2023-08-02 20:40:57 +07:00
Roman Fomin
777df08a8a
all sounds are stopped before Z_FreeTags even with MUSINFO ( #1160 )
2023-07-28 10:06:45 +02:00
Fabian Greffrath
3229e9e4ff
P_SetPsprite: check for readyweapon
's upstate ( #1157 )
...
* P_SetPsprite: heck for any weapon's upstate or downstate
* limit number of choices
* check for readyweapon's upstate
2023-07-26 19:22:52 +02:00
Fabian Greffrath
b5263a3619
Turn mypos/stats/showfps from powers
to cheats
( #1159 )
...
* Turn mypos/stats/showfps from `powers` to `cheats`
Fixes #1158
* deobfuscate a bit
2023-07-26 19:22:29 +02:00
Fabian Greffrath
71d636b0d6
fix Options->General menu pages 1 and 2 ( #1152 )
...
* fix Options->General menu pages 1 and 2
Fixes #1151
* reorganize Sound & Music page a bit
* skip the right gap
2023-07-26 19:22:11 +02:00
Fabian Greffrath
f60d325695
consequently rename -nodehlump
parameter to -nodeh
2023-07-23 16:24:57 +02:00
Fabian Greffrath
491b6a9576
let M_GetNameFor*() return "JUNK" ( #1156 )
...
* let M_GetNameFor*() return "JUNK"
* do not save "junk" bindings in the config file
2023-07-22 14:59:45 +02:00
Roman Fomin
8817710b7b
fix ESC reset with mini-thermo items affects multi-choice select items ( #1154 )
2023-07-22 09:52:48 +02:00
Roman Fomin
c1e8fad585
disable returning to the episodes menu if only one episode is present ( #1155 )
2023-07-22 09:52:19 +02:00
Fabian Greffrath
fb3ea353e4
do not crash when saving a "junk" key binding
2023-07-22 09:50:14 +02:00