Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
Organise files
Browse files Browse the repository at this point in the history
  • Loading branch information
Slattz committed Aug 28, 2018
1 parent fa11792 commit 7291d94
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 42 deletions.
40 changes: 20 additions & 20 deletions ACNL_REditor.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = ACNL_REditor
RC_ICONS = icon.ico
TEMPLATE = app
RESOURCES = resources.qrc
RESOURCES = Resources/resources.qrc

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
Expand All @@ -32,26 +32,26 @@ CONFIG += c++11


SOURCES += \
main.cpp \
mainwindow.cpp \
file.cpp \
game.cpp \
shophourseditor.cpp \
itemrandomiser.cpp \
patch.cpp \
aboutwindow.cpp
Sources/main.cpp \
Sources/mainwindow.cpp \
Sources/file.cpp \
Sources/game.cpp \
Sources/shophourseditor.cpp \
Sources/itemrandomiser.cpp \
Sources/patch.cpp \
Sources/aboutwindow.cpp

HEADERS += \
mainwindow.h \
file.h \
game.h \
shophourseditor.h \
itemrandomiser.h \
patch.h \
aboutwindow.h
Headers/mainwindow.h \
Headers/file.h \
Headers/game.h \
Headers/shophourseditor.h \
Headers/itemrandomiser.h \
Headers/patch.h \
Headers/aboutwindow.h

FORMS += \
mainwindow.ui \
shophourseditor.ui \
itemrandomiser.ui \
aboutwindow.ui
Forms/mainwindow.ui \
Forms/shophourseditor.ui \
Forms/itemrandomiser.ui \
Forms/aboutwindow.ui
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions game.h → Headers/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#include <QFile>
#include <QFileDialog>
#include "file.h"
#include "itemrandomiser.h"
#include "Headers/itemrandomiser.h"
#include "ui_mainwindow.h"
#include "shophourseditor.h"
#include "patch.h"
#include "Headers/shophourseditor.h"
#include "Headers/patch.h"

struct Dir_s {
bool exist = false;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mainwindow.h → Headers/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define MAINWINDOW_H

#include <QMainWindow>
#include "game.h"
#include "Headers/game.h"

namespace Ui {
class MainWindow;
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion resources.qrc → Resources/resources.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/">
<file>resources/icon.png</file>
<file>icon.png</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion aboutwindow.cpp → Sources/aboutwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "aboutwindow.h"
#include "Headers/aboutwindow.h"
#include "ui_aboutwindow.h"
#include <QPushButton>

Expand Down
4 changes: 2 additions & 2 deletions file.cpp → Sources/file.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "file.h"
#include "mainwindow.h"
#include "Headers/file.h"
#include "Headers/mainwindow.h"
#include "ui_mainwindow.h"

File::File() : m_md5Hash(QCryptographicHash::Md5) { }
Expand Down
4 changes: 2 additions & 2 deletions game.cpp → Sources/game.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "game.h"
#include "mainwindow.h"
#include "Headers/game.h"
#include "Headers/mainwindow.h"

/* Each entry relative to Game_s */
QString TIDs[8] = {"0004000000086200", "0004000000086300", "0004000000086400", "0004000000086500", //Orig Game
Expand Down
2 changes: 1 addition & 1 deletion itemrandomiser.cpp → Sources/itemrandomiser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "itemrandomiser.h"
#include "Headers/itemrandomiser.h"
#include "ui_itemrandomiser.h"
#include <QDebug>
#include <QTime>
Expand Down
4 changes: 2 additions & 2 deletions main.cpp → Sources/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "mainwindow.h"
#include "Headers/mainwindow.h"
#include <QApplication>
#include "file.h"
#include "Headers/file.h"

int main(int argc, char *argv[])
{
Expand Down
14 changes: 7 additions & 7 deletions mainwindow.cpp → Sources/mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "mainwindow.h"
#include "Headers/mainwindow.h"
#include "ui_mainwindow.h"
#include "aboutwindow.h"
#include "itemrandomiser.h"
#include "shophourseditor.h"
#include "file.h"
#include "game.h"
#include "patch.h"
#include "Headers/aboutwindow.h"
#include "Headers/itemrandomiser.h"
#include "Headers/shophourseditor.h"
#include "Headers/file.h"
#include "Headers/game.h"
#include "Headers/patch.h"

static const QString SpeedStrings[5] = {"Normal: x1", "Fast: x1.25", "Faster: x1.5", "Speedy: x2", "Speeding Bullet: x3"};
static QVector<ItemPrice_s*> ItemPrices;
Expand Down
2 changes: 1 addition & 1 deletion patch.cpp → Sources/patch.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "patch.h"
#include "Headers/patch.h"

ShopCodeOffsets_s Retail = {0xA0,0x90,0x60,0xAC,false, true};
ShopCodeOffsets_s Nooklings[5] = {{0x84,0x88,0x5C,0x274,true, false},{0x10C,0xFC,0xCC,0x274,false, true},{0x168,0x16C,0x140,0x274,true, false},{0x1F0,0x1E0,0x1B0,0x274,false, true},{0x24C,0x250,0x224,0x274,true, false}};
Expand Down
2 changes: 1 addition & 1 deletion shophourseditor.cpp → Sources/shophourseditor.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "shophourseditor.h"
#include "Headers/shophourseditor.h"
#include "ui_shophourseditor.h"
#include <QDebug>
#include <QTime>
Expand Down

0 comments on commit 7291d94

Please sign in to comment.