Christoph Oelckers
|
d253468b22
|
- scriptified the scraps.
A Duke-ish mess of epic proportions.
|
2022-11-15 00:06:21 +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 |
|
Christoph Oelckers
|
53341ee525
|
- Duke: lower conveyor player carry speed.
Still no match to the animation, but these games seemingly never cared.
|
2022-11-10 08:40:14 +01:00 |
|
Christoph Oelckers
|
b4a49ea228
|
- fixed movement speed for SE25 (Piston)
|
2022-11-05 16:00:39 +01:00 |
|
Christoph Oelckers
|
c5523a99ee
|
- fixed issues with Duke's poolballs.
|
2022-10-30 16:51:41 +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
|
902f8c9706
|
- silenced lots of warnings for deliberate type conversions.
The ones in d_net.cpp are not in active code.
|
2022-10-30 16:51:35 +01:00 |
|
Mitchell Richters
|
2fc115a23d
|
- Duke: Remove only place rotatepoint() is called where no pivot is used.
|
2022-10-30 16:51:34 +01:00 |
|
Christoph Oelckers
|
4df875e860
|
- use setfloorz/setceilingz in a few places where it wasn't done.
This isn't critical in any way so no need to merge, but let's be consistent, in case future changes rely on it.
|
2022-10-30 16:51:34 +01:00 |
|
Mitchell Richters
|
e099a19f03
|
- Duke: Fix bad x/yrepeat scaling.
* Merge with or above `- use Scale wrappers in global code and parts of Duke.`.
|
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
|
1a22127123
|
- refactoring CreateActor - part 1
|
2022-10-30 16:51:26 +01:00 |
|
Christoph Oelckers
|
fb164450a7
|
- use MultScale
|
2022-10-30 16:51:25 +01:00 |
|
Christoph Oelckers
|
4c151ef15a
|
- the remaining repeats in Duke’s actor.cpp
|
2022-10-30 16:51:25 +01:00 |
|
Mitchell Richters
|
7e7c1b1179
|
- Duke: Fix hitching going up/down on SE17 elevators, and Z interpolation while jumping, etc.
|
2022-10-30 16:51:24 +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
|
1d48b0776e
|
- cleanup in Blood plus repeats in aiunicult.cpp
* removed the picWidth/Height functions because their one use can be easily inlined
* deleted the unused initvals in GENDUDEEXTRA
|
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
|
cf5d787f40
|
- manual repeats in Duke.
|
2022-10-30 16:51:20 +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
|
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
|
29eb729cd3
|
- Fix multiple bad calls to pushmove() .
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
7d3babd678
|
- ported all pushmove calls to the float version.
|
2022-10-30 16:51:08 +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
|
c00c8d196e
|
- Simple VecToAngle() > .Angle() replacements.
|
2022-10-27 16:55:52 +02:00 |
|
Christoph Oelckers
|
22ccf33569
|
- floatified walldist parameter of getzrange
|
2022-10-25 07:07:14 +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
|
05117f9f5d
|
- first part of final bsin replacement.
|
2022-10-22 12:09:54 +02:00 |
|
Christoph Oelckers
|
9325886e35
|
- split use of tempang between real angles and other counters.
|
2022-10-22 11:33:16 +02:00 |
|
Christoph Oelckers
|
ee28c90429
|
- angle stuff in recon()
|
2022-10-22 11:33:16 +02:00 |
|
Christoph Oelckers
|
e5d9875ae5
|
- one inttoworld -> maptoworld
|
2022-10-22 11:33:15 +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
|
6c0e2624e5
|
- remaining angle wrappers in actors.cpp
|
2022-10-22 11:33:15 +02:00 |
|
Mitchell Richters
|
132864ec8d
|
- Duke: Fix issue stemming from - only use the floatified version of findplayer. .
* This value must be floored.
* Fixes E2L1's space ship projectile timing.
|
2022-10-22 11:33:14 +02:00 |
|
Christoph Oelckers
|
1096344cae
|
- only use the floatified version of findplayer.
|
2022-10-22 11:33:14 +02:00 |
|
Christoph Oelckers
|
201526b53c
|
- only use the floatified version of findplayer.
|
2022-10-22 11:33:14 +02:00 |
|
Christoph Oelckers
|
4e9ab67c35
|
- RR's movement and underwater completed.
|
2022-10-22 11:33:13 +02:00 |
|
Christoph Oelckers
|
4ded343aa5
|
- floatified SE16
|
2022-10-22 11:30:24 +02:00 |
|
Christoph Oelckers
|
e4898af11a
|
- floatified remaining code of SE17.
|
2022-10-22 09:34:16 +02:00 |
|
Christoph Oelckers
|
cd6c524b90
|
- converted most of the remaining CreateActor calls.
|
2022-10-22 09:34:16 +02:00 |
|
Christoph Oelckers
|
e73a6409bb
|
- forcesphere stuff
|
2022-10-22 09:34:15 +02:00 |
|
Christoph Oelckers
|
2e947fded3
|
- trivial changes
|
2022-10-22 09:34:14 +02:00 |
|
Christoph Oelckers
|
9557137b58
|
- floatified queball
|
2022-10-22 09:34:14 +02:00 |
|
Christoph Oelckers
|
9f219ce809
|
- floatified bounce()
|
2022-10-22 09:34:14 +02:00 |
|
Christoph Oelckers
|
7ee620628d
|
- floatified handle_se24
|
2022-10-22 09:34:13 +02:00 |
|
Christoph Oelckers
|
9591325876
|
- floatified return value of hits()
|
2022-10-22 09:34:13 +02:00 |
|
Christoph Oelckers
|
836d7fea34
|
- fixed some warnings.
|
2022-10-21 00:00:08 +02:00 |
|
Christoph Oelckers
|
4dfba60d99
|
- eliminated all ldist calls outside the weapon code.
|
2022-10-21 00:00:08 +02:00 |
|
Christoph Oelckers
|
977131eb8c
|
- eliminated all set_int_z calls in Duke.
|
2022-10-21 00:00:07 +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
|
3352783be2
|
- added a Sum function to TVector familiy
Duke uses this kind of distance check quite a lot so it makes sense to add it to the vectors.
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
38a8e15ff9
|
- floatified most of movetripbomb and ovel
|
2022-10-21 00:00:02 +02:00 |
|
Christoph Oelckers
|
1c50801c64
|
- floatified furthestangle
|
2022-10-21 00:00:01 +02:00 |
|
Christoph Oelckers
|
3c1970e9e0
|
- floatified alterang and changed return type of furthestangle
|
2022-10-21 00:00:01 +02:00 |
|
Christoph Oelckers
|
45f28f666c
|
- floatified dodge.
|
2022-10-20 23:59:28 +02:00 |
|
Christoph Oelckers
|
43e1e3f50f
|
- floatified SE 32.
|
2022-10-20 23:08:55 +02:00 |
|
Christoph Oelckers
|
c0e7e6a543
|
- floatified leftover pieces of some debris-type actors.
|
2022-10-20 23:08:55 +02:00 |
|
Christoph Oelckers
|
e3ea4cd55c
|
- floatified animation code.
|
2022-10-20 23:08:22 +02:00 |
|
Christoph Oelckers
|
0c7274752c
|
- falladjustz
|
2022-10-20 22:25:10 +02:00 |
|
Christoph Oelckers
|
13fc658c1f
|
-floatified findplayer and findotherplayer.
|
2022-10-20 22:25:09 +02:00 |
|
Christoph Oelckers
|
68bc812681
|
- floatify hande_se35
This looks broken because the destination height is never set anywhere.
|
2022-10-20 22:25:09 +02:00 |
|
Christoph Oelckers
|
4196195b89
|
- floatified handle_se25
|
2022-10-20 22:25:09 +02:00 |
|
Mitchell Richters
|
a178ef1ff6
|
- Duke: Floatify player_struct::fric .
|
2022-10-20 00:48:09 +02:00 |
|
Christoph Oelckers
|
9426f42f41
|
- replaced old refactoring wrapper.
|
2022-10-20 00:48:08 +02:00 |
|
Christoph Oelckers
|
088699f5c8
|
- floatified handle_se20.
|
2022-10-20 00:48:08 +02:00 |
|
Christoph Oelckers
|
417dc7c330
|
- floatified gs.gravity and all relations to player.vel.
|
2022-10-20 00:47:32 +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
|
9a07dc5b7b
|
- floatified handle_se21 and most of movetongue
|
2022-10-20 00:19:33 +02:00 |
|
Christoph Oelckers
|
a9c7a5e62f
|
- floatified handle_se21
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
b0b5dbc55b
|
- eliminated add_int_ceilingz
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
81d4ca71d7
|
- floatified movetouchplate
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
8e4a3f1946
|
- floatified position in RANDOMSCRAP
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
23c529589e
|
- eliminated add_int_xvel
|
2022-10-19 18:26:16 +02:00 |
|
Christoph Oelckers
|
a6bf98399c
|
- fixed inconsistency between angle and intangle use.
Angles abused as flag words should always use intangle.
|
2022-10-19 18:02:05 +02:00 |
|
Christoph Oelckers
|
11735c2963
|
- floatified handle_se13.
|
2022-10-18 20:02:30 +02:00 |
|
Christoph Oelckers
|
998d71875f
|
- floatified handle_se11.
|
2022-10-18 20:02:30 +02:00 |
|
Christoph Oelckers
|
b62c081d37
|
- renamed variables in handle_se08
|
2022-10-18 20:02:30 +02:00 |
|
Christoph Oelckers
|
845287a7ba
|
- floatified handle_se05
|
2022-10-18 20:02:30 +02:00 |
|
Christoph Oelckers
|
49125ffed5
|
- floatified handle_se02
|
2022-10-18 20:02:29 +02:00 |
|
Christoph Oelckers
|
228db5839a
|
- floatified handle_se30.
|
2022-10-18 20:02:28 +02:00 |
|
Christoph Oelckers
|
e7ba113402
|
- use high precision storage for all of SE00's work data.
|
2022-10-18 20:02:28 +02:00 |
|
Christoph Oelckers
|
c30493c344
|
- floatified handle_se14
|
2022-10-18 20:02:01 +02:00 |
|
Christoph Oelckers
|
bd3f96e779
|
- floatified handle_se00
|
2022-10-18 20:02:01 +02:00 |
|
Christoph Oelckers
|
b5b159f45b
|
- unlimited and floatified the movesector position array.
|
2022-10-18 20:02:00 +02:00 |
|
Mitchell Richters
|
33def4bd6e
|
- Duke: Clean up some long VecToAngle() calls.
|
2022-10-18 19:52:02 +02:00 |
|
Christoph Oelckers
|
c84bf46611
|
- eliminated add_int_ceilingz in handle_se32.
|
2022-10-18 19:51:53 +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
|
d34a423272
|
- int_vel stuff with constants.
|
2022-10-18 19:31:11 +02:00 |
|
Christoph Oelckers
|
72dc3d5da9
|
- use mapangle in more places, mainly constants and random values using special formula
|
2022-10-18 19:01:45 +02:00 |
|
Christoph Oelckers
|
f4df9a25da
|
- pass index and angle to movesector as arguments.
This allows refactoring the multiple SEs using this function individually.
|
2022-10-18 18:30:38 +02:00 |
|
Christoph Oelckers
|
32d49cf199
|
- Duke: fixed bad crusher speed in SE 25.
|
2022-10-18 07:10:43 +02:00 |
|
Christoph Oelckers
|
db810250c3
|
- full floatification of handle_se31.
|
2022-10-17 17:26:00 +02:00 |
|
Christoph Oelckers
|
8e48911723
|
- very simple replacements
|
2022-10-17 17:25:58 +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
|
5cda92b629
|
- partial floatification of FAFgetzrange/point
|
2022-10-16 09:40:28 +02:00 |
|
Christoph Oelckers
|
64e915868e
|
- use setfloorz
|
2022-10-15 17:16:57 +02:00 |
|
Christoph Oelckers
|
7dab26f04d
|
- handle several movesprite_ex calls.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
4f9ffc9437
|
- mainly handling angle literals.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
4df1578064
|
- a few random wrapper removals in Duke
|
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 |
|
Christoph Oelckers
|
567b20f9ef
|
- almost the rest.
|
2022-10-14 23:13:33 +02:00 |
|
Christoph Oelckers
|
ce20bd9c56
|
- more wraps
|
2022-10-14 23:13:33 +02:00 |
|
Christoph Oelckers
|
643dda6085
|
-add_int_xvel(-
|
2022-10-14 23:13:33 +02:00 |
|
Christoph Oelckers
|
d19e99481d
|
- add_int_xvel
|
2022-10-14 23:13:33 +02:00 |
|
Christoph Oelckers
|
ec88d1ea6c
|
- set_int_xvel
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
fb1a9881e3
|
- half done with xvel
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
434548a5aa
|
- more xvel wraps.
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
cf90970121
|
- float_vel wraps
|
2022-10-14 23:13:32 +02:00 |
|
Christoph Oelckers
|
0aad018796
|
- second batch of xvel wraps.
|
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
|
a006482c07
|
- this concludes all trivial int_zvel replacements.
|
2022-10-14 22:57:37 +02:00 |
|
Christoph Oelckers
|
a98e37b345
|
- handle int_zvel() == 0
|
2022-10-14 22:57:36 +02:00 |
|
Christoph Oelckers
|
56e5388150
|
- handle 'zvel >' comparisons with constants.
|
2022-10-14 22:55:27 +02:00 |
|
Christoph Oelckers
|
7e8afd58da
|
- handle 'zvel <' comparisons with constants.
|
2022-10-14 22:53:22 +02:00 |
|
Christoph Oelckers
|
07bac24234
|
- quickly got rid of a significant bunch of int_zvel calls.
Mapping to float_zvel what could be done with search and replace.
|
2022-10-14 20:31:57 +02:00 |
|
Christoph Oelckers
|
bd520e63dd
|
- use float_zvel in a few places.
|
2022-10-14 20:31:57 +02:00 |
|
Christoph Oelckers
|
999cd16b24
|
- use clear_zvel
|
2022-10-14 20:31:57 +02:00 |
|
Christoph Oelckers
|
8946a66350
|
- handle zvel multiplications with a wrapper.
This completes wrapping of zvel.
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
231107921e
|
- handle a few more operators
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
588af5aa71
|
- add_int_zvel with -
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
8bfedc327f
|
- add_int_zvel
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
6ddfd8e97a
|
- set_int_zvel
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
70d0d0622b
|
- wrapped 0 assignments to zvel
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
a9d96864d3
|
- more zvel wrapping
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
3f7b423a4a
|
- zvel wrapping, part 1.
|
2022-10-14 20:31:55 +02:00 |
|