Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
quizmo_answer.c
Go to the documentation of this file.
1#include "common.h"
2#include "effects_internal.h"
3
6
9 EffectInstance* effect;
10
11 bp.unk_00 = 0;
12 bp.init = NULL;
13 bp.update = NULL;
14 bp.renderScene = NULL;
15 bp.renderUI = NULL;
17
18 effect = create_effect_instance(&bp);
19 effect->data.quizmoAnswer = NULL;
20
23
24 if (arg0 == 0) {
26 gDPSetPrimColor(gMainGfxPos++, 0, 0, 255, 64, 64, 230);
27 } else {
29 gDPSetPrimColor(gMainGfxPos++, 0, 0, 80, 80, 255, 230);
30 }
31
33 gSPTextureRectangle(gMainGfxPos++, 512, 304, 768, 560, G_TX_RENDERTILE, 0, 1024, 1024, 1024);
35 gSPSegment(gMainGfxPos++, 0x00, NULL);
36
37 remove_effect(effect);
38 return NULL;
39}
BSS s32 PopupMenu_SelectedIndex
#define remove_effect
#define create_effect_instance
EffectInstanceDataPtr data
Definition effects.h:2605
struct EffectSharedData * shared
Definition effects.h:2606
Gfx D_090004A8_3A28E8[]
EffectInstance * quizmo_answer_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3)
Gfx D_09000400_3A2840[]
#define VIRTUAL_TO_PHYSICAL(addr)
Definition macros.h:47
Gfx * gMainGfxPos
Definition cam_main.c:15