Game score fix (#543)
* guard against spurious 'add score' animations * don't render sprites while background animation * switch to bw while doing score animation * clean up display mode * updated enum declarations
This commit is contained in:
		
							
								
								
									
										8
									
								
								libs/devices/enums.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								libs/devices/enums.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -1,7 +1,7 @@
 | 
			
		||||
// Auto-generated. Do not edit.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    declare enum MesCameraEvent {
 | 
			
		||||
    declare const enum MesCameraEvent {
 | 
			
		||||
    //% block="take photo"
 | 
			
		||||
    TakePhoto = 3,  // MES_CAMERA_EVT_TAKE_PHOTO
 | 
			
		||||
    //% block="start video capture"
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    declare enum MesAlertEvent {
 | 
			
		||||
    declare const enum MesAlertEvent {
 | 
			
		||||
    //% block="display toast"
 | 
			
		||||
    DisplayToast = 1,  // MES_ALERT_EVT_DISPLAY_TOAST
 | 
			
		||||
    //% block="vibrate"
 | 
			
		||||
@@ -47,7 +47,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    declare enum MesDeviceInfo {
 | 
			
		||||
    declare const enum MesDeviceInfo {
 | 
			
		||||
    //% block="incoming call"
 | 
			
		||||
    IncomingCall = 7,  // MES_DEVICE_INCOMING_CALL
 | 
			
		||||
    //% block="incoming message"
 | 
			
		||||
@@ -65,7 +65,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    declare enum MesRemoteControlEvent {
 | 
			
		||||
    declare const enum MesRemoteControlEvent {
 | 
			
		||||
    //% block="play"
 | 
			
		||||
    play = 1,  // MES_REMOTE_CONTROL_EVT_PLAY
 | 
			
		||||
    //% block="pause"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user