Skip to content

Commit

Permalink
Add extra database diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
lumiscosity authored Oct 16, 2024
1 parent 02e2753 commit d1fdcda
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/pickerwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,20 +250,34 @@ void PickerWidget::gendiff(QString orig_path, QString work_path) {
// get ldb data
std::unique_ptr<lcf::rpg::Database> orig_db = lcf::LDB_Reader::Load((orig_path + "/RPG_RT.ldb").toStdString());
std::unique_ptr<lcf::rpg::Database> work_db = lcf::LDB_Reader::Load((work_path + "/RPG_RT.ldb").toStdString());
// troops
dbdiff(orig_db->troops, work_db->troops, "Troop");
// tilesets
dbdiff(orig_db->chipsets, work_db->chipsets, "Tileset");
// terrains
dbdiff(orig_db->terrains, work_db->terrains, "Terrain");
// states
dbdiff(orig_db->states, work_db->states, "State");
// skills
dbdiff(orig_db->skills, work_db->skills, "Skill");
// items
dbdiff(orig_db->items, work_db->items, "Item");
// enemies
dbdiff(orig_db->classes, work_db->classes, "Enemy");
// elements
dbdiff(orig_db->attributes, work_db->attributes, "Element");
// classes
dbdiff(orig_db->classes, work_db->classes, "Class");
// animation2 (battler animation)
dbdiff(orig_db->battleranimations, work_db->battleranimations, "BattlerAnim");
// animations
dbdiff(orig_db->animations, work_db->animations, "Animation");
// actors
dbdiff(orig_db->actors, work_db->actors, "Actor");
// variables
dbdiff(orig_db->variables, work_db->variables, "Variable");
dbdiff(orig_db->variables, work_db->variables, "V");
// switches
dbdiff(orig_db->switches, work_db->switches, "Switch");
dbdiff(orig_db->switches, work_db->switches, "S");
// CEs
dbdiff(orig_db->commonevents, work_db->commonevents, "CE");

Expand Down

0 comments on commit d1fdcda

Please sign in to comment.