#ifndef EGG_STATE_GX_H #define EGG_STATE_GX_H #include #include namespace EGG { class StateGX { public: static void initialize(u16, u16, GXColor, GXPixelFmt); static void frameInit(); static void textureInit(); // Guess for 804b4810 static void resetGX(); static void resetVtx(); static void resetColorChannel(); static void resetIndirect(); static void resetTexture(); static void resetTexGen(); static void resetTev(); static void resetPE(); static void resetGXCache(); static void GXSetPixelFmt(GXPixelFmt pixelFmt, GXZFmt16 zFmt); static void invalidateTexAllGX(); static bool GXSetColorUpdate(bool); static bool GXSetAlphaUpdate(bool); static bool GXSetDither(); static void GXCopyTex(); static bool GXSetDstAlpha(); // Unk func here static void GXSetProjection(Mtx44, int); static void GXSetProjectionv(const f32 *); static void GXSetViewport(f32, f32, f32, f32, f32, f32); static void GZSetScissor(u32, u32, u32, u32); static void GZSetScissorBoxOffset(s32, s32); }; } // namespace EGG #endif