Mitchell Richters
12c50b4af0
- Blood: Fix missing input bit in GameInteface::reapplyInputBits()
.
2023-04-04 16:55:44 +10:00
Mitchell Richters
bf58879b08
- Duke/RRRA: Fix HUD tilting when reversing motorcycle backwards.
2023-04-04 15:14:44 +10:00
Mitchell Richters
b4ea03b8ef
- Ensure GameInput::Clear()
clears the entire object.
...
* Unused mouse input could still accumulate during screenjobs (level end stats, etc).
2023-04-04 10:53:19 +10:00
Mitchell Richters
23bff9f701
- Don't loop through all joystick axes and zero them in I_GetAxes()
.
...
* The caller should be passing a 0-init'd array through.
2023-04-04 09:55:44 +10:00
Mitchell Richters
133c8fa80b
- Only scale the mouse input in GameInput::processMovement()
, where it's needed.
...
* Also fixes a potential signedness issue for `processVehicle()` if `m_yaw` is negatively set.
2023-04-04 09:53:43 +10:00
Mitchell Richters
a68fcfc71c
- Remove GameInterface::getConsoleAngles()
, it's not needed anymore.
2023-04-04 07:02:39 +10:00
Mitchell Richters
3ef431a428
- Make scaleAdjust
a float since it's what's needed anyway.
2023-04-03 19:38:00 +10:00
Mitchell Richters
69c65dfe7e
- Internalise InputPacket
used in movement functions.
2023-04-03 19:35:35 +10:00
Mitchell Richters
dbba0abb2e
- Move all mouse handling into GameInput
class.
2023-04-03 18:47:14 +10:00
Mitchell Richters
8d11fef916
- Initial conversion of game input into class GameInput
.
2023-04-03 18:46:36 +10:00
Mitchell Richters
23186cd8bb
- Relocate processCrouchToggle()
.
2023-04-03 18:38:10 +10:00
Mitchell Richters
31d3349d93
- Rearrange bools in processVehicleInput()
.
2023-04-03 18:37:38 +10:00
Mitchell Richters
fb519e9c53
- Move PlayerAngles
constants into the class.
2023-04-03 17:07:34 +10:00
Christoph Oelckers
0706a8a5bb
- exported LizTrooper and Lizman.
2023-04-02 17:37:30 +02:00
Christoph Oelckers
7b034b5eab
- handle stayput for bosses.
...
The generic code is not ready yet so it has to be done manually.
2023-04-02 17:34:43 +02:00
Christoph Oelckers
240b24d771
- exported all females.
2023-04-02 17:34:37 +02:00
Christoph Oelckers
810977f19f
- made RR thunder effect also work for Duke.
...
This mainly meant adding support for random sounds and playing the thunder sound by name instead of by index.
2023-04-02 17:20:06 +02:00
Christoph Oelckers
0cd0f28317
- fixed initialization of RR's thunder effect
2023-04-02 17:09:28 +02:00
Christoph Oelckers
eee551ce15
- take care of the last tileGetTexture call in Duke.
2023-04-02 16:45:43 +02:00
Christoph Oelckers
6248c8813b
- make RR's ingame thunder effect not depend on having seen one specific texture.
...
This really should check if the player has seen one sector where the effect is active.
2023-04-02 16:45:43 +02:00
Christoph Oelckers
8208c7fc0b
- some texture name cleanup
2023-04-02 16:45:43 +02:00
Johan Mattsson
cebab8f85d
Small fixes ( #910 )
...
* Fix potential index out of bounds
* Fix potential index out of bounds
* Use 'MAXGEOSECTORS' instead of magic constant
2023-04-02 22:10:57 +10:00
Christoph Oelckers
52ea497b50
- fixed lotsofstuff VM export.
2023-04-02 13:19:35 +02:00
Christoph Oelckers
30d066cee9
- added script exports for Duke's bosses.
...
This allows removing a few hack checks.
2023-04-02 13:13:45 +02:00
Christoph Oelckers
26c8e948f7
deleted debug code
2023-04-02 13:13:45 +02:00
Christoph Oelckers
7f240a0a7a
- converted all remaining classes used by PicForName.
...
This means all functions using this can now pass class pointers directly to the native code.
2023-04-02 13:13:45 +02:00
Christoph Oelckers
c9888ae6cb
- exported several RR enemies/animals needed for the UFO spawner.
2023-04-02 13:13:06 +02:00
Christoph Oelckers
9b96f8312a
- pig cop converted
2023-04-02 13:13:06 +02:00
Christoph Oelckers
bc50f596e8
- exported two more classes used by PicForName.
2023-04-02 13:10:34 +02:00
Christoph Oelckers
7b4d5eb26d
- scriptified SHRINKEREXPLOSION and WATERBUBBLE.
2023-04-02 13:10:26 +02:00
Christoph Oelckers
673ea69d35
- scriptified a few more skeleton items needed by PicforName.
2023-04-02 13:00:13 +02:00
Christoph Oelckers
ccc048136f
- exported TOILETWATER, BURNING and EXPLOSION2.
...
All types needed for cleaning up PicForName
2023-04-02 13:00:13 +02:00
Christoph Oelckers
e0bd038391
- scriptified the native parts of TRANSPORTERSTAR and TRANSPORTERBEAM
2023-04-02 13:00:13 +02:00
Mitchell Richters
07ea5d06ae
- Update version.h.
2023-04-02 20:11:51 +10:00
Mitchell Richters
2c6d8b50ea
- Exhumed: Tidy up bubbles.cpp.
...
* Extend `BuildBubbles()` to use the actual player's angle for if we ever get multiplayer going.
2023-04-02 19:56:54 +10:00
Mitchell Richters
4c11fb1b2a
- Exhumed: Tidy up remainder of anubis.cpp.
2023-04-02 19:56:54 +10:00
Mitchell Richters
754d27a8f0
- Exhumed: Tidy up AIAnubis::Tick()
.
2023-04-02 19:56:54 +10:00
Mitchell Richters
8d48252f1a
- Exhumed: Backup actor location in BuildAnubis()
.
2023-04-02 19:56:54 +10:00
Mitchell Richters
b10b909440
- Exhumed: Rename last argument in seq_MoveSequence()
to nFrame
.
2023-04-02 19:56:53 +10:00
Mitchell Richters
cf63d1ab74
- Exhumed: Tidy up remainder of anims.cpp.
2023-04-02 19:56:53 +10:00
Mitchell Richters
a2bd2b17a2
- Exhumed: Tidy up BuildAnim()
.
...
* Also rename two rather unnamed args to something more appropriate.
2023-04-02 19:56:53 +10:00
Mitchell Richters
b5d4bc8573
- Exhumed: Tidy up 2d.cpp.
2023-04-02 19:56:53 +10:00
Mitchell Richters
345f45ed12
- Fixed messed up formatting in savegamehelp.cpp
.
2023-04-02 19:56:53 +10:00
Mitchell Richters
10445635cf
- Tidy up autosaving for all the games.
...
* There's not really any reason to need the game's world to tic once, it's already fully loaded during the `gi->NewGame()`/`gi->NextLevel()` calls.
2023-04-02 19:56:52 +10:00
Mitchell Richters
0052ae4172
- Duke: Ensure we backup player angles and not just pos when loading a save.
2023-04-02 19:51:12 +10:00
Mitchell Richters
bcbebc5c1a
- Blood: Fix potential null actor access in gi->CanSave()
.
2023-04-02 19:51:12 +10:00
Mitchell Richters
9dfb805b38
- Duke: Fix potential null actor access in gi->CanSave()
.
2023-04-02 19:51:12 +10:00
Mitchell Richters
7217ce6ff9
- Duke: Ensure hard landing check is done after pitch keys.
...
* Oversight from e9a5f745fc
.
2023-04-02 19:51:12 +10:00
Mitchell Richters
272dfa762d
- Remove backend crouch toggle solution redeploy with Duke/Exhumed/Blood using new ESyncBit
bit.
...
* I tried to make this work in 2020 but its been nothing but headache. It's something for the game to control via a flag, not the backend to determine.
* For SW, this restores its original implementation.
2023-04-02 18:32:40 +10:00
Mitchell Richters
b9cf8a13c6
- Inline the remainder of InputState
methods.
2023-04-02 18:32:40 +10:00