Christoph Oelckers
|
c769de1828
|
reverted all the state work on Shadow Warrior.
|
2024-02-24 10:33:03 +01:00 |
|
Christoph Oelckers
|
e97dfb3687
|
- moved ActorActionFunc and Personality out of __LegacyState again.
|
2023-05-28 21:07:34 +02:00 |
|
Christoph Oelckers
|
b07a182df4
|
- change type of AF()
|
2023-05-28 11:19:36 +02:00 |
|
Christoph Oelckers
|
4bf0029c32
|
- remove lots of unneeded SAVE_CODE and SAVE_DATA declarations.
Everything ported to VMFunctions can now be saved natively and the DECISIONs never get stored in serialized pointers.
|
2023-05-28 11:19:35 +02:00 |
|
Christoph Oelckers
|
64d012b073
|
- implement the VM call's return value
|
2023-05-28 11:19:23 +02:00 |
|
Christoph Oelckers
|
fb79228600
|
- get rid of all ANIMATOR function pointers.
Everything now uses VMFunctions.
|
2023-05-28 09:06:51 +02:00 |
|
Christoph Oelckers
|
f12cc01055
|
- wrap all personality decision actions in VM functions.
|
2023-05-28 08:52:46 +02:00 |
|
Christoph Oelckers
|
1b685d8652
|
- wrap all action functions in a VMFunction.
To allow piece-by-piece refactoring.
|
2023-05-28 08:35:19 +02:00 |
|
Christoph Oelckers
|
89cce849e8
|
- wrapped more direct access to the states.
|
2023-05-28 08:32:52 +02:00 |
|
Christoph Oelckers
|
beb8368819
|
- more stateGroup wrapping
|
2023-05-28 08:24:56 +02:00 |
|
Christoph Oelckers
|
7eb713ab04
|
- wrap state setters so they can use state names.
|
2023-05-28 08:13:20 +02:00 |
|
Christoph Oelckers
|
7d30f1921c
|
- moved remaining stuff to refactor to a substructure for easier lookup later.
|
2023-05-27 22:15:52 +02:00 |
|
Christoph Oelckers
|
3612127a5e
|
- move stuff to refactor to a sub-structure.
|
2023-05-27 12:37:24 +02:00 |
|
Christoph Oelckers
|
12266a3693
|
- SW: inline setting the end state.
|
2023-05-27 12:11:41 +02:00 |
|
Mitchell Richters
|
1f489d5dbe
|
- SW: Don't back up the actor's Z after changing it in KeepActorOnFloor() .
* This seems completely wrong and kills Z interpolation on slopes, vators, etc.
* Thanks Graf 😁
* Fixes #844.
* Partially addresses #845.
|
2023-01-08 22:24:17 +11:00 |
|
Christoph Oelckers
|
e26d9106aa
|
- handle all occurences of tileWidth and tileHeight using spritetypebase::picnum.
|
2022-12-11 19:44:01 +01:00 |
|
Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Christoph Oelckers
|
0c87bcb91b
|
- renamed getzsofslopeptr to calcSlope and removed one redundant inline.
|
2022-10-30 16:51:40 +01:00 |
|
Christoph Oelckers
|
81341ce4a6
|
- unwrapped SetScale as well.
Again no edits here - it's one big replace action.
|
2022-10-30 16:51:33 +01:00 |
|
Christoph Oelckers
|
509d56d042
|
- handle bunny scaling in SW
|
2022-10-30 16:51:29 +01:00 |
|
Christoph Oelckers
|
d22c473c31
|
- manual set_const_clipdist replacements
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
48fda0cafd
|
- second batch of set_const_clipdist replacements
|
2022-10-30 16:51:15 +01:00 |
|
Mitchell Richters
|
8bc34f3dac
|
- Handle all remaining VecToAngle() calls.
|
2022-10-27 16:55:53 +02:00 |
|
Christoph Oelckers
|
ef47040630
|
- renaming stuff for search purposes
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
9721d80f44
|
- more assignment wraps
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
c55fdd41e8
|
- wrapped all literal assignments to clipdist - part 5
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
64b5ba8c68
|
- pass floating point velocities to SpawnActor
Also remove the fixed point variant
|
2022-10-16 10:31:12 +02:00 |
|
Christoph Oelckers
|
e81dba2ea9
|
- random angle cleanup
|
2022-10-15 17:52:06 +02:00 |
|
Christoph Oelckers
|
0f5d66a4a7
|
- one last change plus formatting of actor.cpp
|
2022-10-15 17:11:33 +02:00 |
|
Christoph Oelckers
|
7ba56bc6cc
|
- floatified USER slide variables.
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
2ab87ad18c
|
- renamed variables for refactoring.
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
44e4367ee7
|
- function separators in the first half of actor.cpp
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
84eace7680
|
- handle all remaining wrappers in the first half of sw/actor.cpp
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
92379863f1
|
- don't use DAngle for calculating bobbing amplitudes.
It makes more sense here to have a dedicated function since this is not really angular math.
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
6eb18eb3f6
|
- floatified all move_actor calls in SW
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
3e76d49b6e
|
- removed the mul vel wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
62ba753585
|
- remove vel clear wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
9600face4a
|
- the rest.
|
2022-10-14 23:13:33 +02:00 |
|
Christoph Oelckers
|
ec88d1ea6c
|
- set_int_xvel
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
ba044ac2f4
|
- first bunch of wrapping xvel.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
36f109502d
|
- use clear_xvel wrapper.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
02e411080c
|
- SW: floatified SpawnBlood
|
2022-10-14 18:18:28 +02:00 |
|
Christoph Oelckers
|
55eb824e7d
|
- migrated several move_sprite calls
|
2022-10-14 18:10:45 +02:00 |
|
Christoph Oelckers
|
2838fa3e72
|
- floatified sectortype::ang
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
61fc57131f
|
- eliminated a few calls to int_Actor* functions
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
cceecb4ab6
|
- use ToVector where appropriate
|
2022-10-13 20:41:54 +02:00 |
|
Mitchell Richters
|
2e25ccaa4d
|
- SW: Replace some set_int_ang() usage.
|
2022-10-13 00:59:02 +02:00 |
|
Christoph Oelckers
|
3ac4b6300f
|
- code cleanup to eliminate wrappers.
|
2022-10-10 17:36:41 +02:00 |
|
Christoph Oelckers
|
ed12e333e3
|
- RANDOM_ANGLE + move_debris
|
2022-10-10 17:31:30 +02:00 |
|
Christoph Oelckers
|
834f833298
|
- 2 getangle calls refactored
|
2022-10-10 17:31:30 +02:00 |
|