Roman Fomin
888806ebfc
add S_NEXT_LINE flag, draw midi player on next line ( #912 )
...
* add S_NEXT_LINE flag, draw midi player on next line
* remove gen1_stub1, fix blinking arrows
2023-02-17 18:38:50 +07:00
Roman Fomin
6800a36634
fix desync due to randomly mirrored corpses feature ( #910 )
...
* fix desync due to randomly mirrored corpses feature
DBP31.wad has a DEHACKED lump that sets MT_KEEN spawnhealth to 1.
* fix flag value
2023-02-17 03:55:06 +07:00
Roman Fomin
e569f3daad
fix -dogs default value, add error message ( #909 )
...
* fix -dogs default value, add error message
* don't throw an error if `default_dogs` are set
2023-02-16 14:39:45 +07:00
Roman Fomin
8cd1f51f3a
cmake: the installation of modules has been fixed in new SDL_Mixer
2023-02-16 10:30:40 +07:00
Roman Fomin
6cb97ddf1e
cmake: add CMAKE_FIND_PACKAGE_PREFER_CONFIG option
2023-02-16 10:29:37 +07:00
Fabian Greffrath
c1009387ac
only delete the entire savegame name if not modified ( #907 )
...
* only delete the entire savegame name if not modified
* comment
2023-02-15 16:04:12 +01:00
Fabian Greffrath
21dccd8e5b
correctly initialize w_secret's y coordinate
2023-02-15 15:44:06 +01:00
Fabian Greffrath
6f85897f8d
let the map title widget align by the WOOFHUD lump ( #906 )
...
* let the map title widget align by the WOOFHUD lump
* actually add w_title to the w_names[] array
2023-02-15 08:26:51 +01:00
Fabian Greffrath
9fd1100d8d
add support for loading Doom (< 1.2) IWADs ( #905 )
...
* add support for loading Doom (< 1.2) IWADs
* allow to choose Nightmare skill from the menu
2023-02-15 08:26:28 +01:00
Fabian Greffrath
c3377d49d7
optionally use standard Doom font for widgets ( #903 )
...
* optionally use standard Doom font for widgets
* reversed logic
* pass pointer to font patch array pointer
2023-02-15 08:26:11 +01:00
Fabian Greffrath
4bc045981e
report file name when writing a screenshot
2023-02-14 16:52:05 +01:00
Fabian Greffrath
7665dda87d
add clean screenshots without any HUD elements ( #900 )
...
* add clean screenshots without any HUD elements
* try @rfomin's approach
* remove static declaration
* factor out actual frame rendering/blit into a separat function
* remove unnecessary extern variable declaration
* rename I_RenderFrame -> I_UpdateRender
2023-02-13 14:13:37 +01:00
Roman Fomin
5345d8ff17
support monster infight field in dehacked from Chocolate Doom ( #902 )
...
* support monster infight field in dehacked from PrBoom+
* rename monsters_infight->deh_species_infighting (from Chocolate Doom)
2023-02-13 17:42:53 +07:00
Roman Fomin
34892f73b7
move removal of temporary directories to I_Quit()
...
Don't leave garbage in the temporary directory on errors.
2023-02-11 09:57:03 +07:00
Fabian Greffrath
afcaf9415c
fix a minor discrepancy between Boom and Crispy HUD
...
Thanks @rfomin, I hope this fixes what you meant lately
2023-02-11 00:40:53 +01:00
Fabian Greffrath
914a4ccf12
first attempt at dynamic HUD widget positioning ( #890 )
...
* factor out HUD widget generation from HU_Drawer() into HU_Ticker()
* removed unused dead code
* remove obsolete comment
* fix typo
* first attempt at dynamic HUD widget positioning
* fix build error
* proper alignment
* minor fixes
* be a bit more careful when calculating string lengths
* determine font height from the 'A' letter
* reset color range in the w_keys
* some clean-up
* replace coord widgets with a single widget, add fps widget
* git rid of separate K/I/S and time widgets
* add back STRICTMODE
* move HU_top() closer to HU_widget_build_keys()
* separate config keys for stats/time widgets on automap, hud, status bar
* add config key to choose HUD font
* no need for a separate setting for widgets above status bar
* factor out HU_ResetWidgets() and call it after rearranging HUD
* improve color scheme for the monsec widget
* fix ammo widget rendering bug with no ammo
* improve color scheme for the time widget
* some macros
* rearrange HU_Start()
* rearrange HU_Ticker()
* fix build
* add parser
* rename HU_ResetWidgetWidths() back to HU_ResetWidgets()
* working inplementation!
* init hud variable
* fix direct positioning for secret message widget
* move coord widget to the topright corner
* get rid of hud_distributed, iterate through HUD by hud_active
* fix Crispy HUD "off" state
* don't leave "empty" HUD completely empty actually
2023-02-10 12:37:23 +01:00
Fabian Greffrath
4d5adaf346
bump miniz to 3.0.2
2023-02-09 14:09:56 +01:00
Fabian Greffrath
76ad131d43
Merge branch 'master' of https://github.com/fabiangreffrath/woof
2023-02-08 14:25:19 +01:00
Fabian Greffrath
7ecfd34845
improve color scheme for the time widget
2023-02-08 14:19:59 +01:00
Fabian Greffrath
492f6d665c
improve color scheme for the monsec widget
2023-02-08 14:19:53 +01:00
Roman Fomin
6efba9ba48
fix typo in u_scanner.c
...
Found it with clang_tidy.
2023-02-07 16:14:15 +07:00
Fabian Greffrath
e1d0b663e5
add PrBoom+ comment to previous fix
2023-02-07 08:23:47 +01:00
Fabian Greffrath
c8a479a1aa
fix always gray percent / always red mismatch ( #898 )
...
Fixes #897
2023-02-07 08:20:10 +01:00
Fabian Greffrath
5e75b0faea
fix two-sidedness detection in EV_DoDonut()
...
That is, explicitly revert to the original faulty check
2023-02-06 16:30:01 +01:00
Fabian Greffrath
bf27bfe512
clip interpolated psprites
...
Thanks @mikeday0
2023-02-06 12:04:08 +01:00
Fabian Greffrath
e76c6561d2
fix colorized player names in network chats ( #896 )
2023-02-04 08:51:07 +01:00
Fabian Greffrath
4be6a0de42
reset color range in the w_keys widgets
2023-02-03 13:49:22 +01:00
Fabian Greffrath
21aeefee24
prepare for variable HUD widget font ( #895 )
...
* prepare for variable HUD widget font
* regular HUD font is not meant to change
2023-02-03 09:08:43 +01:00
Fabian Greffrath
682b00798a
fix stutter in custom weapon switch animations
...
Fixes #893 , thanks again @MrAlaux
2023-02-03 08:35:57 +01:00
Fabian Greffrath
cd3768ef44
grammar fix: past participle of teach = taught
...
Thanks @MrAlaux
2023-02-03 08:31:08 +01:00
Fabian Greffrath
45f3bf4855
non-zero mouse sensitivity default values
...
Fixes #891
2023-02-03 08:03:44 +01:00
Fabian Greffrath
75a328513f
get rid of the separate widget for the graphical keys ( #894 )
...
* get rid of the separate widget for the graphical keys
* fix checks that prevented key drawing
2023-02-03 08:00:59 +01:00
Fabian Greffrath
2b08e04955
simplify HU_Init()
2023-02-02 15:13:10 +01:00
Fabian Greffrath
122f1d493a
fix type of the player_s.oldviewz element
...
Thanks @ceski-1
2023-02-02 08:55:37 +01:00
Fabian Greffrath
3934a303ef
factor out HUD widget generation from HU_Drawer() into HU_Ticker() ( #886 )
...
* factor out HUD widget generation from HU_Drawer() into HU_Ticker()
* removed unused dead code
* remove obsolete comment
* fix typo
* avoid using redundant string buffers
2023-02-01 08:24:41 +01:00
Fabian Greffrath
0b6e3d2362
remove some unused functions from HUlib, declare some others as static
2023-01-31 07:44:06 +01:00
Fabian Greffrath
1465287840
rename plr->centermessage to plr->secretmessage ( #889 )
2023-01-30 17:13:23 +01:00
Fabian Greffrath
335d478928
add "linear" resampling mode and make it the default instead of "default" ( #888 )
2023-01-30 17:13:07 +01:00
Fabian Greffrath
1d7cb3072f
remove another part of my previous commit, sigh
2023-01-27 21:44:44 +01:00
Fabian Greffrath
876c6a3d3b
fix monsec/sttime widgets on screen bezel
2023-01-27 21:36:22 +01:00
Fabian Greffrath
193c257503
remove copy-pasted line
2023-01-27 20:23:40 +01:00
Fabian Greffrath
7209583ceb
fix color picker showing up in automap text color selection
2023-01-27 11:35:52 +01:00
Fabian Greffrath
c2401c33ee
introduce HUlib_drawTextLineAt() and use it consistently for w_monsec and w_sttime ( #879 )
...
Draw to temporary position instead of changing widget coordinates back and forth.
2023-01-27 09:09:47 +01:00
Fabian Greffrath
0b65b314e9
remove redundant declaration of player_t *plr
2023-01-27 08:04:33 +01:00
ceski
411d43b37b
winmidi: Send "reset all controllers" when song loops ( #878 )
...
* winmidi: Fix songs with missing "hold pedal off" events
* Revert "winmidi: Fix songs with missing "hold pedal off" events"
This reverts commit a12e8e6a5a7c06236bc3f0e4d9abc03c19758f1e.
* Send "reset all controllers" when song loops
* Use consistent int type
2023-01-26 10:36:19 +07:00
Roman Fomin
77b5a3f6ef
bmaps: don't error out on unknown sprite
...
Fix kdikdizd.zip loading
2023-01-26 10:28:43 +07:00
Fabian Greffrath
009f9a4b45
fix misleading indentation in level title initialization
2023-01-25 07:45:57 +01:00
Fabian Greffrath
b67f73a1b4
fix parentheses in some ternaries
2023-01-25 07:44:00 +01:00
Fabian Greffrath
2e54f67ce3
let w_wad.h include z_zone.h and clarify role of "tag" parameter
2023-01-20 10:32:12 +01:00
Fabian Greffrath
191fb2576b
rearrange some crosshair code
2023-01-20 08:40:24 +01:00