Test sprite from script

This commit is contained in:
2026-06-02 09:32:07 -05:00
parent 57766a9104
commit a25871a849
38 changed files with 1913 additions and 377 deletions
+27
View File
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2026 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
/** Runtime platform detection. */
interface SystemNamespace {
/**
* Numeric identifier for the current platform.
* Compare against the `System.PLATFORM_*` constants.
*
* @example
* if (System.platform === System.PLATFORM_PSP) { useLowResAssets(); }
*/
readonly platform: number;
readonly PLATFORM_LINUX: number;
readonly PLATFORM_KNULLI: number;
readonly PLATFORM_PSP: number;
readonly PLATFORM_GAMECUBE: number;
readonly PLATFORM_WII: number;
}
/** Platform detection and system-level information. */
declare var System: SystemNamespace;