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
|
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
|
6bd854da88
|
- floatified player_struct::truecz/truefz.
|
2022-10-02 20:46:58 +02:00 |
|
Christoph Oelckers
|
7fce0ed7ae
|
- renamed truefz and truecz
|
2022-10-02 20:46:57 +02:00 |
|
Christoph Oelckers
|
665ee69eba
|
- Duke: cleanup on z-checks, part 3.
|
2022-10-02 20:46:57 +02:00 |
|
Christoph Oelckers
|
89c0e4234c
|
- remapped all copy assignments to DDukeActor::ceilingz/floorz.
This commit does not work! It was split for clarity.
|
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
|
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
|
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
|
9bf94cbc1c
|
- Duke: eighth batch
|
2022-08-26 19:53:06 +02:00 |
|
Mitchell Richters
|
00e12ea031
|
- Remove some uses of xs_Float.h functions in game-side code where overflow protection isn't needed.
* Went a little bit nuts and just used this everywhere back way back when.
|
2022-07-23 10:37:32 +10:00 |
|
Mitchell Richters
|
a29bce9eda
|
- Duke: Interpolate loogcnt when drawing onscreen.
|
2022-06-06 11:24:47 +10:00 |
|
Mitchell Richters
|
f4b78dc3c7
|
- Duke: Interpolate access_incs when drawing onscreen (security card usage).
|
2022-06-06 09:47:30 +10:00 |
|
Mitchell Richters
|
3b2ef4d18b
|
- Duke: Interpolate tipincs when drawing onscreen (tipping the dancers).
|
2022-06-06 09:40:47 +10:00 |
|
Mitchell Richters
|
d6549d6335
|
- Duke: Interpolate knee_incs when drawing onscreen (stomping on shrunken enemies).
|
2022-06-06 09:19:55 +10:00 |
|
Mitchell Richters
|
ab95a8b890
|
- Duke: Interpolate fist_incs when drawing onscreen (hitting the nuke detonator at the end of each level).
|
2022-06-05 21:00:44 +02:00 |
|
Mitchell Richters
|
7282e0d8bf
|
- Remove multiple addadjustment() /settarget() overloads in favour of native binangle /fixedhoriz versions only.
* Simplifies these classes a bit.
* Better shows intent in actual game code.
* Removes unnecessary int to double conversions.
|
2022-05-30 20:35:41 +10:00 |
|
Christoph Oelckers
|
aab13addb7
|
-renamed spritetype’s owner field to ‚intowner‘
Mainly for easier searching.
Also remove the duplicate ‚detail‘ field.
|
2022-05-24 00:30:41 +02:00 |
|
Christoph Oelckers
|
f44736a5b6
|
-use an access function for reading wall positions so that we have a non-modifiable value wherever this is possible.
|
2022-02-15 22:18:23 +01:00 |
|
Christoph Oelckers
|
89ef81da55
|
- renamed walltype::pos as preparation for refactoring.
no functional changes here
|
2022-02-15 22:18:22 +01:00 |
|
Christoph Oelckers
|
82898e42a6
|
- fix the camera.
- camera flag added
|
2022-01-27 01:05:12 +01:00 |
|
Christoph Oelckers
|
eae5ca93d0
|
- cleanup - flag name and removal of unused code.
|
2022-01-27 00:42:40 +01:00 |
|
Christoph Oelckers
|
fc94fb9651
|
- replaced checktimetosleep with a flag.
|
2022-01-27 00:42:07 +01:00 |
|
Christoph Oelckers
|
a252b206d1
|
- exported DukeActor's native member variables.
This includes renaming two native ones because they shared the same name with members of spritetype.
|
2022-01-24 00:24:47 +01:00 |
|
Christoph Oelckers
|
cd599a7a15
|
- Duke: abstracted all checks for TILE_APLAYER with an isPlayer method.
|
2021-12-31 18:51:43 +01:00 |
|
Christoph Oelckers
|
552668418a
|
- moved opos and oang to DCoreActor.
|
2021-12-30 18:21:02 +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 |
|
Mitchell Richters
|
1e90b0bbbe
|
- Duke: Replace player_struct bobposy with bobpos.Y calls.
|
2021-12-30 23:00:44 +11:00 |
|
Mitchell Richters
|
034e1fd175
|
- Duke: Replace player_struct bobposx with bobpos.X calls.
|
2021-12-30 23:00:44 +11:00 |
|
Mitchell Richters
|
f9b728d188
|
- Duke: Replace DDukeActor lastvy with ovel.Y calls.
|
2021-12-30 23:00:44 +11:00 |
|
Mitchell Richters
|
8932b2fc1d
|
- Duke: Replace DDukeActor lastvx with ovel.X calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
0bc26e78ba
|
- Duke: Replace player_struct loogiey[64] with loogie[64].Y calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
e196a4daa3
|
- Duke: Replace player_struct loogiex[64] with loogie[64].X calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
2d6bc783c4
|
- Duke: Replace player_struct exity with exit.Y calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
8d2595ea84
|
- Duke: Replace player_struct exitx with exit.X calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
fd8c7bfa52
|
- Duke: Replace player_struct poszv with vel.Z calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
b2023efb44
|
- Duke: Replace player_struct posyv with vel.Y calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
31ed257f39
|
- Duke: Replace player_struct posxv with vel.X calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
9bbb54fe2e
|
- Replace every line that just contains spaces or tabs with an empty line feed in all files except 3rd party libraries.
|
2021-12-30 20:30:21 +11: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 |
|
Christoph Oelckers
|
059412b75e
|
- first batch of routing all write access to sectortype::ceilingz and floorz through a function interface.
We need this for implementing "precise" rendering to flag vertices as dirty.
|
2021-12-30 09:58:14 +01:00 |
|
Christoph Oelckers
|
7bbd4343a8
|
- renamed all shadowing variables in Duke.
|
2021-12-30 09:57:33 +01:00 |
|
Mitchell Richters
|
3adf81e4f9
|
- Duke: Replace player_struct oposz with opos.Z calls.
|
2021-12-30 09:57:07 +01:00 |
|