http and lots of formats

This commit is contained in:
2026-01-05 00:30:37 +02:00
parent 965cecc901
commit f886350eb1
23 changed files with 1727 additions and 121 deletions

21
public/tier2/tokenizer.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef TIER2_TOKENIZER_H
#define TIER2_TOKENIZER_H
#include "tier0/platform.h"
#include "tier1/utlstring.h"
#include "tier1/utlvector.h"
struct Token_t
{
CUtlString m_szValue;
bool m_bIsQuoted;
uint32_t m_iLine;
uint32_t m_iCharacter;
};
typedef bool( *fnIsAlphabetSymbol )( char c );
CUtlVector<Token_t> Tokenize( const char *szString );
CUtlVector<Token_t> Tokenize( const char *szString, fnIsAlphabetSymbol pfnIsAlphabetSymbol );
#endif