Skip to content

GLSL code highlighting, audio_emitter_free force-stops sounds, endianness of buffer numbers reading/writing, built-in directory variables#368

Merged
gurpreetsinghmatharoo merged 16 commits intodevelopfrom
develop.bart
Feb 13, 2026
Merged

GLSL code highlighting, audio_emitter_free force-stops sounds, endianness of buffer numbers reading/writing, built-in directory variables#368
gurpreetsinghmatharoo merged 16 commits intodevelopfrom
develop.bart

Conversation

@YYBartT
Copy link
Collaborator

@YYBartT YYBartT commented Feb 9, 2026

… played on it

YoYoGames/GameMaker-Bugs#13759

* On the audio_emitter_free() page:
  * Added that sound instances playing on an emitter are force-stopped when the emitter is freed
  * Inserted the RoboHelp "note" snippet that links to the Audio Playback Ended event
* On the Audio Playback Ended event page:
  * Fixed the image cursor style on the Audio Playback Ended event page
  * Added the freeing of an emitter as another reason a sound is force-stopped
… themselves as "functions" that "return"

YoYoGames/GameMaker-Bugs#13888

* Fixed the descriptions on all four pages
* Updated the remaining Back & Next links to use cross-references
… themselves as "functions" that "return"

YoYoGames/GameMaker-Bugs#13888

* Small change to working_directory description
YoYoGames/GameMaker-Bugs#13862

* Added GLSL language definition with changes and additions for the manual:
  * Functions moved under 'function.title'
  * Fix for single-line comments also commenting out subsequent lines
  * Vector property highlighting and swizzling
* Added styling to CSS: type, function, built-in, property (all for GLSL)
* Main script:
  * Import and register GLSL language definition
  * Small changes for better readability
  * Auto-detected languages left at GML only:
    * Code blocks that keep class="code" always get tagged "language-gml" by the highligher's auto-detection
    * Code blocks with class="code language-glsl" keep the explicit GLSL class
    * => Only GLSL "code" paragraphs need an explicit class, others are treated as GML
YoYoGames/GameMaker-Bugs#13862

Needed to make sure the file is included in the output generated by RoboHelp
("gml.js" was already listed)
YoYoGames/GameMaker-Bugs#13872

* Added a note about the endianness to the RH snippet used on the buffer_read() and buffer_write() pages
* Added a note to the Watches page (under "Buffers") to mention you can change to 1-byte Integer to see the exact order of bytes
…turegroup_get_* functions

YoYoGames/GameMaker-Bugs#13378

Also changed param name "tex" -> "tex_id" for consistency between the functions
…te its "instances" array, even in live mode

YoYoGames/GameMaker-Bugs#13362

* Added that the "instances" array holds the information from storage and the "layers" array holds "live" instances
* Updated the description of the third code example accordingly and also changed the "rom_" prefix to "rm_"
@gurpreetsinghmatharoo gurpreetsinghmatharoo merged commit c39dcba into develop Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants