You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.2 KiB
22 lines
1.2 KiB
//===================== 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 ); |