Skip to content

Commit

Permalink
Merge pull request #344 from roblabla/controller-dedicated-file
Browse files Browse the repository at this point in the history
Move controller functions to dedicated obj file
  • Loading branch information
roblabla authored Dec 1, 2024
2 parents f51afbb + ef219bd commit 11deb75
Show file tree
Hide file tree
Showing 12 changed files with 469 additions and 437 deletions.
3 changes: 2 additions & 1 deletion config/ghidra_ns_to_obj.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AsciiManager,th06::AsciiManager,th06::StageMenu
BombData,th06::BombData
BulletManager,th06::BulletManager
Chain,th06::Chain,th06::ChainElem
Controller,th06::Controller
EclManager,th06::EclManager
EffectManager,th06::EffectManager
Ending,th06::Ending
Expand All @@ -29,7 +30,7 @@ Rng,th06::Rng
ScreenEffect,th06::ScreenEffect
SoundPlayer,th06::SoundPlayer
Stage,th06::Stage,th06::AnmManager::ExecuteAnmIdx
Supervisor,th06::Supervisor,th06::Controller
Supervisor,th06::Supervisor
TextHelper,th06::TextHelper
utils,th06::utils
ZunTimer,th06::ZunTimer
Expand Down
8 changes: 8 additions & 0 deletions objdiff.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@

"reverse_fn_order": false
},
{
"name": "Controller",

"target_path": "build/objdiff/orig/Controller.obj",
"base_path": "build/objdiff/reimpl/Controller.obj",

"reverse_fn_order": false
},
{
"name": "EclManager",

Expand Down
2 changes: 1 addition & 1 deletion scripts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def configure(build_type):
"GuiImpl",
"GameManager",
"Chain",
# Controller
"Controller",
"FileSystem",
"GameErrorContext",
"Rng",
Expand Down
1 change: 1 addition & 0 deletions src/AsciiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "AnmManager.hpp"
#include "ChainPriorities.hpp"
#include "Controller.hpp"
#include "GameManager.hpp"
#include "Gui.hpp"
#include "Supervisor.hpp"
Expand Down
Loading

0 comments on commit 11deb75

Please sign in to comment.