Commit graph

2141 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
d133839e2e - Fix a few uses of interpolatedvalue() with floating point numbers. 2022-10-13 00:59:03 +02:00
Christoph Oelckers
8f5340c3a7 - set_int_ang(...int_ang()) 2022-10-13 00:59:02 +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
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
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
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
e26d6aec14 - 3* EGS->CreateActor 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
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
00436bfdac - eliminated one UpdateActor pverload. 2022-10-12 22:10:36 +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
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
e76dfa5d3c - GetActor pos replacement 2022-10-10 17:37:19 +02:00
Christoph Oelckers
837b31c672 - got rid of int_ploz and int_phiz. 2022-10-09 23:59:01 +02:00
Christoph Oelckers
209867e036 - cleaned out some unnecessary inlines. 2022-10-09 22:00:43 +02:00
Christoph Oelckers
ade20cbfe2 - some angular stuff. 2022-10-09 08:21:54 +02:00