Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
6fe64bc9ab
5 files changed
+14
-2
No files matched your search
@@ -301,6 +301,7 @@ void area_update_objects(void) {
|
||||
* transition type, time in frames, and the RGB color that will fill the screen.
|
||||
*/
|
||||
void play_transition(s16 transType, s16 time, u8 red, u8 green, u8 blue) {
|
||||
#ifndef L3DEX2_ALONE
|
||||
gWarpTransition.isActive = TRUE;
|
||||
gWarpTransition.type = transType;
|
||||
gWarpTransition.time = time;
|
||||
@@ -351,6 +352,7 @@ void play_transition(s16 transType, s16 time, u8 red, u8 green, u8 blue) {
|
||||
gWarpTransition.data.endTexRadius = GFX_DIMENSIONS_FULL_RADIUS;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -278,7 +278,10 @@ void create_gfx_task_structure(void) {
|
||||
gGfxSPTask->task.t.ucode_boot = rspbootTextStart;
|
||||
gGfxSPTask->task.t.ucode_boot_size = ((u8 *) rspbootTextEnd - (u8 *) rspbootTextStart);
|
||||
gGfxSPTask->task.t.flags = 0;
|
||||
#ifdef F3DZEX_GBI_2
|
||||
#ifdef L3DEX2_ALONE
|
||||
gGfxSPTask->task.t.ucode = gspL3DEX2_fifoTextStart;
|
||||
gGfxSPTask->task.t.ucode_data = gspL3DEX2_fifoDataStart;
|
||||
#elif F3DZEX_GBI_2
|
||||
gGfxSPTask->task.t.ucode = gspF3DZEX2_PosLight_fifoTextStart;
|
||||
gGfxSPTask->task.t.ucode_data = gspF3DZEX2_PosLight_fifoDataStart;
|
||||
#elif F3DEX2PL_GBI
|
||||
|
||||
@@ -70,9 +70,11 @@ Gfx *geo_skybox_main(s32 callContext, struct GraphNode *node, UNUSED Mat4 *mtx)
|
||||
struct GraphNodePerspective *camFrustum =
|
||||
(struct GraphNodePerspective *) camNode->fnNode.node.parent;
|
||||
|
||||
#ifndef L3DEX2_ALONE
|
||||
gfx = create_skybox_facing_camera(0, backgroundNode->background, camFrustum->fov, gLakituState.pos[0],
|
||||
gLakituState.pos[1], gLakituState.pos[2], gLakituState.focus[0],
|
||||
gLakituState.focus[1], gLakituState.focus[2]);
|
||||
#endif
|
||||
}
|
||||
|
||||
return gfx;
|
||||
|
||||
@@ -298,7 +298,9 @@ Gfx *geo_cannon_circle_base(s32 callContext, struct GraphNode *node, UNUSED Mat4
|
||||
if (callContext == GEO_CONTEXT_RENDER && gCurrentArea != NULL
|
||||
&& gCurrentArea->camera->mode == CAMERA_MODE_INSIDE_CANNON) {
|
||||
graphNode->fnNode.node.flags = (graphNode->fnNode.node.flags & 0xFF) | (LAYER_TRANSPARENT << 8);
|
||||
#ifndef L3DEX2_ALONE
|
||||
dlist = render_cannon_circle_base();
|
||||
#endif
|
||||
}
|
||||
return dlist;
|
||||
}
|
||||
Reference in new issue
Block a user