]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cheats.qh
Welcome message: combine bool networking into a bitfield
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cheats.qh
index 22cded8cb986682a23a0a0d8307adf9452e62b3f..9ab0fade7f7fcd44e3c04ae330d72b6b65a3cf62 100644 (file)
@@ -2,7 +2,10 @@
 
 #include <common/impulses/all.qh>
 
-//float autocvar_sv_cheats; // must... declare... global
+int autocvar_sv_cheats;
+float autocvar_g_grab_range;
+int autocvar_g_max_info_autoscreenshot;
+int autocvar_sv_clones;
 
 float cheatcount_total;
 .float cheatcount;
@@ -14,6 +17,15 @@ float CheatFrame(entity this);
 
 const float CHRAME_DRAG = 8;
 
+// speedrun: when 1, player auto teleports back when capture timeout happens
+.bool speedrunning;
+
+.entity personal;
+
+.int grab; // 0 = can't grab, 1 = owner can grab, 2 = owner and team mates can grab, 3 = anyone can grab
+
+bool drag_undraggable(entity draggee, entity dragger);
+
 .bool(entity this, entity dragger) draggable;
 void Drag_MoveDrag(entity from, entity to); // call this from CopyBody
 void DragBox_Think(entity this);