mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-14 00:41:06 +00:00
8552ac617c
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/***
|
|
*
|
|
* Copyright (c) 1999, Valve LLC. All rights reserved.
|
|
*
|
|
* This product contains software technology licensed from Id
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
|
* All Rights Reserved.
|
|
*
|
|
* Use, distribution, and modification of this source code and/or resulting
|
|
* object code is restricted to non-commercial enhancements to products from
|
|
* Valve LLC. All other use, distribution, or modification is prohibited
|
|
* without written permission from Valve LLC.
|
|
*
|
|
****/
|
|
/*
|
|
|
|
===== globals.cpp ========================================================
|
|
|
|
DLL-wide global variable definitions.
|
|
They're all defined here, for convenient centralization.
|
|
Source files that need them should "extern ..." declare each
|
|
variable, to better document what globals they care about.
|
|
|
|
*/
|
|
|
|
#include "extdll.h"
|
|
#include "util.h"
|
|
#include "cbase.h"
|
|
#include "soundent.h"
|
|
|
|
DLL_GLOBAL ULONG g_ulFrameCount;
|
|
DLL_GLOBAL ULONG g_ulModelIndexEyes;
|
|
DLL_GLOBAL ULONG g_ulModelIndexPlayer;
|
|
DLL_GLOBAL Vector g_vecAttackDir;
|
|
DLL_GLOBAL int g_iSkillLevel;
|
|
DLL_GLOBAL int gDisplayTitle;
|
|
DLL_GLOBAL BOOL g_fGameOver;
|
|
DLL_GLOBAL const Vector g_vecZero = Vector(0,0,0);
|
|
DLL_GLOBAL int g_Language;
|