Skip to content
🌋️
Alchemy
Theme: Weyard
Theme: Modern
Mode: Auto
Mode: Light
Mode: Dark
Alchemy
Source
Reference
Loading...
Searching...
No Matches
resource_3a8_effect.h
Go to the documentation of this file.
1
#ifndef ALCHEMY_RESOURCE_3A8_EFFECT_H
2
#define ALCHEMY_RESOURCE_3A8_EFFECT_H
3
4
/// @file
5
/// The view a scene overlay takes of an effect; most fields are still unnamed.
6
7
#include "
types.h
"
8
#include "
static_assert.h
"
9
10
struct
Resource3a8Effect
{
11
u8
unk00
[0x06];
12
u16
unk06
;
13
u8
unk08
[0x5e];
14
s16
actionTimer
;
15
};
16
17
STATIC_ASSERT
(
offsetof
(
struct
Resource3a8Effect
, unk06) == 0x06);
18
STATIC_ASSERT
(
offsetof
(
struct
Resource3a8Effect
, actionTimer) == 0x66);
19
STATIC_ASSERT
(
sizeof
(
struct
Resource3a8Effect
) == 0x68);
20
21
#endif
static_assert.h
STATIC_ASSERT, a compile-time check that emits nothing.
STATIC_ASSERT
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
Definition
static_assert.h:15
offsetof
#define offsetof(type, member)
Definition
stddef.h:19
Resource3a8Effect
Definition
resource_3a8_effect.h:10
Resource3a8Effect::unk08
u8 unk08[0x5e]
Definition
resource_3a8_effect.h:13
Resource3a8Effect::unk06
u16 unk06
Definition
resource_3a8_effect.h:12
Resource3a8Effect::unk00
u8 unk00[0x06]
Definition
resource_3a8_effect.h:11
Resource3a8Effect::actionTimer
s16 actionTimer
Definition
resource_3a8_effect.h:14
types.h
The integer types, TRUE, UNUSED and the fixed-address macros.
s16
signed short s16
Definition
types.h:12
u16
unsigned short u16
Definition
types.h:13
u8
unsigned char u8
Definition
types.h:11
include
resource_3a8_effect.h