]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/effects/qc/rubble.qh
Merge branch 'Mario/infinite_ammo_start' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / effects / qc / rubble.qh
index 406d602c145d2359a6dd4d52fa324640f9e0857b..eccd11282a46eb76d74e5b5a789b0a33a0a390c8 100644 (file)
@@ -4,10 +4,15 @@
 entityclass(Rubble);
 classfield(Rubble).float creationtime;
 
-IntrusiveList g_rubble;
-STATIC_INIT(g_rubble) { g_rubble = IL_NEW(); }
+#ifdef CSQC
+IntrusiveList CasingsNGibs;
+STATIC_INIT(CasingsNGibs) { CasingsNGibs = IL_NEW(); }
+#endif
+
+void LimitedChildrenRubble(IntrusiveList list, string cname, int limit, void(entity) deleteproc, entity parent);
+
+entity ReplaceOldListedChildRubble(IntrusiveList list, entity child, entity oldChild);
 
-void RubbleLimit(string cname, int limit, void(entity) deleteproc);
+entity ListNewChildRubble(IntrusiveList list, entity child);
 
-entity RubbleNew(entity e);
 #endif