events
parent
7f9b8117ed
commit
cc23abed64
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
||||||
var __DATE__ = "Thu Nov 23 2017 09:50:09 GMT+0100 (CET)";
|
var __DATE__ = "Fri Nov 24 2017 11:19:24 GMT+0100 (CET)";
|
||||||
// END COMPILE TIME DEFINITIONS
|
// END COMPILE TIME DEFINITIONS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -97,7 +97,7 @@ GameLib.Event.COMPONENT_CLONED = 0xf;
|
||||||
GameLib.Event.TEXTURE_ANIMATED_CHANGE = 0x10;
|
GameLib.Event.TEXTURE_ANIMATED_CHANGE = 0x10;
|
||||||
GameLib.Event.ANIMATE_TEXTURE_INSTANCE = 0x11;
|
GameLib.Event.ANIMATE_TEXTURE_INSTANCE = 0x11;
|
||||||
GameLib.Event.REMOVE_PARTICLE_ENGINE = 0x12;
|
GameLib.Event.REMOVE_PARTICLE_ENGINE = 0x12;
|
||||||
GameLib.Event.GAME_PAUSE = 0x13;
|
GameLib.Event.GAME_PAUSE = 0x13;
|
||||||
GameLib.Event.TEXTURE_INSTANCE_UPDATED = 0x14;
|
GameLib.Event.TEXTURE_INSTANCE_UPDATED = 0x14;
|
||||||
GameLib.Event.PLAY_AUDIO = 0x15;
|
GameLib.Event.PLAY_AUDIO = 0x15;
|
||||||
GameLib.Event.MATERIAL_INSTANCE_UPDATED = 0x16;
|
GameLib.Event.MATERIAL_INSTANCE_UPDATED = 0x16;
|
||||||
|
@ -180,6 +180,10 @@ GameLib.Event.GAME_DATA = 0x62;
|
||||||
GameLib.Event.PAUSE_ALL_AUDIO = 0x63;
|
GameLib.Event.PAUSE_ALL_AUDIO = 0x63;
|
||||||
GameLib.Event.CONTINUE_ALL_AUDIO = 0x64;
|
GameLib.Event.CONTINUE_ALL_AUDIO = 0x64;
|
||||||
GameLib.Event.MUTE_AUDIO = 0x65;
|
GameLib.Event.MUTE_AUDIO = 0x65;
|
||||||
|
GameLib.Event.GAME_STARTED = 0x66;
|
||||||
|
GameLib.Event.GAME_PAUSED = 0x67;
|
||||||
|
GameLib.Event.GAME_RESUMED = 0x68;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns string name of event ID
|
* Returns string name of event ID
|
||||||
|
@ -291,6 +295,9 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x63 : return 'pause_all_audio';
|
case 0x63 : return 'pause_all_audio';
|
||||||
case 0x64 : return 'continue_all_audio';
|
case 0x64 : return 'continue_all_audio';
|
||||||
case 0x65 : return 'mute_audio';
|
case 0x65 : return 'mute_audio';
|
||||||
|
case 0x66 : return 'game_started';
|
||||||
|
case 0x67 : return 'game_paused';
|
||||||
|
case 0x68 : return 'game_resumed';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32433,6 +32440,10 @@ GameLib.Vector4.prototype.toApiObject = function() {
|
||||||
|
|
||||||
GameLib.EntityManager.Instance = new GameLib.EntityManager();
|
GameLib.EntityManager.Instance = new GameLib.EntityManager();
|
||||||
|
|
||||||
|
if (window) {
|
||||||
|
window.GameLib = GameLib;
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof module !== 'undefined') {
|
if (typeof module !== 'undefined') {
|
||||||
module.exports = GameLib;
|
module.exports = GameLib;
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,6 +117,9 @@ GameLib.Event.PAUSE_ALL_AUDIO = 0x63;
|
||||||
GameLib.Event.CONTINUE_ALL_AUDIO = 0x64;
|
GameLib.Event.CONTINUE_ALL_AUDIO = 0x64;
|
||||||
GameLib.Event.MUTE_AUDIO = 0x65;
|
GameLib.Event.MUTE_AUDIO = 0x65;
|
||||||
GameLib.Event.GAME_STARTED = 0x66;
|
GameLib.Event.GAME_STARTED = 0x66;
|
||||||
|
GameLib.Event.GAME_PAUSED = 0x67;
|
||||||
|
GameLib.Event.GAME_RESUMED = 0x68;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns string name of event ID
|
* Returns string name of event ID
|
||||||
|
@ -229,6 +232,8 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x64 : return 'continue_all_audio';
|
case 0x64 : return 'continue_all_audio';
|
||||||
case 0x65 : return 'mute_audio';
|
case 0x65 : return 'mute_audio';
|
||||||
case 0x66 : return 'game_started';
|
case 0x66 : return 'game_started';
|
||||||
|
case 0x67 : return 'game_paused';
|
||||||
|
case 0x68 : return 'game_resumed';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue