Mitchell Richters
|
f1530a051f
|
- Fix two signedness warnings in hw_sections.cpp .
|
2022-01-01 21:02:00 +11:00 |
|
Mitchell Richters
|
733b6a7367
|
- Fix GCC warning warning: ‘vec.TVector2<double>::X’ may be used uninitialized [-Wmaybe-uninitialized] .
|
2022-01-01 20:50:58 +11: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 |
|
Christoph Oelckers
|
17de3a08e8
|
- deal with bad start sectors.
The engine will now try to find a proper sector in the map loader if there's a mismatch.
|
2022-01-01 10:39:59 +01:00 |
|
Christoph Oelckers
|
8575447e37
|
- Blood: fixed bad parameter in aiPatrolMove
|
2022-01-01 09:56:45 +01:00 |
|
Christoph Oelckers
|
3e21db19be
|
- Blood: fixed Life Leech no longer gettable after having fired.
This was the direct result of dumb use of two pointers to different parts of the same objects.
|
2022-01-01 09:31:57 +01:00 |
|
Mitchell Richters
|
dcd006d34b
|
- Blood: Add missing actorHit nullptr test in actImpactMissile() .
|
2022-01-01 11:38:43 +11:00 |
|
Christoph Oelckers
|
87cace6e6c
|
- Blood: fixed wrong actor being used for key checks
|
2022-01-01 00:58:35 +01: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 |
|
Mitchell Richters
|
1c0ba71c69
|
- SW: Eliminated ANIMATORp typedef.
|
2022-01-01 09:09:41 +11:00 |
|
Mitchell Richters
|
1d51903a9e
|
- SW: Eliminated Voc3D_Flags typedef.
|
2022-01-01 08:36:56 +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
|
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
|
699bf9c4f5
|
- anim typedef eliminated.
|
2021-12-31 15:47:10 +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
|
72962cc098
|
- the last batch of small scale typedefs eliminated.
|
2021-12-31 15:40:29 +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
|
10187e892f
|
- handle track typedefs.
|
2021-12-31 15:13:05 +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
|
6b50344417
|
- eliminated PANEL_SPRITEp
|
2021-12-31 15:03:12 +01:00 |
|
Christoph Oelckers
|
994a575435
|
- panel.h cleanup.
|
2021-12-31 13:49:34 +01:00 |
|
Christoph Oelckers
|
12c63d2337
|
- eliminated a few more typedefs,
|
2021-12-31 13:37:57 +01:00 |
|
Christoph Oelckers
|
89ab00fe99
|
- eliminated typedefs in sound code.cc.obj
|
2021-12-31 13:31:13 +01:00 |
|
Christoph Oelckers
|
085eb8a36e
|
- eliminated SHRAP typedefs.
|
2021-12-31 13:26:07 +01:00 |
|
Christoph Oelckers
|
271af39a59
|
- consolidated MISSILE_PLACEMENT definitions.
|
2021-12-31 13:20:56 +01:00 |
|
Christoph Oelckers
|
90ad4b8ef1
|
- eliminated typedefs for DECISION and BREAK_INFO.
|
2021-12-31 13:16:38 +01:00 |
|
Christoph Oelckers
|
3eb640658f
|
- don't typedef MATTGAMEVAR
|
2021-12-31 13:12:20 +01:00 |
|
Christoph Oelckers
|
4dbbe892ae
|
- fixed main game resource detection for Blood.
* code did not scan .rff files for content-defined versions.
* code did not check content-defined versions for CRC matches.
|
2021-12-31 13:04:32 +01:00 |
|
Christoph Oelckers
|
1849fe541e
|
- fixed alignment of sloped sprites.
The offset fields are not valid for them so thwy may not be used for offsetting.
|
2021-12-31 11:55:25 +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
|
0cba0e19b5
|
- SW: fixed some pointer mixup in UpdatePlayerUnderSprite
|
2021-12-30 23:39:54 +01:00 |
|
Christoph Oelckers
|
f679b61a30
|
- fixed issue with wall sprite angle check.
The resulting value had no sign, so 'abs' did not work. It now uses some bit shifting magic to get a proper sign.
|
2021-12-30 22:56:33 +01:00 |
|
Christoph Oelckers
|
61d4d06783
|
- RRRA: fixed typo in portal setup.
|
2021-12-30 22:16:39 +01:00 |
|
Christoph Oelckers
|
a9b162b8e9
|
- moved the tsprite flags from cstat2 to clipdist which was already holding other ones.
cstat2 should only hold flags for game-side sprites.
|
2021-12-30 19:00:35 +01:00 |
|
Christoph Oelckers
|
552668418a
|
- moved opos and oang to DCoreActor.
|
2021-12-30 18:21:02 +01:00 |
|
Christoph Oelckers
|
2bb7cecf27
|
- eliminated spritetype::clear.
Most uses were bad anyway, and the legitimate ones are just clearing the object.
|
2021-12-30 17:55:17 +01:00 |
|
Christoph Oelckers
|
51abee4351
|
- eliminated spritetypebase::setpos, which was the last remaining method in this struct.
|
2021-12-30 17:49:16 +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
|
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
|
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
|
eb00fe52db
|
- more spritetype references eliminated.
|
2021-12-30 16:11:14 +01:00 |
|
Christoph Oelckers
|
4bc32e2777
|
- use actors in the sloped sprite utilities.
|
2021-12-30 16:11:14 +01:00 |
|
Mitchell Richters
|
dc50ad154e
|
- SW: Replace PANEL_SPRITEstruct yorig with bobpos.Y calls.
|
2021-12-31 00:36:13 +11:00 |
|
Mitchell Richters
|
d8aab1ecea
|
- SW: Replace PANEL_SPRITEstruct xorig with bobpos.X calls.
|
2021-12-31 00:34:46 +11:00 |
|
Mitchell Richters
|
36b549b7f1
|
- SW: Replace PANEL_SPRITEstruct oy with opos.Y calls.
|
2021-12-31 00:34:03 +11:00 |
|
Mitchell Richters
|
81b74c2cdf
|
- SW: Replace PANEL_SPRITEstruct ox with opos.X calls.
|
2021-12-31 00:32:55 +11:00 |
|
Mitchell Richters
|
145028bc16
|
- SW: Replace PANEL_SPRITEstruct y with pos.Y calls.
|
2021-12-31 00:32:00 +11:00 |
|
Mitchell Richters
|
defdb23533
|
- SW: Replace PANEL_SPRITEstruct x with pos.X calls.
|
2021-12-31 00:30:42 +11:00 |
|
Mitchell Richters
|
ab6b9fd083
|
- SW: Replace USER zchange with change.Z calls.
|
2021-12-31 00:23:30 +11:00 |
|
Mitchell Richters
|
50cb85e389
|
- SW: Replace USER ychange with change.Y calls.
|
2021-12-31 00:22:48 +11:00 |
|
Mitchell Richters
|
ad0ea3f2f1
|
- SW: Replace USER xchange with change.X calls.
|
2021-12-31 00:22:42 +11: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
|
8f468607ff
|
- Exhumed: Replace Player velocity and damage variables with vectors.
|
2021-12-31 00:19:33 +11:00 |
|
Mitchell Richters
|
225a2a39da
|
- Duke: Replace player_struct noise_* variables with a vector.
|
2021-12-31 00:19:33 +11: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
|
19a9fc462f
|
- Duke: Replace CraneDef poley with pole.Y calls.
|
2021-12-30 23:00:43 +11:00 |
|
Mitchell Richters
|
034727d902
|
- Duke: Replace CraneDef polex with pole.X calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
4b1fbf13df
|
- Duke: Replace CraneDef z with pos.Z calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
3dfcbafd93
|
- Duke: Replace CraneDef y with pos.Y calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
8006d8e394
|
- Duke: Replace CraneDef x with pos.X calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
788be33c1a
|
- Duke: Replace player_orig oz with opos.Z calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
f5dd8ba3b9
|
- Duke: Replace player_orig oy with opos.Y calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
c5d94f9a8e
|
- Duke: Replace player_orig ox with opos.X calls.
|
2021-12-30 23:00:42 +11:00 |
|
Mitchell Richters
|
8a94022f5d
|
- Duke: - Duke: Replace FireProj position and velocity variables with vectors.
|
2021-12-30 23:00:42 +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
|
10a167ab42
|
- Blood: Replace XWALL panYVel with panVel.Y calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
a325dfec62
|
- Blood: Replace XWALL panXVel with panVel.X calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
f091a72db1
|
- Blood: Replace XSPRITE targetz with TargetPos.Z calls.
|
2021-12-30 23:00:41 +11:00 |
|
Mitchell Richters
|
431749cf6e
|
- Blood: Replace XSPRITE targety with TargetPos.Y calls.
|
2021-12-30 23:00:40 +11:00 |
|
Mitchell Richters
|
1d29716e6b
|
- Blood: Replace XSPRITE targetx with TargetPos.X calls.
|
2021-12-30 23:00:40 +11:00 |
|