custom game start

beta.r3js.org
-=yb4f310 2017-11-24 13:04:16 +01:00
parent cc23abed64
commit 1b7a2efaf4
3 changed files with 14 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
// 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
/**
@ -168,7 +168,7 @@ GameLib.Event.FONT_NOT_FOUND = 0x56;
GameLib.Event.STOP_ALL_AUDIO = 0x57;
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
GameLib.Event.GAME_LOADED = 0x59;
GameLib.Event.GAME_RESTART = 0x5a;
//GameLib.Event.GAME_RESTART = 0x5a;
GameLib.Event.LOAD_PROGRESS = 0x5b;
GameLib.Event.ENTITY_LOADED = 0x5c;
GameLib.Event.MOUSE_DOWN = 0x5d;
@ -183,6 +183,9 @@ GameLib.Event.MUTE_AUDIO = 0x65;
GameLib.Event.GAME_STARTED = 0x66;
GameLib.Event.GAME_PAUSED = 0x67;
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 0x58 : return 'register_dependencies';
case 0x59 : return 'game_loaded';
case 0x5a : return 'game_restart';
case 0x5a : return 'unused';//'game_restart';
case 0x5b : return 'load_progress';
case 0x5c : return 'entity_loaded';
case 0x5d : return 'mouse_down';
@ -298,6 +301,7 @@ GameLib.Event.GetEventName = function(number) {
case 0x66 : return 'game_started';
case 0x67 : return 'game_paused';
case 0x68 : return 'game_resumed';
case 0x69 : return 'custom_game_start';
break;
}

View File

@ -104,7 +104,7 @@ GameLib.Event.FONT_NOT_FOUND = 0x56;
GameLib.Event.STOP_ALL_AUDIO = 0x57;
GameLib.Event.REGISTER_DEPENDENCIES = 0x58;
GameLib.Event.GAME_LOADED = 0x59;
GameLib.Event.GAME_RESTART = 0x5a;
//GameLib.Event.GAME_RESTART = 0x5a;
GameLib.Event.LOAD_PROGRESS = 0x5b;
GameLib.Event.ENTITY_LOADED = 0x5c;
GameLib.Event.MOUSE_DOWN = 0x5d;
@ -119,6 +119,9 @@ GameLib.Event.MUTE_AUDIO = 0x65;
GameLib.Event.GAME_STARTED = 0x66;
GameLib.Event.GAME_PAUSED = 0x67;
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 0x58 : return 'register_dependencies';
case 0x59 : return 'game_loaded';
case 0x5a : return 'game_restart';
case 0x5a : return 'unused';//'game_restart';
case 0x5b : return 'load_progress';
case 0x5c : return 'entity_loaded';
case 0x5d : return 'mouse_down';
@ -234,6 +237,7 @@ GameLib.Event.GetEventName = function(number) {
case 0x66 : return 'game_started';
case 0x67 : return 'game_paused';
case 0x68 : return 'game_resumed';
case 0x69 : return 'custom_game_start';
break;
}