no engine anymore

This commit is contained in:
2025-07-30 23:53:26 +03:00
parent 8a29e6b86f
commit 395ced9e28
159 changed files with 2767 additions and 9484 deletions

View File

@@ -1,23 +1,30 @@
//================= Copyright kotofyt, All rights reserved ==================//
// Purpose: Command line handler for argc and argv. It also allows to find
// parameters and push your own.
//===========================================================================//
#ifndef TIER1_COMMANDLINE_H
#define TIER1_COMMANDLINE_H
#include "tier0/platform.h"
interface ICommandLine
abstract_class ICommandLine
{
public:
static void CreateCommandLine( int argc, char **argv );
virtual void CreateCommandLine( int argc, char **argv ) = 0;
static bool CheckParam( const char *psz );
static char *ParamValue( const char* psz, const char *szDefaultValue = 0 );
virtual bool CheckParam( const char *psz ) = 0;
virtual char *ParamValue( const char* psz, const char *szDefaultValue = 0 ) = 0;
static void AddParam( char *psz );
static void RemoveParam( char *psz );
virtual void AddParam( char *psz ) = 0;
virtual void RemoveParam( char *psz ) = 0;
static int ParamCount();
static int FindParam( const char *psz );
static const char *GetParam(int nIndex);
virtual int ParamCount() = 0;
virtual int FindParam( const char *psz ) = 0;
virtual const char *GetParam(int nIndex) = 0;
};
ICommandLine *CommandLine();
#endif