]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
q3compat: reduce entity field allocation
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 21 Mar 2024 06:40:45 +0000 (16:40 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 17 Apr 2024 14:49:40 +0000 (00:49 +1000)
commit014810007e44f3d712b4d7988f7d22a7c1acabbc
treebbdd686ee874bd925f560c15a5b3e0643a189a30
parent6a482b35899397da542dc5f7a94171c2ca60651c
q3compat: reduce entity field allocation

These fields are only read during worldspawn on Q3 maps, we don't need
them on every entity.

I retained .gametype and .not_gametype as I expect we'll want to
implement these for Xonotic mappers, and we're already using the
.gametype field elsewhere.

Will now support edge cases where the mapper used \ as the .music path
separator instead of the canonical /
qcsrc/server/compat/quake3.qc
qcsrc/server/world.qc
qcsrc/server/world.qh