Christoph Oelckers
|
4823152107
|
- hitawall
|
2021-11-29 00:56:22 +01:00 |
|
Christoph Oelckers
|
d45ab528e6
|
- hitscan in player_r.cpp
|
2021-11-29 00:56:21 +01:00 |
|
Christoph Oelckers
|
1a11e445c3
|
- remaining hitscans in player_d.cpp
|
2021-11-29 00:56:21 +01:00 |
|
Christoph Oelckers
|
b68c66dae6
|
-Duke/RR: started migrating hitscan to pointer usage.
|
2021-11-29 00:56:21 +01:00 |
|
Christoph Oelckers
|
09e75ddca2
|
- change wall parameter of checkhitwall.
|
2021-11-29 00:56:21 +01:00 |
|
Christoph Oelckers
|
c410b1be45
|
- glass stuff
|
2021-11-29 00:56:21 +01:00 |
|
Christoph Oelckers
|
200daacd3c
|
- checksectors*
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
a38fdd2890
|
-more in spawneffectors
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
94d0e9775f
|
- spawneffectors
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
cccc577c2e
|
- lotsofpopcorn + dofurniture
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
8c4cb75d8c
|
- checkhitswitch_r
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
6d4365f3a2
|
- animatewalls_r
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
530c29973e
|
- more walls in sectors_d.cpp
|
2021-11-29 00:56:20 +01:00 |
|
Christoph Oelckers
|
7268e779a7
|
- checkhitswitch_d
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
8cf3963901
|
- animatewalls_d
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
7615a52126
|
-operatesectors + operateforcefields.
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
60f16e8fb8
|
- handle_st09
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
463ce55d0b
|
- premap
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
7a504e27d2
|
- premap_d
|
2021-11-29 00:56:19 +01:00 |
|
Christoph Oelckers
|
6b8e7b3fbc
|
- RR: movement code
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
1953f0f599
|
- delete unused variables.
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
aee2668088
|
- RR shootWeapon
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
b97f8706ad
|
- operateTripBomb
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
e88047fc45
|
- wall[] in shootknee, shootweapon and shootlaser.
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
81894fd831
|
- Duke: shootbloodsplat
|
2021-11-29 00:56:18 +01:00 |
|
Christoph Oelckers
|
2fa027a686
|
- RR: deal with wall[] in actor_lava.cpp
|
2021-11-29 00:56:17 +01:00 |
|
Christoph Oelckers
|
345d9c87b6
|
- RR: no more wall[] in actors_r.cpp
|
2021-11-29 00:55:41 +01:00 |
|
Christoph Oelckers
|
00edd16834
|
- Duke: get rid of the remaining wall[] references in actors_d.cpp
|
2021-11-29 00:55:41 +01:00 |
|
Christoph Oelckers
|
e0260bc709
|
- Duke/RR: weaponhitwall cleaned up (both variants)
|
2021-11-29 00:55:40 +01:00 |
|
Christoph Oelckers
|
5bb805663e
|
- Duke/RR: cleaned up the rest of hitradius* as well
Using wallsofsector iterator plus defining local variables more locally.
|
2021-11-29 00:55:40 +01:00 |
|
Christoph Oelckers
|
63985ce6be
|
- Duke/RR: redo the supremely ugly code to access the third point in hitradius*
|
2021-11-29 00:55:40 +01:00 |
|
Christoph Oelckers
|
68d653efe9
|
- made the same changes to hitradius_r
Also had to do some reformatting to get rid of the goto in there.
|
2021-11-29 00:55:40 +01:00 |
|
Christoph Oelckers
|
821f341e03
|
- use BFSSearch in hitradius_d
|
2021-11-29 00:55:39 +01:00 |
|
Christoph Oelckers
|
ad030d7e23
|
- Duke: SE20 + SE128 are wall-free
Also use symbolic constantfor SE_128 to make it easier to find.
|
2021-11-29 00:55:39 +01:00 |
|
Christoph Oelckers
|
010162261e
|
- Duke: use utilities in handle_se19
|
2021-11-29 00:55:39 +01:00 |
|
Christoph Oelckers
|
312bf5bf95
|
- Duke: use wall utilities in bounce and queball
|
2021-11-29 00:55:39 +01:00 |
|
Christoph Oelckers
|
58a091067f
|
- use provided sector/wall iterators in cacheit functions
|
2021-11-29 00:55:39 +01:00 |
|
Christoph Oelckers
|
2fe71a65a8
|
- added a few fallthrough annotations that were missed last time.
|
2021-11-29 00:55:31 +01:00 |
|
Mitch Richters
|
2a7d0e6fe3
|
- gi->AddExcludedEpisode() : Pass FString variable through as reference instead of by value.
|
2021-11-29 00:55:31 +01:00 |
|
Christoph Oelckers
|
01abe7b2ac
|
- addressed most unused/uninitialized variable warnings from MSVC.
|
2021-11-29 00:55:30 +01:00 |
|
Christoph Oelckers
|
c6bd5c04c7
|
- fixed most warnings GCC pointed out in game code.
|
2021-11-29 00:55:29 +01:00 |
|
Christoph Oelckers
|
f7fdc5af41
|
- address several warnings reported by GCC 11.
|
2021-11-29 00:55:29 +01:00 |
|
Christoph Oelckers
|
dcccb0d653
|
- Duke: added [[fallthrough]] annotations wherever needed.
|
2021-11-29 00:55:29 +01:00 |
|
Mitch Richters
|
ec0203b89b
|
- Duke: Don't truncate fistzoom to integer in animatefist() .
|
2021-11-29 00:55:16 +01:00 |
|
Mitch Richters
|
e491d15ff9
|
- Move InputScale() out of inputstate.cpp and into i_time.cpp as I_GetInputFrac() to make it available to GZDoom for potential future requirements.
* As part of this, feed the output of `I_GetInputFrac()` to `gi->GetInput()` instead of having each game's virtual override calling it locally.
|
2021-11-29 00:55:01 +01:00 |
|
Christoph Oelckers
|
5cda9d0858
|
- tabified two files in Duke that were missed somehow, plus some comment cleanup elsewhere.
|
2021-11-29 00:53:35 +01:00 |
|
Christoph Oelckers
|
aac02d52db
|
- Duke/RR: fixed hitradius
The recent optimization did not update the sector pointer inside the loop
|
2021-11-15 00:18:52 +01:00 |
|
Christoph Oelckers
|
9b21233c98
|
- little bit of cleanup
|
2021-11-11 23:47:26 +01:00 |
|
Christoph Oelckers
|
2e3c212444
|
- Duke: moved the temtempsector* arrays into the only function using them
|
2021-11-11 23:32:49 +01:00 |
|
Christoph Oelckers
|
f109f6c857
|
- Duke/RR: fixed two bad assignments to wall 0.
|
2021-11-11 21:58:15 +01:00 |
|
Christoph Oelckers
|
f2e344a235
|
- removed magic flags added to sector indices in Polymost.
These are better done as separate function arguments.
|
2021-11-11 21:28:53 +01:00 |
|
Christoph Oelckers
|
94b2b0af31
|
- widen sector index in engineLoadBoard to 32 bit
|
2021-11-09 00:07:00 +01:00 |
|
Christoph Oelckers
|
2d91786516
|
- changed all sector variables being passed to pushmove to full ints
|
2021-11-08 23:18:40 +01:00 |
|
Christoph Oelckers
|
2e1ff313b0
|
- Duke: only use the main clipmove function and match clipmove_ex’s interface
|
2021-11-08 23:11:29 +01:00 |
|
Christoph Oelckers
|
066896db8e
|
- warnings fix
|
2021-11-08 18:37:20 +01:00 |
|
Christoph Oelckers
|
6b6c3f26a5
|
- use wallsofsector in a few more places.
|
2021-11-07 18:08:22 +01:00 |
|
Christoph Oelckers
|
59df3b0e19
|
- added a little utility that allows iterating over the walls of a sector with C++ for's.
|
2021-11-07 17:27:05 +01:00 |
|
Christoph Oelckers
|
4b0ffe5443
|
- looks I missed a few shorts.
Now all local short variables are gone, except for 2 lotags arrays.
|
2021-11-07 16:58:48 +01:00 |
|
Christoph Oelckers
|
ae08ae1d8d
|
- some leftover shorts plus utilities that ended up unused but may be useful later.
|
2021-11-07 16:46:23 +01:00 |
|
Christoph Oelckers
|
35b9318580
|
- Duke/RR: checked the rest of the code for shorts and replaced most local ones with ints.
|
2021-11-07 16:33:13 +01:00 |
|
Christoph Oelckers
|
3a73a9f8ed
|
- Duke/RR: replaced more local short variables with ints.
|
2021-11-07 16:30:56 +01:00 |
|
Christoph Oelckers
|
98f57a7ad4
|
- use explicitly sized types for static const arrays.
|
2021-11-07 16:30:56 +01:00 |
|
Christoph Oelckers
|
fd2764dc6e
|
- Duke: eliminated all local short variables in actors*.cpp.
|
2021-11-07 16:30:55 +01:00 |
|
Christoph Oelckers
|
9b2b34a026
|
- removed a few unneeded type casts.
|
2021-11-07 16:30:55 +01:00 |
|
Christoph Oelckers
|
15be44a931
|
- use explicitly sized types for static const arrays.
|
2021-11-07 16:30:55 +01:00 |
|
Christoph Oelckers
|
1eeb8864a4
|
- Duke/RR: eliminated all uses of 'char' outside of text management
|
2021-11-07 16:30:55 +01:00 |
|
Christoph Oelckers
|
e2faeec2ce
|
renamed all signed and unsigned chars to int8_t/uint8_t.
|
2021-11-07 16:30:55 +01:00 |
|
Christoph Oelckers
|
0eba3335c6
|
- eliminated some leftover 16 bit values used for storing indices.
|
2021-11-07 16:30:44 +01:00 |
|
Christoph Oelckers
|
977d668bef
|
- extended animatetarget to 32 bit.
|
2021-11-07 16:21:44 +01:00 |
|
Christoph Oelckers
|
f95af3368b
|
- use ints in hitscan wrapper as well.
|
2021-11-07 16:20:59 +01:00 |
|
Christoph Oelckers
|
de7a06bea4
|
- Duke: extended neartag wrapper to use 32 bit integers as return values.
|
2021-11-07 16:20:59 +01:00 |
|
Christoph Oelckers
|
887279f8a5
|
- RR: Use int instead of short in bowling functions.
|
2021-11-07 16:20:59 +01:00 |
|
Christoph Oelckers
|
b13398c268
|
- quick global wall[] replacements.
|
2021-11-07 15:57:29 +01:00 |
|
Christoph Oelckers
|
a594e6465c
|
- added nextSector access function to walltype and used it to eliminate a few more sector[] references.
|
2021-11-07 15:56:29 +01:00 |
|
Christoph Oelckers
|
0c64560fd8
|
- Duke: wall[] replacement in script code.
|
2021-11-07 15:00:08 +01:00 |
|
Christoph Oelckers
|
c8c8ca05d3
|
- Duke: sector[] handled in one more premap loop.
|
2021-11-07 15:00:08 +01:00 |
|
Christoph Oelckers
|
5eed73f7af
|
- Duke/RR: sector[] replacement in spawn code.
|
2021-11-07 15:00:08 +01:00 |
|
Christoph Oelckers
|
ca5a014a2d
|
- Duke: a few more sector[] replacements in precaching code.
|
2021-11-07 15:00:08 +01:00 |
|
Christoph Oelckers
|
2c1881530a
|
- Duke: use a sector pointer in spawneffector.
|
2021-11-07 15:00:07 +01:00 |
|
Christoph Oelckers
|
c068054fa0
|
- RR: most sector[] accesses replaced by pointers in actors_r.cpp.
|
2021-11-07 15:00:07 +01:00 |
|
Christoph Oelckers
|
7749bcbedf
|
- Duke: clean up actors_lava.cpp.
Use sector pointer variables and extend all arrays holding sector indices to 32 bit.
|
2021-11-07 15:00:07 +01:00 |
|
Christoph Oelckers
|
e0f3fa2aa0
|
-Duke: replaced sector array accesses in actors_d.cpp.
|
2021-11-07 15:00:07 +01:00 |
|
Christoph Oelckers
|
8c5e4a7fa9
|
- Duke: a large batch of quick'n easy sector[] replacements with pointers.
|
2021-11-07 15:00:07 +01:00 |
|
Christoph Oelckers
|
d45f687d4b
|
- pass a sector pointer to floorspace/ceilingspace.
|
2021-11-07 15:00:06 +01:00 |
|
Christoph Oelckers
|
060da8ec1d
|
- Duke: replaced most sector array accesses with pointers in actors.cpp.
This already helped to find one 16 bit value that stored a sector index.
|
2021-11-07 15:00:06 +01:00 |
|
Mitch Richters
|
bc9ea38aba
|
- Duke: Fix issue where calculated value for old player variable return_to_center could have been negative, causing undefined behaviour.
|
2021-11-07 21:14:29 +11:00 |
|
Christoph Oelckers
|
9a1c80c464
|
- Duke: added a wrapper for player_struct::cursectnum to directly return the sector pointer.
This eliminates more than 10% of the existing direct references to the sector[] array.
|
2021-11-06 21:59:42 +01:00 |
|
Christoph Oelckers
|
c3cbd1b1eb
|
- Duke: cleanup of cycler code.
Now uses a struct instead of an array with magic indices.
|
2021-11-06 21:53:15 +01:00 |
|
Christoph Oelckers
|
1c0e3d849b
|
- addressed the updatesector related deprecation warnings with Duke.
|
2021-11-06 20:46:08 +01:00 |
|
Christoph Oelckers
|
d20aa47adf
|
- made sector parameter of updatesectorz an int and deprecated the short version.
|
2021-11-06 19:27:51 +01:00 |
|
Christoph Oelckers
|
83fe41e71e
|
- made updatesector receive a 32 bit int pointer and deprecated the 16 bit variant.
|
2021-11-06 15:53:16 +01:00 |
|
Christoph Oelckers
|
f2adeff8c1
|
- Duke: extended 3 arrays holding sector and wall indices to full ints.
Just to be prepared for the future.
|
2021-11-06 14:22:16 +01:00 |
|
Christoph Oelckers
|
f4cc5b5b89
|
- Duke: const-ify SE24 tile lists
|
2021-11-06 14:19:55 +01:00 |
|
Christoph Oelckers
|
c8d65a1f06
|
- use sector wrappers where easily doable with search and replace.
|
2021-11-06 14:19:55 +01:00 |
|
Christoph Oelckers
|
9e4afd543c
|
- Duke/RR: Some quick wall[] replacements.
|
2021-11-06 14:19:55 +01:00 |
|
Christoph Oelckers
|
b548d9eca2
|
- a few more quick sector[] replacements.
|
2021-11-06 14:19:55 +01:00 |
|
Christoph Oelckers
|
bc56b5a28f
|
- RR: cleaned up STAT_DESTRUCT init code a bit
|
2021-11-06 14:19:54 +01:00 |
|
Christoph Oelckers
|
8818a3f1cb
|
- Duke: added a getSector method to DDukeActor.
|
2021-11-06 14:19:54 +01:00 |
|
Mitch Richters
|
3778327818
|
- Duke: Back up rotscrnang if script sets target to new value so we can interpolate the changes.
|
2021-11-06 17:57:37 +11:00 |
|
Mitch Richters
|
7499c84d0b
|
- Add interpolatedhorizon() inlines to handle interpolating fixedhoriz objects without having to convert old and new values back to Q16.16 first.
|
2021-11-06 14:07:58 +11:00 |
|