summaryrefslogtreecommitdiff
path: root/src/code/z_view.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-10-17 00:13:25 +1100
committerGitHub <noreply@github.com>2024-10-16 06:13:25 -0700
commit5dd43102851bf69bb091ef1fc7d1443aa98d56a1 (patch)
tree179576ed6384725288fafb262cc4599446bbb5ea /src/code/z_view.c
parent4a3f9b0f6bc8ffb531799ad1587283e05295f04b (diff)
Animation Cleanup: En_V* and En_W* (#1713)
* begin anim v and w * structs * bgId * cleanup * space * more cleanup * spacing * Unsigned
Diffstat (limited to 'src/code/z_view.c')
-rw-r--r--src/code/z_view.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/code/z_view.c b/src/code/z_view.c
index 56af72134..cd7ab807f 100644
--- a/src/code/z_view.c
+++ b/src/code/z_view.c
@@ -129,24 +129,24 @@ void View_GetViewport(View* view, Viewport* viewport) {
}
void View_SetScissor(Gfx** gfx, s32 ulx, s32 uly, s32 lrx, s32 lry) {
- Gfx* gfxp = *gfx;
+ Gfx* gfxP = *gfx;
- gDPSetScissor(gfxp++, G_SC_NON_INTERLACE, ulx, uly, lrx, lry);
+ gDPSetScissor(gfxP++, G_SC_NON_INTERLACE, ulx, uly, lrx, lry);
- *gfx = gfxp;
+ *gfx = gfxP;
}
void View_ClearScissor(View* view, Gfx** gfx) {
- Gfx* gfxp = *gfx;
+ Gfx* gfxP = *gfx;
s32 ulx = view->viewport.leftX;
s32 uly = view->viewport.topY;
s32 lrx = view->viewport.rightX;
s32 lry = view->viewport.bottomY;
- gDPPipeSync(gfxp++);
- View_SetScissor(&gfxp, ulx, uly, lrx, lry);
+ gDPPipeSync(gfxP++);
+ View_SetScissor(&gfxP, ulx, uly, lrx, lry);
- *gfx = gfxp;
+ *gfx = gfxP;
}
void View_ApplyLetterbox(View* view) {
@@ -523,8 +523,8 @@ s32 View_UpdateViewingMatrix(View* view) {
return 1;
}
-s32 View_ApplyTo(View* view, Gfx** gfxp) {
- Gfx* gfx = *gfxp;
+s32 View_ApplyTo(View* view, Gfx** gfxP) {
+ Gfx* gfx = *gfxP;
GraphicsContext* gfxCtx = view->gfxCtx;
Viewport* viewport = &view->viewport;
Mtx* projection;
@@ -547,7 +547,7 @@ s32 View_ApplyTo(View* view, Gfx** gfxp) {
view->projection = *projection;
gSPMatrix(gfx++, projection, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_PROJECTION);
- *gfxp = gfx;
+ *gfxP = gfx;
return 1;
}