Christoph Oelckers
|
9b52b3b451
|
- made all nSector variables full ints.
This already takes care of most sector[] accesses in Exhumed
|
2021-11-09 17:27:54 +01:00 |
|
Christoph Oelckers
|
366df9d4b6
|
- Exhumed: use the sprite's sector() member where possible.
|
2021-11-09 00:26:46 +01:00 |
|
Christoph Oelckers
|
ef241acda2
|
- Exhumed: some quick sector[] substitution
|
2021-11-09 00:12:18 +01:00 |
|
Christoph Oelckers
|
a35900362e
|
- only use un-deprecated variants of updatesector(z) in SW.
|
2021-11-09 00:09:48 +01:00 |
|
Christoph Oelckers
|
94b2b0af31
|
- widen sector index in engineLoadBoard to 32 bit
|
2021-11-09 00:07:00 +01:00 |
|
Christoph Oelckers
|
762ebafc2a
|
- made clipmoveboxtracenum a function argument of clipmove
There’e zero need for hackery here.
|
2021-11-08 23:22:48 +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
|
a5f51cfd88
|
- SW: migrate everything to the main clipmove function
|
2021-11-08 23:11:30 +01:00 |
|
Christoph Oelckers
|
16f9d4ec36
|
- got rid of COVERupdatesector
Not needed as it just forwards to the engine’s updatesector - and it gets in the way of other changes
|
2021-11-08 23:11:30 +01:00 |
|
Christoph Oelckers
|
3811147f70
|
- use proper clipmove variant in Blood and Exhumed
This merely extends some shorts to full ints to match the desired parameter's size.
|
2021-11-08 23:11:30 +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
|
477a2a23e6
|
- nextSector in runlist
|
2021-11-08 18:37:21 +01:00 |
|
Christoph Oelckers
|
52389ae02e
|
- sectp in osdcmd_spawn
|
2021-11-08 18:37:21 +01:00 |
|
Christoph Oelckers
|
066896db8e
|
- warnings fix
|
2021-11-08 18:37:20 +01:00 |
|
Christoph Oelckers
|
f51cbf31ba
|
- sectp in runlist_ProcessSectorTag
|
2021-11-08 18:37:20 +01:00 |
|
Christoph Oelckers
|
afec39aded
|
- reworked non-functional anim detection when picking up an item.
This would not unregister the item's run list entries because the logic was insufficient.
|
2021-11-08 01:13:54 +01:00 |
|
Christoph Oelckers
|
43fdc1bb56
|
- Exhumed: fixed uninitialized variable in bullet code.
|
2021-11-07 23:33:39 +01:00 |
|
Christoph Oelckers
|
0da2250efe
|
- Exhumed: try to improve timing of the menu plasma.
|
2021-11-07 22:14:58 +01:00 |
|
Christoph Oelckers
|
60faceaf59
|
- Exhumed: fixed serialization.
The exhumedActors array was not written out, resulting in all kinds of strange effects.
|
2021-11-07 21:45:51 +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 |
|