diff --git a/coderes/Engine/dbg_break_disabled.bmp b/coderes/Engine/dbg_break_disabled.bmp new file mode 100644 index 0000000000..76ef2ae1c9 Binary files /dev/null and b/coderes/Engine/dbg_break_disabled.bmp differ diff --git a/coderes/Engine/dbg_break_enabled.bmp b/coderes/Engine/dbg_break_enabled.bmp new file mode 100644 index 0000000000..0943e21799 Binary files /dev/null and b/coderes/Engine/dbg_break_enabled.bmp differ diff --git a/coderes/Engine/dbg_cursor.bmp b/coderes/Engine/dbg_cursor.bmp new file mode 100644 index 0000000000..9241d4b663 Binary files /dev/null and b/coderes/Engine/dbg_cursor.bmp differ diff --git a/coderes/Engine/dbg_cursor_disabled.bmp b/coderes/Engine/dbg_cursor_disabled.bmp new file mode 100644 index 0000000000..edce832774 Binary files /dev/null and b/coderes/Engine/dbg_cursor_disabled.bmp differ diff --git a/coderes/Engine/dbg_cursor_enabled.bmp b/coderes/Engine/dbg_cursor_enabled.bmp new file mode 100644 index 0000000000..af3d38f203 Binary files /dev/null and b/coderes/Engine/dbg_cursor_enabled.bmp differ diff --git a/coderes/Engine/dbg_tool_clearbreakpoints.bmp b/coderes/Engine/dbg_tool_clearbreakpoints.bmp new file mode 100644 index 0000000000..bf057787c2 Binary files /dev/null and b/coderes/Engine/dbg_tool_clearbreakpoints.bmp differ diff --git a/coderes/Engine/dbg_tool_disablebreakpoints.bmp b/coderes/Engine/dbg_tool_disablebreakpoints.bmp new file mode 100644 index 0000000000..67563617d2 Binary files /dev/null and b/coderes/Engine/dbg_tool_disablebreakpoints.bmp differ diff --git a/coderes/Engine/dbg_tool_enablebreakpoints.bmp b/coderes/Engine/dbg_tool_enablebreakpoints.bmp new file mode 100644 index 0000000000..2c0fc8f832 Binary files /dev/null and b/coderes/Engine/dbg_tool_enablebreakpoints.bmp differ diff --git a/coderes/Engine/dbg_tool_find.bmp b/coderes/Engine/dbg_tool_find.bmp new file mode 100644 index 0000000000..46c9ae4898 Binary files /dev/null and b/coderes/Engine/dbg_tool_find.bmp differ diff --git a/coderes/Engine/dbg_tool_findnext.bmp b/coderes/Engine/dbg_tool_findnext.bmp new file mode 100644 index 0000000000..7b73abe2bd Binary files /dev/null and b/coderes/Engine/dbg_tool_findnext.bmp differ diff --git a/coderes/Engine/dbg_tool_findprev.bmp b/coderes/Engine/dbg_tool_findprev.bmp new file mode 100644 index 0000000000..d5f8ed6eba Binary files /dev/null and b/coderes/Engine/dbg_tool_findprev.bmp differ diff --git a/coderes/Engine/dbg_tool_resume.bmp b/coderes/Engine/dbg_tool_resume.bmp new file mode 100644 index 0000000000..6a9ff6e7d3 Binary files /dev/null and b/coderes/Engine/dbg_tool_resume.bmp differ diff --git a/coderes/Engine/dbg_tool_step.bmp b/coderes/Engine/dbg_tool_step.bmp new file mode 100644 index 0000000000..50fe0b8de9 Binary files /dev/null and b/coderes/Engine/dbg_tool_step.bmp differ diff --git a/lua/userInit.lua b/lua/userInit.lua index a1b620772d..323c1c0dbe 100644 --- a/lua/userInit.lua +++ b/lua/userInit.lua @@ -25,6 +25,23 @@ if selectedlanguage ~= nil then doscript '/lua/system/Localization.lua' end +-- Do we have SC_LuaDebugger window positions in the config ? +if not GetPreference("Windows.Debug") then + -- no, we set them to some sane defaults if they are missing. Othervise Debugger window is messed up + SetPreference('Windows.Debug', { + x = 10, + y = 10, + height = 550, + width = 900, + Sash = { horizontal = 212, vertical = 330 }, + Watch = { + Stack = { block = 154, source = 212, line = 72 }, + Global = { value = 212, type = 215, name = 220 }, + Local = { value = 212, type = 134, name = 217 } + } + }) +end + local AvgFPS = 10 WaitFrames = coroutine.yield diff --git a/setup/bin/init_dev.lua b/setup/bin/init_dev.lua index 80235e1195..c17cb5b446 100644 --- a/setup/bin/init_dev.lua +++ b/setup/bin/init_dev.lua @@ -455,6 +455,9 @@ MountAllowedContent(fa_path .. '/gamedata/', '*.scd', allowedAssetsScd) -- get direct access to preferences file, letting us have much more control over its content. This also includes cache and similar MountDirectory(SHGetFolderPath('LOCAL_APPDATA') .. 'Gas Powered Games/Supreme Commander Forged Alliance', '/preferences') +-- mount SC_LuaDebugger GUI graphics +MountDirectory(locationOfRepository .. '/coderes', '/coderes') + -- Load in all the data of the steam installation (movies, maps, sound folders) MountDirectory(fa_path .. "/movies", '/movies') MountDirectory(fa_path .. "/sounds", '/sounds')