]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/viewloc.qh
Rename t_items.qc to items.qc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / viewloc.qh
index a86d8b4a42e6ef1acd94db79408dc5e2ab47d0e5..496488d179b3dfd8abd9c447bc1973493dd1a26a 100644 (file)
@@ -1,15 +1,14 @@
-#ifndef VIEWLOC_H
-#define VIEWLOC_H
+#pragma once
 
-.entity viewloc;
+// view location map object, intended for side-scrolling stages with a fixed camera position
 
-void viewloc_PlayerPhysics();
+.entity viewloc; // points to the trigger_viewlocation networked entity
+
+void viewloc_PlayerPhysics(entity this);
 
 #ifdef CSQC
 
 void viewloc_SetViewLocation();
-void viewloc_SetTags();
-
-#endif
+void viewloc_SetTags(entity this);
 
 #endif