Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
EventTask Struct Reference

An event (FIELDSTG_runEvent, made by FIELDSTG_startEvent): it runs a script of 16-bit words, each command a word of its kind << 8 | its variant followed by its arguments, until a command waits; or, without a script, a task of its own (start) until it ends. More...

#include <field/field_mode.h>

Collaboration diagram for EventTask:
[legend]

Data Fields

s32 id
 0 ends the list
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct EventTask *task, s32 state)
 
void(* setSubstate )(struct EventTask *task, s32 substate)
 
void(* setStep )(struct EventTask *task, s32 step)
 
void(* setCounter )(struct EventTask *task, s32 counter)
 
void(* nextState )(struct EventTask *task)
 
void(* nextSubstate )(struct EventTask *task)
 
void(* nextStep )(struct EventTask *task)
 
void(* tickCounter )(struct EventTask *task)
 
void(* update )()
 
void(* destroy )(struct EventTask *task)
 
s32 event
 its id
 
s16 * pc
 
void *(* start )(void)
 
void(* end )(void)
 
s32 wait
 frames left of a wait command
 
struct { 
 
   s32   id 
 0 ends the list More...
 
   struct Actor *   actor 
 
} entries [30] 
 the characters, held while the event runs
 

Detailed Description

An event (FIELDSTG_runEvent, made by FIELDSTG_startEvent): it runs a script of 16-bit words, each command a word of its kind << 8 | its variant followed by its arguments, until a command waits; or, without a script, a task of its own (start) until it ends.

Definition at line 277 of file field_mode.h.

Field Documentation

◆ id

s32 EventTask::id

0 ends the list

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_findEventActor(), FIELDSTG_runEvent(), and releaseEventActors().

◆ key1

s32 EventTask::key1

Definition at line 278 of file field_mode.h.

◆ key2

s32 EventTask::key2

Definition at line 278 of file field_mode.h.

◆ state

s32 EventTask::state

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_runEvent().

◆ substate

s32 EventTask::substate

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_runEvent().

◆ step

s32 EventTask::step

Definition at line 278 of file field_mode.h.

◆ counter

s32 EventTask::counter

Definition at line 278 of file field_mode.h.

◆ paused

s32 EventTask::paused

Definition at line 278 of file field_mode.h.

◆ childCount

s32 EventTask::childCount

Definition at line 278 of file field_mode.h.

◆ children

void* EventTask::children

Definition at line 278 of file field_mode.h.

◆ setState

void(* EventTask::setState) (struct EventTask *task, s32 state)

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_runEvent(), and FIELDSTG_startEvent().

◆ setSubstate

void(* EventTask::setSubstate) (struct EventTask *task, s32 substate)

Definition at line 278 of file field_mode.h.

◆ setStep

void(* EventTask::setStep) (struct EventTask *task, s32 step)

Definition at line 278 of file field_mode.h.

◆ setCounter

void(* EventTask::setCounter) (struct EventTask *task, s32 counter)

Definition at line 278 of file field_mode.h.

◆ nextState

void(* EventTask::nextState) (struct EventTask *task)

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_runEvent().

◆ nextSubstate

void(* EventTask::nextSubstate) (struct EventTask *task)

Definition at line 278 of file field_mode.h.

Referenced by FIELDSTG_runEvent().

◆ nextStep

void(* EventTask::nextStep) (struct EventTask *task)

Definition at line 278 of file field_mode.h.

◆ tickCounter

void(* EventTask::tickCounter) (struct EventTask *task)

Definition at line 278 of file field_mode.h.

◆ update

void(* EventTask::update) ()

Definition at line 278 of file field_mode.h.

◆ destroy

void(* EventTask::destroy) (struct EventTask *task)

Definition at line 278 of file field_mode.h.

◆ event

s32 EventTask::event

its id

Definition at line 279 of file field_mode.h.

Referenced by FIELDSTG_startEvent().

◆ pc

s16* EventTask::pc

Definition at line 280 of file field_mode.h.

Referenced by FIELDSTG_runEvent(), and FIELDSTG_startEvent().

◆ start

void *(* EventTask::start) (void)

Definition at line 281 of file field_mode.h.

Referenced by FIELDSTG_runEvent(), and FIELDSTG_startEvent().

◆ end

void(* EventTask::end) (void)

Definition at line 282 of file field_mode.h.

Referenced by FIELDSTG_runEvent(), and FIELDSTG_startEvent().

◆ wait

s32 EventTask::wait

frames left of a wait command

Definition at line 283 of file field_mode.h.

Referenced by FIELDSTG_runEvent().

◆ actor

struct Actor* EventTask::actor

Definition at line 286 of file field_mode.h.

Referenced by FIELDSTG_findEventActor(), FIELDSTG_runEvent(), and releaseEventActors().

◆ [struct]

struct { ... } EventTask::entries[30]

the characters, held while the event runs

Referenced by FIELDSTG_findEventActor(), FIELDSTG_runEvent(), and releaseEventActors().


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