source-engine/game/client/vscript_client.h
tupoy-ya bba4bb4625
feat(VScript): Added vscript from mapbase.
Does not work, for the most part.
2023-10-04 12:02:54 +05:00

27 lines
577 B
C

//========== Copyright © 2008, Valve Corporation, All rights reserved. ========
//
// Purpose:
//
//=============================================================================
#ifndef VSCRIPT_CLIENT_H
#define VSCRIPT_CLIENT_H
#include "vscript/ivscript.h"
#include "vscript_shared.h"
#if defined( _WIN32 )
#pragma once
#endif
extern IScriptVM * g_pScriptVM;
// Only allow scripts to create entities during map initialization
bool IsEntityCreationAllowedInScripts( void );
#ifdef MAPBASE_VSCRIPT
extern IScriptManager * scriptmanager;
#endif
#endif // VSCRIPT_CLIENT_H