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
Roman Fomin
06e7a74f82
move video_t to v_video.h, clean up
2023-12-15 20:50:38 +07:00
Roman Fomin
9921171a9d
add menu options
2023-12-15 20:50:38 +07:00
Roman Fomin
19027209fd
fix clipping patches that too far off-screen
...
Eviternity II st_bar is 1600x32
2023-12-15 20:02:28 +07:00
Roman Fomin
fd3870c871
implement dynamic resolution scaling (DRS)
...
* Allocate all video buffers/surfaces at native resolution.
* Fix HUD widgets flickering when resolution changes.
* Uncapped framerate in the menus.
* Fix memory leaks.
Introduce PU_VALLOC, which is freed when the resolution changes. Only for
visplanes for now.
* Accurate aspect ratio calculation.
2023-12-15 20:02:28 +07:00
Roman Fomin
c354a52af4
any res "blocky fuzz"
2023-12-15 13:08:14 +07:00
Roman Fomin
1b5722120d
add more V_Scale* functions, various fixes
...
* Lighting fixes.
* Remove video.unscaledh (it's always SCREENHEIGHT).
2023-12-15 13:08:14 +07:00
Roman Fomin
7859949a78
any res snapshots
2023-12-15 13:08:14 +07:00
Roman Fomin
da0bd96a1d
f_wipe fixes from Diet Boom
2023-12-15 13:08:14 +07:00
Roman Fomin
3d8c701a60
any res bunny scroll, HOM detection, disk flash, st_bar solid colors
...
* Various fixes.
2023-12-15 13:08:14 +07:00
Roman Fomin
7be7a78e8a
remove resolution limit (MAX_SCREENWIDTH and MAX_SCREENHEIGHT)
2023-12-15 13:08:14 +07:00
Roman Fomin
b944f58067
initial implementation of any resolution
...
Partially taken from Eternity Engine.
* Introduce video_t structure.
* Use modified R_DrawColumn for patches scaling.
* Remove ORIGWIDTH and ORIGHEIGHT.
* Move WIDESCREENDELTA and FOV to the video_t.
2023-12-15 13:08:14 +07:00
Fabian Greffrath
eb6ddb0aad
truncate demo lump name in G_DoPlayDemo info message
2023-12-14 22:46:40 +01:00
Fabian Greffrath
afb1e719c7
change to G_ReloadDefaults was not necessary
2023-12-14 22:45:08 +01:00
Fabian Greffrath
48b6175e92
Merge branch 'master' of github.com:fabiangreffrath/woof
2023-12-14 19:57:42 +01:00
Fabian Greffrath
8ffecfd398
apply Boom compatibility settings to version 2.01 as well
...
Fixes desync in anc2-855.lmp
2023-12-14 19:57:04 +01:00
Fabian Greffrath
9fe555ed26
allow to show level stats "on HUD" only ( #1325 )
...
* allow to show level stats "on HUD" only
Fixes #1322
* selectively enable/disable stats/time on Automap/HUD with the key binding
* some shorter check
2023-12-14 15:43:04 +01:00
ceski
4351733ffe
Don't limit menus to 35 fps ( #1324 )
2023-12-14 06:26:03 -08:00
Fabian Greffrath
708a0169e8
improve logging to console (again) ( #1327 )
...
* improve logging to console (again)
G_DoPlayDemo: Do not print compatibility, P_SetupLevel already does
this. Instead, print the demo lump name and lump source name.
G_DoLoadGame: Do not print map lump name and lump source name,
P_SetupLevel already does this. Just print the slot number.
I_OAL_CacheSound: Print the names of lumps failed to load with
I_SND_LoadFile.
P_SetupLevel: Print skill (interesting for demos and savegames), print
complevel name and numerical value, condense nodes format reporting.
* indentation
* drop demo_version from P_SetupLevel output
2023-12-14 12:10:34 +01:00