Mitchell Richters
f036e94cca
- Duke (RR): Also fix location of p->apply_seasick()
in the ticker as well.
2021-01-03 20:06:28 +11:00
Mitchell Richters
6058669e29
- Duke: Within gi->GetInput()
, call p->apply_seasick()
after applylook()
as per the original code, and call unconditionally since its guarded as to whether it runs or not internally. Original spot only had it called if on a vehicle which wasn't right.
2021-01-03 20:00:43 +11:00
Mitchell Richters
f6b9c3cba7
- Duke (RR): Fix braking on vehicles which never got picked up.
2021-01-03 19:25:49 +11:00
Mitchell Richters
edba971b7f
- Duke: Remove newOwner check from cef1f8275b
& cb93560a4a
that were just cancelling out each other, and clean up 2x if (p->newOwner != nullptr)
checks into one.
2021-01-03 18:51:43 +11:00
Mitchell Richters
d3b95d4d70
- Build/Duke: Remove the only use case for drawrooms()
inline wrapper and change getcamspriteang()
to return binangle instead of a build angle.
2021-01-03 17:35:19 +11:00
Mitchell Richters
0cab84f17a
- Duke: Backport EDuke32 commits b1e3f3bcf9c5214ae835d09e12cc41bac4f057ce & 4c4fdd1f4ab9381b60db06f37ec270850599e1ae in relation to swinging doors.
2021-01-03 15:45:38 +11:00
Mitchell Richters
9b7d07df90
- Duke: Fix flashing vehicle HUD when cl_syncinput 1
is set.
2021-01-03 09:55:25 +11:00
Rachael Alexanderson
fc7dada764
- sync from gzdoom
2021-01-02 07:52:59 -05:00
Mitchell Richters
86bb6b1cdc
- Duke: Backport EDuke32 commit ac64e11553344084753cdd75abd898ec2c725a16 to fix buggy swinging doors, most apparent on E4L1.
2021-01-02 23:41:03 +11:00
Mitchell Richters
617dc8001c
- Exhumed: Fix automap player smoothness.
2021-01-02 19:50:02 +11:00
Mitchell Richters
2ec79ad581
- Exhumed: Interpolate x/y/ang coordinates before passing to DrawOverheadMap()
.
2021-01-02 19:49:06 +11:00
Mitchell Richters
aef6fddd3f
- Blood: Fix automap player smoothness.
2021-01-02 19:41:48 +11:00
Mitchell Richters
b5e197d9be
- Blood: Interpolate x/y/ang coordinates before passing to DrawOverheadMap()
.
2021-01-02 19:36:46 +11:00
Mitchell Richters
fd026edc5c
- SW: Interpolate automap player.
2021-01-02 18:44:07 +11:00
Mitchell Richters
21da658617
- Duke: Interpolate automap player.
2021-01-02 18:23:12 +11:00
Mitchell Richters
be12da6bfb
- Automap: Put in framework to interpolate automap player.
2021-01-02 18:23:01 +11:00
Mitchell Richters
2fa2d93084
- Blood: Move synchronised input call to doslopetilting()
above call to resetForcedSyncInput()
.
2021-01-02 14:54:54 +11:00
Mitchell Richters
25eaeff0db
- Wrap all g_gameType & GAMEFLAG_BLOOD
checks into isBlood()
inline.
2021-01-02 14:46:58 +11:00
Mitchell Richters
532d128afd
- Blood: Migrate game's slopetilting code to calcviewpitch()
.
2021-01-02 14:40:35 +11:00
Mitchell Richters
3516e4c3b0
- Blood: Don't use cl_viewbob
to control bobbing overall, only cl_viewhbob
and cl_viewvbob
as exposed via the menus.
2021-01-02 13:16:15 +11:00
Mitchell Richters
ae731d1eaf
- Duke/RR: Expose cl_slopetilting
via the menu.
2021-01-02 13:16:15 +11:00
Mitchell Richters
5cfc528f5a
- Exhumed: Don't clear localInput
when copying to backend packet.
...
* Did this in 949e456018
.
* Exhumed works differently...
2021-01-02 11:17:17 +11:00
Mitchell Richters
9833c94114
- Duke: Pass the player_struct through to FinalizeInput() in line with other functions.
2021-01-02 11:04:03 +11:00
Mitchell Richters
bcb838f3fb
- Duke: Fix some broken checks in FinalizeInput()
stemming from 5f33b0087f
.
2021-01-02 10:43:03 +11:00
Mitchell Richters
4397646cc4
- Duke: Move cancellation of spin from FinalizeInput()
into applylook()
in gameinput.cpp.
2021-01-02 10:26:22 +11:00
Mitchell Richters
5f33b0087f
- Duke: Comment out unused enum values but leave behind for reference purposes.
...
* In line with SW, should have been done with fb91fc49a3
.
2021-01-02 10:09:42 +11:00
Mitchell Richters
4aae71f0ee
- InputState::ClearAllInput(): Call resetTurnHeldAmt()
when clearing input.
2021-01-02 10:00:29 +11:00
Mitchell Richters
e65e112281
- Duke: Remove local calculation of turboturntime
for RRRA vehicles in lieu of backend solution.
2021-01-02 09:59:51 +11:00
Mitchell Richters
36c25ee2a0
- gameinput.cpp: Break out processMovement()
's turnheldamt calculations into functions.
2021-01-02 09:53:03 +11:00
Mitchell Richters
a1dd36ffee
- Exhumed: Rename ps_input.h
-> input.h
.
2021-01-02 09:38:23 +11:00
Mitchell Richters
37d13e3ea3
- SW: Remove unused turnheldtime
missed when doing 949e456018
.
2021-01-02 09:32:38 +11:00
Mitchell Richters
3a801cbf5c
- calcviewpitch(): Set scaleAdjust
to default to 1 in prototype like other functions in gameinput.cpp.
2021-01-02 09:32:19 +11:00
Mitchell Richters
dac08a2cb9
- calcviewpitch(): Fix issue with returning horizoff
to 0 from negative slope.
2021-01-02 01:15:58 +11:00
Mitchell Richters
8003753989
- Duke/SW: Move each game's check of cl_slopetilting
into calcviewpitch()
backend function.
2021-01-02 00:34:44 +11:00
Mitchell Richters
6d12159006
- Duke/SW: Consolidate each game's slopetilting function into backend solution.
...
* Based on SW's implementation purely for its commentary, but includes a fix from Duke's.
* Allow disabling Duke's slopetilting via `cl_slopetilting` like SW.
2021-01-02 00:30:11 +11:00
Mitchell Richters
3ec41e776c
- SW: Clean up old auto aim/mouse aim bits.
2021-01-01 22:37:40 +11:00
Mitchell Richters
949e456018
- All Games: Slight tidy up of gi->GetInput()
functions.
2021-01-01 21:33:00 +11:00
Mitchell Richters
571583ca9c
- Duke: Store velocity scale in motoApplyTurn()
as a variable like boatApplyTurn()
.
2021-01-01 21:21:26 +11:00
Mitchell Richters
e8894eeab0
- WHaven: Replace all *mulscale*()
function calls with ones in m_fixed.h.
2021-01-01 19:30:04 +11:00
Mitchell Richters
24e09055ca
- m_fixed.h: Define MulScaleF()
for floating point multiplying and scaling.
2021-01-01 19:29:26 +11:00
Mitchell Richters
449714667b
- buildutils: Replace sintable[]
use within remainder of WHaven's files with bsin()
/bcos()
.
2021-01-01 19:16:29 +11:00
Mitchell Richters
96aa6452ef
- buildutils: Replace sintable[]
use within WHaven's whani.cpp with bsin()
/bcos()
.
2021-01-01 19:16:07 +11:00
Mitchell Richters
bf06ac6460
- buildutils: Replace sintable[]
use within WHaven's weapons.cpp with bsin()
/bcos()
.
2021-01-01 19:15:57 +11:00
Mitchell Richters
26c378936d
- buildutils: Replace sintable[]
use within remainder of WHaven's ai*.cpp files with bsin()
/bcos()
.
2021-01-01 18:54:13 +11:00
Mitchell Richters
60761ba779
- buildutils: Replace sintable[]
use within WHaven's ai.cpp with bsin()
/bcos()
.
2021-01-01 18:51:25 +11:00
Mitchell Richters
a8d8335e2b
- WHaven: Uplift sector/wall x/y panning in line with changes from d545eb7aa9
and 2cd3927613
.
2021-01-01 17:44:59 +11:00
Mitchell Richters
a515426c68
Merge branch 'master' into witchaven2
2021-01-01 17:32:32 +11:00
Nikolay Ambartsumov
591f593888
[Blood] Fix negative priority event processing
...
Some sprites (for example, "Blood Drip" sprite type 702) cause
negative priority events to be added added to the event queue
on map initialization. Despite them being the highest priority
entries in the event queue, comparision with the game timer performs an
implicit unsigned conversion, which wrongly results in their priority
being considered much higher than the current in-game time, causing the
event loop to never advance. This commit fixes this problem.
2020-12-31 20:43:18 +01:00
Nikolay Ambartsumov
edd5b92c94
[Blood] Fix wrong sector path marker stat lookup
2020-12-31 20:43:18 +01:00
Christoph Oelckers
3ecd02dcac
- downgrade overflow message to a debug warning.
2020-12-30 09:55:57 +01:00