]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Clean up droptofloor() macro hacks and clarify naming 1268/head
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 13 Apr 2024 09:53:51 +0000 (19:53 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 17 Apr 2024 14:49:41 +0000 (00:49 +1000)
commit5c03681717992f42086878681377b1bc2f9c6cc8
tree19b0fd77422172a2d7ec1fe492468c713b1faec9
parent56fc7917265d3b68fd901b4e90329e66615df3fa
Clean up droptofloor() macro hacks and clarify naming

It wasn't clear at call sites that this had been changed to a delayed
function (in SVQC only), and that the return value was no longer
available. We can just use different names for the QC implementation,
with different names for delayed and direct calls, and leave the
original name for calling the builtin if required. The builtin's wrapper
macro for changing the self global to a parameter is retained and it now
works the same in SVQC and CSQC.

Removes another case of cc83c39c27ea0757cf169562428e443c5ab60fdc
12 files changed:
qcsrc/common/gamemodes/gamemode/ctf/sv_ctf.qc
qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc
qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qc
qcsrc/common/mapobjects/misc/keys.qc
qcsrc/common/mutators/mutator/physical_items/sv_physical_items.qc
qcsrc/common/turrets/sv_turrets.qc
qcsrc/lib/self.qh
qcsrc/server/items/items.qc
qcsrc/server/sys-post.qh
qcsrc/server/sys-pre.qh
qcsrc/server/world.qc
qcsrc/server/world.qh