Skip to content

Commit

Permalink
Release 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sithlord48 committed Mar 15, 2022
1 parent 949a63f commit d9f0836
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(REQUIRED_QT_VERSION "5.15.0")

cmake_policy(SET CMP0010 NEW)

project( blackchocobo VERSION 1.10.5 DESCRIPTION "Final Fantasy 7 Save Editor")
project( blackchocobo VERSION 1.11.0 DESCRIPTION "Final Fantasy 7 Save Editor")
# Get the version from git if it's a git repository
set(BC_VERSION ${CMAKE_PROJECT_VERSION})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
Expand Down Expand Up @@ -60,7 +60,7 @@ if(${QT_DEFAULT_MAJOR_VERSION} MATCHES "6")
find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
endif()

find_package(ff7tk 0.80.22 REQUIRED NO_MODULE COMPONENTS
find_package(ff7tk 0.81.00 REQUIRED NO_MODULE COMPONENTS
ff7tk
ff7tkWidgets
)
Expand Down
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ void MainWindow::materiaupdate(void)
QString ap;

if (current_id <= 0x5A) {
newItem = new QTableWidgetItem(Materias.icon(current_id), Materias.name(current_id), 0);
newItem = new QTableWidgetItem(FF7Materia::icon(current_id), FF7Materia::name(current_id), 0);
ui->tblMateria->setItem(mat, 0, newItem);
}

Expand Down Expand Up @@ -1764,7 +1764,7 @@ void MainWindow::updateStolenMateria()
quint8 current_id = ff7->stolenMateriaId(s, mat);
QTableWidgetItem *newItem;
if (current_id != FF7Materia::EmptyId) {
newItem = new QTableWidgetItem(Materias.icon(current_id), Materias.name(current_id), 0);
newItem = new QTableWidgetItem(FF7Materia::icon(current_id), FF7Materia::name(current_id), 0);
ui->tblMateriaStolen->setItem(mat, 0, newItem);
qint32 current_ap = ff7->stolenMateriaAp(s, mat);
if (current_ap == FF7Materia::MaxMateriaAp) {
Expand Down
2 changes: 0 additions & 2 deletions src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <QMap>

#include <Type_materia.h>
#include <FF7Materia.h>

class FF7Save;
class SaveIcon;
Expand Down Expand Up @@ -66,7 +65,6 @@ class MainWindow : public QMainWindow
FF7Save *ff7 = nullptr; // our save file struct pointer.
SaveIcon *saveIcon = nullptr;
int s; //track slot
FF7Materia Materias;//FF7Materia Static Data.
materia buffer_materia; // buffer for a materia
//ITEM buffer_item; // for use later
int curchar; //keeps track of current character displayed
Expand Down

0 comments on commit d9f0836

Please sign in to comment.