upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+64
View File
@@ -0,0 +1,64 @@
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef MODINFO_H
#define MODINFO_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
class KeyValues;
//-----------------------------------------------------------------------------
// Purpose: contains all the data entered about a mod in gameinfo.txt
//-----------------------------------------------------------------------------
class CModInfo
{
public:
CModInfo();
~CModInfo();
void FreeModInfo();
// loads mod info from gameinfo.txt
void LoadCurrentGameInfo();
// loads gameinfo from null-terminated string
void LoadGameInfoFromBuffer( const char *buffer );
// data accessors
const wchar_t *GetGameTitle();
const wchar_t *GetGameTitle2();
const char *GetGameName();
bool IsMultiplayerOnly();
bool IsSinglePlayerOnly();
bool HasPortals();
bool NoDifficulty();
bool NoModels();
bool NoHiModel();
bool NoCrosshair();
bool AdvCrosshair();
const char *GetFallbackDir();
bool UseGameLogo();
KeyValues *GetHiddenMaps();
private:
wchar_t m_wcsGameTitle[128];
wchar_t m_wcsGameTitle2[128];
KeyValues *m_pModData;
};
// singleton accessor
extern CModInfo &ModInfo();
#endif // MODINFO_H