SSBM Decomp
Toggle main menu visibility
Loading...
Searching...
No Matches
sobjlib.h
Go to the documentation of this file.
1
#ifndef SYSDOLPHIN_BASELIB_SOBJLIB_H
2
#define SYSDOLPHIN_BASELIB_SOBJLIB_H
3
4
#include <
Runtime/platform.h
>
5
6
#include <
sysdolphin/baselib/forward.h
>
7
8
#include <
dolphin/gx/GXStruct.h
>
9
#include <
sysdolphin/baselib/gobj.h
>
10
11
extern
GObjFuncs
HSD_SObjLib_8040C3A4
;
12
extern
u8
HSD_SObjLib_804D7960
;
13
14
typedef
struct
HSD_SObjDesc
{
15
/* 0x00 */
HSD_ImageDesc
*
image
;
16
/* 0x04 */
struct
_HSD_Tlut*
tlut
;
17
}
HSD_SObjDesc
;
18
ASSERT_SIZE
(
struct
HSD_SObjDesc
, 0x8);
19
21
typedef
struct
HSD_SObjDesc2
{
22
/* 0x00 */
struct
HSD_SObjDesc
desc
;
23
/* 0x08 */
HSD_ImageDesc
*
image2
;
24
}
HSD_SObjDesc2
;
25
ASSERT_SIZE
(
struct
HSD_SObjDesc2
, 0xC);
26
27
struct
HSD_SObj
{
28
/* 0x00 */
void
*
x0
;
29
/* 0x04 */
HSD_SObj
*
next
;
30
/* 0x08 */
HSD_SObj
*
prev
;
31
/* 0x0C */
HSD_GObj
*
gobj
;
32
/* 0x10 */
f32
x10
;
33
/* 0x14 */
f32
x14
;
34
/* 0x18 */
f32
x18
;
35
/* 0x1C */
f32
x1C
;
36
/* 0x20 */
f32
x20
;
37
/* 0x24 */
f32
x24
;
38
/* 0x28 */
f32
x28
;
39
/* 0x2C */
f32
x2C
;
40
/* 0x30 */
f32
x30
;
41
/* 0x34 */
u16
x34
;
42
/* 0x36 */
u16
x36
;
43
/* 0x38 */
union
{
44
GXColor
x38_color
;
45
struct
{
46
u8
x38
;
47
u8
x39
;
48
u8
x3A
;
49
u8
x3B
;
50
};
51
};
52
/* 0x3C */
union
{
53
GXColor
x3C_color
;
54
struct
{
55
u8
x3C
;
56
u8
x3D
;
57
u8
x3E
;
58
u8
x3F
;
59
};
60
};
61
/* 0x40 */
u32
x40
;
62
/* 0x44 */
u8
x44
;
63
/* 0x48 */
u32
x48
;
64
/* 0x4C */
void (*
x4C_callback
)(
HSD_SObj
*);
65
/* 0x50 */
GXTexObj
x50_texobj
;
66
/* 0x70 */
GXTlutObj
x70_tlutobj
;
67
/* 0x7C */
GXTexObj
x7C_texobj
;
68
};
69
70
typedef
HSD_SObj
HSD_SObj_803A477C_t
;
71
72
/* 3A44A4 */
void
HSD_SObjLib_803A44A4
(
void
);
73
/* 3A44D4 */
void
HSD_SObjLib_803A44D4
(
HSD_GObj
*,
HSD_SObj
*,
u8
);
74
/* 3A466C */
void
HSD_SObjLib_803A466C
(
HSD_SObj
*);
75
/* 3A4740 */
void
HSD_SObjLib_803A4740
(
HSD_SObj
*);
76
/* 3A477C */
HSD_SObj
*
HSD_SObjLib_803A477C
(
HSD_GObj
*,
HSD_SObjDesc
*,
77
GXTexWrapMode
,
GXTexWrapMode
,
u8
,
78
u8
);
79
/* 3A49E0 */
void
HSD_SObjLib_803A49E0
(
HSD_GObj
*,
int
);
80
/* 3A4A68 */
void
HSD_SObjLib_803A4A68
(
HSD_SObj
*);
81
/* 3A54EC */
void
HSD_SObjLib_803A54EC
(
HSD_GObj
*,
int
);
82
/* 3A55DC */
void
HSD_SObjLib_803A55DC
(
HSD_GObj
*,
u16
,
u16
,
int
);
83
84
#endif
GXTexWrapMode
GXTexWrapMode
Definition
GXEnum.h:174
GXStruct.h
u32
unsigned long u32
Definition
types.h:9
f32
float f32
Definition
types.h:13
u16
unsigned short int u16
Definition
types.h:7
u8
unsigned char u8
Definition
types.h:5
gobj.h
platform.h
ASSERT_SIZE
#define ASSERT_SIZE(expr, size)
Definition
platform.h:161
HSD_SObjLib_8040C3A4
GObjFuncs HSD_SObjLib_8040C3A4
Definition
sobjlib.c:24
HSD_SObjLib_804D7960
u8 HSD_SObjLib_804D7960
Definition
sobjlib.c:19
HSD_SObjLib_803A54EC
void HSD_SObjLib_803A54EC(HSD_GObj *, int)
Definition
sobjlib.c:543
HSD_SObjLib_803A477C
HSD_SObj * HSD_SObjLib_803A477C(HSD_GObj *, HSD_SObjDesc *, GXTexWrapMode, GXTexWrapMode, u8, u8)
Definition
sobjlib.c:151
HSD_SObjLib_803A44D4
void HSD_SObjLib_803A44D4(HSD_GObj *, HSD_SObj *, u8)
Definition
sobjlib.c:37
HSD_SObjLib_803A4A68
void HSD_SObjLib_803A4A68(HSD_SObj *)
Definition
sobjlib.c:255
HSD_SObjLib_803A55DC
void HSD_SObjLib_803A55DC(HSD_GObj *, u16, u16, int)
Definition
sobjlib.c:567
HSD_SObjLib_803A44A4
void HSD_SObjLib_803A44A4(void)
Definition
sobjlib.c:32
HSD_SObj_803A477C_t
HSD_SObj HSD_SObj_803A477C_t
Definition
sobjlib.h:70
HSD_SObjLib_803A4740
void HSD_SObjLib_803A4740(HSD_SObj *)
Definition
sobjlib.c:133
HSD_SObjLib_803A466C
void HSD_SObjLib_803A466C(HSD_SObj *)
Definition
sobjlib.c:98
HSD_SObjLib_803A49E0
void HSD_SObjLib_803A49E0(HSD_GObj *, int)
Definition
sobjlib.c:230
GObjFuncs
Definition
gobj.h:36
GXColor
Definition
GXStruct.h:29
GXTexObj
Definition
GXStruct.h:39
GXTlutObj
Definition
GXStruct.h:54
HSD_GObj
Definition
gobj.h:13
HSD_ImageDesc
Definition
tobj.h:203
HSD_SObjDesc2
Definition
sobjlib.h:21
HSD_SObjDesc2::image2
HSD_ImageDesc * image2
Definition
sobjlib.h:23
HSD_SObjDesc2::desc
struct HSD_SObjDesc desc
Definition
sobjlib.h:22
HSD_SObjDesc
Definition
sobjlib.h:14
HSD_SObjDesc::image
HSD_ImageDesc * image
Definition
sobjlib.h:15
HSD_SObjDesc::tlut
struct _HSD_Tlut * tlut
Definition
sobjlib.h:16
HSD_SObj
Definition
sobjlib.h:27
HSD_SObj::x20
f32 x20
Definition
sobjlib.h:36
HSD_SObj::x44
u8 x44
Definition
sobjlib.h:62
HSD_SObj::x18
f32 x18
Definition
sobjlib.h:34
HSD_SObj::x2C
f32 x2C
Definition
sobjlib.h:39
HSD_SObj::x3C_color
GXColor x3C_color
Definition
sobjlib.h:53
HSD_SObj::gobj
HSD_GObj * gobj
Definition
sobjlib.h:31
HSD_SObj::x39
u8 x39
Definition
sobjlib.h:47
HSD_SObj::x14
f32 x14
Definition
sobjlib.h:33
HSD_SObj::x38
u8 x38
Definition
sobjlib.h:46
HSD_SObj::x7C_texobj
GXTexObj x7C_texobj
Definition
sobjlib.h:67
HSD_SObj::next
HSD_SObj * next
Definition
sobjlib.h:29
HSD_SObj::x36
u16 x36
Definition
sobjlib.h:42
HSD_SObj::x3A
u8 x3A
Definition
sobjlib.h:48
HSD_SObj::x1C
f32 x1C
Definition
sobjlib.h:35
HSD_SObj::x10
f32 x10
Definition
sobjlib.h:32
HSD_SObj::x48
u32 x48
Definition
sobjlib.h:63
HSD_SObj::x4C_callback
void(* x4C_callback)(HSD_SObj *)
Definition
sobjlib.h:64
HSD_SObj::x3F
u8 x3F
Definition
sobjlib.h:58
HSD_SObj::x3D
u8 x3D
Definition
sobjlib.h:56
HSD_SObj::x40
u32 x40
Definition
sobjlib.h:61
HSD_SObj::x0
void * x0
Definition
sobjlib.h:28
HSD_SObj::x70_tlutobj
GXTlutObj x70_tlutobj
Definition
sobjlib.h:66
HSD_SObj::prev
HSD_SObj * prev
Definition
sobjlib.h:30
HSD_SObj::x3E
u8 x3E
Definition
sobjlib.h:57
HSD_SObj::x3B
u8 x3B
Definition
sobjlib.h:49
HSD_SObj::x50_texobj
GXTexObj x50_texobj
Definition
sobjlib.h:65
HSD_SObj::x28
f32 x28
Definition
sobjlib.h:38
HSD_SObj::x34
u16 x34
Definition
sobjlib.h:41
HSD_SObj::x38_color
GXColor x38_color
Definition
sobjlib.h:44
HSD_SObj::x24
f32 x24
Definition
sobjlib.h:37
HSD_SObj::x3C
u8 x3C
Definition
sobjlib.h:55
HSD_SObj::x30
f32 x30
Definition
sobjlib.h:40
forward.h
src
sysdolphin
baselib
sobjlib.h
Generated by
1.17.0