mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-08 10:32:59 -04:00
en_scopecoin OK (#67)
* Initial scopecoin work * Scopecoin OK * Updated submodules * Fixed newline on macros.h, fixed a few minor details in scopecoin.c * Made requested minor adjustments * merge
This commit is contained in:
+12
-5
@@ -26,12 +26,19 @@
|
||||
#define SQ(x) ((x)*(x))
|
||||
#define DECR(x) ((x) == 0 ? 0 : ((x) -= 1))
|
||||
|
||||
extern GraphicsContext* oGfxCtx;
|
||||
extern GraphicsContext* __gfxCtx;
|
||||
|
||||
#define OPEN_DISPS(gfxCtx) \
|
||||
{ \
|
||||
GraphicsContext* oGfxCtx; \
|
||||
oGfxCtx = gfxCtx; \
|
||||
#define WORK_DISP __gfxCtx->work.p
|
||||
#define POLY_OPA_DISP __gfxCtx->polyOpa.p
|
||||
#define POLY_XLU_DISP __gfxCtx->polyXlu.p
|
||||
#define OVERLAY_DISP __gfxCtx->overlay.p
|
||||
|
||||
// __gfxCtx shouldn't be used directly.
|
||||
// Use the DISP macros defined above when writing to display buffers.
|
||||
#define OPEN_DISPS(gfxCtx) \
|
||||
{ \
|
||||
GraphicsContext* __gfxCtx = gfxCtx; \
|
||||
s32 __dispPad; \
|
||||
|
||||
#define CLOSE_DISPS(gfxCtx) \
|
||||
} \
|
||||
|
||||
@@ -18,4 +18,13 @@ extern AnimatedTexture object_ikana_obj_001228[];
|
||||
extern Gfx object_fu_kaiten_0005D0[];
|
||||
extern BgMeshHeader object_fu_kaiten_002D30;
|
||||
|
||||
extern UNK_PTR D_04061FC0[];
|
||||
extern UNK_PTR D_04061FE0[];
|
||||
extern UNK_PTR D_04062000[];
|
||||
extern UNK_PTR D_04062040[];
|
||||
extern UNK_PTR D_04062020[];
|
||||
extern UNK_PTR D_04062060[];
|
||||
extern UNK_PTR D_04062000[];
|
||||
extern Gfx D_040622C0[];
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user