marioparty4/include/dolphin/gx/GXExtra.h
dbalatoni13 887cb00c5b
Cleanup and get rid of many warnings when compiling with stricter warnings (#578)
* Mini improvements

* Fix some splits

* Remove last comma from enums

* Fix symbols

* Fix some headers and missing prototypes

* Replace most of f32 with float

* Replace most of Point3d with Vec

* Add missing esprite include with guard

* Add HuSetVecF to ext_math behind a guard

* More includes
2025-04-01 00:11:31 -05:00

36 lines
552 B
C

#ifndef _DOLPHIN_GXEXTRA
#define _DOLPHIN_GXEXTRA
// Extra types for PC
#ifdef TARGET_PC
#include <dolphin/gx/GXStruct.h>
#include <dolphin/types.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
float r;
float g;
float b;
float a;
} GXColorF32;
typedef enum {
GX_TF_R8_PC = 0x60,
GX_TF_RGBA8_PC = 0x61
} GXPCTexFmt;
void GXDestroyTexObj(GXTexObj* obj);
void GXDestroyTlutObj(GXTlutObj* obj);
void GXColor4f32(float r, float g, float b, float a);
#ifdef __cplusplus
}
#endif
#endif // TARGET_PC
#endif // _DOLPHIN_GXEXTRA