custom game start
parent
cc23abed64
commit
1b7a2efaf4
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__ = "Fri Nov 24 2017 11:19:24 GMT+0100 (CET)";
|
var __DATE__ = "Fri Nov 24 2017 13:02:07 GMT+0100 (CET)";
|
||||||
// END COMPILE TIME DEFINITIONS
|
// END COMPILE TIME DEFINITIONS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -168,7 +168,7 @@ GameLib.Event.FONT_NOT_FOUND = 0x56;
|
||||||
GameLib.Event.STOP_ALL_AUDIO = 0x57;
|
GameLib.Event.STOP_ALL_AUDIO = 0x57;
|
||||||
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
|
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
|
||||||
GameLib.Event.GAME_LOADED = 0x59;
|
GameLib.Event.GAME_LOADED = 0x59;
|
||||||
GameLib.Event.GAME_RESTART = 0x5a;
|
//GameLib.Event.GAME_RESTART = 0x5a;
|
||||||
GameLib.Event.LOAD_PROGRESS = 0x5b;
|
GameLib.Event.LOAD_PROGRESS = 0x5b;
|
||||||
GameLib.Event.ENTITY_LOADED = 0x5c;
|
GameLib.Event.ENTITY_LOADED = 0x5c;
|
||||||
GameLib.Event.MOUSE_DOWN = 0x5d;
|
GameLib.Event.MOUSE_DOWN = 0x5d;
|
||||||
|
@ -183,6 +183,9 @@ GameLib.Event.MUTE_AUDIO = 0x65;
|
||||||
GameLib.Event.GAME_STARTED = 0x66;
|
GameLib.Event.GAME_STARTED = 0x66;
|
||||||
GameLib.Event.GAME_PAUSED = 0x67;
|
GameLib.Event.GAME_PAUSED = 0x67;
|
||||||
GameLib.Event.GAME_RESUMED = 0x68;
|
GameLib.Event.GAME_RESUMED = 0x68;
|
||||||
|
GameLib.Event.CUSTOM_GAME_START = 0x69;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -283,7 +286,7 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x57 : return 'stop_all_audio';
|
case 0x57 : return 'stop_all_audio';
|
||||||
case 0x58 : return 'register_dependencies';
|
case 0x58 : return 'register_dependencies';
|
||||||
case 0x59 : return 'game_loaded';
|
case 0x59 : return 'game_loaded';
|
||||||
case 0x5a : return 'game_restart';
|
case 0x5a : return 'unused';//'game_restart';
|
||||||
case 0x5b : return 'load_progress';
|
case 0x5b : return 'load_progress';
|
||||||
case 0x5c : return 'entity_loaded';
|
case 0x5c : return 'entity_loaded';
|
||||||
case 0x5d : return 'mouse_down';
|
case 0x5d : return 'mouse_down';
|
||||||
|
@ -298,6 +301,7 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x66 : return 'game_started';
|
case 0x66 : return 'game_started';
|
||||||
case 0x67 : return 'game_paused';
|
case 0x67 : return 'game_paused';
|
||||||
case 0x68 : return 'game_resumed';
|
case 0x68 : return 'game_resumed';
|
||||||
|
case 0x69 : return 'custom_game_start';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ GameLib.Event.FONT_NOT_FOUND = 0x56;
|
||||||
GameLib.Event.STOP_ALL_AUDIO = 0x57;
|
GameLib.Event.STOP_ALL_AUDIO = 0x57;
|
||||||
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
|
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
|
||||||
GameLib.Event.GAME_LOADED = 0x59;
|
GameLib.Event.GAME_LOADED = 0x59;
|
||||||
GameLib.Event.GAME_RESTART = 0x5a;
|
//GameLib.Event.GAME_RESTART = 0x5a;
|
||||||
GameLib.Event.LOAD_PROGRESS = 0x5b;
|
GameLib.Event.LOAD_PROGRESS = 0x5b;
|
||||||
GameLib.Event.ENTITY_LOADED = 0x5c;
|
GameLib.Event.ENTITY_LOADED = 0x5c;
|
||||||
GameLib.Event.MOUSE_DOWN = 0x5d;
|
GameLib.Event.MOUSE_DOWN = 0x5d;
|
||||||
|
@ -119,6 +119,9 @@ GameLib.Event.MUTE_AUDIO = 0x65;
|
||||||
GameLib.Event.GAME_STARTED = 0x66;
|
GameLib.Event.GAME_STARTED = 0x66;
|
||||||
GameLib.Event.GAME_PAUSED = 0x67;
|
GameLib.Event.GAME_PAUSED = 0x67;
|
||||||
GameLib.Event.GAME_RESUMED = 0x68;
|
GameLib.Event.GAME_RESUMED = 0x68;
|
||||||
|
GameLib.Event.CUSTOM_GAME_START = 0x69;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -219,7 +222,7 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x57 : return 'stop_all_audio';
|
case 0x57 : return 'stop_all_audio';
|
||||||
case 0x58 : return 'register_dependencies';
|
case 0x58 : return 'register_dependencies';
|
||||||
case 0x59 : return 'game_loaded';
|
case 0x59 : return 'game_loaded';
|
||||||
case 0x5a : return 'game_restart';
|
case 0x5a : return 'unused';//'game_restart';
|
||||||
case 0x5b : return 'load_progress';
|
case 0x5b : return 'load_progress';
|
||||||
case 0x5c : return 'entity_loaded';
|
case 0x5c : return 'entity_loaded';
|
||||||
case 0x5d : return 'mouse_down';
|
case 0x5d : return 'mouse_down';
|
||||||
|
@ -234,6 +237,7 @@ GameLib.Event.GetEventName = function(number) {
|
||||||
case 0x66 : return 'game_started';
|
case 0x66 : return 'game_started';
|
||||||
case 0x67 : return 'game_paused';
|
case 0x67 : return 'game_paused';
|
||||||
case 0x68 : return 'game_resumed';
|
case 0x68 : return 'game_resumed';
|
||||||
|
case 0x69 : return 'custom_game_start';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue