mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Global veriables
This commit is contained in:
parent
9ffc50457a
commit
e83870205e
@ -9,8 +9,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
inline int __argc;
|
||||
inline char ** __argv;
|
||||
extern int __argc;
|
||||
extern char ** __argv;
|
||||
|
||||
#ifdef VCMI_IOS
|
||||
extern "C" void launchGame(int argc, char * argv[]);
|
||||
|
@ -22,6 +22,9 @@
|
||||
#include "updatedialog_moc.h"
|
||||
#include "main.h"
|
||||
|
||||
int __argc;
|
||||
char ** __argv;
|
||||
|
||||
void MainWindow::load()
|
||||
{
|
||||
// Set current working dir to executable folder.
|
||||
|
@ -10,6 +10,7 @@
|
||||
#pragma once
|
||||
#include <QMainWindow>
|
||||
#include <QStringList>
|
||||
#include "main.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user