Commit graph

1069 commits

Author SHA1 Message Date
Mitchell Richters
31f8de3854 - Duke/RR: Remove vehTurn variables from player struct.
* Back in 2020, I was trying to tidy stuff up and had no idea about network awareness, etc.
* The original game misused network bits here, however I don't see why the player's angle can't just be tested for signedness. Something I didn't see way back when...
2023-03-19 20:54:19 +11:00
Mitchell Richters
df5e8b1d04 - Duke: Fix missing greenslime base sprite when randomly changing animation. 2023-03-19 11:30:01 +11:00
Mitchell Richters
4355a44721 - Duke: Rework input blocking setup.
* Takes the duplicated conditions out of the input handler and makes the ticker responsible by forcing synchronised input.
2023-03-18 19:29:29 +11:00
Mitchell Richters
d6b68dec5e - Duke: Remove player_struct::resurrected flag I added in 2021 and fix issue properly.
* The check for `player_struct::dead_flag` in `FinalizeInput()` was overzealous and is not checked in the original code in this instance.
2023-03-17 12:29:37 +11:00
Mitchell Richters
cb1e4e7a34 - Exhumed: Ensure Player::items[] is signed.
* Change originates from b71c725e3e.
* Matches PCExhumed and GDX.
* Logic in game requires this variable to be signed.
* Fixes #415.
* Fixes #888.
2023-03-16 13:05:22 +11:00
Mitchell Richters
30f9ec5fd8 - Blood: Fix shotgun ammo display when player fires a shell, switches weapons, then switches back.
* Such a circumstance reloads the weapon off screen.
* While the "right" fix would be to stop that, some fanatics will probably be relying on such a mechanism.
* As such, just fudge the printout on the screen instead 🙃.
* Fixes #877.
2023-03-15 21:30:44 +11:00
Mitchell Richters
a4bca328bc - SW: Remove Player::siang since we have the same data in 2023-03-15 19:57:45 +11:00
Christoph Oelckers
07d87940f2 - completed all of Blood's and Duke's fonts. 2023-02-20 16:52:51 +01:00
Christoph Oelckers
7b05353326 - fixed two swapped characters in SW's BigFont. 2023-02-19 13:01:40 +01:00
Christoph Oelckers
b645929035 - fixed some message mappings. 2023-02-19 13:01:20 +01:00
Christoph Oelckers
565f1ed416 - completed SW's SmallFont. 2023-02-11 10:58:27 +01:00
Christoph Oelckers
6f1c3433ba - completed RR's BigFont. 2023-02-11 10:31:27 +01:00
Christoph Oelckers
c532a63bd4 - completed Nam/WW2GI's BigFont 2023-02-11 10:24:21 +01:00
Christoph Oelckers
7bfae00c7b - completed Nam/WW2GI's BigFont 2023-02-11 10:18:24 +01:00
Christoph Oelckers
8cd4f7f6cf - completed Duke's SmallFont. 2023-02-11 10:05:34 +01:00
Christoph Oelckers
3de194cb6c - completed Latin parts of Duke's 1.5 BigFont. 2023-02-11 09:59:38 +01:00
Christoph Oelckers
35e1e98162 - completed Duke's 1.3 BigFont 2023-02-11 09:55:59 +01:00
Christoph Oelckers
6c77d1c39e - Duke: fixed setup of purely scripted enemies,
Some band-aid is still needed for the time being.
2023-02-09 17:34:59 +01:00
Christoph Oelckers
ede52f2dde - Duke: make the geisha statues shootable again.
This got lost in the awful spaghetti code somehow.
2023-02-05 13:37:04 +01:00
Christoph Oelckers
0d6ffa5863 - completed Blood's SmallFont. 2023-02-04 13:23:43 +01:00
Christoph Oelckers
ef1e3d492c - completed Blood's BigFont. 2023-02-04 12:23:59 +01:00
Hugo Locurcio
4cb311a4c1 Increase slider precision for mouse sensitivity settings
On mice with high DPI settings, low values such as 0.1-0.3 typically
need to be used to get a comfortable effective mouse sensitivity.
2023-02-04 17:05:20 +11:00
Christoph Oelckers
4328016963 - move the remaining parts of spawninitdefault to DukeActor::Initialize.
This ensures proper execution of all code - spawninitdefault was designed to be the fallback for actors without a special case in spawninit.
2023-01-28 16:33:35 +01:00
Christoph Oelckers
38b278b12d - fixed enemy setup.
All enemies now run a native init function to reduce script-induced problems.

