Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged dMesg_tControl classes #670

Merged
merged 5 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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];
LagoLunatic marked this conversation as resolved.
Show resolved Hide resolved
}; // 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);
LagoLunatic marked this conversation as resolved.
Show resolved Hide resolved

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