]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/dpdefs/doc.md
Move MOVETYPE_FLY to ecs
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / doc.md
index 240eec0c1cf5d7fd1f8a79e170eb407917347e06..01fa43aaf28d2669bdc0132b2ecc5df5ad503c80 100644 (file)
@@ -55,6 +55,21 @@ float sound_starttime;
 
 # SVQC
 
+Main loop:
+* SV_Physics()
+    * StartFrame()
+    * if (force_retouch)
+        * foreach entity:
+            * .touch()
+    * foreach client:
+        * PlayerPreThink()
+        * .think()
+        * PlayerPostThink()
+    * foreach nonclient:
+        * .think()
+    * EndFrame()
+
+
 ```
 
 .entity clientcamera;