Mitchell Richters
|
5407de6924
|
- Use MaxSmoothRatio everywhere so refactoring is easier later on.
|
2022-10-14 18:19:03 +02:00 |
|
Christoph Oelckers
|
cceecb4ab6
|
- use ToVector where appropriate
|
2022-10-13 20:41:54 +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
|
d133839e2e
|
- Fix a few uses of interpolatedvalue() with floating point numbers.
|
2022-10-13 00:59:03 +02:00 |
|
Christoph Oelckers
|
d700b11887
|
- getangle in animatesprites
|
2022-10-13 00:59:00 +02:00 |
|
Christoph Oelckers
|
f13d9892dc
|
- trivial wrapper replacements in Duke
|
2022-10-09 08:21:53 +02:00 |
|
Christoph Oelckers
|
b32c4444c4
|
- replaced all add_int_z calls with constants.
|
2022-10-08 19:28:57 +02:00 |
|
Mitchell Richters
|
d28d6cd4cf
|
- Utilise actor sprite's full precision in instances where angle was converted to Build and back again.
|
2022-10-05 00:36:30 +02:00 |
|
Christoph Oelckers
|
6aaee85875
|
- leftover binangle uses from the coordinate refactoring.
|
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
|
f54e4b8a9a
|
- more int_ang()
|
2022-10-04 23:56:43 +02:00 |
|
Christoph Oelckers
|
33d5b54ce0
|
- use 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
|
022f22cd10
|
-replaced tspritetype::set_int_x/y.
|
2022-10-04 18:44:16 +02:00 |
|
Christoph Oelckers
|
b327f7f03a
|
- some simple replacements.
|
2022-10-04 18:44:15 +02:00 |
|
Christoph Oelckers
|
95bc8a173f
|
- animatesprites clear of player_int_pos.
|
2022-10-04 18:44:15 +02:00 |
|
Christoph Oelckers
|
312ee075d2
|
- use wrapper functions for pos/opos where possible.
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
591dcc995a
|
- added a float version of gs.playerheight.
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
1e1188ae73
|
- use gs.playerheight consistently.
There were still several cases using the game specific constants.
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
564ec9e518
|
- renamed player_struct::opos
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
5f4c35e9aa
|
- renamed player_struct::pos
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
8f64518637
|
- Duke: cleanup on z-checks, part 4.
|
2022-10-02 20:46:57 +02:00 |
|
Christoph Oelckers
|
4787bddddd
|
- Duke: replaced most read access to DDukeActor::floorz/ceilingz with a wrapper function.
|
2022-10-02 20:46:56 +02:00 |
|
Christoph Oelckers
|
793e9b7623
|
- renamed DDukeActor::floorz, ceilingz.
|
2022-10-02 20:46:56 +02:00 |
|
Christoph Oelckers
|
6816e32d23
|
- call float 'interpolated' functions for setting tsprite's pos.
|
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
|
c84d75b8bf
|
- use inline access functions to read floorz/ceilingz.
|
2022-08-27 09:58:16 +02:00 |
|
Christoph Oelckers
|
0672572e63
|
- renamed sectortype::floorz and ceilingz as preparation for floatification
|
2022-08-27 09:47:48 +02:00 |
|
Christoph Oelckers
|
1231f6025d
|
- handle the last remaining uses of __int_pos that can be done with the function interface.
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
8ccaa0ab8c
|
- more tsprite position stuff
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
170387ab26
|
- tspritetype::pos access wrappers, part 1.
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
dc94dedc6b
|
- renaming spritetype::pos
|
2022-08-26 19:53:10 +02:00 |
|
Christoph Oelckers
|
204d6018f4
|
- Duke: renamed all spr.pos
This was pure search&replace with no other code edits.
|
2022-08-26 19:53:07 +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
|
a015958f66
|
- Duke: had to give the trip bomb yet another flag.
Unlike every other actor this has scripted animation logic attached that is not supposed to be used. Weird.
|
2022-01-29 10:45:36 +01:00 |
|
Christoph Oelckers
|
d3f2d50088
|
- added NOFLOORPAL flag to remove some special cases from animatesprites.
# Conflicts:
# source/games/duke/src/constants.h
|
2022-01-27 00:48:00 +01:00 |
|
Christoph Oelckers
|
3d0c794224
|
- two more flags for LASERLINE.
|
2022-01-27 00:46:24 +01:00 |
|
Christoph Oelckers
|
125c3e8004
|
- flammable flags.
|
2022-01-27 00:41:33 +01:00 |
|
Christoph Oelckers
|
58b718d2a2
|
- turn all special actor type checks in moveflammable into flags.
Also wrap all flag checks in actorflag function
|
2022-01-27 00:34:21 +01:00 |
|
Christoph Oelckers
|
5bc8b1c2d3
|
- Duke: added two more flags to eliminate the references to the crane's tile numbers.
|
2022-01-25 22:26:53 +01:00 |
|
Christoph Oelckers
|
85cce1128a
|
- do proper handling of the 'no shadow' case for Duke's bad guys.
Using a flag like RedNukem instead of hacking dispicnum, which occasionally does reach the renderer and causes problems.
|
2022-01-13 00:42:34 +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
|
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
|
6c381d4392
|
- removed sector() method from low level sprite type.
|
2021-12-30 16:58:48 +01:00 |
|
Christoph Oelckers
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Christoph Oelckers
|
af6ca40e3d
|
- use DCoreActor::insector instead of spritetype::insector.
|
2021-12-30 16:24:51 +01:00 |
|
Christoph Oelckers
|
16635e53fc
|
- renamed DDukeActor::picnum to attackertype.
This one having the same name here as spritetype::picnum is just confusing as hell and badly describes this variable's function.
|
2021-12-30 09:58:14 +01:00 |
|
Mitchell Richters
|
3adf81e4f9
|
- Duke: Replace player_struct oposz with opos.Z calls.
|
2021-12-30 09:57:07 +01:00 |
|
Mitchell Richters
|
111aa16e64
|
- Duke: Replace player_struct oposy with opos.Y calls.
|
2021-12-30 09:57:07 +01:00 |
|
Mitchell Richters
|
0e897c29b0
|
- Duke: Replace player_struct oposx with opos.X calls.
|
2021-12-30 09:57:07 +01:00 |
|