X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcsqcmodellib%2Fsv_model.qh;h=6694ded1a633a8dcfa10fc2fdd4e543f5be3d515;hp=a9e9ea733713b9b4ff4e756a2f8a5f6c771c8eb2;hb=2cbe50a41fcd237cdc76136a22842c18e739cbcc;hpb=35e8f712933b0ebf9b163b7289cf975825b33803 diff --git a/qcsrc/csqcmodellib/sv_model.qh b/qcsrc/csqcmodellib/sv_model.qh index a9e9ea733..6694ded1a 100644 --- a/qcsrc/csqcmodellib/sv_model.qh +++ b/qcsrc/csqcmodellib/sv_model.qh @@ -1,5 +1,3 @@ -#ifndef SV_MODEL_H -#define SV_MODEL_H /* * Copyright (c) 2011 Rudolf Polzer * @@ -21,77 +19,15 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ + #ifndef SV_MODEL_H + #define SV_MODEL_H -#if defined(CSQC) -#elif defined(MENUQC) -#elif defined(SVQC) - #include "../common/util-pre.qh" - #include "../server/sys-pre.qh" - #include "../dpdefs/progsdefs.qh" - #include "../dpdefs/dpextensions.qh" - #include "../server/sys-post.qh" - #include "../warpzonelib/anglestransform.qh" - #include "../warpzonelib/mathlib.qh" - #include "../warpzonelib/common.qh" - #include "../warpzonelib/util_server.qh" - #include "../warpzonelib/server.qh" - #include "../common/constants.qh" - #include "../common/stats.qh" - #include "../common/teams.qh" - #include "../common/util.qh" - #include "../common/nades.qh" - #include "../common/buffs.qh" - #include "../common/test.qh" - #include "../common/counting.qh" - #include "../common/urllib.qh" - #include "../common/command/markup.qh" - #include "../common/command/rpn.qh" - #include "../common/command/generic.qh" - #include "../common/command/shared_defs.qh" - #include "../common/net_notice.qh" - #include "../common/animdecide.qh" - #include "../common/monsters/monsters.qh" - #include "../common/monsters/sv_monsters.qh" - #include "../common/monsters/spawn.qh" - #include "../common/weapons/config.qh" - #include "../common/weapons/weapons.qh" - #include "../server/weapons/accuracy.qh" - #include "../server/weapons/common.qh" - #include "../server/weapons/csqcprojectile.qh" - #include "../server/weapons/hitplot.qh" - #include "../server/weapons/selection.qh" - #include "../server/weapons/spawning.qh" - #include "../server/weapons/throwing.qh" - #include "../server/weapons/tracing.qh" - #include "../server/weapons/weaponstats.qh" - #include "../server/weapons/weaponsystem.qh" - #include "../server/t_items.qh" - #include "../server/autocvars.qh" - #include "../server/constants.qh" - #include "../server/defs.qh" - #include "../common/notifications.qh" - #include "../common/deathtypes.qh" - #include "../server/mutators/mutators_include.qh" - #include "../server/tturrets/include/turrets_early.qh" - #include "../server/vehicles/vehicles_def.qh" - #include "../server/campaign.qh" - #include "../common/campaign_common.qh" - #include "../common/mapinfo.qh" - #include "../server/command/common.qh" - #include "../server/command/banning.qh" - #include "../server/command/radarmap.qh" - #include "../server/command/vote.qh" - #include "../server/command/getreplies.qh" - #include "../server/command/cmd.qh" - #include "../server/command/sv_cmd.qh" - #include "../common/csqcmodel_settings.qh" - #include "common.qh" -#endif + #include "common.qh" // generic CSQC model code -void CSQCModel_CheckUpdate(); -void CSQCModel_LinkEntity(); +void CSQCModel_CheckUpdate(entity e); +void CSQCModel_LinkEntity(entity e); void CSQCModel_UnlinkEntity(); #define CSQCMODEL_IF(cond) @@ -105,4 +41,4 @@ void CSQCModel_UnlinkEntity(); #undef CSQCMODEL_PROPERTY #undef CSQCMODEL_ENDIF #undef CSQCMODEL_IF -#endif \ No newline at end of file +#endif