Repository navigation
maggie.library function reference, checked against the source - #21
Merged
Merged
Conversation
The golden source (github.com/RMortenB/MaggieLibrary) is unchanged since commit 64c78ef, which os/libraries/maggie-library.md already describes. Add os/libraries/maggie-library-functions.md: every function with its argument registers, the constants, and where MaggieLibrary_API.md differs from the source (magScissor takes corners, not width and height; MAG_LIGHT_AMBIENT exists; two copied parameter descriptions). Fix the magScissor description in maggie-library.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WDrijver
added a commit
that referenced
this pull request
Nov 4, 2026
ApolloCrossDev #20 renamed SAGAPiP to ApolloPiP, #21 fixed ApolloLoadPointer (result code, 24-bit, BMP freed). Cite commit ad7f0b4, rename the example everywhere (also in the SAGA register converter, and regenerate), simplify the pointer example to use the result code, and add the ApolloLoadPointer fixes to the ApolloLib files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Processes maggie.library from its golden source, github.com/RMortenB/MaggieLibrary.
State of the source
The repository's HEAD is still commit 64c78ef (2026-08-18), the commit
os/libraries/maggie-library.md(TuKo1982) was written from. So this is a check and an addition, not an update.New:
os/libraries/maggie-library-functions.mdmaggie.fd), grouped as in the API document: context, scene, state, matrices, drawing, immediate mode, buffers and textures, clearing, lighting.MAG_LIGHT_AMBIENT, and the clear and texture formats.MaggieLibrary_API.mddiffers from the source:magScissor(x, y, width, height); "x/y >$7fffclamps to 0"magScissor(x0, y0, x1, y1): two inclusive corners; onlyx1/y1are clamped (the< 0tests onUWORDnever fire)MAG_LIGHT_AMBIENTMAG_LIGHT_AMBIENT= 4, used by three samplesmagUploadVertexColours: "float uvw triplets"ULONGcoloursmagUploadIndexBufferparameters named like the vertex uploadiBuffer,indx,startIndx,nIndxChanged:
os/libraries/maggie-library.mdmagScissor(x, y, w, h), following the API document; now it says two corners, as the source does.Knowledge base files relied on
os/libraries/maggie-library.mdos/pitfalls/maggie-library-side-effects.md🤖 Generated with Claude Code