774 Commits

Author SHA1 Message Date
Fabian Greffrath
dc70c3ca23 update TimGM6mb.sf2 with the fixed version from Debian (missing E in Alto Sax) 2022-02-19 17:59:51 +01:00
Fabian Greffrath
09ec7aab11 remove potential privacy breaches from mbf-bugs.html 2022-02-19 17:58:41 +01:00
Fabian Greffrath
e3f2b66ae9 return early from G_DoPlayDemo() with a macro 2022-02-19 17:07:28 +01:00
Fabian Greffrath
a74cbcadb0 disable irrelevant crosshair items in the menu 2022-02-19 12:38:09 +01:00
Fabian Greffrath
ab62029055 revert experiments from a different branch, dmmit! 2022-02-18 11:37:20 +01:00
Fabian Greffrath
b0e574fa51 add some more detailed licensing information for TimGM6mb.sf2 (from Debian) 2022-02-18 11:36:15 +01:00
Fabian Greffrath
3836615c33 only override quicksave slot names that already start with a map name 2022-02-18 10:37:30 +01:00
Fabian Greffrath
b81dd5508a update quicksave slot name 2022-02-18 10:17:52 +01:00
Fabian Greffrath
c66996d29b get rid of the global maplumpnum 2022-02-18 08:25:26 +01:00
Fabian Greffrath
494e556f5f always append WAD file name to savegame namess, even for IWADs
Why the inconsistency?
2022-02-18 08:13:31 +01:00
Fabian Greffrath
89c929e5f9 re-arrange the General menu 2022-02-17 22:19:30 +01:00
Fabian Greffrath
3ca81eb4b9 fix a potential crash in the demo reel 2022-02-17 22:02:42 +01:00
Fabian Greffrath
28f0d25c3f fix possible integer overflows in timing functions 2022-02-15 21:45:01 +01:00
Fabian Greffrath
fb8c4e77d0 missing weapons leave a small gap in the Boom HUD 2022-02-15 11:56:51 +01:00
Fabian Greffrath
851da7d721
show game speed in the time widget if not 100 pct (#452)
* show game speed in the time widget if not 100 pct

* increase time widget string buffer
2022-02-15 06:14:19 +01:00
Fabian Greffrath
59d50d8783
de-obfuscate some "extended nodes" constants (#451) 2022-02-14 12:30:25 +01:00
Fabian Greffrath
50075358ee
de-hardcode colored blood values (#450)
Apply them using the doom-all autoload instead. Much less values to set, reset and apply again.
2022-02-14 12:30:14 +01:00
Roman Fomin
1da1e2cb33
implement coop_spawns (#449) 2022-02-13 14:52:34 +01:00
Roman Fomin
3ad07e00b6
implement BUDDHA and IQDQD after death (#448)
* implement BUDDHA and IQDQD after death

* remove redundant code

* initialize mt.options

* Revert "initialize mt.options"

This reverts commit d6ec7c9a18797ecca53f6c561a914d0bde6c52ea.

* move SHOWFPS to powers[] array

* fix array size

* rename pw_fps -> pw_showfps
2022-02-13 14:51:59 +01:00
Roman Fomin
c16519e186 remove unused code 2022-02-13 14:31:03 +07:00
Fabian Greffrath
743803b8bb do not show ENDOOM when recording a demo 2022-02-07 15:04:19 +01:00
Fabian Greffrath
ac9f7f0209
don't let toggles eat keys (#447)
Fixes #445
2022-02-07 14:51:05 +01:00
Fabian Greffrath
f7af7c5763
more consistent config file formatting (#444) 2022-02-07 14:47:31 +01:00
Fabian Greffrath
660bd42d2b remove remnants of previous build attempts 2022-02-07 10:20:59 +01:00
Fabian Greffrath
b755013f62
fall back to Native/SDL on error (#443)
* fall back to Native/SDL on error

* show message box on soundfont loading error
2022-02-07 09:32:01 +01:00
Fabian Greffrath
abcc96c905
properly install bundled soundfont on Linux (#442) 2022-02-07 09:31:52 +01:00
Fabian Greffrath
448871a3e0 always print out the default file line 2022-02-07 08:52:37 +01:00
Fabian Greffrath
67fd3a51a5 allow quickload before quicksave
one less question to slow down quicksave/quickload
2022-02-04 11:27:32 +01:00
Fabian Greffrath
4c0a607562 save the last game you loaded, load the last game you saved 2022-02-04 11:08:40 +01:00
Fabian Greffrath
959707049c End Game clears quicksave slot 2022-02-04 10:59:05 +01:00
Fabian Greffrath
7a0b5c6001
quicksave to classic savegame slot, but skip questions (#440)
* Revert "remove unnecessary string buffer for quicksave questions"

This reverts commit 7516634729144e3718a490f31487e619eff5f5ee.

* Revert "parametrize quicksave file name"

This reverts commit 992e69e59121a5eabe58616e9a6624c5c0a9e24e.

* Revert "skip questions and save to dedicated quicksave slot (#421)"

This reverts commit f567b7ab911f87c5b0c59b23eaa81eda3c57c2e8.

* quicksave to classic savegame slot, but skip questions

* reset quickSaveSlot if it has been deleted
2022-02-04 10:53:28 +01:00
Fabian Greffrath
1bf73e5186 update to SDL 2.0.20 2022-02-02 13:52:20 +01:00
Fabian Greffrath
2eb9a183be
split dirname and basename at both types of slashes on Windows (#439)
User-supplied path names may still contain both types of slashes, i.e. forward and backward slashes.

Fixes #437
2022-02-02 08:38:44 +01:00
Fabian Greffrath
9b138df643 only enable one per-tic reporting cheat at once 2022-01-31 15:33:22 +01:00
Fabian Greffrath
e7da1275c3
clean up I_GetTime() and I_GetFracTime() implementations (#438)
* back to Crispy Doom formula for fractionaltic calculation

* clean up I_GetTime() and I_GetFracTime() implementations

* fix typo

* whitespace clean-up

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2022-01-31 09:43:57 +01:00
Pascal de Bruijn
a70fa8ec0e
m_menu: fix widescreen rendering of shareware HELP2 screen (#435) 2022-01-29 17:07:22 +01:00
Fabian Greffrath
2ad22c6601 IDMYPOS cheat back to infinite duration, some clean-ups for the RATE cheat 2022-01-28 15:26:17 +01:00
Roman Fomin
a9bcaffd7b
implement render stats (#434)
* implement render stats

* remove frame_count

* remove I_GetTimeMS()
2022-01-28 14:43:30 +01:00
Fabian Greffrath
aff317af77
IDMYPOS prints high precision coordinates for 10 seconds (#433)
* IDMYPOS prints high precision coordinates for 10 seconds

The current implementation doesn't offer much more than the player coords automap widget in overlay mode.

* restrict IDMYPOS cheat to not_dm
2022-01-28 13:49:20 +01:00
Roman Fomin
5950cb169e
fix check for umapdef entries (#432)
* fix check for umapdef entries

* search all umapdef entries
2022-01-28 13:49:09 +01:00
Roman Fomin
2fa435d46e
implement netgame reload level (#428)
* implement netgame reload level

* remove redundant declaration

* remove restart from start level when recording demo

In a netgame, the desync occurs if one of the players records a demo and the
other does not.

* force players reborn, reset rng and automap marks

* set BTS_RELOAD = 32

* always restart from startmap in netgame
2022-01-28 13:49:00 +01:00
Fabian Greffrath
043868015c
idbeholdo cancels invisibility 2022-01-27 09:48:07 +01:00
Fabian Greffrath
8bc2e2dfa6 generalize the BFG Edition IWAD fixes 2022-01-27 08:39:07 +01:00
Fabian Greffrath
a8d0cda6f7 add back crosshair drawing conditions 2022-01-27 08:01:02 +01:00
Fabian Greffrath
b7e8854b80 properly tab-aligned HU string widgets 2022-01-27 07:59:24 +01:00
Fabian Greffrath
9aaa5e0ad5 improve menu legibility for the other three IWADs 2022-01-27 07:57:54 +01:00
Fabian Greffrath
4fc2603252
add config key and input binding to disable vertical mouse movement (#430) 2022-01-26 15:59:16 +01:00
Fabian Greffrath
db6e211bc6
draw Time widget on intermission screen (#429) 2022-01-26 15:58:25 +01:00
Fabian Greffrath
7516634729 remove unnecessary string buffer for quicksave questions 2022-01-24 09:50:23 +01:00
Fabian Greffrath
b9d72afc4d
misc improvements to program exit handling (#426)
* collect all error messages and show the pop-up windows last in the exit sequence 

* remove debug stuff

* simplify char pointer arighmetics

* get rid of I_QuitVideo() again

At first sight it appears necessary and "clean" to free all used
resources on process exit. However, when a process is quit, all its
resources are freed anyway - so this doesn't buy us anything apart
from an obscure segfault in SDL_FreeSurface() (fixes #425) and some
(albeit unnoticable) delay on shutdown.

Also, this article is relevant here:
https://devblogs.microsoft.com/oldnewthing/20120105-00/?p=8683

* do not exit with an error from demo recording
2022-01-24 09:10:02 +01:00