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
|
7745701d4b
|
- floatified 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
|
e732e2f947
|
- SW: replaced spr.pos globally (except two functions)
# Conflicts:
# source/games/sw/src/_polymost.cpp
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
b49aed6620
|
- SW: more spr.pos write wraps.
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
6a5384f39e
|
- SW: eighth batch of spr.pos wraps.
|
2022-08-26 19:53:09 +02:00 |
|
Christoph Oelckers
|
2d91ea29ce
|
- SW: fifth batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02:00 |
|
Christoph Oelckers
|
871f0c4ec6
|
- SW: first batch of spr.pos wraps.
|
2022-08-26 19:53:08 +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
|
6e96b1ee81
|
- floatify SW's sector object rotation.
|
2022-02-15 22:18:25 +01: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
|
e1d32bdbf5
|
- removed the error messages in GetOverlapSector(2).
These can actually be triggered in legitimate scenarios by hitscans so just returning 0 looks like the best way of handling it.
|
2022-01-05 09:23:30 +01:00 |
|
Christoph Oelckers
|
e302c45a0b
|
Revert "- added two FAFcansee variants that take shorter parameter lists for clearer code."
This reverts commit 29da39dda0 .
Something in here was wrong, so back to the start with it.
The positive effect was too small anyway.
|
2022-01-02 17:35:12 +01:00 |
|
Mitchell Richters
|
45057ff8a0
|
- SW: Fix all GCC warning: suggest parentheses around assignment used as truth value [-Wparentheses] warnings.
Regex to match such conditions: `while (\([\w]+\s?=\s?.+\.Next\(\)\))`.
|
2022-01-01 20:49:31 +11:00 |
|
Mitchell Richters
|
0375dfdf83
|
- SW: Replace SECTOR_OBJECT zmid with pmid.Z calls and eliminate pmid union.
|
2022-01-01 09:34:30 +11:00 |
|
Mitchell Richters
|
9145895b47
|
- SW: Replace SECTOR_OBJECT ymid with pmid.Y calls.
|
2022-01-01 09:33:30 +11:00 |
|
Mitchell Richters
|
5e2bbb12b5
|
- SW: Replace SECTOR_OBJECT xmid with pmid.X calls.
|
2022-01-01 09:32:40 +11:00 |
|
Christoph Oelckers
|
84ca96c52c
|
eliminated STATEp
|
2021-12-31 16:00:14 +01:00 |
|
Christoph Oelckers
|
d1be430fbf
|
- eliminated PLAYERp
|
2021-12-31 15:59:11 +01:00 |
|
Christoph Oelckers
|
69b5d502e2
|
- renamed PLAYERstruct.
|
2021-12-31 15:57:55 +01:00 |
|
Christoph Oelckers
|
392397c2b0
|
- replaced SECTOR_OBJECTp
|
2021-12-31 15:50:44 +01:00 |
|
Christoph Oelckers
|
74593feab1
|
- replaced PANEL_SPRITEp
|
2021-12-31 15:49:07 +01:00 |
|
Christoph Oelckers
|
8fb769649b
|
- eliminated sectortype aliases.
|
2021-12-31 15:43:47 +01:00 |
|
Christoph Oelckers
|
98492aae54
|
- eliminated walltype aliases.
|
2021-12-31 15:41:39 +01:00 |
|
Christoph Oelckers
|
87d2b3274b
|
- cleaned out most of the less frequent typedef types in SW.
|
2021-12-31 15:27:18 +01:00 |
|
Christoph Oelckers
|
f43f63adec
|
- all typedefs in jsector.h and inv.h plus a bit of cleanup and #define removal.
|
2021-12-31 15:10:37 +01:00 |
|
Christoph Oelckers
|
0cba0e19b5
|
- SW: fixed some pointer mixup in UpdatePlayerUnderSprite
|
2021-12-30 23:39:54 +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 |
|
Mitchell Richters
|
424b9c5f34
|
- SW: Replace REMOTE_CONTROL pos* variables with a vector.
|
2021-12-31 00:19:34 +11:00 |
|
Mitchell Richters
|
287351e678
|
- SW: Replace REMOTE_CONTROL *vect variables with vectors.
|
2021-12-31 00:19:34 +11:00 |
|
Mitchell Richters
|
5d10b32301
|
- SW: Replace PLAYERstruct oldpos* variables with a vector.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
e4d19a0bbe
|
- SW: Replace PLAYERstruct slide_yvect with slide_vect.Y calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
8c1c5f3d55
|
- SW: Replace PLAYERstruct slide_xvect with slide_vect.X calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
8c99053ebd
|
- SW: Replace PLAYERstruct oyvect with ovect.Y calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
75cc539c58
|
- SW: Replace PLAYERstruct oxvect with ovect.X calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
5515830e2b
|
- SW: Replace PLAYERstruct yvect with vect.Y calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
f2497d7d08
|
- SW: Replace PLAYERstruct xvect with vect.X calls.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
03da70b3b9
|
- SW: Replace PLAYERstruct si* variables with a vector.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
6e130d026e
|
- SW: Replace PLAYERstruct lv_* variables with a vector.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
13639a09b7
|
- SW: Remove unused PLAYERstruct variable turn180_target that was deprecated with 7bf1cacc7f .
|
2021-12-30 20:46:36 +11:00 |
|
Mitchell Richters
|
cf68018909
|
- SW: Replace PLAYERstruct RevolveY with Revolve.Y calls.
|
2021-12-30 20:41:27 +11:00 |
|
Mitchell Richters
|
acc11f34bf
|
- SW: Replace PLAYERstruct RevolveX with Revolve.X calls.
|
2021-12-30 20:41:27 +11:00 |
|
Mitchell Richters
|
05de974080
|
- SW: Replace PLAYERstruct ly with LadderPosition.Y calls.
|
2021-12-30 20:41:27 +11:00 |
|
Mitchell Richters
|
a18fc5b66f
|
- SW: Replace PLAYERstruct lx with LadderPosition.X calls.
|
2021-12-30 20:41:26 +11:00 |
|