Skip to content

Commit

Permalink
Merged dMesg_tControl classes (#670)
Browse files Browse the repository at this point in the history
* Merged dMesg_tControl class definitions

* Fix build

* Fix

* Fixed error
  • Loading branch information
DanTGL authored Jul 17, 2024
1 parent bad4ac2 commit 2cd767b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
8 changes: 1 addition & 7 deletions include/d/d_demo.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@
#include "f_pc/f_pc_base.h"

class fopAc_ac_c;

class dMesg_tControl : public JMessage::TControl {
public:
dMesg_tControl();

/* 0x3C */ u8 field_0x3C[0x74 - 0x3C];
}; // Size: 0x74
class dMesg_tControl;

class dDemo_actor_c : public JStage::TActor {
public:
Expand Down
9 changes: 6 additions & 3 deletions include/d/d_mesg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#define D_MESG_H

#include "dolphin/types.h"
#include "JSystem/JMessage/control.h"

namespace JMessage { class TControl; };
class JUTFont;
class JKRExpHeap;

Expand All @@ -22,7 +22,7 @@ class dMesg_outFont_c {
void _setAlpha(u8);
};

class dMesg_tControl {
class dMesg_tControl : public JMessage::TControl {
public:
void getCharCode() {}
void getCharSpace() {}
Expand All @@ -47,7 +47,10 @@ class dMesg_tControl {
void setRubyFont(JUTFont*) {}

dMesg_tControl();
void do_word(u32);
const char* do_word(u32);

public:
/* 0x3C */ u8 field_0x3C[0x74 - 0x3C];
};

class dMesg_tSequenceProcessor {
Expand Down
1 change: 1 addition & 0 deletions src/d/d_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "d/d_demo.h"
#include "f_op/f_op_camera_mng.h"
#include "d/d_com_inf_game.h"
#include "d/d_mesg.h"
#include "m_Do/m_Do_printf.h"

/* 800692C4-80069330 .text __ct__13dDemo_actor_cFv */
Expand Down
2 changes: 1 addition & 1 deletion src/d/d_mesg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dMesg_tControl::dMesg_tControl() {
}

/* 801E0274-801E0288 .text do_word__14dMesg_tControlFUl */
void dMesg_tControl::do_word(u32) {
const char* dMesg_tControl::do_word(u32) {
/* Nonmatching */
}

Expand Down

0 comments on commit 2cd767b

Please sign in to comment.