Initial commit
This commit is contained in:
commit
d8ee2aa096
7 changed files with 941 additions and 0 deletions
21
add after objDebugList/scrDebugInspectorInitialize.gml
Normal file
21
add after objDebugList/scrDebugInspectorInitialize.gml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
///scrDebugInspectorInitialize(global_game_start_name, [debug_key], [font])
|
||||
if (instance_exists(objDebugInspectorControl)) {
|
||||
exit;
|
||||
}
|
||||
if (variable_global_exists(argument0)) {
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = argument0;
|
||||
} else {
|
||||
show_error("Global variable '" + argument0 + "' didn't exist", false);
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = "@";
|
||||
}
|
||||
var _debug_key = -1;
|
||||
if (argument_count > 1) {
|
||||
_debug_key = argument[1];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_debug_key = _debug_key;
|
||||
var _font = -1;
|
||||
if (argument_count > 2) {
|
||||
_font = argument[2];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_font = _font;
|
||||
instance_create(0, 0, objDebugInspectorControl);
|
||||
Loading…
Add table
Add a link
Reference in a new issue