X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fviewloc.qh;h=496488d179b3dfd8abd9c447bc1973493dd1a26a;hb=b479c97ca6b0c12b0d2eafbf6865e61815cf4bb8;hp=a86d8b4a42e6ef1acd94db79408dc5e2ab47d0e5;hpb=a16bfaa11ae87fe6fdab9e6c4504e2c5528ea595;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/viewloc.qh b/qcsrc/common/viewloc.qh index a86d8b4a4..496488d17 100644 --- a/qcsrc/common/viewloc.qh +++ b/qcsrc/common/viewloc.qh @@ -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