From: Mario Date: Tue, 22 Sep 2020 16:09:12 +0000 (+1000) Subject: Add a commented definition for _fullspawndata outside of the dpdefs file X-Git-Tag: xonotic-v0.8.5~757 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=81eb7c1fd41f335e3d467139f79632e45b51d76d;p=xonotic%2Fxonotic-data.pk3dir.git Add a commented definition for _fullspawndata outside of the dpdefs file --- diff --git a/qcsrc/dpdefs/upstream/dpextensions.qc b/qcsrc/dpdefs/upstream/dpextensions.qc index bd1a8dc15..1aeecfafd 100644 --- a/qcsrc/dpdefs/upstream/dpextensions.qc +++ b/qcsrc/dpdefs/upstream/dpextensions.qc @@ -2620,7 +2620,7 @@ float MOVETYPE_USER_LAST = 191; //idea: eukara //darkplaces implementation: Cloudwalk //Do NOT use in production yet. Uncomment if you intend to use it -string __fullspawndata; +//string __fullspawndata; //description: //http://icculus.org/finger/marco?date=2019-01-25&time=05-38-02 diff --git a/qcsrc/lib/spawnfunc.qh b/qcsrc/lib/spawnfunc.qh index 8c7911233..321610ad3 100644 --- a/qcsrc/lib/spawnfunc.qh +++ b/qcsrc/lib/spawnfunc.qh @@ -6,6 +6,8 @@ /** If this global exists, only functions with spawnfunc_ name prefix qualify as spawn functions */ noref bool require_spawnfunc_prefix; .bool spawnfunc_checked; +/** Not for production use, provides access to a dump of the entity's fields when it is parsed from map data */ +//noref string __fullspawndata; // Optional type checking; increases compile time too much to be enabled by default #if 0