TApplicationServer::TApplicationServer(QObject *parent) : QTcpServer(parent) { nativeInit(); maxServers = Tf::app()->maxNumberOfServers(); connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(terminate())); }
GameScreen::GameScreen (MainWindow* parent, const char* json, const char* apkPath) : QGLWidget(QGLFormat(QGL::DoubleBuffer | QGL::DepthBuffer | QGL::Rgba | QGL::AlphaChannel | QGL::AccumBuffer | QGL::StencilBuffer | QGL::DirectRendering | QGL::NoSampleBuffers)), mainWindow(parent) { nativeInit(apkPath, json); nativeLoadSerie(json); }
void ScriptHook::NativeInit(UINT64 hash) { #ifndef GTA_LUA_TEST_EXE nativeInit(hash); #endif }