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
Fabian Greffrath
71d36bde5a
UMAPINFO: update forgotten nextsecret map entry ( #1329 )
...
Fixes #1328
2023-12-14 10:03:02 +01:00
ceski
dada33fed1
Improve carrying forward error ( #1326 )
2023-12-13 02:43:21 -08:00
Fabian Greffrath
932fcaabc8
fix non-power-of-two wide sky textures ( #1323 )
2023-12-12 13:35:17 +01:00
Fabian Greffrath
915db28d5e
wait, no nodes is actually possible (single subsector)
2023-12-12 11:03:51 +01:00
Fabian Greffrath
a43ced2c98
detect unsupported nodes formats more reliably
2023-12-12 10:47:56 +01:00
Roman Fomin
cc079ce043
non power of two skies ( #1321 )
2023-12-12 00:03:04 +07:00
Julia Nechaevskaya
3efb4a8b16
Invoke ST_doPaletteStuff every game tic, not every frame ( #1316 )
...
* Move ST_doPaletteStuff to ST_Ticker
* Provide declaration in header file
* Make ST_doPaletteStuff static, provide forward-declaration
2023-12-10 12:20:21 +01:00
Roman Fomin
626021e0eb
fix zero length sounds ( #1315 )
...
* fix zero length sounds
DSSAWUP sound in "Eviternity II RC1.wad"
* better fix
* another variant
2023-12-10 12:20:03 +01:00
ceski
b8c0cebc6d
Use integer zero to reset localview
2023-12-09 13:11:25 -08:00
ceski
8729d984a1
Fast mouse polling ( #1312 )
...
* Fast mouse polling
* Enable fast mouse polling with `-solo-net`
* Use `float` instead of `fixed_t`
* Add comments
* Restore `SDL_GetRelativeMouseState()`
* Don't use `localview.angle` with low-res turning
* Skip mouse acceleration calculation when disabled
* Carry forward error from truncated mouse movement
2023-12-09 05:56:08 -08:00
Fabian Greffrath
0813541417
do not clear the entire musinfo.items[] array when loading a savegame ( #1309 )
...
So it is not necessary to parse the MUSINFO lump again.
Fixes #1308
2023-12-09 13:30:03 +01:00
Roman Fomin
702b6439bb
don't parse lumpname as identifier, use indexes instead of pointers ( #1311 )
...
* remove redundant '.'
2023-12-08 21:07:36 +07:00
Fabian Greffrath
ad992b89be
move General menu below Setup menu ( #1314 )
2023-12-08 14:43:46 +01:00
Fabian Greffrath
fd645bea1c
Merge pull request #1306 from fabiangreffrath/maxhealthbonus
...
fix Max Health setting in Dehacked using complevel 2
2023-12-06 13:25:38 +01:00
Fabian Greffrath
d48d02971f
fix Max Health setting in Dehacked using complevel 2
...
Fixes #1305
2023-12-06 13:11:34 +01:00
Fabian Greffrath
aec003bb3a
Merge pull request #1302 from fabiangreffrath/auto_organize_savefiles
...
enable "Organize save files" if no savegame found in old location
2023-12-05 20:28:45 +01:00
Fabian Greffrath
b70fe6a6f1
bring back the menu entry
2023-12-05 15:25:44 +01:00
Fabian Greffrath
122f77bd18
Merge pull request #1301 from fabiangreffrath/menu_cleanup
...
Menu cleanup
2023-12-05 14:06:33 +01:00
Fabian Greffrath
0b2023dfa3
fall back to "Player" as the default player name ( #1300 )
...
* fall back to "Player 1" as the default player name
While giving players pet names is funny for network games, the player
name's primary and most prominent use is obituaries. And since these
are enabled by default, we should fall back to a generic default that
may get changed again in-game (or in config) for network games.
* Update net_client.h
2023-12-05 13:57:44 +01:00
Fabian Greffrath
3951f1ad15
enable "Organize save files" if no savegame found in old location
...
Also, remove the menu item since this will get switched back anyway.
2023-12-05 13:34:04 +01:00
Fabian Greffrath
724af3ca8b
set some more reasonable defaults ( #1299 )
...
widescreen 1
autorun 1
fuzzcolumn_mode 1
hud_secret_message 1
map_secret_after 0
Any more suggestions?
Fixes #1297
2023-12-05 12:13:26 +01:00
Fabian Greffrath
9e06d8fc8b
get rid of most of the Enemies menu
2023-12-05 11:32:47 +01:00
Fabian Greffrath
10d425662d
get rid of the Chat menu
2023-12-05 11:29:46 +01:00
Fabian Greffrath
55d54d71f2
get rid of the Compatibility menu
2023-12-05 11:25:25 +01:00
Fabian Greffrath
4883073d44
reduce hu_widget_t array sizes
2023-12-03 14:44:34 +01:00
Fabian Greffrath
07bb00c0fa
fix hu_widget_t initialization
2023-12-03 14:27:15 +01:00
Fabian Greffrath
9ba20351a6
final fix
2023-12-01 09:29:56 +01:00
Fabian Greffrath
ce1fee04d2
why not fix it again
2023-12-01 09:18:39 +01:00
Fabian Greffrath
93c49c76f1
fix for the fix
2023-12-01 08:44:02 +01:00
Fabian Greffrath
a58f1e26ae
restore centered message feature
2023-12-01 08:35:41 +01:00
Fabian Greffrath
69803d4fbc
check for automapactive instead of automap_on in HU_Ticker()
2023-11-30 18:44:56 +01:00
Fabian Greffrath
780a6c4ecc
clean up the HUD setup menu ( #1295 )
...
* clean up the HUD setup menu
* consolidate coords/stats/time widget settings into one each
* improve wording
2023-11-30 14:12:34 +01:00
Fabian Greffrath
3d4e3122cd
add copyrights of LxDoom/LSDLDoom and PrBoom authors
2023-11-29 11:09:02 +01:00
Roman Fomin
525f344170
load complevel from save ( #1294 )
2023-11-29 16:38:01 +07:00