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:
kyleburnette
2021-03-16 21:22:23 -07:00
committed by GitHub
parent 22cb3c4b27
commit 61fd3e0282
10 changed files with 145 additions and 64 deletions
+12 -5
View File
@@ -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) \
} \
+9
View File
@@ -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