27 lines
473 B
C++
27 lines
473 B
C++
|
|
#include "tier2/ifilesystem.h"
|
|
#include "igamewindow.h"
|
|
#include "materialsystem/materialsystem.h"
|
|
#include "tier1/interface.h"
|
|
#include "tier1/commandline.h"
|
|
#include "tier0/mem.h"
|
|
#include "sv_dll.h"
|
|
|
|
extern "C" void FunnyMain( int argc, char **argv )
|
|
{
|
|
CommandLine()->CreateCommandLine(argc, argv);
|
|
|
|
filesystem->Init();
|
|
|
|
gamewindow->Init();
|
|
Materials()->Init();
|
|
|
|
ServerGameDLL()->Init();
|
|
|
|
for (;;) {
|
|
gamewindow->UpdateWindow();
|
|
Materials()->Frame(0);
|
|
};
|
|
|
|
};
|