Mitchell Richters
|
6a4812ce48
|
- Duke: Floatify CSTAT_SPRITE_ALIGNMENT_WALL automap draw code.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
986466de67
|
- Commence updating gi->DrawAutomapPlayer() for floatification, beginning with Duke's CSTAT_SPRITE_ALIGNMENT_FACING code.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
d9f8ac4d2a
|
- Convert automap's follow_x /follow_y variables into a proper vector.
* Should have done this from the start, but anyhow...
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
059f15c786
|
- Refactor floatified vector math to use inline wrapped around TVector2's Rotated() method.
* This will be used extensively in Duke and the other game as we finalise this conversion.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
e9d5cd2a3a
|
- Flatten automap's zoom values from Q20.10 to floating point.
|
2022-10-14 18:13:49 +02:00 |
|
Christoph Oelckers
|
c9ab96f504
|
- floatified SpriteOverlapZ
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
a5d6cbaa57
|
- floatified SpriteOverlap and user.OverlayZ
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
6d91838ae5
|
- floatified SpawnActor call in DoSpawnTeleporterEffect
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
bb8c12efb4
|
- inlined GetSpriteSizeY in the only place where it was used.
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
9717082759
|
- int_change is gone
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
4b25400e40
|
- floatified SlopeBounce
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
d946e5de70
|
- floatified WallBounce
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
9aedc3fe9e
|
- more change wrappers removed
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
a5d6e1d406
|
- more int_change gone
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
a59f363224
|
- eliminated some int_change calls
|
2022-10-14 18:13:46 +02:00 |
|
Christoph Oelckers
|
620de9ebf7
|
- handle all remaining move_sprite calls.
int_ceiling_dist and int_floor_dist are gone
|
2022-10-14 18:13:46 +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
|
ce7533c1c4
|
- floatified move_missile’s API
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
e7197e2d73
|
- migrate all remaining move_missile calls
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
f7d2ab20d8
|
- handle more move_missile calls
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
9803041dfb
|
- refactored move_missile calls
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
93ce8f77be
|
- got rid of temporary helper wrappers
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
3d336bb7e7
|
- floatified USER::change
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
153b5b84f3
|
- wrapped almost everything
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
8bb609fbb1
|
- set_int_change_z
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
8bb4bc55eb
|
- set_int_change_y
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
b6c0560430
|
- set_int_change_x
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
390dd4d9df
|
- wrapped a few more
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
fbfec1f037
|
- avoid using change.X as a marker value
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
6334b7d3b8
|
- wrapped half of the remaining access to user.change
Strictly search and replace.
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
420636f7ee
|
- a bit more lightening on change
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
10e08556c1
|
- put more access to user.change behind wrappers
|
2022-10-14 17:16:59 +02:00 |
|
Christoph Oelckers
|
f81aada041
|
- lightened the number of references to user.change by 1/3rd
The less, the better for refactoring
|
2022-10-14 17:16:31 +02:00 |
|
Christoph Oelckers
|
ab3e7df1b9
|
- use UpdateChangeXY in a few more places
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
61fc57131f
|
- eliminated a few calls to int_Actor* functions
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
b557e5b5db
|
- eliminated int_upos wrapper
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
3ac4e7ed2d
|
- eliminated player_int_ceiling_dist, player_int_floor_dist wrappers
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
8c5e52938d
|
- deleted int_loz/hiz wrappers
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
c59b052d19
|
- floatified PickJumpMaxSpeed
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
502994fb0a
|
- floatified SpawnExpZadjust’s interface
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
f656d8b1a3
|
- floatified SpawnExpZadjust
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
01bb7aa9f5
|
removed player_set_int_z
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
f33ecbc14f
|
- Duke/RR: floatified position stuff in unterwater()
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
bbdb3379d6
|
- RR: partially floatified movement()
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
0dbe224ad1
|
- Duke: floatified movement
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
81c7e7671f
|
- fixed Clang warnings
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
4a486f5a10
|
- deal with an extremely redundant code fragment
Consolidates almost 100 lines that still need work in a small subfunction. :)
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
28c8efd104
|
- eliminated set_int_ppos_Z
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
785575604b
|
- no need to use int_delta when all we want is the angle.
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
05a7fe8f36
|
- renamed walltype::fdelta and fcenter
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
6ce01e24d2
|
- renamed walltype::delta and walltype::center
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
ee41cda31e
|
- Duke: floatified pyoff
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
1d28ebec98
|
- eliminated add_int_z and add_int_y wrappers
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
681784fdf8
|
- removed set_int_pos wrapper
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
70d0b2ea93
|
- Exhumed: floatified most of CreatePushBlock
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
32dab95c8d
|
- DukeWT’ s Firefly shot
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
24f46771a1
|
- floatified shootflamethrowerflame
|
2022-10-13 22:52:51 +02:00 |
|
Christoph Oelckers
|
06e86735fc
|
- use temp_pos instead of maintaining yet another variable for FIREBALL
|
2022-10-13 20:58:13 +02:00 |
|
Christoph Oelckers
|
559c24fa92
|
- 3 simple set_int_pos replacements
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
ac3302733f
|
- floatified FindWallSprites
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
ffba7996b3
|
- SW: floatified PLAYER::siang
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
634db656e7
|
- SW: floatified PLAYER::si
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
94e198f9a9
|
- SW: floatified DoPlayerTeleportToSprite
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
161153c783
|
- variable replacements
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
f4d8ccf7b9
|
- floatified WarpToCoords
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
38a2d31907
|
- use floating point rotation in SE14.
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
55455ea4fa
|
- use floating point for the last remaining rotation in TranslateSector
|
2022-10-13 20:58:11 +02:00 |
|
Christoph Oelckers
|
decaff78dc
|
- floatified parts of useSeqSpawnerGen.
Also fixing a sprite size bug in here.
|
2022-10-13 20:58:11 +02:00 |
|
Christoph Oelckers
|
5fba68ffe1
|
- floatified Blood’s kViewEffectTrail
|
2022-10-13 20:58:11 +02:00 |
|
Christoph Oelckers
|
b73314579a
|
- floatified Blood’s kViewEffectAtom
This also gets rid of the rather pointless rotation functions that were just added for this.
|
2022-10-13 20:58:11 +02:00 |
|
Christoph Oelckers
|
ea9c88d952
|
- floatified Blood’s MoveMissile function
|
2022-10-13 20:56:38 +02:00 |
|
Christoph Oelckers
|
978c35fda1
|
- mess reduction in Blood’s TranslateSector
We can also get rid of set_int_xy now.
|
2022-10-13 20:42:29 +02:00 |
|
Christoph Oelckers
|
5f93ba9053
|
- use temp_pos for TRIPBOMB and SE26
|
2022-10-13 20:42:29 +02:00 |
|
Christoph Oelckers
|
bdeb056727
|
- added temp_pos to DDukeActor
Same reasons as for temp_angle apply.
|
2022-10-13 20:41:54 +02:00 |
|
Christoph Oelckers
|
cceecb4ab6
|
- use ToVector where appropriate
|
2022-10-13 20:41:54 +02:00 |
|
Christoph Oelckers
|
0c757ff96a
|
- use temp_angle for TRIPBOMB’s saved angle
|
2022-10-13 20:41:14 +02:00 |
|
Christoph Oelckers
|
a1b2f7d555
|
- floatified initshell
|
2022-10-13 20:23:52 +02:00 |
|
Christoph Oelckers
|
93fd94ecbb
|
- partial floatification of movesprite
|
2022-10-13 20:23:52 +02:00 |
|
Christoph Oelckers
|
33a3a36da1
|
- floatify pos in movesprite_ex_r
|
2022-10-13 20:23:52 +02:00 |
|
Christoph Oelckers
|
ae0640b1ca
|
- floatify pos in movesprite_ex_d
|
2022-10-13 20:23:52 +02:00 |
|
Christoph Oelckers
|
2895e8ac05
|
- partial floatification of handle_se26
|
2022-10-13 20:23:51 +02:00 |
|
Christoph Oelckers
|
5bb9a16d34
|
- floatified TRACK_ACTOR_CLIMB_LADDER case in ActorTrackDecide
|
2022-10-13 20:23:34 +02:00 |
|
Christoph Oelckers
|
ad648676b1
|
- floatified SPREXT_AWAY handler
|
2022-10-13 19:59:16 +02:00 |
|
Christoph Oelckers
|
21feb41d78
|
- Exhumed: gave local variables in FindWallSprites meaningful names
|
2022-10-13 19:59:16 +02:00 |
|
Christoph Oelckers
|
aec74d5d0d
|
- added temp_angle variable to DDukeActor
To avoid using temp_data as storage for angles in TRIPBOMB.
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
7ddfd944e6
|
- floatified position in BuildEnergyBlock
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
0fcbe57111
|
- pos in DoBloodWorm
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
06be4eeb91
|
- floatified most of SpriteWarpToUnderwater
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
db16eb9d19
|
- converted position in move_ground_missile
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
2044a7c562
|
- converted some simple assignments
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
23bd9918af
|
- pass a DVector3 to updatesectorneighbor
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
07826c7791
|
- eliminated DCoreActor::copyXY
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
bff9856bf3
|
- Floatified DrawPlayerArrow() .
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
61e70fefbd
|
- Floatified drawwhitelines() .
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
bb3959fb0f
|
- Floatified drawredlines() .
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
60f5d9b67c
|
- Rework some automap functions in prep for floatification.
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
85f7297ad3
|
- Floatified renderDrawMapView() .
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
8a8fb3c658
|
- Floatified automap's follow_x /follow_y` variables.
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
4d04a4dd3a
|
- Floatified automap's gZoom .
* Also use the global directly in automap functions instead of passing it around as function variables.
|
2022-10-13 00:59:04 +02:00 |
|