Commit Graph

13524 Commits

Author SHA1 Message Date
Mitchell Richters 2abda0e27d - All Games: Migrate each game's clock counter to backend solution. 2021-02-18 21:47:33 +11:00
Christoph Oelckers 5ad1d74f62 - added missing shader #define. 2021-02-12 14:55:42 +01:00
Christoph Oelckers c96e04e6c9 - backend update from GZDoom. 2021-02-12 14:44:54 +01:00
Christoph Oelckers 5b6aa372ea - fixed autoaim check and adjusted presentation in the menu to be correct for all games.
Fixes #264
2021-02-06 10:56:11 +01:00
Christoph Oelckers ba22df2a2a - removed unused I_GetBuildTimeFrac function. 2021-02-03 12:18:58 +01:00
alexey.lysiuk c712b84889 - update continuous integration settings
* specify continuous integration runners explicitly
* use gcc and clang 10 instead of 9
* install clang 6 as it's not available by default
2021-02-03 10:05:19 +02:00
Christoph Oelckers 20db6b0c78 - added protection against oversized menu caption bars.
SWC20 is a mod that contains a caption that is larger then the entire screen and was pushing the actual menu content out of it.
Fixes #239
2021-02-02 23:49:04 +01:00
Christoph Oelckers 8e0c50c22c - fixed: F2DDrawer::AddPoly was missing a texture validation check.
This caused problems when the automap wanted to render portal planes, which normally use an invalid texture as marker.
Fixes #263
2021-02-02 23:13:40 +01:00
Christoph Oelckers cf672b508f - removed unused 'updatesectorexclude' function. 2021-02-02 23:13:40 +01:00
Mitchell Richters b1290448c5 - Duke: Slightly tune `texty` in `FullscreenHUD1()` to line it up perfectly. 2021-02-01 18:42:41 +11:00
Christoph Oelckers 8ffda1c9d1 - Duke: Calculate the true font height of the numbers for alignment in the Statusbar.
The original tiles are all 15 pixels tall, but depending on the games can vary in their true height, so use CheckRealHeight on them to get their true dimensions.
Fixes #250
2021-02-01 00:09:22 +01:00
Christoph Oelckers 30e8111979 - fix inventory selector positioning in WW2GI.
This must have abused some quirk of the original code to be this far off...
2021-01-30 23:51:50 +01:00
Christoph Oelckers 40593b866f - WW2GI: fixed event numbering.
There is a typo in the CON files that assigns EVENT_AIMUP and EVENT_AIMDOWN the same number. The source did not replicate this which caused several events to call the wrong handler.
Fixes #252
2021-01-30 23:42:44 +01:00
Christoph Oelckers a0be30facb Revert "- Exhumed: Tune x offset alignment in `DrawStatusAnims()` following changes in 220283d1ec3cba03f455bd96bcf130df777b5635."
This reverts commit c08583ebc1.

This does not work as intended.
Fixes #261

# Conflicts:
#	source/games/exhumed/src/status.cpp
2021-01-30 10:55:58 +01:00
sinisterseed 19e7419896 - Exhumed: Fixed key offsets.
An int can't store a float, effectively truncating to 0 and not holding the 0.5. Thanks MJ :) .
Partially addresses #262 - The Torch icon bouncing in the HUD still remains.
2021-01-30 11:50:33 +02:00
Mitchell Richters f11501883d - Exhumed: Make 3rd person camera properly interpolated. 2021-01-30 11:23:38 +11:00
Mitchell Richters e66960d9fc - Exhumed: Ensure ox/oy/oz sprite positions are set when warping to coordinates. 2021-01-30 11:22:46 +11:00
Christoph Oelckers e7ab4cd176 - backend update from GZDoom. 2021-01-29 13:20:00 +01:00
Christoph Oelckers 7b72fccfa2 - fixed hires replacement code not to destroy the intended translation in case there is no replacement. 2021-01-29 13:08:26 +01:00
Mitchell Richters c08583ebc1 - Exhumed: Tune x offset alignment in `DrawStatusAnims()` following changes in 220283d1ec. 2021-01-29 22:11:03 +11:00
Christoph Oelckers 52ba0461bc - fixed hires lookup for tiles using special palettes.
In these cases the palette needs to be ignored and the base version picked. The proper handling for this case was undefined, working in some cases and not in others.
Fixes #247
2021-01-29 11:48:32 +01:00
Mitchell Richters ff0be3079e - m_fixed.h: Fix incorrect return type for `MulScaleF()` originating from 8cf2588bad. 2021-01-29 21:19:15 +11:00
Mitchell Richters c267c214c2 - Duke: Repair jumping zvel issue originating from 5e45f988e3 for Duke and 1c5c90d00f for RR.
* Thanks for backtracing, Graf :)
* Fixes #259.
2021-01-29 20:00:15 +11:00
alexey.lysiuk b0fc0e648b - fixed wrong gdtoa definitions for Apple ARM64
https://forum.zdoom.org/viewtopic.php?t=71303
2021-01-28 14:44:11 +02:00
Christoph Oelckers 26c5d5aa32 - SW: fixed issue with autoselecting single episode entries with non-empty subtitles.
This case needs different offsets.
2021-01-27 23:53:26 +01:00
Christoph Oelckers 3163e4a799 - check for invalid tiles being passed to the 2D renderer.
Since mods can actually replace valid tiles with invalid ones, the low level render code needs to check this case.
2021-01-27 23:52:40 +01:00
Christoph Oelckers 8cf3e50ade - removed bad 'pos' setup in PreDrawStackedWater
This was a) supposed to set 'opos' not 'pos' and is b) redundant because here both Users point to the same sprite.

