Files
funnygame/engine/engine.cpp
2025-09-20 12:39:42 +03:00

27 lines
474 B
C++

#include "tier2/ifilesystem.h"
#include "igamewindow.h"
#include "materialsystem/imaterialsystem.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);
};
};