⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vizfunc.h

📁 hl2 source code. Do not use it illegal.
💻 H
字号:
/**********************************************************************
 *<
	FILE: VIZFunc.h

	DESCRIPTION:  General header file for VIZ functionality that
	needs to be exposed across projects.

	CREATED BY: Michael Larson

	HISTORY: created 11/12/98

 *>	Copyright (c) 1998, All Rights Reserved.
 **********************************************************************/
#pragma once
#ifndef _VIZFUNC_H_
#define _VIZFUNC_H_

//This class is a catch all for functionality that will show up in VIZ
//Note that this guy will be instantiated only once.
class VIZFunc
{
private:
  static bool mIsInstantiated;

public:
//methods
VIZFunc();
~VIZFunc() {;}
CoreExport bool IsSubObjAnimEnabled(SClass_ID sclID, Class_ID clID);   //for checking to see if subobject is enabled for this class ID
CoreExport bool IsPluginPresent(SClass_ID sclID, Class_ID clID);
};

extern CoreExport VIZFunc gVIZFunc;

inline TSTR TwiddleResString(int MAXName, int VIZName)
	{
#ifdef DESIGN_VER
	return GetResString(VIZName);
#else
	return GetResString(MAXName);
#endif
	}

#endif //_VIZFunc_H_



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -