blob: 07d91fe5697c1492139f04ad8e913888b6669c70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "pch.h"
// get exported tier0 by name
void* ResolveTier0Function(const char* name);
// memory stuff
class IMemAlloc
{
public:
struct VTable
{
void* unknown[1];
void* (*Alloc) (IMemAlloc* memAlloc, size_t nSize);
void* unknown2[3];
void(*Free) (IMemAlloc* memAlloc, void* pMem);
};
VTable* m_vtable;
};
void* operator new(std::size_t n);
void operator delete(void* p) throw();
// actual function defs
// would've liked to resolve these at compile time, but we load before tier0 so not really possible
void Error(const char* fmt, ...);
double Plat_FloatTime();
|