forked from Ports/perfect_dark
Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger
This commit is contained in:
commit
4883fde642
16 files changed
+1969
-2304
No files matched your search
@@ -10,6 +10,7 @@ void bwalkSetSwayTargetf(f32 value);
|
||||
void bwalkAdjustCrouchPos(s32 value);
|
||||
void bwalk0f0c3b38(struct coord *param_1, struct defaultobj *obj);
|
||||
s32 bwalkTryMoveUpwards(f32 amount);
|
||||
bool bwalkCanMoveUpwards(f32 amount);
|
||||
bool bwalkCalculateNewPosition(struct coord *vel, f32 rotateamount, bool apply, f32 extrawidth, s32 arg4);
|
||||
bool bwalkCalculateNewPositionWithPush(struct coord *delta, f32 rotateamount, bool apply, f32 extrawidth, s32 types);
|
||||
s32 bwalk0f0c4764(struct coord *delta, struct coord *arg1, struct coord *arg2, s32 types);
|
||||
@@ -21,6 +22,7 @@ void bwalkUpdateSpeedSideways(f32 targetspeed, f32 accelspeed, s32 mult);
|
||||
void bwalkUpdateSpeedForwards(f32 targetspeed, f32 accelspeed);
|
||||
void bwalkUpdateVertical(void);
|
||||
void bwalkApplyCrouchSpeed(void);
|
||||
bool bwalkCanUncrouch(void);
|
||||
void bwalkUpdateCrouchOffsetReal(void);
|
||||
void bwalkUpdateCrouchOffset(void);
|
||||
void bwalkUpdateTheta(void);
|
||||
|
||||
@@ -14,14 +14,14 @@ s32 sightCalculateBoxBound(s32 arg0, s32 arg1, s32 arg2, s32 arg3);
|
||||
Gfx *sightDrawTargetBox(Gfx *gdl, struct trackedprop *trackedprop, s32 textid, s32 time);
|
||||
Gfx *sightDrawAimer(Gfx *gdl, s32 x, s32 y, s32 radius, s32 cornergap, u32 colour);
|
||||
Gfx *sightDrawDelayedAimer(Gfx *gdl, s32 x, s32 y, s32 radius, s32 cornergap, u32 colour);
|
||||
Gfx *sightDrawDefault(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawClassic(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawType2(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawDefault(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawClassic(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawType2(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawSkedarTriangle(Gfx *gdl, s32 x, s32 y, s32 dir, u32 colour);
|
||||
Gfx *sightDrawSkedar(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawZoom(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawMaian(Gfx *gdl, bool sighton);
|
||||
Gfx *sightDrawTarget(Gfx *gdl);
|
||||
Gfx *sightDrawSkedar(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawZoom(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawMaian(Gfx *gdl, bool sighton, f32 crossx, f32 crossy);
|
||||
Gfx *sightDrawTarget(Gfx *gdl, f32 crossx, f32 crossy);
|
||||
bool sightHasTargetWhileAiming(s32 sight);
|
||||
Gfx *sightDraw(Gfx *gdl, bool sighton, s32 sight);
|
||||
|
||||
|
||||
+21
-12
@@ -184,18 +184,19 @@
|
||||
|
||||
/* Extended commands */
|
||||
|
||||
#define G_SETFB_EXT 0x21
|
||||
#define G_SETTIMG_FB_EXT 0x23
|
||||
#define G_INVALTEXCACHE_EXT 0x34
|
||||
#define G_TEXRECT_WIDE_EXT 0x37
|
||||
#define G_FILLRECT_WIDE_EXT 0x38
|
||||
#define G_SETGRAYSCALE_EXT 0x39
|
||||
#define G_EXTRAGEOMETRYMODE_EXT 0x3a
|
||||
#define G_SETINTENSITY_EXT 0x40
|
||||
#define G_COPYFB_EXT 0x41
|
||||
#define G_IMAGERECT_EXT 0x42
|
||||
#define G_RDPFLUSH_EXT 0x43
|
||||
#define G_CLEAR_DEPTH_EXT 0x44
|
||||
#define G_SETFB_EXT 0x21
|
||||
#define G_SETTIMG_FB_EXT 0x23
|
||||
#define G_INVALTEXCACHE_EXT 0x34
|
||||
#define G_TEXRECT_WIDE_EXT 0x37
|
||||
#define G_FILLRECT_WIDE_EXT 0x38
|
||||
#define G_SETGRAYSCALE_EXT 0x39
|
||||
#define G_EXTRAGEOMETRYMODE_EXT 0x3a
|
||||
#define G_SETINTENSITY_EXT 0x40
|
||||
#define G_COPYFB_EXT 0x41
|
||||
#define G_IMAGERECT_EXT 0x42
|
||||
#define G_RDPFLUSH_EXT 0x43
|
||||
#define G_CLEAR_DEPTH_EXT 0x44
|
||||
#define G_SETSUBPIXELOFFSET_EXT 0x45
|
||||
|
||||
/* G_EXTRAGEOMETRYMODE flags */
|
||||
|
||||
@@ -292,6 +293,14 @@
|
||||
_g->words.w1 = (u32)(s); \
|
||||
}
|
||||
|
||||
#define gDPSetSubpixelOffsetEXT(pkt, x, y) \
|
||||
{ \
|
||||
Gfx *_g = (Gfx*)(pkt); \
|
||||
\
|
||||
_g->words.w0 = _SHIFTL(G_SETSUBPIXELOFFSET_EXT, 24, 8) | _SHIFTL((s16)(x), 0, 16); \
|
||||
_g->words.w1 = _SHIFTL((s16)(y), 0, 16); \
|
||||
}
|
||||
|
||||
#define gSPSetExtraGeometryModeEXT(pkt, word) gSPExtraGeometryModeEXT((pkt), 0, word)
|
||||
#define gSPClearExtraGeometryModeEXT(pkt, word) gSPExtraGeometryModeEXT((pkt), word, 0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user