-#ifndef SV_MODEL_H
-#define SV_MODEL_H
/*
* Copyright (c) 2011 Rudolf Polzer
*
* 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)
#undef CSQCMODEL_PROPERTY
#undef CSQCMODEL_ENDIF
#undef CSQCMODEL_IF
-#endif
\ No newline at end of file
+#endif