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 |
|
Christoph Oelckers
|
1a788c9ba2
|
- helpers for wall sprite rendering improvement
|
2022-05-27 13:55:38 +02:00 |
|
Christoph Oelckers
|
df7e6dfec8
|
- added scripting exports for the global map types and a few more actor utilities.
|
2022-02-21 00:12:51 +01:00 |
|
Christoph Oelckers
|
21fddd6c54
|
- spriteset management.
|
2022-02-15 22:34:48 +01:00 |
|
Christoph Oelckers
|
8cc8ebf30c
|
- preparations for more floatification.
|
2022-02-15 22:18:26 +01:00 |
|
Christoph Oelckers
|
531a42e801
|
- added the flag parsing utilities.
|
2022-01-23 13:03:39 +01:00 |
|
Christoph Oelckers
|
0398ba4ff0
|
- added all parts needed to implement the actor property parser.
Not hooked up yet with the rest of the code, this just adds the needed files in compilable form.
|
2022-01-23 13:03:39 +01:00 |
|
Christoph Oelckers
|
e892de21ec
|
- preparations for unlimited tsprites.
Right now it is a no-op because Polymost cannot deal with this properly.
|
2022-01-11 00:12:32 +01:00 |
|
Christoph Oelckers
|
415dc5246d
|
- fixed sprting of non-translucent sprites.
|
2022-01-08 21:18:18 +01:00 |
|
Christoph Oelckers
|
717dd123e5
|
- fixed slope sprite flag getting cleared by some leftover code.
Also merged copyfrom into the one single function that called it.
|
2021-12-31 10:55:55 +01:00 |
|
Christoph Oelckers
|
552668418a
|
- moved opos and oang to DCoreActor.
|
2021-12-30 18:21:02 +01:00 |
|
Christoph Oelckers
|
7f62df517d
|
- moved all interpolate* methods from spritetypebase to DCoreActor.
The places where it was used on tsprites were redone to use the actor's base coordinate, which at the point of the operation would always be the same.
|
2021-12-30 17:32:31 +01:00 |
|
Christoph Oelckers
|
c10fb1278a
|
- moved the backup... methods to DCoreActor.
|
2021-12-30 17:10:08 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Christoph Oelckers
|
88e4bb9f79
|
- moved sectno method to DCoreActor.
|
2021-12-30 16:39:43 +01:00 |
|
Christoph Oelckers
|
f0b7fe4add
|
- use setsector from DCoreActor.
Also did a bit of cleanup
|
2021-12-30 16:36:04 +01:00 |
|
Christoph Oelckers
|
af6ca40e3d
|
- use DCoreActor::insector instead of spritetype::insector.
|
2021-12-30 16:24:51 +01:00 |
|
Christoph Oelckers
|
4bc32e2777
|
- use actors in the sloped sprite utilities.
|
2021-12-30 16:11:14 +01:00 |
|
Christoph Oelckers
|
50a3089648
|
- eliminated tspriteptr_t and moved a few polymost-exclusive inlines into polymost.cpp.
|
2021-12-30 11:51:33 +01:00 |
|
Christoph Oelckers
|
e670cf2786
|
- re-tabified several files that got mangled by repeated merging
|
2021-12-30 09:58:47 +01:00 |
|
Christoph Oelckers
|
3fcecedf32
|
- deleted ClearContent functions from actor classes.
this is a leftover from pre-DObject times and no longer needed.
|
2021-12-30 09:58:47 +01:00 |
|
Christoph Oelckers
|
6dcc8761fe
|
- replaced the last remaining s() calls in Blood's interface and deleted the method.
|
2021-12-30 09:57:51 +01:00 |
|
Christoph Oelckers
|
0ebd7532b8
|
- don't use s() in other getters.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
40a307650d
|
- the really final parts of the shared code using s() cleaned up.
|
2021-12-30 09:57:15 +01:00 |
|