Skip to content

Commit

Permalink
Merge pull request #32 from darkhappy/patch-1
Browse files Browse the repository at this point in the history
Add support for Windows x64
  • Loading branch information
madsciencecoder authored Sep 4, 2022
2 parents 50862bb + fd6c8c3 commit a40f4ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion globaldefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@
#define PLATFORM "linux2"
#define ENGINE_FILENAME QString("./TTREngine")

//for windows support (should now work)
//for windows support (64bit)
#elif defined(Q_OS_WIN64)
#define DEFAULT_PATH QString(QDir::currentPath()) + QString("/Game-Files")
#define ENGINE_FILENAME QString("TTREngine64.exe")
#define PLATFORM "win64"

//for windows support (32bit)
#elif defined(Q_OS_WIN)
#define DEFAULT_PATH QString(QDir::currentPath()) + QString("/Game-Files")
#define ENGINE_FILENAME QString("TTREngine.exe")
Expand Down

0 comments on commit a40f4ff

Please sign in to comment.