Fixes #261
2021-01-25 18:07:49 +01:00
Christoph Oelckers 981a2c7e5c - Exhumed: restored old static switch array.
There's side effects in here that broke the door logic and made doors automatically open sometimes.
2021-01-24 14:49:51 +01:00
Christoph Oelckers 1ab11a02e2 - RR: fixed player input for diving.
Fixes #260
2021-01-24 08:59:08 +01:00
Christoph Oelckers 7f75b2274f - code updates from PCExhumed. 2021-01-19 09:44:16 +01:00
Rachael Alexanderson 09d2e44da6 - add missing menu spacer 2021-01-18 08:17:35 -05:00
Rachael Alexanderson 8c87bc7d08 - language update 2021-01-18 06:26:14 -05:00
Rachael Alexanderson 47f0370512 - add some 21:9 presets 2021-01-18 06:25:04 -05:00
Rachael Alexanderson 3f30d91323 - 21:9 improvements
- vid_aspect is now set to change to 21:9's ACTUAL aspect - 64:27
- screen elements now scale to 64:27 properly. to restore classic behavior, set cvar `vid_allowtrueultrawide` to false
2021-01-17 11:45:12 -05:00
Christoph Oelckers 042795612e - Exhumed: Refined sector movement code so that pickups get always moved even when not touching the floor.
... because it seems to be inevitable that games have to exploit some implementation shortcomings...
2021-01-16 23:42:34 +01:00
Christoph Oelckers c342594691 - Exhumed: fixed wall scrollers. 2021-01-14 23:55:45 +01:00
Christoph Oelckers 91f8df48c6 - Exhumed: changed MoveSectorSprites so it only moves sprites that actually stand on the sector's floor.
Since this had no check for z it even moved things floating above a lift or players hanging over a dropoff with the lift below.
2021-01-12 20:57:28 +01:00
Christoph Oelckers fc11f537f7 - project cleanup
* moved all games into the 'games' folder.
* fixed project to include all sources and move them to the proper folders.
2021-01-10 20:31:32 +01:00
Christoph Oelckers a74419f5e7 - Exhumed: removed opos entirely. 2021-01-10 18:30:56 +01:00
Christoph Oelckers b0e5e9fc72 - Exhumed: fixed camera position interpolation.
This was still using old the old game-specific method.
Moving up a lift now interpolates properly, but there's still an unrelated issue when moving down.
2021-01-10 18:15:28 +01:00
Christoph Oelckers e2f546862b - Exhumed: fixed scrolling floor/ceilings. 2021-01-10 17:13:48 +01:00
Mitchell Richters 41ad44bf40 - Blood: Avoid integer truncation when updating player's sprite angle with actual angle of player.
* Fixes #256.
2021-01-10 18:17:29 +11:00
Christoph Oelckers 98ee5178aa - Exhumed: interpolate lifts/platforms
Unfortunately this reveals a rather ugly problem with player movement on such a platform that still needs examination.
2021-01-05 22:32:34 +01:00
Mitchell Richters afdfcba9c3 - SW: Leverage new `spritetype` methods within SW.
* We now also interpolate the player's sprite angle in the automap code so that `cl_syncinput 1` is smooth, just like e8c20f502b.
2021-01-06 06:22:37 +11:00
Mitchell Richters 1a86e74c40 - Blood: Leverage new `spritetype` methods within Blood. 2021-01-06 06:22:35 +11:00
Mitchell Richters 6721a6aa05 - Exhumed: Leverage new `spritetype` methods within Exhumed. 2021-01-06 06:22:33 +11:00
Mitchell Richters 18fbc8996b - Duke: Remove a few redundant sprite backups and change some backups to what's actually needed. 2021-01-06 06:22:31 +11:00
Mitchell Richters 97159c20c1 - Duke: Leverage new `spritetype` methods within Duke, removing `bposx`/`bposy`/`bposz` from hittype. 2021-01-06 06:22:29 +11:00
Mitchell Richters 07a43c572e - Build: Extend `spritetype` struct with interpolation variables and numerous methods to do with pos, angle and interpolation of such. 2021-01-06 06:22:27 +11:00
Mitchell Richters ede15c3af2 - Exhumed: Remove unrequired `!bUnderwater` check. 2021-01-05 17:13:22 +11:00