this required adding a NOGRAVITY flag so that the recon can use the same code as well which was the only enemy relying on custom code.
2023-01-28 16:33:15 +01:00
Christoph Oelckers
0db441accb - scriptified the native parts of the powder keg.
This was the last remaining actor with its own native ticking part.
2023-01-28 16:31:46 +01:00
Christoph Oelckers
9f01c87ccb - scriptified the native part of FireflyFlyingEffect. 2023-01-28 16:31:45 +01:00
Christoph Oelckers
9783b8c402 - scriptified World Tour's flamethrowerflame.
The first of 3 mixed native/CON items which are the last things remaining in the main thinker loops.
2023-01-28 16:31:45 +01:00
Christoph Oelckers
6864e1a9a8 - Text update 2023-01-22 20:24:00 +01:00
Christoph Oelckers
13c9e9916b - Duke: fixed the cactus.
Statnums were wrong here.
2023-01-21 15:48:55 +01:00
Christoph Oelckers
5ebce5afba - fix last commit 2023-01-21 15:08:47 +01:00
Christoph Oelckers
8ce61255e9 - fixed menudef.txt 2023-01-21 09:50:49 +01:00
Christoph Oelckers
8e5e52f80e - enable Spanish for Duke and related games.
Nam/WW2GI was completed by machine translated texts, this was all simple stuff like item names.
2023-01-20 17:13:18 +01:00
Christoph Oelckers
bb7f00988a - give Blood's sounds well defined names so they can be defined via SNDINFO. 2023-01-15 16:15:28 +01:00
Christoph Oelckers
2c5062255c - fixed bad sound check in the sound controller. 2023-01-15 09:51:21 +01:00
Christoph Oelckers
fca0bdf379 - Backend update from GZDoom. 2023-01-15 09:30:01 +01:00
Christoph Oelckers
6c3d03cd48 - fixed incorrect sector in a few sprites of World Tour E5L1. 2023-01-14 13:18:53 +01:00
Christoph Oelckers
59820f9fed - Duke: fixed bad switch definition for ACCESSSWITCH2 2023-01-14 12:53:14 +01:00
Christoph Oelckers
5e7f90562c - added adaptive layout for RR's summary screen as well.
To better handle the spacing for accented characters the text scale was slightly reduced.
2023-01-14 10:37:07 +01:00
Christoph Oelckers
d067b23917 - make layout of Duke's summary screen adapt to text and screen size. 2023-01-14 10:00:37 +01:00
Christoph Oelckers
b991af2dbc - fixed incomplete statnum setup. 2023-01-09 23:39:20 +01:00
Christoph Oelckers
d7d4bfe04b - Blood: use a 3D unit vector to set Blood's projectile velocity. 2023-01-08 19:16:58 +01:00
Christoph Oelckers
532f994ccb - RR: stop the bowling pins' tumbling animation when they come to a rest.
Fixes an original RR bug.
2023-01-08 18:46:42 +01:00
Christoph Oelckers
deaec2d91d - disabled property-type definition of spritetype members.
As it turned out this is simply too dangerous - these should be left to be loaded from the map data or set manually.
All remaining setups using this feature have either been moved to Initialize or other meta properties that are not affected by map loading.
2023-01-08 16:45:09 +01:00
Christoph Oelckers
b48dad46f3 - do not use properties to set the sprite fields, part 4.
Bowling stuff also needed fixing.
2023-01-08 15:46:53 +01:00
Christoph Oelckers
223481fd23 - do not use properties to set the sprite fields, part 3.
mainly RR's chickenplant items.
2023-01-08 15:46:24 +01:00
Christoph Oelckers
8b664c840d - do not use properties to set the sprite fields, part 2.
This covers the remaining simple cases.
2023-01-08 15:46:24 +01:00
Christoph Oelckers
3a00480efd - do not use properties to set the sprite fields, part 1.
As soon as default init for CON gets in this won't work right anymore - these must come last, not first.
This commit contains all the trivial cases with no inheritance concerns.
2023-01-08 15:46:23 +01:00
Christoph Oelckers
278cfe9216 - RR: use a meta property for the gambling machine's sound.
This is mainly for the hypothetical map that tries to use this thing from within CON.
2023-01-08 15:45:22 +01:00
Mitchell Richters
b432e94a72 - Duke: Back up the shell's position in DukeShell::initshell(). 2023-01-08 23:54:17 +11:00
Christoph Oelckers
cfef8c8a71 - ignore executable files in a zip's main folder when checking for mod content in a subdirectory. 2023-01-06 18:01:34 +01:00