1103 Commits

Author SHA1 Message Date
Roman Fomin
1141ef1792 move "Demo recording" message to G_InitNew
This message did not appear after reloading a level.
2022-07-25 14:10:00 +07:00
Roman Fomin
0169bdd4d9 remove redundant check 2022-07-25 14:09:07 +07:00
Roman Fomin
7ee7ffd156
fix reload after death in single player (#676) 2022-07-23 21:32:18 +07:00
Roman Fomin
f835be4aa6
implement translucency for some things option (#677)
* implement translucency for some things option

* don't change the TRANSLUCENT flag for things that have been redefined in DEHACKED

* comment out "historic" cheat

* rename general_translucency->translucency

* enable translucency by default

* restore dprintf

* set deh_set_translucency if TRANSLUCENCY is disabled in dehacked

* rename D_SetTranslucency->D_SetPredefinedTranslucency, remove check in deh_ProcThing

* refactor D_SetPredefinedTranslucency

* reformatting in deh_procThing
2022-07-23 21:31:56 +07:00
Roman Fomin
76b716b2c7
fix suppress savegame in G_ReadDemoTiccmd (#675) 2022-07-22 12:16:24 +07:00
Roman Fomin
6b6b3f7ff2
don't allow strafe and turn at the same time with gamepad (prevent easy SR50) (#674) 2022-07-22 00:36:37 +07:00
Roman Fomin
dc93bd6b54
enable colored_blood in strictmode, but don't change vanilla monsters (#673)
* Revert "de-hardcode colored blood values (#450)"

This reverts commit 50075358ee35804bb7c67fa3944a9747df189889.

* enable colored_blood in strictmode, but don't change vanilla monsters

Some WADs (Judgment.wad) set "Blood color" dehacked field, for these WADs we
shouldn't alter blood color in strictmode

* make colored_blood option only for non dehacked things

* implement deh_mobjinfo elements enum, fix disabling colored_blood menu item

* move check from V_BloodColor to d_deh.c

* error out if wrong input
2022-07-22 00:35:58 +07:00
Roman Fomin
f9ebfefd3b
add FluidSynth gain setting to config (#672)
* add FluidSynth gain setting to config

* use percent like PrBoom+

* set minimum value to 10%
2022-07-21 13:13:12 +07:00
Fabian Greffrath
f948c5709c
extend palette_changes feature to also cover invulnerability colormap effect (#670) 2022-07-20 08:54:28 +02:00
Roman Fomin
ec4866814f Revert "initialize the monsec widget's y coordinate with dummy values"
This reverts commit 108467e3c87b55a11aac2582a2b97f2ad325a94a.
Fixes #669
2022-07-19 20:09:36 +07:00
Roman Fomin
54cd8b9ca9
implement G_GetCurrentComplevelName function (#668)
* implement G_GetCurrentComplevelName function

* move gameversions to doomstat.h

* include GNUInstallDirs

* fix cmake doc dir
2022-07-18 22:23:43 +07:00
Roman Fomin
000bcd5e72
implement M_getenv for compatibility with non-Latin paths on Windows (#667)
* implement M_getenv for compatibility with non-Latin paths on Windows

* use regular wcslen

SDL_wcslen is undocumented

* fix memory leak

* cache the `wenv == NULL` case
2022-07-18 21:07:33 +07:00
Fabian Greffrath
197571942b Honor PKGMANDIR on install
Co-authored-by: Michael Bäuerle <micha@NetBSD.org>
2022-07-18 16:03:44 +02:00
Fabian Greffrath
760e947633 release Woof! 10.1.0 woof_10.1.0 2022-07-18 09:37:39 +02:00
Roman Fomin
4ba13959fb use plaintext_output for -help command 2022-07-18 11:54:25 +07:00
Roman Fomin
820ffac6a0 rename "Palette changes" to "Pain/pickup/radsuit flashes", update CHANGELOG.md 2022-07-17 23:52:35 +07:00
Roman Fomin
79be960539 rename "load last save" to "load save"
"load last save" doesn't fit into 4:3 screen
2022-07-17 22:57:56 +07:00
Roman Fomin
2dca9a673d update CHANGELOG.md 2022-07-17 22:57:24 +07:00
Roman Fomin
2697592235 rename ConvertToUtf8->ConvertUtf8ToWide 2022-07-17 22:18:13 +07:00
Roman Fomin
ea312e47e5 fix checking command line with loose files 2022-07-17 22:16:17 +07:00
Roman Fomin
9ccbc20fa4 win midi: proper fix for malformed MIDI files without non-meta events
Fixes MAYhem19.wad MAP03
2022-07-16 10:00:28 +07:00
Roman Fomin
e29a90f4eb win midi: report function name in error messages 2022-07-16 09:59:11 +07:00
Roman Fomin
b434b147ce
simplify groups in general menu (#666)
* simplify groups in general menu

* silent SDL_Mixer update (probably linking fix)
2022-07-15 22:46:02 +02:00
Fabian Greffrath
d08155d00e
wait, we are in lores regime 2022-07-15 20:24:49 +02:00
Fabian Greffrath
6f6921f5de prevent frame buffer overflows for extremely wide status bar graphics 2022-07-15 11:19:56 +02:00
Roman Fomin
a3e141ffaf Revert "we don't need new macro"
This reverts commit cf52753a1f437366bf3a5ea238650f3fc8b1772a.
2022-07-15 15:42:13 +07:00
Roman Fomin
cf52753a1f we don't need new macro
I'm confused about my own macros.
2022-07-15 15:23:51 +07:00
Fabian Greffrath
7856dac3bb
boom autoswitch: don't replace pending weapon choice (#665)
Thanks @kraflab
2022-07-15 10:15:17 +02:00
Roman Fomin
6b37797a53
implement palette_changes and screen_melt options (#664)
* implement palette_changes and screen_melt options

* disable strict and complevel menu items if command line options are present

* add NOTSTRICTMODE macro
2022-07-15 10:15:05 +02:00
Roman Fomin
c312901a14
allow automap panning in overlay mode (#663)
* remove meaningless line

* allow automap panning in overlay mode, whitesapce fix

* instantly turn off panning if follow mode is enabled
2022-07-15 08:30:26 +02:00
Roman Fomin
1ccd1d14d2
reduce verbosity (#662)
* reduce verbosity

* add --help, document -nogui

* fix -nogui documentation

* missed warning

* -dehout allows "-" parameter for stdout printing

* always update MSYS2, there doesn't seem to be much difference in speed.

* less verbose logging

* formatting

* cosmetic changes

* more cosmetic fixes
2022-07-15 08:30:04 +02:00
Roman Fomin
26475462e6
alter cppcheck command line (#661) 2022-07-14 10:33:30 +02:00
Roman Fomin
3589bc16e4
antialiased automap lines from Crispy Doom (#660) 2022-07-14 10:33:06 +02:00
Roman Fomin
c8390d535a
automap panning interpolation from PrBoom+ (#659)
* automap panning and zooming interpolation from PrBoom+

* fix mousewheel zoom

* restore old M_ZOOMIN M_ZOOMOUT

* remove zoom interpolation
2022-07-14 10:27:33 +02:00
Roman Fomin
b8b37b7817
hack to get working console IO with Windows GUI applications (#656)
* hack to get working console IO with Windows GUI applications

* fix MSYS build

* change cppcheck command

* attempt to fix cppcheck error

* fix mingw warning

* we don't need low level code from mpv

* remove unused code
2022-07-14 09:28:14 +02:00
Fabian Greffrath
b9abe20746
optional solid color status bar background for widescreen mode (#655)
* optional solid-colored status bar background

Fixes #651

* Update m_misc.c

* parametrize "analyzation depth"

* tune down to half saturation

* minor clean-up
2022-07-14 09:04:50 +02:00
Roman Fomin
399e88c97e
verify command line options (#650)
* verify command line options

* fix cmake

* add -deh -bex to multiple options check

* fix typo

* fix parameter count check

* add validation for some arguments

* fix skill 0

* validate all parameters with argumets

* cosmetic fixes

* don't check undocumented options if -devparm is set

* fix format error

* fix whitespace

* docgen cleanup

* rename GenParams->paramsgen

* fix -turbo check

* more docgen cleanup

* generate help string

* use dictionary

* condense help text

* escape `"`

* remove -gameversion from help string

* set wrap width to 80, few tweaks

* remove debug line

* -setmem error message correction

* fix -episode check and -skill description

* little cleanup
2022-07-14 09:04:36 +02:00
Fabian Greffrath
d8a068c97b fix line height in HUlib_eraseTextLine() 2022-07-13 21:46:39 +02:00
Fabian Greffrath
108467e3c8 initialize the monsec widget's y coordinate with dummy values
Fixes #658
2022-07-13 17:51:38 +02:00
Roman Fomin
50c72d592e update to SDL_Mixer 2.6.1 2022-07-13 19:17:51 +07:00
Fabian Greffrath
bf2710559c
confirm "demo recording" by player message at game start (#654)
* confirm "demo recording" by player message at game start

* move demo recording reporting to G_BeginRecording()

* report demo file name
2022-07-12 18:56:09 +02:00
Fabian Greffrath
028b00c2c2
support '-skill 0' command line parameter (does not spawn any map objects) (#653)
* support '-skill 0' command line parameter (does not spawn any map objects)

* enable just for demo_compatibility

* distinguish between skill "none" and default skill
2022-07-12 18:55:57 +02:00
Fabian Greffrath
994a4e8971 get rid of some obsolete macros 2022-07-11 11:26:36 +02:00
Fabian Greffrath
f0bc9cc8cf move I_GetPaletteIndex() to i_video.c 2022-07-11 11:26:32 +02:00
Fabian Greffrath
6335cefbca reuse R_DupPlane() in R_CheckPlane() 2022-07-11 11:26:26 +02:00
Roman Fomin
2f9b786dd6 fix SDL_Mixer mingw download 2022-07-09 17:33:20 +07:00
Roman Fomin
80b47a4ae0 update CHANGELOG.md 2022-07-09 16:46:13 +07:00
Roman Fomin
2d9ccaf2a9 don't install git for msys2 CI 2022-07-09 16:45:43 +07:00
Roman Fomin
b247ed73e6 update SDL_Mixer to 2.6.0 2022-07-09 16:44:33 +07:00
Roman Fomin
8c61f1de6f
add music packs support (#649)
* load music files from autoload directory

* add support for .zip files

* fix gcc warnings

* delete temporary directory

* add missed header

* simplify handles closing

* add more error checking

* remove remnants of deprecated code

* fix whitespace

* use PROJECT_SHORTNAME

* extract only .wad, .lmp and music files

* autoload .zip files

* rearrange some code

* add support for drag-n-drop zip files

* fix autoload for PWADs in zip files

* fix memory leak, reformatting

* add M_StringCaseEndsWith function

* define MINIZ_NO_ARCHIVE_WRITING_APIS

* add zip files do bash completion

* Revert "define MINIZ_NO_ARCHIVE_WRITING_APIS"

This reverts commit f9674fee2516facea78c05aa40151b10016c81da.
2022-07-09 07:41:24 +02:00