Ejemplo n.º 1
0
TApplicationServer::TApplicationServer(QObject *parent)
    : QTcpServer(parent)
{
    nativeInit();
    
    maxServers = Tf::app()->maxNumberOfServers();
    connect(qApp, SIGNAL(aboutToQuit()), this, SLOT(terminate()));
}
Ejemplo n.º 2
0
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);
}
Ejemplo n.º 3
0
void ScriptHook::NativeInit(UINT64 hash)
{
#ifndef GTA_LUA_TEST_EXE
	nativeInit(hash);
#endif
}