Skip to content

Commit

Permalink
Rename J2D.ts to J2Dv1.ts and add comment explaining v1 vs v2
Browse files Browse the repository at this point in the history
  • Loading branch information
themikelester committed Dec 15, 2024
1 parent 0722dd2 commit af7ed88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/Common/JSYSTEM/J2D.ts → src/Common/JSYSTEM/J2Dv1.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Nintendo 2D rendering, version 1. Used by Wind Waker.
// Twilight Princess (and likely newer titles), use J2D version 2.

import ArrayBufferSlice from "../../ArrayBufferSlice.js";
import { JSystemFileReaderHelper } from "./J3D/J3DLoader.js";
import { align, assert, readString } from "../../util.js";
Expand Down
2 changes: 1 addition & 1 deletion src/ZeldaWindWaker/d_place_name.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { J2DGrafContext, J2DPicture, J2DScreen } from "../Common/JSYSTEM/J2D.js";
import { J2DGrafContext, J2DPicture, J2DScreen } from "../Common/JSYSTEM/J2Dv1.js";
import { BTI, BTIData } from "../Common/JSYSTEM/JUTTexture.js";
import { GfxRenderInstManager } from "../gfx/render/GfxRenderInstManager.js";
import { ViewerRenderInput } from "../viewer.js";
Expand Down
2 changes: 1 addition & 1 deletion src/ZeldaWindWaker/d_resorce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { dGlobals } from "./Main.js";
import { cPhs__Status } from "./framework.js";
import { cBgD_t } from "./d_bg.js";
import { NamedArrayBufferSlice } from "../DataFetcher.js";
import { BLO, SCRN } from "../Common/JSYSTEM/J2D.js";
import { BLO, SCRN } from "../Common/JSYSTEM/J2Dv1.js";

export interface DZSChunkHeader {
type: string;
Expand Down

0 comments on commit af7ed88

Please sign in to comment.