mirror of
https://github.com/celisej567/cool-source-archive.git
synced 2026-01-04 14:11:16 +03:00
added tiers, vstdlib
This commit is contained in:
22
public/tier2/keyvaluesmacros.h
Normal file
22
public/tier2/keyvaluesmacros.h
Normal file
@@ -0,0 +1,22 @@
|
||||
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
|
||||
//
|
||||
//==================================================================================================
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
// Returns true if the passed string matches the filename style glob, false otherwise
|
||||
// * matches any characters, ? matches any single character, otherwise case insensitive matching
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool GlobMatch( const char *pszGlob, const char *pszString );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
// Processes #insert and #update KeyValues macros
|
||||
//
|
||||
// #insert inserts a new KeyValues file replacing the KeyValues #insert with the new file
|
||||
//
|
||||
// #update updates sibling KeyValues blocks subkeys with its subkeys, overwriting and adding
|
||||
// KeyValues as necessary
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
KeyValues *HandleKeyValuesMacros( KeyValues *kv, KeyValues *pkvParent = nullptr );
|
||||
Reference in New Issue
Block a user