Christoph Oelckers
|
f9826241ef
|
- scriptied the cracks.
|
2022-11-17 20:18:46 +01:00 |
|
Christoph Oelckers
|
42e02d2956
|
- eliminated firstWall as well.
|
2022-11-15 15:44:33 +01:00 |
|
Christoph Oelckers
|
af60408e63
|
- sector wall access cleanup.
lastWall was only used twice and firstWall() + index can be done better now.
|
2022-11-15 15:31:52 +01:00 |
|
Christoph Oelckers
|
7d9a4ea70d
|
- eliminated wallsofsector.
|
2022-11-15 15:24:17 +01:00 |
|
Christoph Oelckers
|
84b17a8a53
|
- eliminate wall_count.
|
2022-11-15 14:59:28 +01:00 |
|
Christoph Oelckers
|
c23db8ea35
|
- wrapped all reads of sectortype::wallnum and renamed all other wallnum variables.
|
2022-11-15 12:21:21 +01:00 |
|
Christoph Oelckers
|
d253468b22
|
- scriptified the scraps.
A Duke-ish mess of epic proportions.
|
2022-11-15 00:06:21 +01:00 |
|
Christoph Oelckers
|
e867c4603f
|
- Duke: fixed issues with CON-based movement.
Bad integer divisions and one incorrect check for X instead of Z.
|
2022-11-14 18:48:31 +01:00 |
|
Christoph Oelckers
|
5fea500f92
|
- flammable actors scriptified.
|
2022-11-14 16:31:45 +01:00 |
|
Christoph Oelckers
|
190fd1827e
|
- scriptified Dukes water fountain.
That's this thingy in the first corridor of E2L1.
|
2022-11-14 12:10:13 +01:00 |
|
Christoph Oelckers
|
f23ddc28f0
|
- Duke: scriptified the crane
|
2022-11-13 18:55:32 +01:00 |
|
Christoph Oelckers
|
c32a695384
|
- DukeActor scriptification framework.
|
2022-11-13 08:55:20 +01:00 |
|
Christoph Oelckers
|
ac4be79e96
|
- implemented cl_weaponswitch for Duke.
|
2022-11-12 09:34:08 +01:00 |
|
Mitchell Richters
|
65acafc2bd
|
- Duke: Move new blood spat code into function for use in RR code as well.
|
2022-10-30 16:51:39 +01:00 |
|
Christoph Oelckers
|
35f6ece473
|
- renamed RR’s weapon sprites to match their weapons
|
2022-10-30 16:51:38 +01:00 |
|
Christoph Oelckers
|
3c6b64d621
|
- renamed everything back
|
2022-10-30 16:51:33 +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
|
15db7a7143
|
- unwrapped SetScaleX/Y.
|
2022-10-30 16:51:32 +01:00 |
|
Christoph Oelckers
|
8265239d2d
|
- removed AddScale wrappers.
|
2022-10-30 16:51:32 +01:00 |
|
Christoph Oelckers
|
85b52b1c77
|
- removed Scale(), CopyScale() and MultScale wrappers.
|
2022-10-30 16:51:32 +01:00 |
|
Christoph Oelckers
|
51768439a9
|
- started removing wrappers. ScaleX() and ScaleY() done.
No manual changes in here.
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
38f7935ee9
|
- repeats in actors_d.cpp and actors_r.cpp
|
2022-10-30 16:51:27 +01:00 |
|
Christoph Oelckers
|
1a22127123
|
- refactoring CreateActor - part 1
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
44f0a6ae67
|
- handle the bolts
These used temp_data which was remapped to temp_pos for being floats.
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
dd3346cbc5
|
- mostly comparisons and code surrounding them
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
fb164450a7
|
- use MultScale
|
2022-10-30 16:51:25 +01:00 |
|
Christoph Oelckers
|
520d838a8c
|
- use Scale wrappers in global code and parts of Duke.
|
2022-10-30 16:51:23 +01:00 |
|
Christoph Oelckers
|
8a8ef22e53
|
- mostly '>' comparisons with scale values.
|
2022-10-30 16:51:22 +01:00 |
|
Christoph Oelckers
|
a11a366697
|
- some automatic replacements.
|
2022-10-30 16:51:21 +01:00 |
|
Christoph Oelckers
|
91c318b708
|
- renamed most non-sprite xrepeat and yrepeat as refactpring aid.
These will be renamed back later but now they create too much search noise.
A few local variables have been permanently renamed to scale*.
|
2022-10-30 16:51:20 +01:00 |
|
Mitchell Richters
|
b004de9fb0
|
- Remove leftover x/y repeats from - several manual replacements with SetScale. .
|
2022-10-30 16:51:19 +01:00 |
|
Christoph Oelckers
|
e60fafec52
|
- got rid of most REPEAT_SCALE factors.
|
2022-10-30 16:51:19 +01:00 |
|
Christoph Oelckers
|
e6a97157d7
|
- several manual replacements with SetScale.
|
2022-10-30 16:51:18 +01:00 |
|
Christoph Oelckers
|
86d6ba43d4
|
- more automatic SetScale replacement, plus all of SetScale(0.5, 0.5);
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
c7c3b2a20c
|
- added a SetScale method to spritetype and used it for all places setting x/yrepeat to 0.
|
2022-10-30 16:51:17 +01:00 |
|
Christoph Oelckers
|
a6e35edc6c
|
- replaced all set_native_clipdist
Note that truncation has to be preserved here to ensure the size stays the same as before so the MulScales were not resolved into their factors.
|
2022-10-30 16:51:16 +01:00 |
|
Christoph Oelckers
|
d22c473c31
|
- manual set_const_clipdist replacements
|
2022-10-30 16:51:15 +01:00 |
|
Christoph Oelckers
|
03d6826fce
|
- first batch of set_const_clipdist replacements
|
2022-10-30 16:51:14 +01:00 |
|
Christoph Oelckers
|
4af4983d3e
|
- floatified clipdist and replaced fClipdist wrapper.
This uses a new variable because a few things use clipdist as a flag byte
|
2022-10-30 16:51:14 +01:00 |
|
Mitchell Richters
|
0600bf5860
|
- Negate everything to do with PlayerHorizon::__horiz where appropriate, including some loose horizoff members.
|
2022-10-30 16:51:11 +01:00 |
|
Christoph Oelckers
|
600c2a0243
|
- map all clipmove calls to the version with a full float interface.
|
2022-10-30 16:50:48 +01:00 |
|
Mitchell Richters
|
8bc34f3dac
|
- Handle all remaining VecToAngle() calls.
|
2022-10-27 16:55:53 +02:00 |
|
Mitchell Richters
|
1e7cce28af
|
- VecToAngle() with delta() inside to .Angle() replacements.
|
2022-10-27 16:55:53 +02:00 |
|
Mitchell Richters
|
9b98388215
|
- VecToAngle() with XY() inside to .Angle() replacements.
|
2022-10-27 16:55:53 +02:00 |
|
Mitchell Richters
|
8d3f3c6025
|
- Cut over to DAngle from fixedhoriz and remove the latter.
|
2022-10-25 07:06:55 +02:00 |
|
Mitchell Richters
|
92798b5a07
|
- Remove most buildhoriz() calls.
|
2022-10-25 07:06:55 +02:00 |
|
Christoph Oelckers
|
9342b7b1a4
|
- Duke/RR: fixed move_player smart action.
|
2022-10-24 22:09:34 +02:00 |
|
Mitchell Richters
|
95cd74bdc0
|
- renamed slope functions so that the int versions get a special name.
|
2022-10-22 12:17:02 +02:00 |
|
Christoph Oelckers
|
0fdc91904d
|
- replaced getposfromactor
|
2022-10-22 12:09:54 +02:00 |
|
Christoph Oelckers
|
ad2e984367
|
- floatified move_r
|
2022-10-22 11:33:16 +02:00 |
|
Christoph Oelckers
|
8d99277b87
|
- remaining add_int_ang calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
62d9a80379
|
- floatified most simple set_int_ang and add_int_ang calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
54346d9398
|
- eliminate all int_ang calls, except the one setting player.oa.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
61a45da964
|
- floatified all remaining add_int_pos calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
2ea426be38
|
- handle several int_angle calls.
|
2022-10-22 11:33:15 +02:00 |
|
Christoph Oelckers
|
e42036d43b
|
- only use the floatified version of findplayer.
|
2022-10-22 11:33:14 +02:00 |
|
Christoph Oelckers
|
30a3bba644
|
- many CreateActor calls converted to true floats.
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
13dd7260f5
|
- handle all remaining set_int_xvel and set_int_zvel.
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
2e947fded3
|
- trivial changes
|
2022-10-22 09:34:14 +02:00 |
|
Christoph Oelckers
|
7ee620628d
|
- floatified handle_se24
|
2022-10-22 09:34:13 +02:00 |
|
Christoph Oelckers
|
436b8bc50a
|
- floatified shootfireball
|
2022-10-21 00:00:06 +02:00 |
|
Christoph Oelckers
|
a226a847bd
|
- fixed warnings
|
2022-10-21 00:00:06 +02:00 |
|
Christoph Oelckers
|
5140baf7c5
|
- floatified a bunch in move_r
|
2022-10-21 00:00:05 +02:00 |
|
Christoph Oelckers
|
3e511f33b8
|
- movetripbomb and movecrack
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
facedb6325
|
- floatified movesprite_ex
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
5dedce047a
|
- movesprite_ex refactoring, part 1
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
0432930e5b
|
- converted all dist() calls to vector math and deleted the utilities
|
2022-10-21 00:00:04 +02:00 |
|
Christoph Oelckers
|
f6d06b1326
|
- simple replacements in actor code
|
2022-10-21 00:00:03 +02:00 |
|
Christoph Oelckers
|
1a597c4e0b
|
- fixed and floatified chickenarrow.
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
dafc1ff2d2
|
- spawn coordinate in guts
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
6bd97e312d
|
- cleanup of the wall hit checks in hitradius
Yes, the z-check was indeed bad.
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
3c1970e9e0
|
- floatified alterang and changed return type of furthestangle
|
2022-10-21 00:00:01 +02:00 |
|
Christoph Oelckers
|
1a64d18349
|
- floatified RR hitscan teleporter stuff and other minor things.
|
2022-10-20 23:08:55 +02:00 |
|
Christoph Oelckers
|
6482fefeb3
|
- 3x add_int_z.
|
2022-10-20 22:25:10 +02:00 |
|
Christoph Oelckers
|
4196195b89
|
- floatified handle_se25
|
2022-10-20 22:25:09 +02:00 |
|
Christoph Oelckers
|
471f64cf72
|
- fixes for player velocity.
|
2022-10-20 00:48:08 +02:00 |
|
Christoph Oelckers
|
a847b23e7c
|
- made player.vel a real float vector with proper value range.
|
2022-10-20 00:48:07 +02:00 |
|
Christoph Oelckers
|
417dc7c330
|
- floatified gs.gravity and all relations to player.vel.
|
2022-10-20 00:47:32 +02:00 |
|
Christoph Oelckers
|
b46b087e0c
|
- first round of vel refactoring.
VEL_FACTOR is used as a marker that later can be quickly removed once the data type gets changed over.
|
2022-10-20 00:47:19 +02:00 |
|
Christoph Oelckers
|
50a9ca49f3
|
- floatified player_struct::hitang
|
2022-10-20 00:33:31 +02:00 |
|
Christoph Oelckers
|
a5652655db
|
- floatified gs.playerfriction
|
2022-10-20 00:20:41 +02:00 |
|
Christoph Oelckers
|
477120923f
|
- made player.vel and gs.playerfriction floating point.
No change in value range yet, but having them as floats now allows easier refactoring.
|
2022-10-20 00:20:40 +02:00 |
|
Christoph Oelckers
|
8171927c2a
|
- renamed player_struct::vel
|
2022-10-20 00:19:56 +02:00 |
|
Christoph Oelckers
|
03a0eb7284
|
- floatified and consolidated handle_se29.
|
2022-10-20 00:19:56 +02:00 |
|
Christoph Oelckers
|
23c529589e
|
- eliminated add_int_xvel
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
3898e2fa4c
|
- floatified handle_se06 (both variants)
|
2022-10-18 20:02:29 +02:00 |
|
Christoph Oelckers
|
b467e6c6cf
|
- handled a few easy to change distance calculations and nearby assignments.
|
2022-10-18 19:36:25 +02:00 |
|
Christoph Oelckers
|
901728d88f
|
- int_vel stuff with constants.
|
2022-10-18 19:31:11 +02:00 |
|
Christoph Oelckers
|
1ba20c7dce
|
- wrapped most clipdist assignments
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
ef47040630
|
- renaming stuff for search purposes
|
2022-10-17 17:03:53 +02:00 |
|
Christoph Oelckers
|
28a3a8e314
|
- wrapped all literal assignments to clipdist - part 1
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
6b5cbac96a
|
- consolidate common formula
|
2022-10-17 17:03:52 +02:00 |
|
Christoph Oelckers
|
7dab26f04d
|
- handle several movesprite_ex calls.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
eed7f0806c
|
- more quick replacements
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
3e76d49b6e
|
- removed the mul vel wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
6fd8dae380
|
- removed the non-Blood float_* access 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
|
9ba03ac53f
|
- renamed yvel to yint in Duke.
It's never used as velocity, but as an auxiliary parameter so name it appropriately.
|
2022-10-14 23:17:45 +02:00 |
|
Christoph Oelckers
|
9621cd08d2
|
- use PlayerIndex plus a bit of cleanup.
|
2022-10-14 23:17:45 +02:00 |
|
Christoph Oelckers
|
9600face4a
|
- the rest.
|
2022-10-14 23:13:33 +02:00 |
|