X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fviewloc.qh;h=496488d179b3dfd8abd9c447bc1973493dd1a26a;hb=fbd3279e575e41377901f1536e14fe45e540405b;hp=4c4d05f92653d6d76deb44fde08bc2cb48721f44;hpb=068324d293df795dbc41de75f38256b8c6c35607;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/viewloc.qh b/qcsrc/common/viewloc.qh index 4c4d05f92..496488d17 100644 --- a/qcsrc/common/viewloc.qh +++ b/qcsrc/common/viewloc.qh @@ -1,7 +1,8 @@ -#ifndef VIEWLOC_H -#define VIEWLOC_H +#pragma once -.entity viewloc; +// view location map object, intended for side-scrolling stages with a fixed camera position + +.entity viewloc; // points to the trigger_viewlocation networked entity void viewloc_PlayerPhysics(entity this); @@ -11,5 +12,3 @@ void viewloc_SetViewLocation(); void viewloc_SetTags(entity this); #endif - -#endif