working on rendering

This commit is contained in:
2025-12-23 15:03:44 +02:00
parent 5a71b3023a
commit 3b4e2eea32
65 changed files with 1971 additions and 190 deletions

7
public/tier1/appinit.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef APPINIT_H
#define APPINIT_H
void AppInitializePath();
#endif

View File

@@ -6,6 +6,8 @@
typedef void *( *CreateInterfaceFn )( const char *szName, int *pReturnCode );
typedef void *( *InstantiateInterfaceFn )( void );
CreateInterfaceFn Plat_GetInterfaceFactory( void *lib );
class CInterfaceRegistry
{
public:

View File

@@ -23,6 +23,10 @@ public:
void RemoveHead( size_t nCount );
void RemoveAt( size_t nPosition, size_t nCount );
CUtlString GetFileName();
CUtlString GetDirectory();
CUtlString RemoveHeadFile();
char *GetString( void );
size_t GetLenght( void );
operator char*( void );

View File

@@ -306,6 +306,9 @@ public:
void RemoveTail( void );
void RemoveAt( size_t nIndex );
T &GetFirst();
T &GetLast();
size_t GetSize();
T operator[]( size_t nIndex );
@@ -428,4 +431,17 @@ void CUtlSelfReferencingVector<T>::RemoveTail( void )
}
template<typename T>
T &CUtlSelfReferencingVector<T>::GetFirst()
{
return m_pHead->data;
}
template<typename T>
T &CUtlSelfReferencingVector<T>::GetLast()
{
return m_pTail->data;
}
#endif