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
|
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
|
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
|
f97bae8d23
|
- Duke: refactored sound API to receive its position by reference.
|
2022-08-26 19:53:06 +02:00 |
|
Christoph Oelckers
|
99b9b01d6a
|
- Duke: sixth batch of refactoring writes to spr.pos.
|
2022-08-26 19:53:05 +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
|
ee6abac699
|
- Duke: Apply same fistsign fix from 4ee64df844 to RR code.
|
2022-06-06 11:04:59 +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
|
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
|
8487d693f5
|
- flags for the bolts.
|
2022-01-27 01:05:12 +01:00 |
|
Christoph Oelckers
|
c0a40cb7d7
|
- renamed RR's TRIPBOMBSPRITE to POWDERKEG
|
2022-01-27 00:46:46 +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
|
ecb2732629
|
- little bit of cleanup on Duke's bullet hole code.
|
2022-01-13 20:53:36 +01:00 |
|
Mitchell Richters
|
79f47ca2f9
|
- Duke: Add some comments to 40ffb23b44 so it can be better fixed in the future when multiplayer is going.
|
2022-01-13 22:42:48 +11:00 |
|
Mitchell Richters
|
40ffb23b44
|
- Duke: Directly check the backend input code's crouch_toggle to always remain crouched after pausing, even if the first tic doesn't have input.
* This is needed because unlike the other games, Duke doesn't have any decent state manager for the player like Blood and SW do.
|
2022-01-13 21:54:56 +11:00 |
|
Mitchell Richters
|
eca3c29261
|
- Duke: Fix nullptr issue in RR's processinput_r() .
|
2022-01-05 19:22:21 +11:00 |
|
Christoph Oelckers
|
5ff7d45f7f
|
- Duke/RR: better handling for one random kill scenario in the player movement code.
Using the same appoach as EDuke32 - instead of outright killing the player it will first reset its position and retry the pushmove check.
|
2022-01-05 09:20:54 +01:00 |
|
Mitchell Richters
|
783dd98641
|
- Duke: Fix nullptr check for Duke and RR that was causing a crash in a glitched spot in RR's E1L1.
|
2022-01-04 14:00:18 +11: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
|
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 |
|
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
|
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 |
|
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 |
|
Mitchell Richters
|
baf78848eb
|
- Replace spritetypebase z with pos.Z calls and eliminate spritetypebase pos union.
|
2021-12-30 09:57:06 +01:00 |
|
Mitchell Richters
|
cecb8dc48e
|
- Replace spritetypebase y with pos.Y calls.
|
2021-12-30 09:57:05 +01:00 |
|
Mitchell Richters
|
33ca55023f
|
- Replace spritetypebase x with pos.X calls.
|
2021-12-30 09:57:05 +01:00 |
|
Mitchell Richters
|
b2ab64bb62
|
- Capitalise vec3_t z variable.
|
2021-12-30 09:57:03 +01:00 |
|
Mitchell Richters
|
68e2691be7
|
- Capitalise vec3_t y variable.
|
2021-12-30 09:57:03 +01:00 |
|
Mitchell Richters
|
c549cc5276
|
- Capitalise vec3_t x variable.
|
2021-12-30 09:57:02 +01:00 |
|
Mitchell Richters
|
118ceb18ca
|
- Capitalise vec2_t y variable.
|
2021-12-30 09:57:02 +01:00 |
|