Vdp2/rotation param b - #137
Open
seven-shades wants to merge 9 commits into
Open
Conversation
-ClearVRAM() : Added optional param to disable clearing palettes. -LoadTilemap()/LoadBitmap(): Added optional param to disable auto loading palettes
Merge from main
ReyeMe
requested changes
Jul 31, 2026
| // Initializes gouraud table work area | ||
| SRL::Scene3D::LightInitGouraudTable(0, vertWork, workTable, polygons); | ||
|
|
||
| int main() | ||
| { | ||
| SRL::Core::Initialize(HighColor(20,10,50)); | ||
| Digital port0(0); // Initialize gamepad on port 0 |
| // Check that requested page indicies exist in this map: | ||
| if (!this->mapData || sourcePage >= this->numPages || destPage >= numPages) | ||
| { | ||
| { |
| if (info.PlaneSize == PL_SIZE_2x2) page_sz <<= 2; | ||
| else if (info.PlaneSize == PL_SIZE_2x1) page_sz <<= 1; | ||
|
|
||
| //if(info.MapByteSize)sz = info.MapByteSize; |
| inline static CRAM::Palette TilePaletteB = CRAM::Palette(); | ||
|
|
||
|
|
||
| void* SetCellAddress(void* address, int size, VDP2::RotationParameter param =VDP2::RotationParameter::Primary) |
Owner
There was a problem hiding this comment.
missing documentation, remove multiple empty lines above, keep only single empty line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-Added SRL Wrapper support for Rotation Parameter B in the RBG0 interface:
-Overloads for RBG0 loading functions allow loading 2 tilemaps where the secondary displays with Parameter B.
-Config for Parameter B can be made by specifying the enum RotationParameter::Secondary in the overloads.
-Added Functionality in the ScrollScreen Interface to Register any ScrollScreen to display the ASCII Scroll.
-Added Additional Sample demonstrating loading and switching fonts on the ASCII Scroll.
-Added Additional Sample demonstrating use of Both Rotation Parameters on RBG0.
-Additional changes to documentation and VDP2 samples.