1208 Commits

Author SHA1 Message Date
Fabian Greffrath
090ba45488 fix binaries installation dir 2022-10-04 18:27:19 +02:00
Fabian Greffrath
445c049612
introduce and use M_IsMouseWheel() (#757)
Thanks @kraflab
2022-10-03 18:11:17 +02:00
rrPKrr
ae746f5dc5
Add mouse WheelLeft/WheelRight buttons (#756)
* Add mouse WheelLeft/WheelRight buttons

* Add else return clause

* Format long code lines

* Fix indentation

* Fix indentation for good
2022-10-03 01:47:23 +02:00
Fabian Greffrath
e3dfec919b
fix par time array overflow for Episode 4 (#752)
* fix par time array overflow for Episode 4

* add some Vanilla par times overflow emulation from Chocolate Doom

* include m_swap.h for LONG()
2022-09-30 09:23:39 +02:00
Fabian Greffrath
297bf765a0 UMAPINFO: only draw non-zero par times 2022-09-29 21:13:24 +02:00
Fabian Greffrath
d80de6e55b
separate mouse sensitivities for turn/strafe/move/look (#750)
* separate mouse sensitivities for turn/strafe/move/look

* add forgotten comma

* set mouse_sensitivity_vert and mouse_sensitivity_horiz_strafe to 0 by default

* no more patches drawing in the Mouse Sensitivity menu
2022-09-27 11:53:14 +02:00
Fabian Greffrath
8d148e9457
draw par times on intermission screen before endpic (#749) 2022-09-26 15:16:24 +02:00
Roman Fomin
26f676e6d3
don't draw HUD on the snapshots (#748) 2022-09-26 18:59:06 +07:00
Fabian Greffrath
a940b79d4b draw par times for IWAD maps and if set by DEH or UMAPINFO
Fixes #747
2022-09-26 10:52:42 +02:00
Roman Fomin
ec70ecad6f
fix save menu displayed in snapshot if save while demo is playing (#746) 2022-09-25 12:05:38 +02:00
Fabian Greffrath
9f6d273ee3 some const correctnes fixes in m_menu's text functions 2022-09-24 22:26:06 +02:00
Fabian Greffrath
04014b7ccc introduce R_DrawBorder() to avoid code duplication between R_FillBackScreen() and M_DrawBorderedSnapshot() 2022-09-24 22:16:05 +02:00
Fabian Greffrath
c815ac2102
add snapshots to savegames (#741)
* add snapshots to savegames

* WIP

* revert debugging aid

* clean up

* replace strncpy() with memcpy()

We *are* going to truncate before the terminating NUL.
This isn't a string, it's an indicator for the following snapshot data.

* fix initializer to be compile time constant

* limit maximum snapshot size

* array length should be const

* show savegame modification time below snapshots

* suppress the most useless compiler warning ever

* restrict warning suppression to GCC, sigh

* use M_stat() in M_ReadSavegameTime()
2022-09-24 21:51:36 +02:00
Fabian Greffrath
21f0b0e754 release Woof! 10.3.0 woof_10.3.0 2022-09-23 07:40:47 +02:00
Fabian Greffrath
1f71c6f784 adjust stats widget menu item 2022-09-23 06:45:20 +02:00
Fabian Greffrath
da5cf4483a remove STS prefix from the level stats widget 2022-09-22 22:05:51 +02:00
ceski
fbe47570e9
Adjust native MIDI volume slider curve to match midiOutSetVolume (#744) 2022-09-22 09:56:13 +02:00
Fabian Greffrath
a777d0c8a6
Update CHANGELOG.md 2022-09-21 08:14:18 +02:00
Julia Nechaevskaya
147e57c3b6
Apply bluegreenbrownred brightmap to COMPUTE1 texture (#742)
* Apply bluegreenbrownred brightmap to COMPUTE1 texture

* Replace spaces with tabs
2022-09-20 21:12:01 +02:00
Fabian Greffrath
c2b307ecb0
Update CHANGELOG.md 2022-09-20 12:33:30 +02:00
Roman Fomin
1b92f59a5f don't interpolate if both offsets 0 2022-09-20 00:48:15 +07:00
Roman Fomin
9339d95891
fix interpolation of accelerated scrollers, add floor and ceiling types (#739)
* fix accelerated sidesrcollers interpolation

* fix displacement scrollers, add sc_floor and sc_ceiling types
2022-09-19 14:36:24 +02:00
Roman Fomin
a9f8514593
don't interpolate accelerated sidescrollers (#738) 2022-09-19 11:16:23 +02:00
Fabian Greffrath
4174eb93ed update CHANGELOG 2022-09-19 11:12:04 +02:00
ceski
cda1560d31
Undo music volume slider changes (#737) 2022-09-19 07:11:17 +02:00
Roman Fomin
669d23ed04
synchronize animated flats (#736) 2022-09-18 16:15:19 +02:00
ceski
ed837b6c9b
Adjust music volume slider to match vanilla Doom (#735)
* Adjust music volume slider to match vanilla Doom

* Remove unnecessary float usage
2022-09-16 12:08:52 +02:00
Roman Fomin
f260e255be
rebuild sidescrollers on save load (#733)
* rebuild `sidescrollers` on save load

* add only `sc_side` type of scrollers
2022-09-14 13:00:08 +02:00
Fabian Greffrath
347e430c71
add smooth texture scrolling from Crispy Doom (#731)
* add smooth texture scrolling from Crispy Doom

* add forgotten baserowoffset initialization

Good catch, eagle eye 😉 @kraflab

* iterate through a list of scrollers separate from the thinker list

* add forgotten parenthesis

* fix another typo (yes, this is a blind lunch break coding session)

* consider friendly suggestions

* Implement a clean interface for cleaning the side scrollers list (@kraflab)
* Allocate scrollers in chunks of 32 (VANILLA limit is 64) (@rfomin)

Thanks!
2022-09-13 18:54:44 +02:00
Fabian Greffrath
a24c5955c9 condense flashing keyed door logic in AM_drawWalls() 2022-09-13 08:41:50 +02:00
Fabian Greffrath
9b9450b86e let exit lines blink if blinking keyed doors are enabled 2022-09-12 21:19:49 +02:00
Fabian Greffrath
efcf56308a
make the entire code base clang-15 compatible (#728)
* make cheat codes clang-15 compatible

* make the entire code base clang-15 compatible

* hopefully silence MSVC compiler warnings

* name arguments

* cosmetic line break

* cosmetic spacing

* convert actionf_t into a union of function pointers

* convert some forgotten code pointers

* remove support for non-existant two-arg action pointers

* apparently MSVC makes a difference between func() and func(void), wow!

* back to the original two-arg PSPR function pointers
2022-09-12 18:55:05 +02:00
Fabian Greffrath
4bbb448f64
go the unin of function pointers way for m_cheat.c (#730) 2022-09-12 18:52:50 +02:00
Fabian Greffrath
6f0e47fde3 simplify matters again a bit in m_cheat.c 2022-09-12 16:47:40 +02:00
Fabian Greffrath
719e2c31a6 let widescreen rendering require aspect ratio correction 2022-09-11 18:43:41 +02:00
Fabian Greffrath
d6bc3b9a22
make cheat codes clang-15 compatible (#726)
* make cheat codes clang-15 compatible

* hopefully silence MSVC compiler warnings

* name arguments
2022-09-11 09:15:18 +02:00
Fabian Greffrath
4418590510
require a C99 capable compiler (#727)
* require a C99 capable compiler

* explicitly initialize the 200 extra sounds of DEHEXTRA

* replace Long64 and ULong64 by their stdint counterparts
2022-09-11 09:09:04 +02:00
Fabian Greffrath
b12fa74d13 fix memory leak in S_Init() and deduplicate MAX_CHANNELS
Thanks @kraflab!
2022-09-10 15:25:01 +02:00
Fabian Greffrath
6bd051d503 increase a string buffer size to silence a compiler warning 2022-09-10 14:42:40 +02:00
Roman Fomin
cd9b649b80
add reverb/chorus settings for native MIDI (#724)
* add reverb/chorus settings for native MIDI

* add _WIN32 guards

* reset MIDI device at initialization
2022-09-09 11:46:48 +02:00
Fabian Greffrath
e31b3d0bb0
keep a static copy of src/param.h instead of always regenerating it (#723)
* keep a static copy of src/param.h instead of always regenerating it

* add ENABLE_PARAMSGEN option
2022-09-09 07:39:49 +02:00
Fabian Greffrath
ad74f830b9 set deh_set_blood_color even if blood color is reset to zero by DEH 2022-09-09 07:26:13 +02:00
Fabian Greffrath
c5bcf935f0 move G_ReloadDefaults() after DEH processing
This makes sure the deh_set_blood_color variable can be properly
parsed in D_SetBloodColor().
2022-09-09 07:25:32 +02:00
Fabian Greffrath
a7f35f0d84 ignore empty lumps in W_ReadLump()
Do not even attempt to read empty lumps, because Windows' POSIX read()
implementation fails when passed a `NULL` buffer parameter, even though
the len parameter is also `0`.
2022-09-08 16:37:02 +02:00
Fabian Greffrath
f1dd74940a update CHANGELOG 2022-09-07 08:35:28 +02:00
Fabian Greffrath
2dc7f9a96e
add rudimentary support for REKKR: Sunken Land (#718)
Fixes #717
2022-09-07 08:13:03 +02:00
Roman Fomin
bc21a66ef9
fix timing demo (#720) 2022-09-07 13:09:53 +07:00
Fabian Greffrath
052275aedd update CHANGELOG 2022-09-06 09:23:49 +02:00
Fabian Greffrath
eae9ac8cb9 fix typo/stupido 2022-09-05 14:36:00 +02:00
Fabian Greffrath
204dbb774f D_DoomExeName() returns without extension 2022-09-05 12:59:13 +02:00