2029 Commits

Author SHA1 Message Date
Roman Fomin
d58473b4af
fix UMAPINFO episodes for nightmare skill, reformatting (#1358) 2023-12-30 05:41:37 +07:00
Roman Fomin
5adc01c272 fix previous commit 2023-12-29 21:20:04 +07:00
Roman Fomin
8b487b1ced
fix loading lumps with -file command (#1357)
Sometimes the `FileContainsMaps` function tries to allocate too much memory.

* add checks for "IWAD" and "PWAD"
2023-12-29 21:06:02 +07:00
Roman Fomin
fc9731ffa0
add music_lock mutex, increase delay (#1304)
* clear the queue when the song stops, more error checking
2023-12-29 16:28:30 +07:00
Fabian Greffrath
edd527feb0
NanoBSP integration (#1342)
* WIP: NanoBSP integration

* update to latest nano_bsp HEAD

* update to nano101 as posted on the DW forums

* include p_extnodes.h instead of declaring P_GetOffset()

* one comment

* update copyright information

* introduce W_LumpExistsWithName()/W_LumpLengthWithName()

* use W_LumpExistsWithName()/W_LumpLengthWithName() more thoroughly

* error out if no SECTORS lump found

* report failing map lump name, not number
2023-12-29 10:12:09 +01:00
Roman Fomin
82e00563e6 run DRS only in GS_LEVEL state, make width even 2023-12-29 14:12:19 +07:00
Fabian Greffrath
e0fa94de5d
improve Vanilla automap color preset accuracy (#1354) 2023-12-28 23:23:31 +01:00
Roman Fomin
447057bd3a
more DRS tweaks (#1353)
* Another fix of garbage columns on the side of the screen.

* Reduced DRS step to 50px.
2023-12-26 13:00:01 +07:00
Roman Fomin
ea08151b83 improve accuracy of off-screen calculation in patch drawing
Now Eviternity II st_bar works better with DRS.
2023-12-26 12:31:35 +07:00
Roman Fomin
e49d3d8844
update build system (#1350)
* Automate metainfo release tag.

* Cosmetic changes
2023-12-25 19:05:49 +07:00
Roman Fomin
b6ce37457c remove HU_Erase from main loop
Now we always erase widgets in HU_Ticker.
2023-12-24 21:08:21 +07:00
Roman Fomin
38c2afde62 improve DRS image stability
Previously the width was made even to fix the garbage column at the side of the
screen. This is now no longer necessary.
2023-12-24 21:01:21 +07:00
Roman Fomin
b12994bccc
fix automap reset when switching resolutions (#1351) 2023-12-24 21:00:29 +07:00
Roman Fomin
7c1b648d46
fix for Hexen flowing water from DSDA-Doom (#1352)
Fixes midtex bleeding in "Eviternity II RC5.wad" MAP18
2023-12-24 15:27:15 +07:00
ceski
1a9d580bd5
More mouse improvements (#1348)
* Check `oldlookdir` before disabling `centering`

When turning off mouselook/padlook, keep view centering enabled until `oldlookdir` is zero, meaning when the player's view actually appears centered.

* Move `viewangleoffset`

* Check dead state set by `P_KillMobj()`

* Smooth composite/mouse turning transitions

Blend interpolated composite input (e.g. keyboard) turning with direct mouse turning to prevent choppy transitions.

* Group inputs by composite/gamepad/mouse

* Update carry/input calculations

This also enables shorttics (lowres_turn) with fast mouse polling.

* Add mouse smoothing toggle

With mouse smoothing disabled (default), mouse movements are immediately reflected in each frame update, with the game simulation following behind. The higher the framerate, the lower the perceived input lag. With mouse smoothing enabled, mouse movements are delayed by up to one tic (~29 ms) due to interpolation. When recording older format demos with reduced turning resolution (or when using `-shorttics`), interpolation may still be preferred for smoother turning.

* Rename "mouse smoothing" to "raw mouse input"

* Skip calculations when using interpolation
2023-12-23 15:29:10 -08:00
Roman Fomin
e0d30bbe6e fix HUD widgets not erased properly sometimes 2023-12-24 01:37:05 +07:00
Roman Fomin
23cff1e384 fix automap crosshair 2023-12-24 01:36:19 +07:00
Roman Fomin
b2c7b40641
optimise HUD widget erasing, avoid flicker when screen size is reduced (#1349) 2023-12-23 16:43:55 +07:00
Roman Fomin
e4464862c5
Merge pull request #1345 from rfomin/video_updates
video updates
2023-12-23 15:13:37 +07:00
Roman Fomin
472aeb0996 add comments 2023-12-23 15:06:50 +07:00
Roman Fomin
d38fd80fed fix 21:9 aspect ratio, tweak DRS parameters 2023-12-23 15:06:50 +07:00
Roman Fomin
d05570e334 fix automap and overlay
* Fix background buffer size
2023-12-23 15:06:50 +07:00
Roman Fomin
c89085f0fa
increase accuracy in linearskyangle calculation (#1347) 2023-12-23 00:43:52 +07:00
Roman Fomin
9f0197338f introduce video.pitch, avoid screen copying in I_FinishUpdate 2023-12-20 14:09:26 +07:00
Roman Fomin
fea6833ea0 update DRS parameters 2023-12-20 14:09:01 +07:00
Roman Fomin
3584cb67bb remove window_event flag, skip DRS if frametime is too long 2023-12-19 15:57:10 +07:00
Julia Nechaevskaya
ff86d91bc2
Apply brightmaps to translucent and translated columns 2023-12-18 17:13:59 +03:00
Julia Nechaevskaya
e4b1fbaf01 Remove R_DrawTranslatedTLColumn function 2023-12-18 16:41:41 +03:00
Fabian Greffrath
e17b7c1506
report (total and) leveltime upon loading savegame (#1344) 2023-12-18 14:20:38 +01:00
Fabian Greffrath
ae4fee7de3
remove kills percent from level stats widget (#1343)
* remove kills percent from level stats widget

Other ports don't have this and we have been asked to remove it on the forums.

* fix three-lines case
2023-12-18 14:20:12 +01:00
Roman Fomin
80145d6e6c
working DRS in capped mode, remove newsync uncapped hack (#1341) 2023-12-18 16:06:43 +07:00
Julia Nechaevskaya
c621ba4821 Add R_DrawTranslatedTLColumn function 2023-12-18 11:55:02 +03:00
Julia Nechaevskaya
fdc7f56f02 Apply brightmaps to translated columns 2023-12-17 22:53:08 +03:00
Julia Nechaevskaya
d419b820d5 Brightmaps for two sided mid-textures 2023-12-17 20:52:26 +03:00
Julia Nechaevskaya
48ca9861b7 Apply brightmaps to translucent columns 2023-12-17 20:36:36 +03:00
Roman Fomin
ba70ba460c add aspect_ratio_mode_t, fix starting with "high" with non-native aspect ratio 2023-12-17 15:54:02 +07:00
Roman Fomin
8d2c454670
always center st_bar (#1339) 2023-12-16 23:21:58 +07:00
Roman Fomin
f012f8f839 move video definition to v_video.c, add comments 2023-12-16 20:59:05 +07:00
Roman Fomin
6a214d5b9c make width and height even, fix linear sky stretching 2023-12-16 19:58:29 +07:00
Roman Fomin
2dc65df5de fix viewblocks scaling 2023-12-16 17:29:14 +07:00
Roman Fomin
8efdd489ce remove interger scaling 2023-12-16 16:50:22 +07:00
Roman Fomin
834c10510c fix switching "linear sky" option 2023-12-16 15:41:15 +07:00
Roman Fomin
7535a5dae7 fix R_DrawSkyColumn for non-integer multipliers 2023-12-16 15:22:55 +07:00
Roman Fomin
3901745143 make video width even, log logical size errors 2023-12-16 13:31:23 +07:00
Roman Fomin
bec5773d38 fix starting in non widescreen mode 2023-12-16 13:30:15 +07:00
Roman Fomin
73f9a43248 adapt f_wipe for widescreen 2023-12-16 12:31:55 +07:00
Roman Fomin
2df5297a8c fix wipe at startup, remove redundant variable 2023-12-16 12:02:59 +07:00
Roman Fomin
7e00e9c18b don't change palette in nodrawers mode 2023-12-15 21:57:39 +07:00
Roman Fomin
4066e6c5e0 don't read mouse in nodrawers mode 2023-12-15 21:56:11 +07:00
Roman Fomin
fadec9bc90
Merge pull request #1298 from rfomin/any_res
any resolution
2023-12-15 21:08:27 +07:00