342 Commits

Author SHA1 Message Date
Fabian Greffrath
b8da391f4d bring weapon attack alignment implementation in line with Crispy 2021-02-19 11:12:51 +01:00
Roman Fomin
9f1c0e021a
fix a few widescreen offsets (#131) 2021-02-18 16:57:26 +01:00
Roman Fomin
ae80eca00d
fix handling music lumps with 0 length (#130) 2021-02-18 06:34:39 +01:00
Fabian Greffrath
bddeb3927c some minor fixes and clean-ups
mostly to satisfy my desire for smallest possible diff and white space
changes
2021-02-17 14:12:14 +01:00
Roman Fomin
b1daa874c5
Integrate Boom's BLOCKMAP generation code for demo compatibility (#129)
* Integrate Boom's BLOCKMAP generation code for demo compatibility

* use both versions of BLOCKMAP generation
2021-02-17 13:09:03 +01:00
Roman Fomin
8cb43b66a6
Restore Boom friction code for demo compatibility (#127)
* Restore Boom friction code for demo compatibility

* clean up

* fix original indentation

* try to fix indent again

* more indent fixes
2021-02-17 13:08:53 +01:00
Roman Fomin
1eea0b91b9
Ignore sprite lumps smaller than 8 bytes (#128)
* ignore sprite lumps smaller than 8 bytes

* remove unnecessary check
2021-02-17 06:33:51 +01:00
Fabian Greffrath
b5c63e620a clean up some demo compatibility code 2021-02-16 13:01:39 +01:00
Roman Fomin
70f2a0c2d0
fix P_FindShortestTextureAround (#126)
* fix P_FindShortestTextureAround

* fix position of M_PAUSE patch

* Revert "fix position of M_PAUSE patch"

This reverts commit 0d42ca4755639ca94b22720945f68ecd671dcd92.

* add fix for P_FindShortestUpperAround and check for demo version

* reformatted

* delete blank line
2021-02-16 10:06:02 +01:00
Roman Fomin
d14c65fe02
Disable MBF codepointers for BOOM demo compatibility (#125)
* disable mbf codepointers for boom demo compatibility

* disable other mbf codepointers

* fix gcc build
2021-02-12 10:03:04 +01:00
Roman Fomin
77310d7f66
Add MUSINFO support (#124)
* Add MUSINFO support

* use memcpy

* initialize lump[9]

* remove excess include
2021-02-11 13:55:05 +01:00
Roman Fomin
212eb16c91
Add support for 16-bit WAV sound lumps (#122)
* Add support for 16-bit WAV sound lumps

* Fix gcc build

* Made SOUNDHDRSIZE a variable

* Initialize SOUNDHDRSIZE
2021-02-10 08:32:02 +01:00
Fabian Greffrath
05aa665373 turn I_Error() into an actual NORETURN function 2021-02-03 16:41:46 +01:00
Fabian Greffrath
d68862a79f more wild-guessing at clang's problem with calling vsnprintf() 2021-02-03 14:20:33 +01:00
Fabian Greffrath
75952050d1 actually include "doomtype.h" in m_misc2.h 2021-02-03 12:08:21 +01:00
Fabian Greffrath
0e8a35d127 another attempt to get rid of the Clang warning 2021-02-03 11:04:51 +01:00
Fabian Greffrath
ccc9675545 attempt to fix Clang warnings 2021-02-03 10:59:28 +01:00
Fabian Greffrath
938e96ec96 Treat warnings as errors for Travis CI 2021-02-03 10:20:19 +01:00
Fabian Greffrath
8e2c5d8297 some clean-up, mostly whitespace, some comments 2021-02-01 15:09:22 +01:00
Roman Fomin
b704f5f7a0
Recalculate WIDESCREENDELTA before creation of hud widgets (#121) 2021-01-31 21:19:48 +01:00
Fabian Greffrath
c874200f3f externalize "Secret Revealed" message string 2021-01-31 21:13:03 +01:00
Roman Fomin
e9bc345051
Fix pistolstart check for demo recording (#120) 2021-01-30 19:23:31 +01:00
Roman Fomin
342d445641
Add pistolstart command line option (#119) 2021-01-30 17:10:03 +01:00
Roman Fomin
c2fde4f938
Remove player->centermessage code (#118) 2021-01-29 21:36:04 +01:00
Roman Fomin
627ac53d72
Save window geometry and display index (#116)
* Save window geometry and display index

* Minor tweaks

* Move GetWindowPosition code to I_ShutdownGraphics()

* Add comment and make I_GetWindowPosition static
2021-01-29 18:17:43 +01:00
Roman Fomin
82e9efa205
"A secret is revealed!" message (#117)
* Add secret message

* Add menu option for secret message

* Few fixes
2021-01-29 11:42:38 +01:00
Roman Fomin
8802882efd
Add HI_START/HI_END namespace (#112)
* Add HI_START/HI_END namespace

* Add comments
2021-01-27 05:44:37 +01:00
Fabian Greffrath
6b12b4900e fix menu string editing cursor position 2021-01-26 21:38:19 +01:00
BeWorld
18bb743540
Fix bigendian MIDI (#113)
* Fix bigendian MIDI

Add define READ_INT16(b) and fix MUSh header

* Update mmus2mid.c

* Revert "Update mmus2mid.c"

This reverts commit fc8c2119d3d288b91be5570e1772358307f3b269.

* Update mmus2mid.c
2021-01-26 20:53:52 +01:00
Fabian Greffrath
8cdf91337a fix automap marker coordinates in widescreen mode 2021-01-26 15:19:27 +01:00
Roman Fomin
76453c488d
Fix hires screenshot (#111) 2021-01-26 06:33:50 +01:00
Roman Fomin
25ac96403b
Widescreen mode based on Crispy Doom (#107)
* Partial widescreen implementation

* Draw patch fullscreen and various fixes

* Fix bunny scroll with wide assets

* Fix offsets in menu and automap widget

* Few fixes
2021-01-25 13:52:25 +01:00
Fabian Greffrath
ee91e136e3 externalize KFA cheat string
41b5258fac
2021-01-25 08:56:21 +01:00
Fabian Greffrath
ffcbac20c2
SPECHITS overflow emulation from Chocolate Doom / PrBoom+ (#106)
* SPECHITS overflow emulation from Chocolate Doom / PrBoom+

Fixes #103 

* re-arrange code a bit

* print a warning
2021-01-21 19:22:33 +01:00
Roman Fomin
d194546154
Add midiproc from Crispy Doom (#100)
* Add midiproc from Crispy Doom

* Fix gcc build

* Restore original code and cleanup

* Try to fix gcc build

* Fix midiproc not starting when using drag-and-drop

* Few fixes

* Add check midiproc version

* Move snd_samplerate declaration

* Add install rule
2021-01-21 19:17:08 +01:00
Roman Fomin
cb98e17d72
Workaround for SDL 2.0.14 alt-tab bug (#105)
* Workaround for SDL 2.0.14 alt-tab bug

* Add run-time and build-time check

* Add block scope
2021-01-20 10:52:40 +01:00
Roman Fomin
841d53053e
Fix bmp2c.c MSVC build (#104)
* Fix bmp2c.c MSVC build

* Add missing EOL
2021-01-19 12:37:42 +01:00
Fabian Greffrath
f0c5d0733f choose next column like Vanilla, we may not run through the entire column 2021-01-12 09:24:11 +01:00
Fabian Greffrath
314e8d5e51 simplify V_DrawPatchGeneral() overflow guard 2021-01-11 12:23:43 +01:00
Fabian Greffrath
8ecb882201 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2021-01-11 09:19:12 +01:00
Fabian Greffrath
6218084065 prevent framebuffer overflows in V_CopyRect() 2021-01-11 09:19:04 +01:00
Fabian Greffrath
afb99f6390
prevent framebuffer overflows in V_DrawPatchGeneral() (#99) 2021-01-08 15:07:02 +01:00
Fabian Greffrath
b37e54f2d6
PNG screenshots are exact reproductions of the actual game screen (#98) 2021-01-08 12:20:50 +01:00
Fabian Greffrath
c47a28812e Fast and respawn options not reloaded from savegames correctly
Apply cph's fix from mbf-bugs.html
2021-01-08 12:19:09 +01:00
Fabian Greffrath
1133b79706 Woof! 3.1.0 woof_3.1.0 2021-01-08 12:01:24 +01:00
Fabian Greffrath
3db3e5042d update to SDL2-2.0.14 2021-01-07 08:39:39 +01:00
Fabian Greffrath
0515086c7e prepare for Woof 3.1.0 2021-01-03 22:34:36 +01:00
Fabian Greffrath
696db29f58 improved logging for level setup and game loading 2020-12-30 16:17:21 +01:00
Fabian Greffrath
f9440f8678 save total time for all completed levels 2020-12-30 15:49:48 +01:00
Fabian Greffrath
222f202110 generate a default save slot name when the user saves to an empty slot 2020-12-30 15:44:26 +01:00