1020 Commits

Author SHA1 Message Date
Fabian Greffrath
2e5fa2f847 remove excess semicolons outside of functions 2022-06-24 21:41:12 +02:00
Fabian Greffrath
055e769386 Merge branch 'master' of github.com:fabiangreffrath/woof 2022-06-24 21:36:02 +02:00
Fabian Greffrath
14d6a22bcc fix char signedness for embedded lumps 2022-06-24 21:35:54 +02:00
Fabian Greffrath
ce2dd367b9 add historic Boom changelogs to the doc/ directory 2022-06-24 12:01:49 +02: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
Fabian Greffrath
82edebafa6 rename dprintf() -> doomprintf() 2022-06-24 09:28:36 +02:00
Fabian Greffrath
0e6e346b32
simplify and adapt z_zone.c to DSDA-Doom (#620)
* simplify and adapt z_zone.c to DSDA-Doom

* remove the INSTRUMENTED macro

* remove Z_Init() and Z_CheckHeap()

* remove PU_LOCKED

* eplicitly free all cached memory blocks on level setup

* assure proper pointer alignment

* fix headers

* reorder struct memblock, decrease padding

* add back historic changelogs
2022-06-24 09:01:49 +02:00
Fabian Greffrath
5cbd8e49d1
name CI jobs more explicitly (#623)
* name CI jobs more explicitly

* Update main.yml
2022-06-24 09:01:06 +02:00
Fabian Greffrath
cc85b9aa63 release Woof! 10.0.3 woof_10.0.3 2022-06-24 07:53:31 +02:00
Roman Fomin
a075557421
remove win32/stdint.h, add CI build compatible with Windows XP (#617)
* remove win32/stdint.h

* add win32 build to CI

* attempt to fix main.yml

* simplify Build step

* fix syntax

* fix syntax again

* fix indent

* fix cpack directory

* build release configuration

* don't upload SDL libs

* download official FluidSynth library for MSVC WIN32 build

* clean up old MSVC #defines/resources

* set FluidSynth_DIR only on MSVC 32-bit build

* set -verbosity:minimal for msbuild

* fix syntax

* cosmetic changes
2022-06-23 11:56:09 +07:00
Roman Fomin
3c526e7068 workaround for optimization bug in clang
Taken from Eternity Engine, fixes desync in competn/doom/fp2-3655.lmp and
dmn01m909.lmp
2022-06-23 08:39:43 +07:00
Roman Fomin
b76e9b1a9f always update msys2 for release 2022-06-23 08:30:06 +07:00
Roman Fomin
cbff23fed4
add MSYS2 build to CI (#622)
* add MSYS2 build to CI

* attempt to fix install

* misunderstood msystem

* try with base-devel

* bring back gcc

* set cmake generator

* try ninja

* add release.yml

* upload all *.zip

* fix syntax

* working release.yml

* add CHANGELOG.md

* update main.yml, delete travis.sh

* get version from tag

* remove msys2 32-bit build from main.yml
2022-06-23 07:22:44 +07:00
Roman Fomin
ba6d348c55 cosmetic fixes 2022-06-22 17:52:44 +07:00
Roman Fomin
190c1faef6
disable translucency in vanilla strictmode (#621)
* disable translucency in vanilla strictmode

* add stub items to the menu definitions

* disable translucency percentage menu item if general_translucency == 0
2022-06-22 08:24:54 +02:00
Fabian Greffrath
30df932a2d
prepare for Woof! 10.0.1 2022-06-21 16:00:53 +02:00
Fabian Greffrath
91d46c9b6f
only create autoload subdirectory relative to D_DoomPrefDir() (#619) 2022-06-21 15:55:27 +02:00
Fabian Greffrath
bd62ffe056
fix gcc-12 -O3 compiler warnings (#608)
* fix gcc-12 -O3 compiler warnings

Fixes #607

* do not free stdlib malloc'ed zone memory blocks
2022-06-21 15:55:13 +02:00
Roman Fomin
c63cb3f77f
check if the lump can be a Doom patch in R_GenerateLookup (#613)
* generate composites only for multipatched columns (fix Urotsuki.wad)

* Revert "generate composites only for multipatched columns (fix Urotsuki.wad)"

This reverts commit 3ce4d9057b463d3cd00d49f4918afdcbceb4f20a.

* check if the lump can be a Doom patch

* print warning to stdout

* print to stderr, function name istead of warning
2022-06-19 13:10:07 +02:00
Roman Fomin
04768f6ab4
fix reload level during intermission (#615) 2022-06-18 20:13:21 +02:00
Roman Fomin
646ba345ab
fix complevel vanilla scrollers (#612)
* fix complevel vanilla scrollers

* disable generalized scrollers in complevel vanilla
2022-06-18 19:24:59 +02:00
Fabian Greffrath
26e067a4b1
two-colored HUD widgets (as in Crispy Doom) (#609)
Fixes #605
2022-06-18 12:01:11 +02:00
Roman Fomin
59edb68106
fix all MSVC warnings (#606)
* fix all MSVC warnings

* fix -mapangle

* clarify comments

* fix mapangle again
2022-06-18 11:59:54 +02:00
Fabian Greffrath
ec9aa62bab avoid menu cursor being drawn off-screen 2022-06-17 17:16:00 +02:00
Fabian Greffrath
29b2b9ba67 release Woof! 10.0.0 woof_10.0.0 2022-06-17 11:24:44 +02:00
Roman Fomin
29bb915fce only one check to disable enem_ghost menu item 2022-06-16 17:31:51 +07:00
Roman Fomin
439a3b56ef handle strictmode for centered weapon menu item in M_UpdateCenteredWeaponItem
Fixes #604. Thanks @MrAlaux for the report.
2022-06-16 09:35:38 +07:00
Roman Fomin
b2b9d9f43b fix music playing when ENDOOM screen is displayed 2022-06-14 23:47:01 +07:00
Roman Fomin
00a75371e2 remove unused code 2022-06-14 23:46:14 +07:00
Fabian Greffrath
061290f222 prepare changelog for the next release 2022-06-14 08:59:53 +02:00
Roman Fomin
0737d91615 forgot to set ss_gen for default_skill 2022-06-14 08:26:24 +07:00
Roman Fomin
fb9c6aa59f
rearrange and change some settings (#600)
* rearrange and change some settings

* delete default_skill menu item, restore saving last selected skill
* move default_complevel back to General menu
* enable fullscreen by default

* fix disable number of message lines

* restore default_skill menu item, set skill to 4 (UV) by default
2022-06-13 17:10:30 +02:00
Fabian Greffrath
90d486c434
don't let crosshair highlighting trigger intercepts overflow (#599) 2022-06-13 16:32:44 +02:00
Roman Fomin
4452eb80a3 we already handle strictmode for hud_crosshair_target in M_UpdateCrosshairItems 2022-06-13 18:58:04 +07:00
Fabian Greffrath
8e2ae605a8
rename Source/ directory to src/ (#598)
* rename Source/ directory to src/

* adjust cppcheck directories
2022-06-13 12:09:42 +02:00
Roman Fomin
676b7e8347
strict mode (#597)
* implement strict mode

* rename demo_skipping->DEMOSKIP

* add static

* DISABLE_ITEM macros, disable cosmetic comp options in strict mode

* fix hud_distributed condition

* reset time scale, add strict mode menu item

* disable colored_blood and flipcorpses in strict mode

* disable brightmaps in strict mode, DISABLE_STRICT macro

* make strictmode local for each game

* missed comp_pursuit

* move menus a bit (map_player_coords doesn't fit in 4:3 mode)

* add STRICTMODE_COMP macro for cosmetic compatibility options

* comp_skymap = 1 in PrBoom+ complevel 9
2022-06-13 12:07:08 +02:00
Roman Fomin
d1a93dedfa
fix menu default reset, add player name to the menu (#596)
* set net_player_name in the menu

* fix setupscreen fields

* remove S_FILE and WAD/DEH preincludes

* don't reset widescreen mode
2022-06-12 22:07:18 +02:00
Roman Fomin
49b26537ea check skill in NET_ValidGameSettings 2022-06-11 09:49:53 +07:00
Roman Fomin
5f5e0e2c19
implement Deathmatch 3.0 (from Crispy Doom) (#595) 2022-06-10 18:15:27 +02:00
Roman Fomin
3d1f4c2e35 remove unused code 2022-06-10 22:08:15 +07:00
Fabian Greffrath
eaece73b66
minor rewording 2022-06-10 15:25:37 +02:00
Fabian Greffrath
714f2a4e8e
new attempt to rearrange the general menu (#594)
* new attempts to rearrange the general menu

* remove network player name entry again
2022-06-10 12:37:43 +02:00
Fabian Greffrath
e75e03d9e0
add support for SMMU swirling flats (#591)
* ad support for SMMU swirling flats

* formatting glitch

* shorten sequence length to 256

* create distorted flat lookup table on demand

* make init function static

* add config key and menu switch
2022-06-10 08:47:56 +02:00
Fabian Greffrath
5819f54bcf final improvement of COMPUTE2 brightmap
Thanks again @JNechaevsky
2022-06-10 08:17:43 +02:00
Roman Fomin
467fc8c946
replace win_fopen.c with wrappers from Chocolate Doom (#592)
* replace win_fopen.c with wrappers from Chocolate Doom

* always include direct.h on Windows

* add missing header files, fix gcc warning

* move wrappers to m_io.c, formatting

* fix cmakedefine

* always include string.h

* use only strcasecmp and strncasecmp

* add missing thermo.h

* include config.h

* move str(n)casecmp define to doomtype.h
2022-06-10 07:49:38 +02:00
Roman Fomin
ee09f76a24
set net_player_name in config, cleanup (#590) 2022-06-09 17:15:56 +02:00
Fabian Greffrath
3068ea2a46
add support for -shotdir parameter, fall back to -save parm or current dir (#589)
* add support for -shotdir parameter, fall back to save dir

* use exe name and support up to 9999 screenshots

* set screenshotdir to -shotdir parm or fall back to -save parm or current dir

* cosmetics

* entirely rip out PCX and BMP screenshots

* unconditionally create -save and -shotdir directories

* remove obsolete variable
2022-06-09 17:14:57 +02:00
Roman Fomin
1e9de7b2f9 fix setup resource file 2022-06-09 14:03:11 +07:00
Roman Fomin
5162b8ba1a
fix setup manifest (#585) 2022-06-09 08:50:53 +02:00
Fabian Greffrath
a8d9cb4788
fix rendering of the infinite ocean effect (#582)
* fix rendering of the infinite ocean effect

First, this requires changing the type for variables used to store
angle arithmetics in R_ScaleFromGlobalAngle to angle_t.

Second, this requires checking if generated seg angles and those
stored in the WAD differ "too much" and revert back to the stored
value then.

* crispy implementation was earlier
2022-06-09 06:36:41 +02:00