![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
This file contains code for rendering what appears to be an old menuing system. More...
#include <ultra64.h>
#include <macros.h>
#include "gd_types.h"
#include "old_menu.h"
#include "objects.h"
#include "dynlist_proc.h"
#include "debug_utils.h"
#include "renderer.h"
Functions | |
void | func_8018BCB8 (struct ObjGadget *) |
void | get_objvalue (union ObjVarVal *dst, enum ValPtrType type, void *base, s32 offset) |
void | Unknown8018B7A8 (void *a0) |
void | Proc8018B83C (void *a0) |
void | cat_grp_name_to_buf (struct ObjGroup *group) |
void * | Unknown8018B900 (struct ObjGroup *grp) |
struct ObjLabel * | make_label (struct ObjValPtrs *ptr, char *str, s32 a2, f32 x, f32 y, f32 z) |
struct ObjGadget * | make_gadget (UNUSED s32 a0, s32 a1) |
void | set_objvalue (union ObjVarVal *src, enum ValPtrType type, void *base, s32 offset) |
void | set_static_gdgt_value (struct ObjValPtrs *vp) |
void | adjust_gadget (struct ObjGadget *gdgt, s32 a1, s32 a2) |
void | reset_gadget (struct ObjGadget *gdgt) |
void | reset_gadgets_in_grp (struct ObjGroup *grp) |
Variables | |
static char | sMenuStrBuf [0x100] |
static struct GdVec3f | sStaticVec |
static struct GdVec3f | unusedVec |
static struct ObjGadget * | sCurGadgetPtr |
This file contains code for rendering what appears to be an old menuing system.
It is hard to tell, as most of the menuing code is stubbed out. It also contains code for creating labels and gadget, which are GdObj
s that allow for displaying text and memory values on screen. Those GdObj
s are not created in-game, but there are some functions in renderer.c
that use them, and those functions may still work if called.
void get_objvalue | ( | union ObjVarVal * | dst, |
enum ValPtrType | type, | ||
void * | base, | ||
s32 | offset | ||
) |
void set_objvalue | ( | union ObjVarVal * | src, |
enum ValPtrType | type, | ||
void * | base, | ||
s32 | offset | ||
) |
void set_static_gdgt_value | ( | struct ObjValPtrs * | vp | ) |
|
static |