Commit graph

679 commits

Author SHA1 Message Date
Christoph Oelckers
060da8ec1d - Duke: replaced most sector array accesses with pointers in actors.cpp.
This already helped to find one 16 bit value that stored a sector index.
2021-11-07 15:00:06 +01:00
Christoph Oelckers
1c0e3d849b - addressed the updatesector related deprecation warnings with Duke. 2021-11-06 20:46:08 +01:00
Mitch Richters
a2a75fccc2 - Add support for Duke Nukem's Penthouse Paradise as shipped with the Zoom release of Duke Nukem 3D Atomic. 2021-11-06 23:26:56 +11:00
Mitch Richters
c424f7c8dd - processMovement(). Remove cl_exhumedoldturn CVAR and tidy up numeric literals in use.
* In our older codebase before the input code was refactored, Exhumed's turning was broken and was only applying the base factor of 12, significantly slower than the other games.
* Upon doing some testing in PCExhumed, I noticed their turning was faster as when the counter meets its target, the turn value is shifted left by 2, effectively making it 48: b90417ed8e/source/exhumed/src/player.cpp (L336-L337)
* Removed this CVAR because of this.
* Reworked turning code so that pressing left+right together cancel each other out and that pressing both doesn't call `updateTurnHeldAmt(scaleAdjust)` twice.
* Redid turn averages factoring in Exhumed's speeds, rounded off values and stored in an enum for clarity.
2021-11-06 09:28:47 +11:00
Mitch Richters
9d3d8e747c - Fix up bsin() usage within ZScript files. 2021-10-30 10:24:15 +02:00
Christoph Oelckers
9071949a46 - backend upate from GZDoom
* Vulkan SDK and dependencies updated.
* better interface for buffers in the render backend.
2021-10-30 09:34:38 +02:00
Christoph Oelckers
9cfd682c9e - eliminated Player::nSprite. 2021-10-28 13:54:09 +02:00
Christoph Oelckers
11912486de - moved all loose player related arrays into the Player struct. 2021-10-27 20:56:42 +02:00
Emile Belanger
b79b1aad53 Fix fade for GLES 2021-10-24 18:35:54 +02:00
Emile Belanger
2a905e8026 Fix palette mode for GLES 2021-10-16 18:42:02 +02:00
Christoph Oelckers
7eaff41b9a - text update 2021-10-16 15:36:34 +02:00
Christoph Oelckers
957db8e2b6 - activated Polish translation. 2021-10-15 19:16:50 +02:00
Christoph Oelckers
9f7b7ebf7c - text update 2021-10-11 22:36:58 +02:00
Hugo Locurcio
91ce22931d Add cvars to control automap line alpha and thickness
This can be used to improve automap readability on high-resolution
displays.
2021-10-11 22:30:39 +02:00
Christoph Oelckers
2348dd8848 - backend update from GZDoom
* GLES backend fixes.
* font colorization fixes.
* option menu spacing fix
2021-10-07 22:46:45 +02:00
Christoph Oelckers
49e0c461c2 - Backend update from GZDoom.
This is mainly bringing the GLES backend up to date.
2021-10-07 22:46:45 +02:00
Christoph Oelckers
01e9d8e5e1 - remaining parts of GLES. 2021-09-18 13:03:36 +02:00
Christoph Oelckers
a3d9cd9a68 - Backend update from GZDoom - mainly for GLES2 support. 2021-09-18 12:20:28 +02:00
Christoph Oelckers
2e451618f8 - Duke: fixed some incorrect cutscene playback speeds. 2021-09-12 18:17:51 +02:00
Mitchell Richters
a2f17b1de3 - Duke/RR: Fix clearing of weapons for RRRA E2L2 that should only be done for RR.
* Fixes https://forum.zdoom.org/viewtopic.php?f=340&t=73173.
2021-08-29 21:00:08 +10:00
Mitchell Richters
0a04f8d14e - Blood: Repair bad tile index swaps for frame 1 that were accidentally applied against frame 0.
* Fixes #527.
2021-08-29 19:42:24 +10:00
Mitchell Richters
44e0da1212 - Blood: Remove the interpolate statement from all unused beast QAVs.
* These files are included so that all interpolated weapon QAVs from 0 - 124 can be easily init/load/precache using the same code the game uses to init/load/precache the original QAVs.
* These QAVs have not been tested or patched for any QAV interpolation issues, so best to not declare them interpolated in case a modder uses them and they're messed up.
2021-08-28 16:58:39 +10:00
Mitchell Richters
d5a4a17ced - Blood: Amend shade issues in QAVs for KQAVFLARFIR2 (res_id: 43) and kQAVFLAR2FIR (res_id: 48) now that we're interpolating shade. 2021-08-24 22:35:05 +10:00
Mitchell Richters
271eb16833 - Duke: Correctly mark Duke: Alien World Tour as a Duke add-on. 2021-08-24 20:54:33 +10:00
Christoph Oelckers
68387cd59e - fixed: List menus still allowed to select unselectable items with the mouse.
This was particularly noticable in SW's episode menu with the subtitles.
2021-08-24 10:08:25 +02:00
Mitchell Richters
78b8f77850 - Remove duplicate grpinfo definition for "BLOOD: One Unit Whole Blood". 2021-08-24 11:22:44 +10:00
Mitchell Richters
a920fc5aef - Add support for first and last keyword for defineqav parser when process interpolate ignore block. 2021-08-23 15:34:30 +10:00
Mitchell Richters
23be5ffe8c - Add support for all keyword for defineqav parser when process interpolate ignore block, and ensure the lowest value can't be below 0. 2021-08-23 15:06:04 +10:00
Mitchell Richters
34042f842a - Blood: Mark defineqav for BDRIP.QAV as loopable like it should have been. 2021-08-23 12:05:37 +10:00
Mitchell Richters
ddc7b3d730
Merge branch 'master' into master 2021-08-23 11:40:05 +10:00
Mitchell Richters
f187b09bda - Update language.0. 2021-08-23 11:09:55 +10:00
Mitchell Richters
b999f3b636 - Update language.csv. 2021-08-23 11:09:20 +10:00
Mitchell Richters
1ee6fd76c4 Merge branch 'blood-qavrework'
# Conflicts:
#	source/core/gamecvars.cpp
#	source/core/gamecvars.h
#	source/games/blood/src/weapon.cpp
2021-08-23 11:02:09 +10:00
Mitchell Richters
d7450e12f0 - Blood: Re-add interpolated weapon QAVs in an externalised, disabled-by-default fashion. 2021-08-23 10:55:08 +10:00
Mitchell Richters
22e348613f - Blood: Add interpolation repair for kQAV2SGUNFIR (res_id: 84). Thanks to @Phredreeke for the tiles with overlays baked in for this to work properly. 2021-08-22 08:14:05 +10:00
Mitchell Richters
2ff1bdfd7d - Blood: Add interpolation repair for kQAVSGUNFIR1 (res_id: 77). Thanks to @Phredreeke for the tiles with overlays baked in for this to work properly. 2021-08-22 07:58:14 +10:00
carnivoroussociety
9ba9acf39e Added cl_bloodvanillaenemies to menu 2021-08-19 17:02:58 +10:00
carnivoroussociety
6606f0bc5a Improved GetClosestSpriteSectors() detection
Enables/disables new sector searching behavior for dude owned explosions
Added new CVAR cl_bloodvanillaexplosions
Swap ExplosBehavior menu settings
2021-08-18 15:52:15 +02:00
Christoph Oelckers
fb5e8e72ab - fixed Exhumed credits display. 2021-08-14 10:54:51 +02:00
Christoph Oelckers
40730d26b8 - Exhumed: fixed incorrect CD tracks being played through cutscenes 2021-08-14 10:40:38 +02:00
Christoph Oelckers
9680674dec - Duke: fixed sound lists for E4 intro cutscene. 2021-08-14 09:25:50 +02:00
Christoph Oelckers
b057e59924 - Exhumed: fixed bad arguments of BuildGameoverScene. 2021-08-14 09:19:27 +02:00
Christoph Oelckers
5aa27bad3b - flag SW's cutscenes as 'boss death only'. 2021-08-13 22:25:13 +02:00
Mitchell Richters
0d9afc1aaf - Extend menu's ImageScroller ZScript class with mAnimated and use with Blood for the help and credits menu. 2021-08-05 14:52:51 +10:00
Mitchell Richters
1ed1222e10 - Extend menu's ListMenu ZScript class with mAnimated already natively available, and use with Blood where BloodDripDrawer is defined.
* Finalises the interpolated blood dripping code changes from 9884d5f396.
2021-08-04 10:31:45 +10:00
Mitchell Richters
f6c7ed3984 - Blood: Restore originally intended isRunning code that never worked behind two CVARs to offer an alternative playing experience.
* `cl_bloodvanillarun` enables/disables the `isRunning` code that affects AI, bobbing and swaying.
* `cl_bloodvanillabobbing` enables/disables the `isRunning` code that affects bobbing and swaying, allowing only the `isRunning` AI changes.
2021-07-31 10:14:56 +10:00
Mitchell Richters
1685890bc5 - Replace calcSinTableValue() with game's native bsin() export.
* Also repair light for Duke's `DrawCursor()` with a multiply and shift down to get the `bsin()` output up to 24 and not 21.33 etc
2021-07-26 17:28:32 +10:00
Christoph Oelckers
1fde9f2173 - workaround to allow playing SW's Last Warrior mod in one go.
This disables the boss's death in L4 ending the game and just advances to the next level.
This seems to be the intent with this mod as the second episode starting at L5 is not defined and the first episode's subtitle advertises the full game.
2021-07-26 00:58:00 +02:00
Mitchell Richters
8a029cb4e1 - Blood: Fix ammo colour for status bar and first fullscreen HUD.
* Reported by Spill.
* Fixes #490.
2021-07-24 22:06:00 +10:00
Mitchell Richters
cb01fb0cf2 - Duke/RR: Remove check p.gotweapon[] check in DrawWeaponBar() that was causing weapon bar to display incorrect tiles and values.
* Fixes https://forum.zdoom.org/viewtopic.php?f=340&t=72541.
2021-07-24 16:18:06 +10:00