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
Mitchell Richters
f5116dd787
- Pass a DAngle through to all the automap code.
2022-10-13 00:59:04 +02:00
Mitchell Richters
7286585998
- Add missing header to vectors.h that GCC and Clang were complaining about.
2022-10-13 00:59:04 +02:00
Mitchell Richters
01ed871239
- Optimise spritetypebase::backupvec2()
and remove now-unused backupx/y() methods.
2022-10-13 00:59:04 +02:00
Mitchell Richters
e970ed0f27
- Migrate spritetypebase::interpolatedvec3()
to backend solution.
...
* Also eliminate unused `interpolatedvec2() method from class.
2022-10-13 00:59:03 +02:00
Mitchell Richters
1e36aa0e7f
- Move TAngle<>
interpolation function to common and add ones for TVector<>
classes.
2022-10-13 00:59:03 +02:00
Mitchell Richters
bdf35ac3a9
- Eliminate spritetypebase::__interpolatedvec2()
.
2022-10-13 00:59:03 +02:00
Mitchell Richters
19d21555a6
- Duke: Change int_ang()
usage in camera()
.
...
* This commit also restores the original method of incrementing the camera's angle that was replaced due to a hiccup/stutter where the angle suddenly skipped forward by 16 instead of 8, but with a fix from EDuke32. This avoids using 3x extra `temp_data[]` slots.
2022-10-13 00:59:03 +02:00
Mitchell Richters
0dcd209d91
- Fixed a missed interpolatedvaluef()
fix.
2022-10-13 00:59:03 +02:00
Mitchell Richters
dbcde19834
- Remove some Normalized360()
method calls I added where it shouldn't be necessary.
2022-10-13 00:59:03 +02:00
Mitchell Richters
d133839e2e
- Fix a few uses of interpolatedvalue()
with floating point numbers.
2022-10-13 00:59:03 +02:00
Mitchell Richters
92b16907d2
- Use getincangle()
in more places so it can be refactored easier later on.
2022-10-13 00:59:02 +02:00
Mitchell Richters
2e25ccaa4d
- SW: Replace some set_int_ang()
usage.
2022-10-13 00:59:02 +02:00
Mitchell Richters
a22300fe01
- Blood: Replace some set_int_ang()
usage.
...
* A lot of this repeated code should be factored out into repeated blocks when all of this floatification is done.
2022-10-13 00:59:02 +02:00
Christoph Oelckers
8f5340c3a7
- set_int_ang(...int_ang())
2022-10-13 00:59:02 +02:00
Christoph Oelckers
5faeedc144
-refactored the remaining code using int_zclip.
2022-10-13 00:59:02 +02:00
Christoph Oelckers
78e8957043
-refactored the remaining code using int_zclip for move_missile.
2022-10-13 00:59:02 +02:00
Christoph Oelckers
d3715e3332
- floatified globloz and globhiz
2022-10-13 00:59:01 +02:00
Christoph Oelckers
d573ba4cad
- pass map start as DVector3
2022-10-13 00:59:01 +02:00
Christoph Oelckers
40312d64c8
-coordinates
2022-10-13 00:59:01 +02:00
Christoph Oelckers
b949f37be2
- Sound stuff for SW
2022-10-13 00:59:01 +02:00
Christoph Oelckers
45be09e6ab
- more angle assignments
2022-10-13 00:59:01 +02:00
Christoph Oelckers
0edd12bc11
- set_int_ang(getangle
2022-10-13 00:59:01 +02:00
Christoph Oelckers
25949ce6ab
- gut stuff
2022-10-13 00:59:00 +02:00
Christoph Oelckers
d700b11887
- getangle in animatesprites
2022-10-13 00:59:00 +02:00
Christoph Oelckers
478672879e
- partial HitScan parameter change
...
The really easy stuff…
2022-10-13 00:59:00 +02:00
Christoph Oelckers
f45e6317ab
- SpriteWarpToSurface
2022-10-13 00:59:00 +02:00
Christoph Oelckers
54cf1aea6f
- got rid of CGibPosition
2022-10-13 00:59:00 +02:00
Christoph Oelckers
3d29c8f3ad
- floatified position in checkhitwall
2022-10-13 00:59:00 +02:00
Christoph Oelckers
2aec324a25
- EGS with hitpos
2022-10-13 00:58:59 +02:00
Christoph Oelckers
f80b228a83
- deal with int positions in approxdist calls
2022-10-13 00:58:59 +02:00
Christoph Oelckers
c53a2ac93a
- one final batch of AI stuff
2022-10-13 00:58:59 +02:00
Christoph Oelckers
230913bad3
- another large AI cleanup batch
2022-10-13 00:58:59 +02:00
Christoph Oelckers
ea04f5f800
- more vector stuff in Blood AI
...
all the same pattern
2022-10-12 22:18:11 +02:00
Christoph Oelckers
67d0e51919
- migrate Blood AI to floating point vectors, part 1
...
Velocity is still left untouched.
2022-10-12 22:18:11 +02:00
Christoph Oelckers
2f896b859b
- made the code mostly signed-char safe.
...
This eliminates all char function parameters that are not really ASCII characters and casts all char argument to the ctype is... functions.
2022-10-12 22:12:30 +02:00
Christoph Oelckers
dc1c6976e2
- removed OSD_StripColors.
...
This was handling color control sequences in EDuke32 format which are totally irrelevant for Raze.
2022-10-12 22:10:37 +02:00
Christoph Oelckers
e26d6aec14
- 3* EGS->CreateActor
2022-10-12 22:10:37 +02:00
Christoph Oelckers
97e93004b1
- quick’n easy replacements
2022-10-12 22:10:37 +02:00
Christoph Oelckers
f269ceff64
slope functions with position vectors
2022-10-12 22:10:37 +02:00
Christoph Oelckers
0499be0c26
- getting rid of some int_pos calls.
2022-10-12 22:10:37 +02:00
Christoph Oelckers
18a445aee5
- added ZeroVelocity function to DBloodActor.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
a5a3669238
- eliminated the SetActor/Z function receiving a vec3_t pointer.
...
The only one left is the one with a DVector3 now.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
f002425aee
- use floats for internal SetActor(Z) functions.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
00436bfdac
- eliminated one UpdateActor pverload.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
f750ea8a70
- twq more SpawnActor calls.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
9af2045dee
- code cleanup in Exhumed's Lion AI.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
12b238b2bf
- the remaining SpawnActor calls.
2022-10-12 22:10:36 +02:00
Christoph Oelckers
80f019c429
- next batch of SpawnActor calls.
2022-10-12 22:10:35 +02:00
Christoph Oelckers
c7437da255
- more SpawnActors
2022-10-12 22:10:35 +02:00
Christoph Oelckers
da6e8e9341
- several SpawnActor and getangle calls.
2022-10-12 22:10:35 +02:00
Christoph Oelckers
8a86cc26b6
- floatified Recon.
2022-10-12 22:10:35 +02:00
Christoph Oelckers
9275c14c9c
- floatify SE18 handler.
...
To store floars in temp_data without relying on map format conventions, the FixedTo functions were extended to allow custom precision.
2022-10-12 22:10:35 +02:00
Christoph Oelckers
1131eeb443
- setfloorz and setceilingz must be called for changing sector planes
2022-10-12 22:10:35 +02:00
Christoph Oelckers
fe42de1fcb
- the one add_int_floorz/add_int_ceilingz calls each in SW.
2022-10-12 22:10:35 +02:00
Christoph Oelckers
f0769048ed
- yet another bunch of SpawnActor calls in weapon.cpp
2022-10-12 22:10:35 +02:00
Christoph Oelckers
5e28b2cca3
- lots of SpawnActor calls in weapon.cpp
2022-10-12 22:10:34 +02:00
Christoph Oelckers
446407cafe
- more SpawnActor calls
2022-10-12 22:10:34 +02:00
Christoph Oelckers
d8c7054751
- many SpawnActor calls
2022-10-12 22:10:34 +02:00
Christoph Oelckers
2a8dd6b955
- improved RANDOM_P2F interface.
2022-10-12 22:10:34 +02:00
Christoph Oelckers
f77ecbed32
- several HitBreakWall calls
2022-10-12 22:10:34 +02:00
Christoph Oelckers
3a0eec76ad
- some getangle and SpawnActor calls
2022-10-12 22:10:34 +02:00
Christoph Oelckers
a0c0894e41
- aiSetTarget calls
2022-10-12 22:10:34 +02:00
Christoph Oelckers
97223af592
- silenced a few conversion truncation warnings.
2022-10-12 15:49:07 +02:00
Christoph Oelckers
f35c610328
- the remaining cansee calls
2022-10-11 18:09:48 +02:00
Christoph Oelckers
db0ce36143
- use engine's updatesector in Blood instead of the limited homegrown FindSector variant.
2022-10-11 18:09:48 +02:00
Christoph Oelckers
72187a7f3b
- mummy’s cansee and FindPlayer
2022-10-11 18:09:05 +02:00
Mitchell Richters
b804d7fe15
- Duke: Fix bad setups when calling cansee()
. Fixes issues with pigcop on kerb in E2L1.
2022-10-11 18:07:40 +02:00
Christoph Oelckers
113980ca8e
- cansee in Duke
2022-10-11 18:05:15 +02:00
Christoph Oelckers
085839af32
- CheckPickUp floatification
2022-10-10 17:37:20 +02:00
Christoph Oelckers
a808f04415
- cansee refactoring part 4
2022-10-10 17:37:20 +02:00
Christoph Oelckers
3da68ab038
- cansee refactoring, part 3
2022-10-10 17:37:20 +02:00
Christoph Oelckers
80412bdc51
- cansee refactoring, part 2
2022-10-10 17:37:20 +02:00
Christoph Oelckers
781ffc9a43
- cansee refactoring, part 1.
2022-10-10 17:37:20 +02:00
Christoph Oelckers
d8f379c8fa
- SetActorZ vectors
2022-10-10 17:37:20 +02:00
Christoph Oelckers
e76dfa5d3c
- GetActor pos replacement
2022-10-10 17:37:19 +02:00