917 Commits

Author SHA1 Message Date
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
Fabian Greffrath
fa7cec5dac print all menu warnings on the next to last line 2022-05-02 08:27:18 +02:00
Roman Fomin
4cac272e04
enable novert by default (#535) 2022-05-01 16:39:39 +02:00
Roman Fomin
c79cb507f9 fix drawing M_PAUSE from PWADs 2022-05-01 20:04:28 +07:00
Roman Fomin
335edb6ef9
choosing a hud color instead of entering a number (#534)
* choosing a hud color instead of entering a number

* use local variable
2022-05-01 11:46:14 +02:00
Roman Fomin
8b197b4a37
docs update (#533)
* update documentation

* convert mbf-bugs.html to Markdown
* remove mbf21.md (it's incomplete)
* replace umapinfo.txt with umapinfo.md

* delete documents
2022-04-30 18:54:45 +02:00
Roman Fomin
3ed57c3eff
fix overlapping uses of global variables in p_map.c for mbf21 complevel (#532) 2022-04-30 15:21:39 +02:00
Fabian Greffrath
cae303933b extend Windows 11 VSync timer fix to SDL 2.0.22 2022-04-29 14:33:28 +02:00
Fabian Greffrath
e8417a4ccf update to SDL 2.0.22 2022-04-29 14:23:53 +02:00
Fabian Greffrath
cf5f99c278
extend cppcheck to also cover _WIN32 (#531) 2022-04-28 12:16:41 +02:00
Roman Fomin
7e81350578
remove win-textfile script (#530)
* remove python scripts

* retore convert-icon script

* fix docs destination

* fix docs->doc
2022-04-28 08:20:48 +02:00
Fabian Greffrath
66724b6391 minor clean-ups 2022-04-27 09:52:52 +02:00
facespkz
d096479bd2
Fix wiggling on edges of floors/ceilings (#518)
* Implement wiggle reduction from Crispy Doom

* Delete old R_ScaleFromGlobalAngle

* Move R_FixWiggle between re-added macros and R_RenderSegLoop

* Remove excess blank line

* rearrange new code for a smallest possible diff

* turn R_ScaleFromGlobalAngle() static

Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2022-04-26 13:58:57 +02:00
Roman Fomin
5bda1a5cb2
add cosmetic bobbing setting (#528)
* add cosmetic bobbing setting

* fix typos

* disable centered weapon menu item if bobbin is off

* remove Boom's recoil from menu
2022-04-26 13:13:09 +02:00
Roman Fomin
daa9ea4e7d fix missed lumps counter for menus with thermo items 2022-04-26 17:59:35 +07:00
Roman Fomin
4c5f41e86a
enable hires and uncapped by default (#527) 2022-04-26 08:07:01 +02:00
Roman Fomin
d8f7a3c8b6
adjust menu vertical offset (#526) 2022-04-26 08:06:06 +02:00
Roman Fomin
846a07c1ae
fix empty lump name in MUSINFO savegame load (#525) 2022-04-25 16:09:54 +02:00
Fabian Greffrath
2d43b770b2
variable pitch bend range: 100 = none, 120 = original, 200 = default (#524)
* variable pitch bend range: 100 = none, 120 = original, 200 default (in Woof!)

* improve config string description
2022-04-25 16:09:38 +02:00
Fabian Greffrath
1a925af4e1 prevent memory leak on repeated calls of R_InitTranMap() 2022-04-25 13:32:45 +02:00
Roman Fomin
ad6684b7c0
bring implementation of V_DrawPatchTranslated into line with V_DrawPatchGeneral (#519)
* bring implementation of V_DrawPatchTranslated into line with V_DrawPatchGeneral

* add missed overflow checks
2022-04-25 11:21:19 +02:00
Roman Fomin
a53db1906c
fix menu item alttext if lumpname == "" (#523) 2022-04-25 09:47:48 +02:00
Roman Fomin
9f150e24e7
umapinfo: show CREDIT lump for default Doom 2 ending (#522) 2022-04-25 09:47:27 +02:00
Roman Fomin
e55ef38c91
umapinfo: fix nextsecret inconsistencies (#520) 2022-04-25 09:47:15 +02:00
Fabian Greffrath
59d0ea640e gracefully handle missing M_EPISOD patch lump in Episode menu 2022-04-25 09:23:05 +02:00
Fabian Greffrath
ce665c9388
take into account that gamemission defaults to doom (#516)
* take into account that gamemission defaults to doom

* free resources earlier
2022-04-14 11:07:20 +02:00
Roman Fomin
07e8330c92 check gamemission == none 2022-04-14 00:43:05 +07:00
Roman Fomin
ac24fc55b5
add content based IWAD check (#514)
* add content based IWAD check

* free resources

* add return

* remove local variable `numlumps`

To avoid potential confusion with global `numlumps`

* fix formatting
2022-04-13 18:04:03 +02:00