X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fviewloc.qh;h=496488d179b3dfd8abd9c447bc1973493dd1a26a;hb=2d3ed896c16fcbad16cdf83b1ffae348053aab96;hp=a86d8b4a42e6ef1acd94db79408dc5e2ab47d0e5;hpb=7bae88d09fbd53cce732e31633aea92671b43699;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