mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Renamed $DEBUG to $debug to avoid verbose mode.
Also made GL debug functions print less stuff.
This commit is contained in:
parent
ba0203169e
commit
2df5fd29de
5 changed files with 13 additions and 9 deletions
|
|
@ -76,6 +76,7 @@ void graphicsBindingInit();
|
|||
void fileIntBindingInit();
|
||||
|
||||
void oneshotBindingInit();
|
||||
void steamBindingInit();
|
||||
|
||||
RB_METHOD(mriPrint);
|
||||
RB_METHOD(mriP);
|
||||
|
|
@ -114,6 +115,7 @@ static void mriBindingInit()
|
|||
|
||||
fileIntBindingInit();
|
||||
oneshotBindingInit();
|
||||
steamBindingInit();
|
||||
|
||||
if (rgssVer >= 3)
|
||||
{
|
||||
|
|
@ -405,7 +407,7 @@ static void runRMXPScripts(BacktraceData &btData)
|
|||
}
|
||||
|
||||
/* Set the debug flag */
|
||||
rb_gv_set("$DEBUG", conf.debugMode ? Qtrue : Qfalse);
|
||||
rb_gv_set("$debug", conf.debugMode ? Qtrue : Qfalse);
|
||||
|
||||
rb_gv_set("$RGSS_SCRIPTS", scriptArray);
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class Game_Player < Game_Character
|
|||
return false
|
||||
end
|
||||
# If debug mode is ON and ctrl key was pressed
|
||||
#if $DEBUG and Input.press?(Input::CTRL)
|
||||
#if $debug and Input.press?(Input::CTRL)
|
||||
# # Passable
|
||||
# return true
|
||||
#end
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ class Scene_Map
|
|||
end
|
||||
end
|
||||
# If debug mode is ON and F5 key was pressed
|
||||
if $DEBUG and Input.press?(Input::F5)
|
||||
if $debug and Input.press?(Input::F5)
|
||||
# Set transferring player flag
|
||||
$game_temp.player_transferring = true
|
||||
# Set player move destination
|
||||
|
|
@ -170,7 +170,7 @@ class Scene_Map
|
|||
$game_temp.player_new_y = $data_system.start_y
|
||||
end
|
||||
# If debug mode is ON and F9 key was pressed
|
||||
if $DEBUG and Input.press?(Input::F9)
|
||||
if $debug and Input.press?(Input::F9)
|
||||
# Set debug calling flag
|
||||
$game_temp.debug_calling = true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -68,9 +68,11 @@ static void APIENTRY arbDebugFunc(GLenum source,
|
|||
(void) source;
|
||||
(void) type;
|
||||
(void) id;
|
||||
(void) severity;
|
||||
(void) length;
|
||||
|
||||
if (severity == GL_DEBUG_SEVERITY_NOTIFICATION)
|
||||
return;
|
||||
|
||||
p->writeTimestamp();
|
||||
p->writeLine(message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue