Strings with linebreaks & max width / height
This commit is contained in:
parent
46377438a4
commit
1c83543236
3 changed files with 270 additions and 270 deletions
|
|
@ -1,22 +1,22 @@
|
|||
///scrDebugInspectorInitialize(global_game_start_name, show_instance_vars, [debug_key], [font])
|
||||
if (instance_exists(objDebugInspectorControl)) {
|
||||
exit;
|
||||
}
|
||||
if (variable_global_exists(argument[0])) {
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = argument[0];
|
||||
} else {
|
||||
show_error("Global variable '" + argument[0] + "' didn't exist", false);
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = "@";
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_show_instance_vars = argument[1];
|
||||
var _debug_key = -1;
|
||||
if (argument_count > 2) {
|
||||
_debug_key = argument[2];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_debug_key = _debug_key;
|
||||
var _font = -1;
|
||||
if (argument_count > 3) {
|
||||
_font = argument[3];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_font = _font;
|
||||
instance_create(0, 0, objDebugInspectorControl);
|
||||
///scrDebugInspectorInitialize(global_game_start_name, show_instance_vars, [debug_key], [font])
|
||||
if (instance_exists(objDebugInspectorControl)) {
|
||||
exit;
|
||||
}
|
||||
if (variable_global_exists(argument[0])) {
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = argument[0];
|
||||
} else {
|
||||
show_error("Global variable '" + argument[0] + "' didn't exist", false);
|
||||
global.__synthasmagoria_debug_inspector_global_game_start_name = "@";
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_show_instance_vars = argument[1];
|
||||
var _debug_key = -1;
|
||||
if (argument_count > 2) {
|
||||
_debug_key = argument[2];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_debug_key = _debug_key;
|
||||
var _font = -1;
|
||||
if (argument_count > 3) {
|
||||
_font = argument[3];
|
||||
}
|
||||
global.__synthasmagoria_debug_inspector_font = _font;
|
||||
instance_create(0, 0, objDebugInspectorControl);
|
||||
Loading…
Add table
Add a link
Reference in a new issue