@utsp/core 0.13.0-nightly.20251214163808.a699d8b → 0.13.0-nightly.20251217124509.36444f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/benchmark.cjs +10 -0
- package/dist/benchmark.d.ts +9112 -0
- package/dist/benchmark.mjs +10 -0
- package/dist/index.cjs +5 -5
- package/dist/index.d.ts +196 -45
- package/dist/index.mjs +5 -5
- package/package.json +30 -3
package/dist/index.d.ts
CHANGED
|
@@ -783,25 +783,7 @@ interface FillSpriteMultiColorOrder extends NetworkOrder {
|
|
|
783
783
|
type: 0x16;
|
|
784
784
|
spriteIndex: number;
|
|
785
785
|
}
|
|
786
|
-
|
|
787
|
-
* 0x20 - TriggerSound: Triggers positional sound effect
|
|
788
|
-
*/
|
|
789
|
-
interface TriggerSoundOrder extends NetworkOrder {
|
|
790
|
-
type: 0x20;
|
|
791
|
-
posX: number;
|
|
792
|
-
posY: number;
|
|
793
|
-
soundId: number;
|
|
794
|
-
loop: boolean;
|
|
795
|
-
}
|
|
796
|
-
/**
|
|
797
|
-
* 0x21 - TriggerGlobalSound: Triggers global (non-positional) sound
|
|
798
|
-
*/
|
|
799
|
-
interface TriggerGlobalSoundOrder extends NetworkOrder {
|
|
800
|
-
type: 0x21;
|
|
801
|
-
soundId: number;
|
|
802
|
-
loop: boolean;
|
|
803
|
-
}
|
|
804
|
-
type AnyNetworkOrder = CharOrder | TextOrder | TextMultilineOrder | SubFrameOrder | SubFrameMultiColorOrder | FullFrameOrder | FullFrameMultiColorOrder | SpriteOrder | SpriteMultiColorOrder | ColorMapOrder | ShapeOrder | DotCloudOrder | DotCloudMultiColorOrder | BitmaskOrder | Bitmask4Order | Bitmask16Order | PolylineOrder | SpriteCloudOrder | SpriteCloudMultiColorOrder | SpriteCloudVariedOrder | SpriteCloudVariedMultiColorOrder | ClearOrder | FillCharOrder | FillSpriteOrder | FillSpriteMultiColorOrder | TriggerSoundOrder | TriggerGlobalSoundOrder;
|
|
786
|
+
type AnyNetworkOrder = CharOrder | TextOrder | TextMultilineOrder | SubFrameOrder | SubFrameMultiColorOrder | FullFrameOrder | FullFrameMultiColorOrder | SpriteOrder | SpriteMultiColorOrder | ColorMapOrder | ShapeOrder | DotCloudOrder | DotCloudMultiColorOrder | BitmaskOrder | Bitmask4Order | Bitmask16Order | PolylineOrder | SpriteCloudOrder | SpriteCloudMultiColorOrder | SpriteCloudVariedOrder | SpriteCloudVariedMultiColorOrder | ClearOrder | FillCharOrder | FillSpriteOrder | FillSpriteMultiColorOrder;
|
|
805
787
|
|
|
806
788
|
/**
|
|
807
789
|
* UTSP Macro System Types
|
|
@@ -1530,9 +1512,22 @@ interface Color {
|
|
|
1530
1512
|
/**
|
|
1531
1513
|
* Color Palette Load (LoadType 0x01)
|
|
1532
1514
|
* Loads a palette of RGBA+E colors
|
|
1515
|
+
*
|
|
1516
|
+
* When slotId is provided, the palette is loaded into a named slot for later switching.
|
|
1517
|
+
* When slotId is undefined/absent, the palette is loaded as the main active palette.
|
|
1518
|
+
*
|
|
1519
|
+
* @example
|
|
1520
|
+
* ```typescript
|
|
1521
|
+
* // Main palette (backward compatible)
|
|
1522
|
+
* { loadType: LoadType.ColorPalette, colors: [...] }
|
|
1523
|
+
*
|
|
1524
|
+
* // Palette slot for dynamic switching
|
|
1525
|
+
* { loadType: LoadType.ColorPalette, slotId: 1, colors: [...] }
|
|
1526
|
+
* ```
|
|
1533
1527
|
*/
|
|
1534
1528
|
interface ColorPaletteLoad {
|
|
1535
1529
|
loadType: LoadType.ColorPalette;
|
|
1530
|
+
slotId?: number;
|
|
1536
1531
|
colors: Color[];
|
|
1537
1532
|
}
|
|
1538
1533
|
/**
|
|
@@ -2579,7 +2574,13 @@ declare enum PostProcessOrderType {
|
|
|
2579
2574
|
*
|
|
2580
2575
|
* Parameters: enabled, colorR?, colorG?, colorB?, colorA?, lineWidth?
|
|
2581
2576
|
*/
|
|
2582
|
-
SetGrid = 5
|
|
2577
|
+
SetGrid = 5,
|
|
2578
|
+
/**
|
|
2579
|
+
* 0x06 - SwitchPalette: Switch to a pre-loaded palette slot
|
|
2580
|
+
*
|
|
2581
|
+
* Parameters: slotId (0-255)
|
|
2582
|
+
*/
|
|
2583
|
+
SwitchPalette = 6
|
|
2583
2584
|
}
|
|
2584
2585
|
|
|
2585
2586
|
/**
|
|
@@ -2723,10 +2724,24 @@ interface SetGridOrder extends PostProcessOrderBase {
|
|
|
2723
2724
|
colorA: number;
|
|
2724
2725
|
lineWidth: number;
|
|
2725
2726
|
}
|
|
2727
|
+
/**
|
|
2728
|
+
* SwitchPalette Order (0x06)
|
|
2729
|
+
*
|
|
2730
|
+
* Switches to a pre-loaded palette slot.
|
|
2731
|
+
* The palette must have been loaded to the Core via loadPaletteToSlot() first.
|
|
2732
|
+
*
|
|
2733
|
+
* Binary format:
|
|
2734
|
+
* - type: 1 byte (0x06)
|
|
2735
|
+
* - slotId: 1 byte (0-255)
|
|
2736
|
+
*/
|
|
2737
|
+
interface SwitchPaletteOrder extends PostProcessOrderBase {
|
|
2738
|
+
type: PostProcessOrderType.SwitchPalette;
|
|
2739
|
+
slotId: number;
|
|
2740
|
+
}
|
|
2726
2741
|
/**
|
|
2727
2742
|
* Union type for all post-process orders
|
|
2728
2743
|
*/
|
|
2729
|
-
type AnyPostProcessOrder = SetConfigOrder | SetScanlinesOrder | SetAmbientEffectOrder | SetScalingModeOrder | SetGridOrder;
|
|
2744
|
+
type AnyPostProcessOrder = SetConfigOrder | SetScanlinesOrder | SetAmbientEffectOrder | SetScalingModeOrder | SetGridOrder | SwitchPaletteOrder;
|
|
2730
2745
|
|
|
2731
2746
|
/**
|
|
2732
2747
|
* Update packet according to the new UTSP protocol
|
|
@@ -2904,18 +2919,17 @@ declare class Layer {
|
|
|
2904
2919
|
getOrders(): AnyNetworkOrder[];
|
|
2905
2920
|
/**
|
|
2906
2921
|
* Adds orders to the layer (incremental mode)
|
|
2907
|
-
*
|
|
2922
|
+
* Re-rasterizes all orders to ensure consistent state
|
|
2908
2923
|
*/
|
|
2909
2924
|
addOrders(orders: AnyNetworkOrder[]): void;
|
|
2910
2925
|
/**
|
|
2911
2926
|
* Adds temporary orders that are rasterized but not stored
|
|
2912
2927
|
* Used for macro-generated content (particles, UI) that is regenerated each frame
|
|
2913
|
-
* Uses SET mode to clear previous content before drawing
|
|
2914
2928
|
*/
|
|
2915
2929
|
addTemporaryOrders(orders: AnyNetworkOrder[]): void;
|
|
2916
2930
|
/**
|
|
2917
2931
|
* Replaces all orders in the layer (reset mode)
|
|
2918
|
-
* Automatically rasterizes all orders
|
|
2932
|
+
* Automatically rasterizes all orders
|
|
2919
2933
|
*/
|
|
2920
2934
|
setOrders(orders: AnyNetworkOrder[]): void;
|
|
2921
2935
|
/**
|
|
@@ -5417,6 +5431,49 @@ declare class User<TData = Record<string, any>> {
|
|
|
5417
5431
|
* Get current grid configuration
|
|
5418
5432
|
*/
|
|
5419
5433
|
getGridConfig(): GridConfig | null;
|
|
5434
|
+
/** Currently active palette slot ID */
|
|
5435
|
+
private currentPaletteSlotId;
|
|
5436
|
+
/**
|
|
5437
|
+
* Switch to a pre-loaded palette slot
|
|
5438
|
+
*
|
|
5439
|
+
* The palette must have been loaded to the Core via `core.loadPaletteToSlot()` first.
|
|
5440
|
+
* This allows instant palette switching without re-sending palette data over the network.
|
|
5441
|
+
*
|
|
5442
|
+
* **Use cases:**
|
|
5443
|
+
* - Day/night cycle transitions
|
|
5444
|
+
* - Different visual themes per game zone
|
|
5445
|
+
* - Accessibility options (high contrast)
|
|
5446
|
+
* - Visual effects (damage flash, power-up)
|
|
5447
|
+
*
|
|
5448
|
+
* @param slotId - Palette slot ID (0-255)
|
|
5449
|
+
*
|
|
5450
|
+
* @example
|
|
5451
|
+
* ```typescript
|
|
5452
|
+
* // In Core setup - preload palettes
|
|
5453
|
+
* core.loadPaletteToSlot(0, dayPalette);
|
|
5454
|
+
* core.loadPaletteToSlot(1, nightPalette);
|
|
5455
|
+
* core.loadPaletteToSlot(2, dungeonPalette);
|
|
5456
|
+
*
|
|
5457
|
+
* // In IApplication.updateUser() - switch based on game state
|
|
5458
|
+
* if (gameState.isNight) {
|
|
5459
|
+
* user.switchPalette(1);
|
|
5460
|
+
* } else {
|
|
5461
|
+
* user.switchPalette(0);
|
|
5462
|
+
* }
|
|
5463
|
+
*
|
|
5464
|
+
* // Zone-based switching
|
|
5465
|
+
* if (player.enteredDungeon) {
|
|
5466
|
+
* user.switchPalette(2);
|
|
5467
|
+
* }
|
|
5468
|
+
* ```
|
|
5469
|
+
*/
|
|
5470
|
+
switchPalette(slotId: number): void;
|
|
5471
|
+
/**
|
|
5472
|
+
* Get the currently active palette slot ID
|
|
5473
|
+
*
|
|
5474
|
+
* @returns The active slot ID, or null if no palette has been switched yet
|
|
5475
|
+
*/
|
|
5476
|
+
getCurrentPaletteSlotId(): number | null;
|
|
5420
5477
|
/**
|
|
5421
5478
|
* Send data through the bridge channel to the client application
|
|
5422
5479
|
*
|
|
@@ -5963,6 +6020,7 @@ declare class Core {
|
|
|
5963
6020
|
private postProcessOrderCollector;
|
|
5964
6021
|
private activeWebFontId;
|
|
5965
6022
|
private _renderCallCount;
|
|
6023
|
+
private paletteSlots;
|
|
5966
6024
|
private onPaletteChangedCallback?;
|
|
5967
6025
|
private onBitmapFontChangedCallback?;
|
|
5968
6026
|
private onImageFontChangedCallback?;
|
|
@@ -6281,6 +6339,72 @@ declare class Core {
|
|
|
6281
6339
|
* ```
|
|
6282
6340
|
*/
|
|
6283
6341
|
resetPalette(): void;
|
|
6342
|
+
/**
|
|
6343
|
+
* Load a palette into a slot for later switching
|
|
6344
|
+
*
|
|
6345
|
+
* Palettes are stored in the Core and can be switched per-user at runtime.
|
|
6346
|
+
* This allows preloading multiple palettes (e.g., day/night themes)
|
|
6347
|
+
* and switching between them without re-sending the palette data.
|
|
6348
|
+
*
|
|
6349
|
+
* @param slotId - Slot ID (0-255)
|
|
6350
|
+
* @param colors - Array of colors to load
|
|
6351
|
+
*
|
|
6352
|
+
* @example
|
|
6353
|
+
* ```typescript
|
|
6354
|
+
* // Preload day and night palettes
|
|
6355
|
+
* core.loadPaletteToSlot(0, dayColors);
|
|
6356
|
+
* core.loadPaletteToSlot(1, nightColors);
|
|
6357
|
+
*
|
|
6358
|
+
* // Later, switch user to night palette
|
|
6359
|
+
* user.switchPalette(1);
|
|
6360
|
+
* ```
|
|
6361
|
+
*/
|
|
6362
|
+
loadPaletteToSlot(slotId: number, colors: Array<{
|
|
6363
|
+
colorId: number;
|
|
6364
|
+
r: number;
|
|
6365
|
+
g: number;
|
|
6366
|
+
b: number;
|
|
6367
|
+
a: number;
|
|
6368
|
+
e?: number;
|
|
6369
|
+
}>): void;
|
|
6370
|
+
/**
|
|
6371
|
+
* Get a palette from a slot
|
|
6372
|
+
*
|
|
6373
|
+
* @param slotId - Slot ID (0-255)
|
|
6374
|
+
* @returns The palette map, or null if slot is empty
|
|
6375
|
+
*
|
|
6376
|
+
* @example
|
|
6377
|
+
* ```typescript
|
|
6378
|
+
* const nightPalette = core.getPaletteFromSlot(1);
|
|
6379
|
+
* if (nightPalette) {
|
|
6380
|
+
* console.log(`Night palette has ${nightPalette.size} colors`);
|
|
6381
|
+
* }
|
|
6382
|
+
* ```
|
|
6383
|
+
*/
|
|
6384
|
+
getPaletteFromSlot(slotId: number): Map<number, {
|
|
6385
|
+
r: number;
|
|
6386
|
+
g: number;
|
|
6387
|
+
b: number;
|
|
6388
|
+
a: number;
|
|
6389
|
+
e: number;
|
|
6390
|
+
}> | null;
|
|
6391
|
+
/**
|
|
6392
|
+
* Check if a palette slot is loaded
|
|
6393
|
+
*
|
|
6394
|
+
* @param slotId - Slot ID (0-255)
|
|
6395
|
+
* @returns true if the slot has a palette loaded
|
|
6396
|
+
*/
|
|
6397
|
+
hasPaletteSlot(slotId: number): boolean;
|
|
6398
|
+
/**
|
|
6399
|
+
* Clear a palette slot
|
|
6400
|
+
*
|
|
6401
|
+
* @param slotId - Slot ID (0-255)
|
|
6402
|
+
*/
|
|
6403
|
+
clearPaletteSlot(slotId: number): void;
|
|
6404
|
+
/**
|
|
6405
|
+
* Clear all palette slots
|
|
6406
|
+
*/
|
|
6407
|
+
clearAllPaletteSlots(): void;
|
|
6284
6408
|
/**
|
|
6285
6409
|
* Converts a color ID to a CSS rgba() string
|
|
6286
6410
|
*
|
|
@@ -6585,6 +6709,40 @@ declare class Core {
|
|
|
6585
6709
|
* ```
|
|
6586
6710
|
*/
|
|
6587
6711
|
generatePaletteLoadPacket(): Uint8Array | null;
|
|
6712
|
+
/**
|
|
6713
|
+
* Generates a LoadPacket for a specific palette slot (SERVER-SIDE)
|
|
6714
|
+
*
|
|
6715
|
+
* Encodes a palette slot in binary format ready to send to clients.
|
|
6716
|
+
* The client will store this in its own paletteSlots Map for later switching.
|
|
6717
|
+
*
|
|
6718
|
+
* @param slotId - The slot ID (0-255)
|
|
6719
|
+
* @returns Encoded binary buffer (or null if slot doesn't exist)
|
|
6720
|
+
*
|
|
6721
|
+
* @example
|
|
6722
|
+
* ```typescript
|
|
6723
|
+
* // Server side - send specific palette slot
|
|
6724
|
+
* const slotPacket = core.generatePaletteSlotLoadPacket(1);
|
|
6725
|
+
* if (slotPacket) {
|
|
6726
|
+
* websocket.emit('load', slotPacket);
|
|
6727
|
+
* }
|
|
6728
|
+
* ```
|
|
6729
|
+
*/
|
|
6730
|
+
generatePaletteSlotLoadPacket(slotId: number): Uint8Array | null;
|
|
6731
|
+
/**
|
|
6732
|
+
* Generates LoadPackets for all palette slots (SERVER-SIDE)
|
|
6733
|
+
*
|
|
6734
|
+
* @returns Array of encoded binary buffers for all non-empty slots
|
|
6735
|
+
*
|
|
6736
|
+
* @example
|
|
6737
|
+
* ```typescript
|
|
6738
|
+
* // Server side - send all palette slots to client
|
|
6739
|
+
* const slotPackets = core.generateAllPaletteSlotLoadPackets();
|
|
6740
|
+
* slotPackets.forEach(packet => {
|
|
6741
|
+
* websocket.emit('load', packet);
|
|
6742
|
+
* });
|
|
6743
|
+
* ```
|
|
6744
|
+
*/
|
|
6745
|
+
generateAllPaletteSlotLoadPackets(): Uint8Array[];
|
|
6588
6746
|
/**
|
|
6589
6747
|
* Generates a LoadPacket for all unicolor sprites (SERVER-SIDE)
|
|
6590
6748
|
*
|
|
@@ -8410,8 +8568,6 @@ declare const CLEAR_ORDER_SIZE = 4;
|
|
|
8410
8568
|
declare const FILLCHAR_ORDER_MIN_SIZE = 5;
|
|
8411
8569
|
declare const FILLSPRITE_ORDER_SIZE = 4;
|
|
8412
8570
|
declare const FILLSPRITE_MULTICOLOR_ORDER_SIZE = 2;
|
|
8413
|
-
declare const TRIGGERSOUND_ORDER_SIZE = 5;
|
|
8414
|
-
declare const TRIGGERGLOBALSOUND_ORDER_SIZE = 3;
|
|
8415
8571
|
declare const AUDIO_PLAY_SOUND_MIN_SIZE = 5;
|
|
8416
8572
|
declare const AUDIO_PLAY_GLOBAL_SOUND_MIN_SIZE = 5;
|
|
8417
8573
|
declare const AUDIO_STOP_SOUND_MIN_SIZE = 2;
|
|
@@ -8426,6 +8582,7 @@ declare const POSTPROCESS_SET_SCANLINES_SIZE = 7;
|
|
|
8426
8582
|
declare const POSTPROCESS_SET_AMBIENT_EFFECT_SIZE = 5;
|
|
8427
8583
|
declare const POSTPROCESS_SET_SCALING_MODE_SIZE = 2;
|
|
8428
8584
|
declare const POSTPROCESS_SET_GRID_SIZE = 7;
|
|
8585
|
+
declare const POSTPROCESS_SWITCH_PALETTE_SIZE = 2;
|
|
8429
8586
|
|
|
8430
8587
|
/**
|
|
8431
8588
|
* UTSP Order Types Enumeration
|
|
@@ -8546,15 +8703,7 @@ declare enum OrderType {
|
|
|
8546
8703
|
/**
|
|
8547
8704
|
* 0x16 - FillSpriteMultiColor: Fills layer with repeating multicolor sprite
|
|
8548
8705
|
*/
|
|
8549
|
-
FillSpriteMultiColor = 22
|
|
8550
|
-
/**
|
|
8551
|
-
* 0x20 - TriggerSound: Triggers positional sound effect
|
|
8552
|
-
*/
|
|
8553
|
-
TriggerSound = 32,
|
|
8554
|
-
/**
|
|
8555
|
-
* 0x21 - TriggerGlobalSound: Triggers global (non-positional) sound
|
|
8556
|
-
*/
|
|
8557
|
-
TriggerGlobalSound = 33
|
|
8706
|
+
FillSpriteMultiColor = 22
|
|
8558
8707
|
}
|
|
8559
8708
|
/**
|
|
8560
8709
|
* Type guard to check if a number is a valid OrderType
|
|
@@ -8595,20 +8744,17 @@ declare enum UpdateFlags {
|
|
|
8595
8744
|
* Bit 1: SET Mode (vs ADD mode)
|
|
8596
8745
|
*
|
|
8597
8746
|
* Indicates the order rasterization mode:
|
|
8598
|
-
* - 1 = SET mode →
|
|
8599
|
-
* - 0 = ADD mode →
|
|
8600
|
-
*
|
|
8601
|
-
* Use cases:
|
|
8602
|
-
* - SET mode: layer.setOrders() - completely replaces content
|
|
8603
|
-
* - ADD mode: layer.addOrders() - adds to existing content
|
|
8747
|
+
* - 1 = SET mode → Client clears layer cache before applying orders
|
|
8748
|
+
* - 0 = ADD mode → Client adds orders to existing cache (deprecated, kept for compatibility)
|
|
8604
8749
|
*
|
|
8605
|
-
*
|
|
8750
|
+
* Note: The LayerRasterizer now always clears before rasterizing.
|
|
8751
|
+
* This flag is primarily for network protocol compatibility.
|
|
8606
8752
|
*
|
|
8607
8753
|
* @example
|
|
8608
8754
|
* layer.setOrders([...newOrders]); // SET mode
|
|
8609
8755
|
* // → UpdateFlags |= SetMode (0x02)
|
|
8610
8756
|
*
|
|
8611
|
-
* layer.addOrders([...moreOrders]); // ADD mode
|
|
8757
|
+
* layer.addOrders([...moreOrders]); // ADD mode (incremental update)
|
|
8612
8758
|
* // → UpdateFlags &= ~SetMode (bit 1 to 0)
|
|
8613
8759
|
*/
|
|
8614
8760
|
SetMode = 2,
|
|
@@ -9168,6 +9314,7 @@ declare class PostProcessOrderDecoder {
|
|
|
9168
9314
|
private decodeSetAmbientEffectOrder;
|
|
9169
9315
|
private decodeSetScalingModeOrder;
|
|
9170
9316
|
private decodeSetGridOrder;
|
|
9317
|
+
private decodeSwitchPaletteOrder;
|
|
9171
9318
|
}
|
|
9172
9319
|
|
|
9173
9320
|
/**
|
|
@@ -9242,11 +9389,15 @@ declare class PostProcessOrderCollector {
|
|
|
9242
9389
|
* Create a SetGridOrder with given grid configuration
|
|
9243
9390
|
*/
|
|
9244
9391
|
private createSetGridOrder;
|
|
9392
|
+
/**
|
|
9393
|
+
* Create a SwitchPaletteOrder with given slot ID
|
|
9394
|
+
*/
|
|
9395
|
+
private createSwitchPaletteOrder;
|
|
9245
9396
|
/**
|
|
9246
9397
|
* Parse CSS color string to RGBA components
|
|
9247
9398
|
*/
|
|
9248
9399
|
private parseColor;
|
|
9249
9400
|
}
|
|
9250
9401
|
|
|
9251
|
-
export { ASCII_8X8_FONT, AUDIO_CONFIGURE_SPATIAL_SIZE, AUDIO_FADEOUT_SOUND_MIN_SIZE, AUDIO_PAUSE_SOUND_MIN_SIZE, AUDIO_PLAY_GLOBAL_SOUND_MIN_SIZE, AUDIO_PLAY_SOUND_MIN_SIZE, AUDIO_RESUME_SOUND_MIN_SIZE, AUDIO_SET_LISTENER_POSITION_SIZE, AUDIO_SET_SOUND_EFFECTS_MIN_SIZE, AUDIO_STOP_SOUND_MIN_SIZE, AudioOrderCollector, AudioOrderDecoder, AudioOrderType, AudioTargetType, BITMASK16_ORDER_MIN_SIZE, BITMASK4_ORDER_MIN_SIZE, BITMASK_ORDER_MIN_SIZE, BitmapFont, BitmapFontRegistry, CHAR_ORDER_SIZE, CIRCLE_SHAPE_SIZE, CLEAR_ORDER_SIZE, COLORMAP_ORDER_MIN_SIZE, COLOR_SKIP, CellBuffer, CharCodeBuffer, Core, CoreStats, DISPLAY_HEADER_SIZE, DOTCLOUD_MULTICOLOR_ORDER_MIN_SIZE, DOTCLOUD_ORDER_MIN_SIZE, Display, ELLIPSE_SHAPE_SIZE, FILLCHAR_ORDER_MIN_SIZE, FILLSPRITE_MULTICOLOR_ORDER_SIZE, FILLSPRITE_ORDER_SIZE, FULLFRAME_MULTICOLOR_ORDER_MIN_SIZE, FULLFRAME_ORDER_MIN_SIZE, FontType, GamepadVibrateFlags, ImageFont, ImageFontRegistry, InputBindingRegistry, LAYER_CELL_COUNT, LAYER_HEADER_SIZE, LAYER_SIZE, LINE_SHAPE_SIZE, Layer, LoadType, MacroEngine, MacroEventType, MacroOrderType, MacroRegistry, MobileVibrateFlags, OrderBuilder, OrderType, POLYLINE_ORDER_MIN_SIZE, POSTPROCESS_SET_AMBIENT_EFFECT_SIZE, POSTPROCESS_SET_CONFIG_MIN_SIZE, POSTPROCESS_SET_GRID_SIZE, POSTPROCESS_SET_SCALING_MODE_SIZE, POSTPROCESS_SET_SCANLINES_SIZE, PlaySoundFlags, PostProcessOrderCollector, PostProcessOrderDecoder, PostProcessOrderType, RECTANGLE_SHAPE_SIZE, SHAPE_ORDER_MIN_SIZE, SPRITECLOUD_MULTICOLOR_ORDER_MIN_SIZE, SPRITECLOUD_ORDER_MIN_SIZE, SPRITECLOUD_VARIED_MULTICOLOR_ORDER_MIN_SIZE, SPRITECLOUD_VARIED_ORDER_MIN_SIZE, SPRITE_MULTICOLOR_ORDER_SIZE, SPRITE_ORDER_SIZE, SUBFRAME_MULTICOLOR_ORDER_MIN_SIZE, SUBFRAME_ORDER_MIN_SIZE, ShapeType, SoundEffectsFlags, SoundRegistry, SpriteRegistry, TEXT_MULTILINE_ORDER_MIN_SIZE, TEXT_ORDER_MIN_SIZE, TRIANGLE_SHAPE_SIZE,
|
|
9252
|
-
export type { AnyAudioOrder, AnyLoad, AnyMacroEvent, AnyMacroOrder, AnyPostProcessOrder, AnyVibrationOrder, AtlasBlocks, AudioOrder, BitmapFontConfig, BitmapFontLoad, Bitmask16Order, Bitmask16Variant, Bitmask4Order, Bitmask4Variant, BitmaskOrder, ButtonBorderStyle, ButtonConfig, ButtonStateColors, Cell, ChangeEvent, CharCodeMode, CircleShape, ClickEvent, Color, ColorPaletteLoad, CompressedInputPacket, ConfigureSpatialOrder, CoreMode, CoreOptions, CreateInstanceConfig, CreateInstanceOrder, EffectMacroTemplate, EffectTransform, EllipseShape, FadeOutSoundOrder, GamepadCancelOrder, GamepadVibrateOrder, GamepadVibrationOrder, GlyphSize, ImageFontConfig, ImageFontLoad, ImageFontOptions, LineMacroTemplate, LineShape, MacroEntry, MacroEvent, MacroInstanceEntry, MacroLoad, MacroOrder, MacroTemplate, MacroTemplateBase, MacroType, MacroUpdateResult, MobileCancelOrder, MobileVibrateOrder, MobileVibrationOrder, MulticolorCell, MulticolorSprite, MulticolorSpriteLoad, NetworkDisplay, NetworkLayer, ParticleConfig, ParticleEmitter, ParticleMacroTemplate, PauseSoundOrder, PlayGlobalSoundOrder, PlaySoundOrder, RectangleShape, RemoveInstanceOrder, RenderCommand, ResumeSoundOrder, RevealCellDef, RevealContent, RevealContentType, RevealCursor, RevealDirection, RevealMacroTemplate, RevealPattern, RevealPause, SelectEvent, SetAmbientEffectOrder, SetConfigOrder, SetGridOrder, SetListenerPositionOrder, SetScalingModeOrder, SetScanlinesOrder, SetSoundEffectsOrder, ShapeData, SoundEntry, SoundLoad, SpriteLoad, StopSoundOrder, SubmitEvent, TickStats, TriangleShape, UIMacroTemplate, UIState, UISubtype, UnicolorSprite, UpdateInstanceOrder, UpdatePacket, UserTickStats, VibrationOrder, WebFontConfig, WebFontLoad };
|
|
9402
|
+
export { ASCII_8X8_FONT, AUDIO_CONFIGURE_SPATIAL_SIZE, AUDIO_FADEOUT_SOUND_MIN_SIZE, AUDIO_PAUSE_SOUND_MIN_SIZE, AUDIO_PLAY_GLOBAL_SOUND_MIN_SIZE, AUDIO_PLAY_SOUND_MIN_SIZE, AUDIO_RESUME_SOUND_MIN_SIZE, AUDIO_SET_LISTENER_POSITION_SIZE, AUDIO_SET_SOUND_EFFECTS_MIN_SIZE, AUDIO_STOP_SOUND_MIN_SIZE, AudioOrderCollector, AudioOrderDecoder, AudioOrderType, AudioTargetType, BITMASK16_ORDER_MIN_SIZE, BITMASK4_ORDER_MIN_SIZE, BITMASK_ORDER_MIN_SIZE, BitmapFont, BitmapFontRegistry, CHAR_ORDER_SIZE, CIRCLE_SHAPE_SIZE, CLEAR_ORDER_SIZE, COLORMAP_ORDER_MIN_SIZE, COLOR_SKIP, CellBuffer, CharCodeBuffer, Core, CoreStats, DISPLAY_HEADER_SIZE, DOTCLOUD_MULTICOLOR_ORDER_MIN_SIZE, DOTCLOUD_ORDER_MIN_SIZE, Display, ELLIPSE_SHAPE_SIZE, FILLCHAR_ORDER_MIN_SIZE, FILLSPRITE_MULTICOLOR_ORDER_SIZE, FILLSPRITE_ORDER_SIZE, FULLFRAME_MULTICOLOR_ORDER_MIN_SIZE, FULLFRAME_ORDER_MIN_SIZE, FontType, GamepadVibrateFlags, ImageFont, ImageFontRegistry, InputBindingRegistry, LAYER_CELL_COUNT, LAYER_HEADER_SIZE, LAYER_SIZE, LINE_SHAPE_SIZE, Layer, LoadType, MacroEngine, MacroEventType, MacroOrderType, MacroRegistry, MobileVibrateFlags, OrderBuilder, OrderType, POLYLINE_ORDER_MIN_SIZE, POSTPROCESS_SET_AMBIENT_EFFECT_SIZE, POSTPROCESS_SET_CONFIG_MIN_SIZE, POSTPROCESS_SET_GRID_SIZE, POSTPROCESS_SET_SCALING_MODE_SIZE, POSTPROCESS_SET_SCANLINES_SIZE, POSTPROCESS_SWITCH_PALETTE_SIZE, PlaySoundFlags, PostProcessOrderCollector, PostProcessOrderDecoder, PostProcessOrderType, RECTANGLE_SHAPE_SIZE, SHAPE_ORDER_MIN_SIZE, SPRITECLOUD_MULTICOLOR_ORDER_MIN_SIZE, SPRITECLOUD_ORDER_MIN_SIZE, SPRITECLOUD_VARIED_MULTICOLOR_ORDER_MIN_SIZE, SPRITECLOUD_VARIED_ORDER_MIN_SIZE, SPRITE_MULTICOLOR_ORDER_SIZE, SPRITE_ORDER_SIZE, SUBFRAME_MULTICOLOR_ORDER_MIN_SIZE, SUBFRAME_ORDER_MIN_SIZE, ShapeType, SoundEffectsFlags, SoundRegistry, SpriteRegistry, TEXT_MULTILINE_ORDER_MIN_SIZE, TEXT_ORDER_MIN_SIZE, TRIANGLE_SHAPE_SIZE, UPDATE_PACKET_HEADER_SIZE, UpdateFlags, UpdateFlagsHelper, UpdatePacketDecoder, User, UserStats, VibrationOrderCollector, VibrationOrderDecoder, VibrationOrderEncoder, VibrationOrderType, WebFont, WebFontRegistry, charCodeByteSize, createASCII8x8FontLoad, createEmptyCompressedInputPacket, decodeCompressedInput, decodeInt8ToAxis, encodeAxisToInt8, encodeCompressedInput, getASCII8x8FontConfig, getAllCharCodes, getAtlasColumns, getAtlasDimensions, getAudioOrderTypeName, getButtonByteCount, getCharBitmap, getCompressedPacketSize, getMacroEventTypeName, getMacroOrderTypeName, getMaxCharCode, getOrderTypeName, hasChar, isValidAudioOrderType, isValidMacroEventType, isValidMacroOrderType, isValidOrderType };
|
|
9403
|
+
export type { AnyAudioOrder, AnyLoad, AnyMacroEvent, AnyMacroOrder, AnyPostProcessOrder, AnyVibrationOrder, AtlasBlocks, AudioOrder, BitmapFontConfig, BitmapFontLoad, Bitmask16Order, Bitmask16Variant, Bitmask4Order, Bitmask4Variant, BitmaskOrder, ButtonBorderStyle, ButtonConfig, ButtonStateColors, Cell, ChangeEvent, CharCodeMode, CircleShape, ClickEvent, Color, ColorPaletteLoad, CompressedInputPacket, ConfigureSpatialOrder, CoreMode, CoreOptions, CreateInstanceConfig, CreateInstanceOrder, EffectMacroTemplate, EffectTransform, EllipseShape, FadeOutSoundOrder, GamepadCancelOrder, GamepadVibrateOrder, GamepadVibrationOrder, GlyphSize, ImageFontConfig, ImageFontLoad, ImageFontOptions, LineMacroTemplate, LineShape, MacroEntry, MacroEvent, MacroInstanceEntry, MacroLoad, MacroOrder, MacroTemplate, MacroTemplateBase, MacroType, MacroUpdateResult, MobileCancelOrder, MobileVibrateOrder, MobileVibrationOrder, MulticolorCell, MulticolorSprite, MulticolorSpriteLoad, NetworkDisplay, NetworkLayer, ParticleConfig, ParticleEmitter, ParticleMacroTemplate, PauseSoundOrder, PlayGlobalSoundOrder, PlaySoundOrder, RectangleShape, RemoveInstanceOrder, RenderCommand, ResumeSoundOrder, RevealCellDef, RevealContent, RevealContentType, RevealCursor, RevealDirection, RevealMacroTemplate, RevealPattern, RevealPause, SelectEvent, SetAmbientEffectOrder, SetConfigOrder, SetGridOrder, SetListenerPositionOrder, SetScalingModeOrder, SetScanlinesOrder, SetSoundEffectsOrder, ShapeData, SoundEntry, SoundLoad, SpriteLoad, StopSoundOrder, SubmitEvent, SwitchPaletteOrder, TickStats, TriangleShape, UIMacroTemplate, UIState, UISubtype, UnicolorSprite, UpdateInstanceOrder, UpdatePacket, UserTickStats, VibrationOrder, WebFontConfig, WebFontLoad };
|