1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00
oot/include/color.h
Roman971 262f6c507c
Decompile z_play.c and Match/Document some of z_view.c (#74)
* Decompile z_play.c and Match/Document some of z_view.c

Also fix the last non matching in z_sample.c and update some game state functions.

* Suggestions from PR #74

* Fix undefined reference to Gameplay_DrawOverlay

* Suggestion from PR #74 (2)

* Fix a fake argument in func_800BC450
2020-04-16 17:36:12 -04:00

22 lines
270 B
C

#ifndef _COLOR_H_
#define _COLOR_H_
typedef union {
struct {
u8 r, g, b;
};
u32 rgb;
} Color_RGB8;
typedef union {
struct {
u8 r, g, b, a;
};
u32 rgba;
} Color_RGBA8;
typedef struct {
f32 r, g, b, a;
} Color_RGBAf;
#endif