Christoph Oelckers
|
f9a776e71c
|
- iterate linearly over sector effectors.
Apparently they aren't all properly linked into the required statnums.
Fixes #179
|
2020-11-12 19:12:58 +01:00 |
|
Mitchell Richters
|
ade1a80515
|
- gameinput.cpp: Remove crouch bool from applylook() since we can now just rely in the actions bitfield that's already incoming as required and default scaleAdjust in the prototype to 1 .
|
2020-11-07 18:25:06 +11:00 |
|
Mitchell Richters
|
6e3d414b3c
|
- inputstate.cpp: Move checkCrouchToggle() from gameinput.ccp into ApplyGlobalInput() and use static bool for crouch toggling vs. game-side bool.
|
2020-11-07 18:16:16 +11:00 |
|
Mitchell Richters
|
6f5f66ad35
|
- Duke/RR: Partially revert c9d875327850e839e3ad1f367ede15497d44fda3 by truncating p->MotoSpeed to integer when calculating xvel/yvel to preserve original vehicle feel.
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
567738f3ad
|
- Duke/RR: Tidy formatting of onMotorcycle() , onBoat() , onMotorcycleMove() and onBoatMove() .
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
1545610501
|
- Duke/RR: Convert remaining vehicle function local ints to bools where appropriate.
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
c223a50b29
|
- Duke/RR: Clean up vehicle turn left/right bools used in ticker functions.
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
ad10ea4cb5
|
- Duke/RR: Initial implementation of scaled p->MotoSpeed controller input.
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
578ded1db3
|
- Duke/RR: Promote p->MotoSpeed from short to double in prep for applying scaled controller input.
|
2020-11-07 09:56:57 +11:00 |
|
Mitchell Richters
|
c46ad10bb1
|
- Duke/RR: Clean up some disassembly variable names in vehicle so it's easier to understand what's going on.
|
2020-11-07 09:56:57 +11:00 |
|
Christoph Oelckers
|
d5ff87fa4f
|
- RRRA: fixed vehicle collision with psychedelic cactuses.
This did not fully match the original source which had a critical difference here between RR and RRRA.
|
2020-11-05 14:31:55 +01:00 |
|
Christoph Oelckers
|
7a95c1661e
|
- wrap actor index storage in sector in the script index API.
|
2020-11-04 20:40:25 +01:00 |
|
Christoph Oelckers
|
0eb10f0313
|
- newowner and related code.
|
2020-11-04 20:40:25 +01:00 |
|
Christoph Oelckers
|
ac5ea2f1c9
|
- 3 more wrappers gone.
|
2020-11-04 20:40:07 +01:00 |
|
Christoph Oelckers
|
bb23d9131e
|
- player.i, part 4.
|
2020-11-04 20:39:43 +01:00 |
|
Christoph Oelckers
|
7c6ea9cff7
|
- activatebysector.
|
2020-11-04 19:55:17 +01:00 |
|
Christoph Oelckers
|
10d4f92232
|
- use a dedicated variable to store the vehicle ammo for RRRA's bike and boat.
owner should be reserved for pointers.
|
2020-11-04 19:55:17 +01:00 |
|
Christoph Oelckers
|
12ef8c4543
|
This completes player_r.cpp
|
2020-11-04 19:55:15 +01:00 |
|
Christoph Oelckers
|
bc6ae872ae
|
- cleaned up the checkhitswitch interface to receive sprites as pointers.
|
2020-11-04 19:55:15 +01:00 |
|
Christoph Oelckers
|
87e8801531
|
- handle the clipmove result in processinput.
|
2020-11-04 19:55:14 +01:00 |
|
Christoph Oelckers
|
419cf9af5e
|
- processinput part 1.
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
ef2c773e02
|
- RR processweapon pass 1
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
d4dabee52d
|
- OnMotorcycle/BoatHit.
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
454b2315d4
|
- use actors instead of indices for sound calls.
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
8d55138db0
|
- checkweapons_r.
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
635b53f78f
|
- RR-movement + dummyplayersprite
|
2020-11-04 19:55:13 +01:00 |
|
Christoph Oelckers
|
29b08b2115
|
- access_spritenum
|
2020-11-03 22:49:17 +01:00 |
|
Christoph Oelckers
|
16089e56f0
|
- the rest of shoot_r.
|
2020-11-03 22:41:24 +01:00 |
|
Christoph Oelckers
|
47f77a97e4
|
- RR shootrpg and shootwhip.
|
2020-11-03 22:41:24 +01:00 |
|
Christoph Oelckers
|
aa6dd72688
|
- RR shootstuff
|
2020-11-03 22:41:23 +01:00 |
|
Christoph Oelckers
|
32a7c2349e
|
- shoot interface transitioned/operateweapon mostly done.
|
2020-11-03 22:01:58 +01:00 |
|
Christoph Oelckers
|
513744aa56
|
- this was nonsense. atwith is a tile number, not a sprite index.
|
2020-11-03 21:51:17 +01:00 |
|
Christoph Oelckers
|
7e29be7569
|
- switched checkhitwall interface to actors.
|
2020-11-03 21:49:57 +01:00 |
|
Christoph Oelckers
|
4258c27248
|
- switched the checkhitsprite interface to actors.
|
2020-11-03 21:43:50 +01:00 |
|
Christoph Oelckers
|
1ab13688a7
|
- RR shootweapon
|
2020-11-03 21:43:49 +01:00 |
|
Christoph Oelckers
|
51705e5a61
|
- RR shootmelee.
|
2020-11-03 21:43:49 +01:00 |
|
Christoph Oelckers
|
17737eea85
|
- wrapped hitscan in a variant returning an actor.
|
2020-11-03 20:43:38 +01:00 |
|
Christoph Oelckers
|
768487584e
|
- aim and all calling instances.
This also takes care of RR's chicken arrow storing an actor reference in lotag.
|
2020-11-03 20:42:03 +01:00 |
|
Christoph Oelckers
|
3fdeedcae7
|
- player.cpp is free of array references, except one that's unavoidable for now.
|
2020-11-03 19:25:07 +01:00 |
|
Christoph Oelckers
|
79f850d126
|
- PlayerColorChanged, hits, hitasprite.
|
2020-11-03 19:21:44 +01:00 |
|
Christoph Oelckers
|
a514910aa4
|
- use an actor pointer in Get/SetGameVarID's parameters to weed out the ordering screwups.
|
2020-11-03 19:21:43 +01:00 |
|
Christoph Oelckers
|
de92287d0b
|
- fixed the messed up parameter order of OnEvent.
This should serve as a textbook example why passing around indices is a very, very bad idea!
|
2020-11-03 19:21:42 +01:00 |
|
Christoph Oelckers
|
2c573a720b
|
- starting at the bottom of player_r.cpp.
|
2020-11-03 19:21:42 +01:00 |
|
Christoph Oelckers
|
33f730baf3
|
- replaced "sprite[p->i]" globally.
|
2020-11-03 19:21:42 +01:00 |
|
Christoph Oelckers
|
b5309a6410
|
- some quick'n easy replacements.
|
2020-11-03 19:21:42 +01:00 |
|
Christoph Oelckers
|
3aaf2e80a9
|
- moveweapons.
|
2020-11-01 14:46:05 +01:00 |
|
Christoph Oelckers
|
861342a278
|
- guts_d and guts_r.
|
2020-11-01 11:32:34 +01:00 |
|
Christoph Oelckers
|
4c9655b110
|
- check_fta_sounds.
|
2020-11-01 10:53:45 +01:00 |
|
Christoph Oelckers
|
31e5023004
|
- dodge, furthestcanseepoint, furthestangle.
|
2020-11-01 10:41:25 +01:00 |
|
Christoph Oelckers
|
34e39dd221
|
- pass spawner as an actor pointer to 'lotsofstuff'.
Allows doing this without using sprite indices.
|
2020-10-24 09:36:35 +02:00 |
|