16 Commits

Author SHA1 Message Date
Fabian Greffrath
c710992f3f fix PYthon deprecation warning 2025-01-25 13:22:26 +01:00
Roman Fomin
cb08a6f0d2
add aliases from DSDA-Doom, fix docgen warnings (#1678) 2024-05-07 14:05:43 +07:00
Fabian Greffrath
a87280ed5e
allow .lmp/.pk3 extensions for -file parameter completion 2023-11-24 09:57:38 +01:00
Fabian Greffrath
9dfe03f212 kick out the -cdrom parameter 2023-09-01 08:27:39 +02:00
Roman Fomin
d69f9468f1 copy woofhud.md to wiki, update CMDLINE.template.md 2023-04-22 07:13:37 +07:00
Roman Fomin
0a5442aaa8 remove ENABLE_PARAMSGEN option, it doesn't work anyway 2022-12-17 09:05:57 +07:00
Fabian Greffrath
65d16ea1f4 generalize doc install dir 2022-10-04 18:27:31 +02: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
Fabian Greffrath
197571942b Honor PKGMANDIR on install
Co-authored-by: Michael Bäuerle <micha@NetBSD.org>
2022-07-18 16:03:44 +02:00
Roman Fomin
4ba13959fb use plaintext_output for -help command 2022-07-18 11:54:25 +07: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
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
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
Roman Fomin
ad2193c404
little cmake cleanup (#624)
* little cmake cleanup

* try to fix msys check
2022-06-25 22:17:47 +07:00
Roman Fomin
8a7ed2ac6b
integrate documents generation from Chocolate Doom (#603)
* use docgen to generate CMDLINE.md

* generate plain text version of CMDLINE

* rename PROJECT_TARNAME->PROJECT_SHORTNAME, add man file generation

* document more parameters

* whitespace fix

* remove unused code

* simplify -complevel documentation

* use WORKING_DIRECTORY

* document more parameters, simplify -pistolstart

* change -speed category, document -blockmap

* fix -devparm description

* move -dog(s) -speed -beta -pistolstart to game category

* add woof-setup man, bash-completion generation

* -spechit parameter, more documentation fixes

* adjust the wording in woof.template

* remove redundant comments

* remove blank line

* remove another redundant comment

* fix PROJECT_SHORTNAME
2022-06-24 09:41:38 +02:00