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