Christoph Oelckers
|
98b06697f7
|
- pass position pointers to DISTANCE.
|
2022-10-10 17:31:28 +02:00 |
|
Christoph Oelckers
|
13d9505662
|
- PLAYER::hiz,loz refactoring, part 1
|
2022-10-09 22:00:43 +02:00 |
|
Christoph Oelckers
|
5e14361dd6
|
- another set of 2 Utilities prepared for floatification.
|
2022-10-09 14:53:11 +02:00 |
|
Christoph Oelckers
|
9ed66acd44
|
- renamed 2 integer functions to add float variants
|
2022-10-09 14:53:10 +02:00 |
|
Christoph Oelckers
|
bc853d3a00
|
- user.zclip floatified
|
2022-10-09 08:21:56 +02:00 |
|
Christoph Oelckers
|
5416100ba2
|
- trivial assignments
(does not compile, this commit is only supposed to reduce the noise on the next one.
|
2022-10-09 08:21:55 +02:00 |
|
Christoph Oelckers
|
8672a9f051
|
- wrapped user.floor_dist reads.
|
2022-10-09 08:21:55 +02:00 |
|
Christoph Oelckers
|
4f073dec26
|
- wrapped user.ceiling_dist reads.
|
2022-10-09 08:21:55 +02:00 |
|
Christoph Oelckers
|
ade20cbfe2
|
- some angular stuff.
|
2022-10-09 08:21:54 +02:00 |
|
Christoph Oelckers
|
8e966fc575
|
- int_ppos replacements
|
2022-10-06 20:50:45 +02:00 |
|
Christoph Oelckers
|
da73d2bba4
|
- renamed player position variables.
|
2022-10-06 20:50:45 +02:00 |
|
Mitchell Richters
|
d28d6cd4cf
|
- Utilise actor sprite's full precision in instances where angle was converted to Build and back again.
|
2022-10-05 00:36:30 +02:00 |
|
Christoph Oelckers
|
6bdfa09dd1
|
- the remaining angle stuff.
|
2022-10-05 00:36:21 +02:00 |
|
Christoph Oelckers
|
2d51058de8
|
- add_int_ang
|
2022-10-05 00:35:14 +02:00 |
|
Christoph Oelckers
|
6381015229
|
- set_int_ang in SW, part 1.
|
2022-10-04 23:56:44 +02:00 |
|
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
|
3edbec4f55
|
- use copyXY method where possible.
|
2022-10-04 18:44:16 +02:00 |
|
Christoph Oelckers
|
b327f7f03a
|
- some simple replacements.
|
2022-10-04 18:44:15 +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
|
871f0c4ec6
|
- SW: first batch of spr.pos wraps.
|
2022-08-26 19:53:08 +02: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 |
|
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
|
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
|
5498699faf
|
- use DCoreActor::sector() wherever possible.
|
2021-12-30 16:51:56 +01:00 |
|
Mitchell Richters
|
48b0058d38
|
- SW: Replace TEST\(([\w\-\>.()]+),\s?(\w+)\) with ($1 & $2) .
|
2021-12-30 09:58:45 +01:00 |
|
Christoph Oelckers
|
96396385e7
|
- more TEST() replacements.
This covers roughly half of the original use.
|
2021-12-30 09:58:13 +01:00 |
|
Christoph Oelckers
|
61564ab96a
|
- one third of TEST().
|
2021-12-30 09:58:13 +01:00 |
|
Christoph Oelckers
|
e29d0f50cf
|
- lots of RESET() flags replaced.
|
2021-12-30 09:58:12 +01:00 |
|
Christoph Oelckers
|
dc3f2473ba
|
- quick search & replace on ~40% of SET( macros in SW.
|
2021-12-30 09:58:10 +01:00 |
|
Christoph Oelckers
|
29da39dda0
|
- added two FAFcansee variants that take shorter parameter lists for clearer code.
|
2021-12-30 09:58:06 +01:00 |
|
Christoph Oelckers
|
29d161dd67
|
- removed u variables in bunny.cpp
|
2021-12-30 09:57:54 +01:00 |
|
Christoph Oelckers
|
87100b1f50
|
renamed u-> in break.cpp and bunny.cpp
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
86704b264e
|
- deleted nu variables.
|
2021-12-30 09:57:53 +01:00 |
|
Christoph Oelckers
|
13e14553eb
|
- renamed all nu-> outside weapon.cpp.
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
1ec6743f20
|
- replaced tu in bunny.cpp and draw.cpp
|
2021-12-30 09:57:52 +01:00 |
|
Christoph Oelckers
|
297921204f
|
- rename STD_RANDOM_RANGE
|
2021-12-30 09:57:50 +01:00 |
|
Christoph Oelckers
|
ffb97eb261
|
- all s() from bunny.cpp + copysect.cpp.
|
2021-12-30 09:57:44 +01:00 |
|
Christoph Oelckers
|
33c8668325
|
- deleted all np variables.
|
2021-12-30 09:57:42 +01:00 |
|
Christoph Oelckers
|
08a98c3955
|
- renamed all np-> in bunny.cpp
|
2021-12-30 09:57:41 +01:00 |
|
Christoph Oelckers
|
aac44b27b1
|
- sp cleanup in bunny.cpp.
|
2021-12-30 09:57:35 +01:00 |
|
Christoph Oelckers
|
40050f5008
|
- replaced sp-> in several files.
|
2021-12-30 09:57:34 +01:00 |
|
Christoph Oelckers
|
395a269feb
|
- globally replaced ->u()->.
|
2021-12-30 09:57:30 +01:00 |
|
Christoph Oelckers
|
8d5bffc280
|
- SW: some inline cleanup.
|
2021-12-30 09:57:29 +01:00 |
|
Christoph Oelckers
|
c9628e2034
|
- partial cleanup of SW's macro mess.
Renamed some functions to give them better names and converted more macros into functions or constants
|
2021-12-30 09:57:28 +01:00 |
|
Mitchell Richters
|
05a4ad4729
|
- SW: Replace PLAYERstruct posz with pos.Z calls and eliminate PLAYERstruct pos union.
|
2021-12-30 09:57:08 +01:00 |
|
Mitchell Richters
|
ae3369d2a3
|
- SW: Replace PLAYERstruct posy with pos.Y calls.
|
2021-12-30 09:57:08 +01:00 |
|