Christoph Oelckers
|
a5a04b1123
|
- moved Blood's velocity vector to DCoreActor.
|
2022-10-14 23:52:42 +02:00 |
|
Christoph Oelckers
|
b0e67ab88d
|
- clear_yvel
|
2022-10-14 23:13:34 +02:00 |
|
Christoph Oelckers
|
aa22e48036
|
- preparations for xvel wrapping.
Mainly providing alternative names for the spritetype members and redirecting all relevant access to those.
|
2022-10-14 23:02:11 +02:00 |
|
Christoph Oelckers
|
05f488ce3c
|
- add more wrappers and use 'inittype' where the actual zvel member of spritetype is wanted.
This will avoid problems with search&replace later.
|
2022-10-14 20:31:56 +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
|
8bfedc327f
|
- add_int_zvel
|
2022-10-14 20:31:56 +02:00 |
|
Christoph Oelckers
|
70d0d0622b
|
- wrapped 0 assignments to zvel
|
2022-10-14 20:31:55 +02:00 |
|
Christoph Oelckers
|
3f7b423a4a
|
- zvel wrapping, part 1.
|
2022-10-14 20:31:55 +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
|
681784fdf8
|
- removed set_int_pos wrapper
|
2022-10-13 22:54:42 +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
|
07826c7791
|
- eliminated DCoreActor::copyXY
|
2022-10-13 00:59:05 +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
|
0dcd209d91
|
- Fixed a missed interpolatedvaluef() fix.
|
2022-10-13 00:59:03 +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
|
45f37525e0
|
- minor angle stuff in Blood
|
2022-10-10 17:31:30 +02:00 |
|
Christoph Oelckers
|
24b23d6919
|
- floatified PLAYER::ceiling_dist/floor_dist.
|
2022-10-09 22:30:51 +02:00 |
|
Christoph Oelckers
|
209867e036
|
- cleaned out some unnecessary inlines.
|
2022-10-09 22:00:43 +02:00 |
|
Christoph Oelckers
|
5505c362e2
|
- floatified hitpos
|
2022-10-05 18:11:59 +02:00 |
|
Christoph Oelckers
|
55ade2eda4
|
- use int_hitpos() access function where applicable
|
2022-10-05 18:10:44 +02:00 |
|
Christoph Oelckers
|
296b5d7edd
|
- renamed HitInfo::hitpos
|
2022-10-05 18:03:41 +02:00 |
|
Mitchell Richters
|
442d1f3bd3
|
- Move Build interpolation helper inlines into new header file.
* Needed to be in new header to avoid some circular dependencies.
|
2022-10-05 00:36:31 +02:00 |
|
Mitchell Richters
|
02dfe2cb62
|
- Repair interpolation issues following change of sprite angles from integer to DAngle types.
|
2022-10-05 00:36:30 +02:00 |
|
Mitchell Richters
|
47ed6cbd61
|
- Restore internals of spritetypebase::norm_ang() .
|
2022-10-05 00:36:30 +02:00 |
|
Christoph Oelckers
|
fe6fcdff1f
|
- use DAngle for actors
Note that intangle needs to be kept - primarily for SW's ST tags.
|
2022-10-05 00:36:29 +02:00 |
|
Mitchell Richters
|
bd6b0eaac5
|
- Fix some constexpr issues with the latest DAngle works.
* We can't make `BAMs()` constexpr as we can't update to a C++20 compatible version of xs_Float where we use legal std::bit_cast instead of a union.
|
2022-10-05 00:36:29 +02:00 |
|
Christoph Oelckers
|
6bdfa09dd1
|
- the remaining angle stuff.
|
2022-10-05 00:36:21 +02:00 |
|
Christoph Oelckers
|
c2f4fa8bb5
|
- more angles
|
2022-10-04 23:56:44 +02:00 |
|
Christoph Oelckers
|
f54e4b8a9a
|
- more int_ang()
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
735b9a8fed
|
- renamed ang to __int_angle
|
2022-10-04 23:56:42 +02:00 |
|
Christoph Oelckers
|
24c845f827
|
- remove float_pos wrapper.
|
2022-10-04 18:44:15 +02:00 |
|
Christoph Oelckers
|
fb4da6bbd4
|
- added some utilities.
This also had to use explicit types in a few places to clear ambiguities.
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
4c80a19458
|
- removed unused __interpolatedvec3 function.
|
2022-10-02 20:46:56 +02:00 |
|
Christoph Oelckers
|
7745701d4b
|
- floatified opos.
|
2022-10-02 20:46:56 +02:00 |
|
Christoph Oelckers
|
5df4caa82f
|
- renamed interpolate functions as preparation for floatifying opos.
|
2022-10-02 20:46:56 +02:00 |
|
Christoph Oelckers
|
02ae6476de
|
- changed the pos vector of spritetype to floating point.
|
2022-08-27 09:26:13 +02:00 |
|
Christoph Oelckers
|
dc94dedc6b
|
- renaming spritetype::pos
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
ad9931081e
|
-fix some bugs, handle occurences in recently changed code
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
b49aed6620
|
- SW: more spr.pos write wraps.
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
b9568aa372
|
- missed this in Blood
|
2022-08-26 19:53:06 +02:00 |
|
Christoph Oelckers
|
702a73ff6c
|
- Blood: handled the remaining write accesses to 'pos'
|
2022-08-26 19:53:03 +02:00 |
|
Christoph Oelckers
|
32dd061ab1
|
- Blood: wrapped write accesses to spr.pos in nnexts.cpp
|
2022-08-26 19:53:03 +02:00 |
|
Christoph Oelckers
|
29d0f86726
|
- utilities for wrapping actor coordinates.
|
2022-08-26 19:53:03 +02:00 |
|
Christoph Oelckers
|
4d423004e9
|
- unlimited the displayable sprites.
Now with Polymost gone this can finally be done properly.
|
2022-08-07 10:25:15 +02:00 |
|
Christoph Oelckers
|
48b6ce2f4d
|
- replaced spriteheightofsptr with a method in DCoreActor.
|
2022-08-05 17:04:46 +02:00 |
|