Skip to content

Commit

Permalink
Fixing Gamedata submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
HobbitDur committed Dec 27, 2024
1 parent 1b1afb7 commit 09e51b9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
cd IfritAI/
pyinstaller -n IfritAI -F --specpath release/build --distpath release --workpath release/build --onefile --icon=../../Resources/icon.ico main.py
mkdir -p release/FF8GameData
mkdir OriginalFiles/
cp -R Resources release/
cp -R ../FF8GameData/Resources release/FF8GameData/
cd release
Expand Down
2 changes: 1 addition & 1 deletion IfritAI/command.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from IfritEnhanced.FF8GameData.gamedata import GameData
from FF8GameData.gamedata import GameData


class Command:
Expand Down
2 changes: 1 addition & 1 deletion IfritAI/commandwidget.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from PyQt6.QtCore import QObject, pyqtSignal, QSignalBlocker
from PyQt6.QtWidgets import QWidget, QHBoxLayout, QPushButton, QSpinBox, QFrame, QSizePolicy, QLabel, QComboBox

from IfritEnhanced.IfritAI.command import Command
from IfritAI.command import Command


class OpIdChangedEmmiter(QObject):
Expand Down
4 changes: 2 additions & 2 deletions IfritAI/ennemy.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import copy
import os

from IfritEnhanced.FF8GameData.gamedata import GameData
from IfritEnhanced.IfritAI.command import Command
from FF8GameData.gamedata import GameData
from IfritAI.command import Command


class Ennemy():
Expand Down
6 changes: 3 additions & 3 deletions IfritAI/ifritai.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from PyQt6.QtWidgets import QVBoxLayout, QWidget, QScrollArea, QPushButton, QFileDialog, QComboBox, QHBoxLayout, QLabel, \
QColorDialog, QCheckBox

from IfritEnhanced.IfritAI.command import Command
from IfritEnhanced.IfritAI.commandwidget import CommandWidget
from IfritEnhanced.IfritAI.ifritmanager import IfritManager
from IfritAI.command import Command
from IfritAI.commandwidget import CommandWidget
from IfritAI.ifritmanager import IfritManager


class IfritAI(QWidget):
Expand Down
4 changes: 2 additions & 2 deletions IfritAI/ifritmanager.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from IfritEnhanced.FF8GameData.gamedata import GameData
from FF8GameData.gamedata import GameData
from ennemy import Ennemy
class IfritManager:

def __init__(self):
self.game_data = GameData("FF8GameData")
self.game_data = GameData("../FF8GameData")
self.game_data.load_all()
self.ennemy = Ennemy(self.game_data)
self.ai_data = []
Expand Down

0 comments on commit 09e51b9

Please sign in to comment.