summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2010-10-07 15:56:13 +0200
committerTreeki <treeki@gmail.com>2010-10-07 15:56:13 +0200
commit5f6dad55d75cbe146ff7fefc899a02ccd39078ba (patch)
tree0822df14cc6d2c0329810c9ae7b4a4a638fe82b1 /main.cpp
downloadLayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.tar.gz
LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.zip
initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time
Diffstat (limited to '')
-rw-r--r--main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..42a6c01
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,21 @@
+#include <QtGui/QApplication>
+#include "lsmainwindow.h"
+#include "lsglobals.h"
+
+#include "lyt/directorypackage.h"
+#include "lyt/layout.h"
+
+
+int main(int argc, char *argv[]) {
+ QApplication a(argc, argv);
+
+ LSGlobals::setup();
+
+ LYTDirectoryPackage package("H:\\ISOs\\NSMBWii\\Extracted\\Layout\\continue\\continue\\arc");
+ LYTLayout layout(package, "continue_05.brlyt");
+
+ LSMainWindow w;
+ w.show();
+
+ return a.exec();
+}