Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

J2D: Implement JSystem 2D rendering library, use it display Wind Waker place names #735

Merged
merged 35 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f43b3de
Add name to dDemo_manager_c enabling logic based on specific demos
themikelester Dec 10, 2024
9903280
Starting point for Placename implementation
themikelester Dec 10, 2024
2711dab
Fix duplicate d_place_name creations, and Outset Island bti location
themikelester Dec 11, 2024
e3c106e
JSystem: Add J2D.ts. Implemented loaders for SCRN, PIC1, and PAN1
themikelester Dec 11, 2024
1564c36
Wind Waker: Add automatic parsing of BLO (2D UI) data types
themikelester Dec 11, 2024
5e19797
J2D: Adding starting point of J2DPane and J2DPicture
themikelester Dec 11, 2024
15a9f3a
Hackily render place names. A good starting point.
themikelester Dec 11, 2024
d3035dc
J2D: Child panes correctly inherit their parents translation
themikelester Dec 12, 2024
44c4af2
J2D: Handle UV binding
themikelester Dec 12, 2024
a6eb5ea
J2DPicture: GX modes now consistent with original
themikelester Dec 12, 2024
1c487ce
Fix place name constantly being created when at place 0 (Outset Island)
themikelester Dec 12, 2024
6901b77
J2DPicture: Alpha is now computed correctly as texApha * vertAlpha * …
themikelester Dec 12, 2024
88964c1
J2D: Formatting
themikelester Dec 12, 2024
5e5feea
Added `fopMsgM_` functionality to framework.ts, similar to `fopKyM_`
themikelester Dec 12, 2024
3d096f9
Place names now fade in and out
themikelester Dec 12, 2024
48c210b
J2DPicture: Clean up UVBinding and texture setting
themikelester Dec 12, 2024
03e2d6d
J2D: Handle Y-coordinate flip in ortho matrix. Gamecube origin is top…
themikelester Dec 12, 2024
848cbb5
Use === and !=== instead of == and !=
themikelester Dec 12, 2024
9b13303
J2D: Handle non 4:3 aspect ratios
themikelester Dec 12, 2024
cad71e2
Formatting
themikelester Dec 12, 2024
498aa78
Render place names into the UI render list so they appear on top
themikelester Dec 12, 2024
163fe5c
Fix bug where alpha could exceed 0xFF and wrap back to near 0
themikelester Dec 12, 2024
2ac88b9
J2D: Reorganizing and cleanup
themikelester Dec 12, 2024
1278d8a
PlaceName: Remove old code, cleanup
themikelester Dec 12, 2024
a6fbf24
J2D: Implement J2DScreen
themikelester Dec 12, 2024
fcd760f
PlaceName: Fill out Placename enum, support 2 digit ids
themikelester Dec 12, 2024
7924a31
Cleanup unused imports, add missing private designator
themikelester Dec 12, 2024
f77f4b1
Update `J2Pane.drawSelf()` comment to be more clear
themikelester Dec 15, 2024
0722dd2
Rename `updatePlaceName` to `dPn__update()`
themikelester Dec 15, 2024
af7ed88
Rename `J2D.ts` to `J2Dv1.ts` and add comment explaining v1 vs v2
themikelester Dec 15, 2024
f55e4f3
J2D: Add `| null` to optional member
themikelester Dec 15, 2024
32023a1
Merge branch 'placename' of https://github.com/magcius/noclip.website…
themikelester Dec 15, 2024
d6cc875
J2D: Fix ortho convention to match original, fix J2DPicture vert data…
themikelester Dec 16, 2024
90ea8ae
J2D: Setup J2DGrafContext's ortho matrix similar to original (640x480)
themikelester Dec 16, 2024
bb53e8c
J2DScreen: Don't use static members to avoid leaking memory between s…
themikelester Dec 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading