1294 Commits

Author SHA1 Message Date
Roman Fomin
25d84b190d
fix beta bfg from SMMU (#568) 2022-05-28 19:24:40 +02:00
Roman Fomin
ebddf8b219
fix messages in spy mode (#567) 2022-05-28 19:24:31 +02:00
Roman Fomin
66cadbe857 fix weapon bobbing interpolation during mouselook 2022-05-27 16:12:05 +07:00
Roman Fomin
06689b1753
indicate overflow emulation in demo footer (#566)
* rewrote G_AddDemoFooter to use memio.h

* remove M_StringAdd

* indicate overflow emulation in demo footer

* fix gcc warning

* fix declaration

* fix dehfiles realloc
2022-05-27 10:42:40 +02:00
Roman Fomin
8fee16b76b
add missed parts of emulation of missed back side on two-sided lines (#565) 2022-05-25 16:28:41 +02:00
Roman Fomin
b0802b070e fix MSVC build 2022-05-25 18:54:47 +07:00
Fabian Greffrath
46d5c05cd2 add GetSectorAtNullAddress from Chocolate Doom
and some related demo_compatibility fixes
2022-05-25 12:56:13 +02:00
Roman Fomin
bf9a63b090 fix weapon bobbing interpolation at the start of the level 2022-05-25 17:42:59 +07:00
Fabian Greffrath
1d4c8b2b0d
Fix kills percentage calculation in the STS widget
Fixes https://github.com/fabiangreffrath/woof/issues/564
2022-05-25 12:26:30 +02:00
Roman Fomin
78e4c766b9
add P_SubstNullMobj from Chocolate Doom (#563)
Substitute NULL mobjs for a dummy mobj where mo->target is not checked for NULL.
2022-05-25 11:43:08 +02:00
Fabian Greffrath
c36c5da9ea remove unused totalwidth variable from R_InitTextures() 2022-05-25 11:23:13 +02:00
Fabian Greffrath
0b03285275 improve SILVER3 brightmap
0b1aaef9ef
2022-05-25 09:11:13 +02:00
Fabian Greffrath
ed52ee1a83 clarify license of the mini-thermo artwork 2022-05-25 08:37:08 +02:00
Roman Fomin
f1688ad226
coop stats (#561)
* count all kills in coop, show coop stats in Time/STS widget

* fix progress bar in multiplayer demo

* reduce buffer size (gcc warning)

* give kill to random player in other complevels too
2022-05-23 09:02:58 +02:00
Fabian Greffrath
07b7fe0404 fix two straying bmap pixels on Cell charge
dfc4e3c218
2022-05-21 21:16:43 +02:00
Roman Fomin
03ec40f15f update multi-line messages menu item at menu reset 2022-05-21 09:46:03 +07:00
Fabian Greffrath
8a76ca0a2e
port over the SPECHITS cheat from Crispy Doom (#560)
* port over the SPECHITS cheat from Crispy Doom

Fixes #552

* fix Keen actions triggering already moving sectors

* another refactor

* improve line spacing

* disambiguate player message
2022-05-20 12:54:35 +02:00
Roman Fomin
87ec16204e
implement "center messages" option (#558)
* implement "center messages" option

Also add "message review" mode switch

* fix declaration

* fix declaration again

* remove "message review", allow multi-line messages when chat mode enabled

* remove hud_msg_count
2022-05-20 12:54:23 +02:00
Roman Fomin
2d8fb48994 wav support: reformatting, additional error messages 2022-05-19 21:49:02 +07:00
Roman Fomin
b3736e55ea win midi: don't show MidiErrorMessageBox for midiOutUnprepareHeader
There are some malformed MIDI files (MAYhem19.wad map03) where
midiOutUnprepareHeader is failing. It looks like midiStreamClose releases
resources anyway, so we'll just ignore it.
2022-05-19 19:48:02 +07:00
Fabian Greffrath
9c82f64b3f fix recoil pitch timing for missile emitting weapons
Fixes #556
2022-05-19 09:59:24 +02:00
Fabian Greffrath
e3d9f90e49 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2022-05-18 16:08:11 +02:00
Fabian Greffrath
79dc717b40 menu re-arrangement
- move gamma below translucency
 - move default compatibility to compatibility
 - add brightmaps to General
 - back to 12px spacing for Compatibility
2022-05-18 16:07:46 +02:00
Roman Fomin
0bfb892fc8 fix MSVC compilation 2022-05-18 21:04:04 +07:00
Fabian Greffrath
3f0b6836fb
brightmaps implementation from Crispy Doom (#555)
* initial checkin, not yet working

* first working implementation

* const correctness

* make brightmaps feature actually configurable
2022-05-18 15:45:23 +02:00
Roman Fomin
2a5f292262 win_fopen: fix memory leaks, formatting 2022-05-18 14:34:05 +07:00
Roman Fomin
c953d919e6
interpolation for weapon bobbing from PrBoom+ (#554) 2022-05-18 09:15:11 +02:00
Roman Fomin
aee87ebe09
implementation of custom gamma (#553)
* implementation of custom gamma

* mini-thermo position adjustments

* simplify I_SetPalette

* add blinking "<", define size

* calculate offset for mini thermo

* reset usegamma

* reorganize menus for new spacing

* reorganize "key bindings" and "general"
* condense "compatibility"
* move gamepad sensitivity to "key bindings"
* fix "dynamic help" screen

* add missed const/static

* adjust mini-thermo offsets

* define COMP_SPC M_SPC

* correct the names of menu items, the help line in config

* fix dynamic help screen
2022-05-18 09:15:02 +02:00
Roman Fomin
a53514931b fix width of 'pause' patch 2022-05-12 13:43:59 +07:00
Fabian Greffrath
2984b7e170 tune down red palette a bit so the menu remains legible 2022-05-12 08:14:28 +02:00
Roman Fomin
4cb85addef
initial removal of z_zone.h macros (#551)
* initial removal of z_zone.h macros

* fix linux gcc compilation

* use I_Realloc wrapper

* remove size_t printing

* remove excessive parenthesis

* fix checkcpp errors

* fix include in dsdhacked.c, formatting

* remove redundant code, fix indent

* use zone memory in r_main.c

* remove redundant declaration

* use I_Realloc for `wadfiles`

* use Z_Malloc in V_InitColorTranslation
2022-05-12 07:50:11 +02:00
Roman Fomin
6acb23bbcb
umapinfo: add U_CheckField function, reformatting (#550)
* umapinfo: add check_field macro, reformatting

* more formatting

* don't use zone memory in u_mapinfo.c, remove unused code, formatting

* don't include g_game.h (contains z_zone.h)

* replace check_field macro with function

* fix intertext = clear
2022-05-11 12:05:01 +02:00
Roman Fomin
dbfbb5f72e
smooth diminishing lightning from Crispy Doom (#549)
* smooth diminishing lightning from Crispy Doom

* fix declaration of scalelightfixed

* add fake contrast recalculation

* missed declaration

* missed R_StoreWallRange

* formatting
2022-05-11 10:53:34 +02:00
Fabian Greffrath
9a206b9dbb
remove explicit mention of PrBoom+ from demo compatibility statement 2022-05-11 09:28:11 +02:00
Fabian Greffrath
ed93bb4313
a word on demo compatiblity 2022-05-10 14:22:39 +02:00
Fabian Greffrath
f3a12c3891 rename "Classic BFG" to "Pre-Beta BFG" 2022-05-09 21:25:16 +02:00
Michael Day
42644dd0e7
Add original nerve.wad music to umapinfo file (#548) 2022-05-09 08:30:34 +02:00
Roman Fomin
bfd7ce5693
umapinfo: endpic affects secretexit (#547) 2022-05-09 08:19:31 +02:00
Roman Fomin
a54abbec31
demo playback QOL features (#545)
* implement demo progress bar

* implement demoskip and skipsec

* implement game speed keys

* fix gcc warning

* fix music if -skipsec is used

* fix game speed keys

* initialize basetime

* restore I_GetTime_RealTime()

* rename GetTimeMS()->GetTimeMS_Scaled()

* use fastdemo for demo skipping

* rename skip to fast-forward

* compensate fastdemo tic

* refactor i_system.h

* move timer functions to i_timer.c
* remove unused code

* remove redundant redeclaration

* fix timer declaration

* rename I_SetFastdemo->I_SetFastdemoTimer

* fix menu game speed option

* simplify I_SetFastdemoTimer

* move the timer initialization parts to I_InitTimer

* fix typo

* restore noblit

* add demo_skipping macro
2022-05-09 08:19:21 +02:00
Roman Fomin
c27abe1300
remove st_binicon_t (#543)
* remove st_binicon_t

* remove missed typedef
2022-05-04 13:29:17 +02:00
Roman Fomin
2568985fc8
draw armsbg in ST_refreshBackground (#542) 2022-05-04 12:36:16 +02:00
Roman Fomin
4917c63d87
rearrange automap menu, consistency changes (#538)
* same offsets in general menu

* rearrange automap menu

* adjust keybinds menu, move automap toggle

* formatting

* fix prev next

* adjust defines for menu positioning

* define menu spacing

* fix typo

* missed enemies menu

* define menu x positioning

* fix M_X_WARN

* rearrange help screen
2022-05-04 10:16:32 +02:00
Lippeth
b2a3d8f869
resolved SDL2-VC hash mismatch error in CMake (#540) 2022-05-04 09:09:58 +02:00
Fabian Greffrath
0b66a0a813 more generalization of menu string positioning 2022-05-03 12:08:20 +02:00
Fabian Greffrath
1ae96f2a13
different colors for different thing classes on the Automap (#537)
* different colors for different thing classes on the Automap

Fixes #536

* move comment wehre it belongs
2022-05-03 10:43:19 +02:00
Roman Fomin
f811cffc76 fix MSVC compilation 2022-05-03 15:41:05 +07:00
Fabian Greffrath
309bb70d23 reset warning message when leaving menu with backspace 2022-05-02 13:22:15 +02:00
Fabian Greffrath
c78a0ab2d7 parametrize warning and prev/next line y-coord 2022-05-02 13:14:17 +02:00
Fabian Greffrath
0981c413dc fix miscalculation 2022-05-02 08:59:02 +02:00
Fabian Greffrath
0794c50120 always print prev/next on the last line, warn for REJECT overflow on reload 2022-05-02 08:55:33 +02:00