Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JMessage::TSequenceProcessor Struct Reference

#include <processor.h>

+ Inheritance diagram for JMessage::TSequenceProcessor:
+ Collaboration diagram for JMessage::TSequenceProcessor:

Classes

struct  TProcess_
 

Public Types

enum  SeqStatus {
  STATUS_READY , STATUS_ONE , STATUS_NORMAL , STATUS_JUMP ,
  STATUS_BRANCH
}
 
typedef const void *(* branchPfn) (const TSequenceProcessor *, u32)
 
typedef const void *(* jumpPfn) (const TSequenceProcessor *)
 
- Public Types inherited from JMessage::TProcessor
typedef bool(* pfnProcess_func) (TProcessor *)
 

Public Member Functions

 TSequenceProcessor (JMessage::TReference const *, JMessage::TControl *)
 
const charprocess (char const *)
 
bool on_isReady ()
 
void on_jump_register (void const *(*)(JMessage::TSequenceProcessor const *), u32)
 
bool on_jump_isReady ()
 
void on_jump (void const *, char const *)
 
void on_branch_register (void const *(*)(JMessage::TSequenceProcessor const *, u32), void const *, u32)
 
void on_branch_query (u32)
 
u32 on_branch_queryResult ()
 
void on_branch (void const *, char const *)
 
virtual ~TSequenceProcessor ()
 
virtual void do_resetStatus_ (char const *)
 
virtual bool do_setBegin_isReady_ () const
 
virtual void do_begin_ (void const *, char const *)
 
virtual void do_end_ ()
 
virtual void do_tag_ (u32, void const *, u32)
 
virtual bool do_isReady ()
 
virtual bool do_jump_isReady ()
 
virtual void do_jump (void const *, char const *)
 
virtual void do_branch_query (u32)
 
virtual s32 do_branch_queryResult ()
 
virtual void do_branch (void const *, char const *)
 
TControlgetControl () const
 
- Public Member Functions inherited from JMessage::TProcessor
 TProcessor (const TReference *reference)
 
void reset ()
 
void stack_pushCurrent (char const *)
 
void stack_popCurrent ()
 
const TResourcegetResource_groupID (u16) const
 
u32 toMessageCode_messageID (u32, u32, bool *) const
 
void on_select_begin (char const *(*)(JMessage::TProcessor *), void const *, char const *, u32)
 
void on_select_end ()
 
void on_select_separate ()
 
void on_tag_ ()
 
bool process_character_ ()
 
const charon_message (u32) const
 
const chargetMessageText_messageCode (u32) const
 
virtual ~TProcessor ()
 
virtual void do_reset ()
 
virtual void do_begin (void const *, char const *)
 
virtual void do_end ()
 
virtual void do_character (int)
 
virtual bool do_tag (u32, void const *, u32)
 
virtual void do_select_begin (u32)
 
virtual void do_select_end ()
 
virtual void do_select_separate ()
 
void on_resetStatus_ (const char *param_0)
 
void on_begin (const void *entry, const char *param_1)
 
void on_end ()
 
void on_tag (u32 param_0, const void *param_1, u32 param_2)
 
const charon_word (u32 param_0) const
 
int on_parseCharacter (const char **string) const
 
void on_character (int character)
 
const charon_message_limited (u16 messageIndex) const
 
int setBegin_messageEntryText (const TResource *resource, const void *entry, const char *param_2)
 
int setBegin_messageEntryText (const TProcessor *processor, const void *entry, const char *param_2)
 
voidgetMessageEntry_messageCode (u16 messageCode, u16 messageIndex) const
 
const chargetMessageText_messageCode (u16 messageCode, u16 messageIndex) const
 
void stack_pushCurrent_ (const char *string)
 
void stack_popCurrent_ ()
 
bool stack_isPushable () const
 
const TResourcegetResourceCache () const
 
const chargetCurrent () const
 
const TReferencegetReference () const
 
const TResourcegetResource_groupID_uncached (u16 groupID) const
 
bool isResourceCache_groupID (u16 groupID) const
 
TResourceContainergetResourceContainer () const
 
void setResourceCache (TResource *cache)
 
void resetResourceCache ()
 

Static Public Member Functions

static void process_setMessageIndex_reserved_ (u16)
 
static voidprocess_setMessageCode_ (JMessage::TSequenceProcessor const *, u16, u16)
 
static const voidprocess_onJump_limited_ (JMessage::TSequenceProcessor const *)
 
static const voidprocess_onJump_ (JMessage::TSequenceProcessor const *)
 
static const voidprocess_onBranch_limited_ (JMessage::TSequenceProcessor const *, u32)
 
static const voidprocess_onBranch_ (JMessage::TSequenceProcessor const *, u32)
 
static const voidprocess_setMessageIndex_ (const TSequenceProcessor *pProcessor, u16 param_1)
 
static const voidprocess_setMessageCode_ (const TSequenceProcessor *pProcessor, u32 param_1)
 
- Static Public Member Functions inherited from JMessage::TProcessor
static bool process_onCharacterEnd_normal_ (JMessage::TProcessor *)
 
static bool process_onCharacterEnd_select_ (JMessage::TProcessor *)
 
static const charprocess_onSelect_limited_ (JMessage::TProcessor *)
 
static const charprocess_onSelect_ (JMessage::TProcessor *)
 

Public Attributes

TControlpControl_
 
SeqStatus eStatus_
 
TProcess_ oProcess2_
 
- Public Attributes inherited from JMessage::TProcessor
const TReferencepReference_
 
const TResourcepResourceCache_
 
