Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
choice.c File Reference

The yes/no questions of the story. More...

#include "field/field_mode.h"
Include dependency graph for choice.c:

Go to the source code of this file.

Macros

#define ASK_CHOICE(n)
 Asks question n of FIELDSTG_choices: the start of the FieldEvent before the events of its answers (FIELDSTG_events)
 

Functions

void FIELDSTG_runChoice (ChoiceTask *task, ChoiceChildren *children)
 A yes/no question of the story (FIELDSTG_askChoice0 to FIELDSTG_askChoice15 make one per type): asks FIELDSTG_choices[type]'s question and starts the event of the answer.
 
void * FIELDSTG_askChoice0 (void)
 
void * FIELDSTG_askChoice1 (void)
 
void * FIELDSTG_askChoice2 (void)
 
void * FIELDSTG_askChoice3 (void)
 
void * FIELDSTG_askChoice4 (void)
 
void * FIELDSTG_askChoice5 (void)
 
void * FIELDSTG_askChoice6 (void)
 
void * FIELDSTG_askChoice7 (void)
 
void * FIELDSTG_askChoice8 (void)
 
void * FIELDSTG_askChoice9 (void)
 
void * FIELDSTG_askChoice10 (void)
 
void * FIELDSTG_askChoice11 (void)
 
void * FIELDSTG_askChoice12 (void)
 
void * FIELDSTG_askChoice13 (void)
 
void * FIELDSTG_askChoice14 (void)
 
void * FIELDSTG_askChoice15 (void)
 

Detailed Description

The yes/no questions of the story.

Definition in file choice.c.

Macro Definition Documentation

◆ ASK_CHOICE

#define ASK_CHOICE (   n)
Value:
void *FIELDSTG_askChoice##n(void) { \
task->type = n; \
return task; \
}
void FIELDSTG_runChoice(ChoiceTask *task, ChoiceChildren *children)
A yes/no question of the story (FIELDSTG_askChoice0 to FIELDSTG_askChoice15 make one per type): asks ...
Definition choice.c:10
The children of a yes/no question at the bottom of the screen: FIELDSTG's ChoiceTask and the stages' ...
Definition field_map.h:483
A yes/no question of the story (FIELDSTG_runChoice); its children are a ChoiceChildren (field_map....
Definition field_mode.h:347
s32 type
FIELDSTG_choices's.
Definition field_mode.h:349
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
Definition task.c:105

Asks question n of FIELDSTG_choices: the start of the FieldEvent before the events of its answers (FIELDSTG_events)

Definition at line 113 of file choice.c.

Function Documentation

◆ FIELDSTG_runChoice()

void FIELDSTG_runChoice ( ChoiceTask *  task,
ChoiceChildren *  children 
)

A yes/no question of the story (FIELDSTG_askChoice0 to FIELDSTG_askChoice15 make one per type): asks FIELDSTG_choices[type]'s question and starts the event of the answer.

choice.c

< the map, its objects and characters, and the menus

< the map, its objects and characters, and the menus

< the map, its objects and characters, and the menus

< SYSTEM02: a cursor moves

< SYSTEM00: a choice is taken

< the map, its objects and characters, and the menus

< the executable's FILE_MENU_SPRITES

Definition at line 10 of file choice.c.

Here is the call graph for this function:

◆ FIELDSTG_askChoice0()

void * FIELDSTG_askChoice0 ( void  )

Definition at line 120 of file choice.c.

◆ FIELDSTG_askChoice1()

void * FIELDSTG_askChoice1 ( void  )

Definition at line 121 of file choice.c.

◆ FIELDSTG_askChoice2()

void * FIELDSTG_askChoice2 ( void  )

Definition at line 122 of file choice.c.

◆ FIELDSTG_askChoice3()

void * FIELDSTG_askChoice3 ( void  )

Definition at line 123 of file choice.c.

◆ FIELDSTG_askChoice4()

void * FIELDSTG_askChoice4 ( void  )

Definition at line 124 of file choice.c.

◆ FIELDSTG_askChoice5()

void * FIELDSTG_askChoice5 ( void  )

Definition at line 125 of file choice.c.

◆ FIELDSTG_askChoice6()

void * FIELDSTG_askChoice6 ( void  )

Definition at line 126 of file choice.c.

◆ FIELDSTG_askChoice7()

void * FIELDSTG_askChoice7 ( void  )

Definition at line 127 of file choice.c.

◆ FIELDSTG_askChoice8()

void * FIELDSTG_askChoice8 ( void  )

Definition at line 128 of file choice.c.

◆ FIELDSTG_askChoice9()

void * FIELDSTG_askChoice9 ( void  )

Definition at line 129 of file choice.c.

◆ FIELDSTG_askChoice10()

void * FIELDSTG_askChoice10 ( void  )

Definition at line 130 of file choice.c.

◆ FIELDSTG_askChoice11()

void * FIELDSTG_askChoice11 ( void  )

Definition at line 131 of file choice.c.

◆ FIELDSTG_askChoice12()

void * FIELDSTG_askChoice12 ( void  )

Definition at line 132 of file choice.c.

◆ FIELDSTG_askChoice13()

void * FIELDSTG_askChoice13 ( void  )

Definition at line 133 of file choice.c.

◆ FIELDSTG_askChoice14()

void * FIELDSTG_askChoice14 ( void  )

Definition at line 134 of file choice.c.

◆ FIELDSTG_askChoice15()

void * FIELDSTG_askChoice15 ( void  )

Definition at line 135 of file choice.c.