const charpszCurrent_
 
TStack_ oStack_
 
TProcess_ oProcess_
 

Member Typedef Documentation

◆ branchPfn

typedef const void *(* JMessage::TSequenceProcessor::branchPfn) (const TSequenceProcessor *, u32)

◆ jumpPfn

typedef const void *(* JMessage::TSequenceProcessor::jumpPfn) (const TSequenceProcessor *)

Member Enumeration Documentation

◆ SeqStatus

Enumerator
STATUS_READY 
STATUS_ONE 
STATUS_NORMAL 
STATUS_JUMP 
STATUS_BRANCH 

Constructor & Destructor Documentation

◆ TSequenceProcessor()

JMessage::TSequenceProcessor::TSequenceProcessor ( JMessage::TReference const param_0,
JMessage::TControl param_1 
)

◆ ~TSequenceProcessor()

JMessage::TSequenceProcessor::~TSequenceProcessor ( )
virtual

Member Function Documentation

◆ do_begin_()

void JMessage::TSequenceProcessor::do_begin_ ( void const param_0,
char const param_1 
)
virtual

Implements JMessage::TProcessor.

◆ do_branch()

void JMessage::TSequenceProcessor::do_branch ( void const param_0,
char const param_1 
)
virtual

◆ do_branch_query()

void JMessage::TSequenceProcessor::do_branch_query ( u32  param_0)
virtual

◆ do_branch_queryResult()

s32 JMessage::TSequenceProcessor::do_branch_queryResult ( )
virtual

◆ do_end_()

void JMessage::TSequenceProcessor::do_end_ ( )
virtual

Implements JMessage::TProcessor.

◆ do_isReady()

bool JMessage::TSequenceProcessor::do_isReady ( )
virtual

◆ do_jump()

void JMessage::TSequenceProcessor::do_jump ( void const param_0,
char const param_1 
)
virtual

◆ do_jump_isReady()

bool JMessage::TSequenceProcessor::do_jump_isReady ( )
virtual

◆ do_resetStatus_()

void JMessage::TSequenceProcessor::do_resetStatus_ ( char const param_0)
virtual

Reimplemented from JMessage::TProcessor.

◆ do_setBegin_isReady_()

bool JMessage::TSequenceProcessor::do_setBegin_isReady_ ( ) const
virtual

Reimplemented from JMessage::TProcessor.

◆ do_tag_()

void JMessage::TSequenceProcessor::do_tag_ ( u32  uTag,
void const data,
u32  uSize 
)
virtual

Implements JMessage::TProcessor.

◆ getControl()

TControl * JMessage::TSequenceProcessor::getControl ( ) const
inline

◆ on_branch()

void JMessage::TSequenceProcessor::on_branch ( void const param_0,
char const param_1 
)

◆ on_branch_query()

void JMessage::TSequenceProcessor::on_branch_query ( u32  param_0)

◆ on_branch_queryResult()

u32 JMessage::TSequenceProcessor::on_branch_queryResult ( )

◆ on_branch_register()

void JMessage::TSequenceProcessor::on_branch_register ( void const *)(JMessage::TSequenceProcessor const *, u32,
void const ,
u32   
)

◆ on_isReady()

bool JMessage::TSequenceProcessor::on_isReady ( )

◆ on_jump()

void JMessage::TSequenceProcessor::on_jump ( void const param_0,
char const param_1 
)

◆ on_jump_isReady()

bool JMessage::TSequenceProcessor::on_jump_isReady ( )

◆ on_jump_register()

void JMessage::TSequenceProcessor::on_jump_register ( void const *)(JMessage::TSequenceProcessor const *,
u32   
)

◆ process()

const char * JMessage::TSequenceProcessor::process ( char const param_0)

◆ process_onBranch_()

const void * JMessage::TSequenceProcessor::process_onBranch_ ( JMessage::TSequenceProcessor const param_0,
u32  uTargetIndex 
)
static

◆ process_onBranch_limited_()

const void * JMessage::TSequenceProcessor::process_onBranch_limited_ ( JMessage::TSequenceProcessor const param_0,
u32  uTargetIndex 
)
static

◆ process_onJump_()

const void * JMessage::TSequenceProcessor::process_onJump_ ( JMessage::TSequenceProcessor const param_0)
static

◆ process_onJump_limited_()

const void * JMessage::TSequenceProcessor::process_onJump_limited_ ( JMessage::TSequenceProcessor const param_0)
static

◆ process_setMessageCode_() [1/2]

static const void * JMessage::TSequenceProcessor::process_setMessageCode_ ( const TSequenceProcessor pProcessor,
u32  param_1 
)
inlinestatic

◆ process_setMessageCode_() [2/2]

void * JMessage::TSequenceProcessor::process_setMessageCode_ ( JMessage::TSequenceProcessor const param_0,
u16  param_1,
u16  param_2 
)
static

◆ process_setMessageIndex_()

static const void * JMessage::TSequenceProcessor::process_setMessageIndex_ ( const TSequenceProcessor pProcessor,
u16  param_1 
)
inlinestatic

◆ process_setMessageIndex_reserved_()

void JMessage::TSequenceProcessor::process_setMessageIndex_reserved_ ( u16  u16Index)
static

Member Data Documentation

◆ eStatus_

SeqStatus JMessage::TSequenceProcessor::eStatus_

◆ oProcess2_

TProcess_ JMessage::TSequenceProcessor::oProcess2_

◆ pControl_

TControl* JMessage::TSequenceProcessor::pControl_

The documentation for this struct was generated from the following files: