REPENTOGON phases 3 and 4: XML extensions for players, items, pools, pocket items, achievements, challenges, cutscenes, giantbook, backdrops, boss colours and entities through the format-neutral data API; REPENTOGON's ImGui Lua API and console extensions on the overlay; behaviour patches behind REPENTOGON's options and the parity switch; save-state management and mod reloading; 72 goldens identical from converted resources and the install
This commit is contained in:
1 parent
881a82b325
commit
8c95737332
165 files changed
+8289
-620
No files matched your search
@@ -771,7 +771,6 @@ local function logWarning(callbackID, modName, warn)
|
||||
end
|
||||
|
||||
local function imGuiError(errortext)
|
||||
if not ImGui then return end -- rebuild: until ImGui is ported
|
||||
local windowId = "ErrorDisplayWindow"
|
||||
if not ImGui.ElementExists("ErrorDisplayMenu") then
|
||||
ImGui.CreateMenu("ErrorDisplayMenu", "REPENTOGON Error Display")
|
||||
@@ -2086,7 +2085,6 @@ MenuManager.StatsMenu = StatsMenu
|
||||
|
||||
-- ImGui alias functions
|
||||
--local ImGui = Isaac.GetImGui()
|
||||
if ImGui then -- rebuild: until ImGui is ported
|
||||
ImGui.WorldToImGui = function (world_pos)
|
||||
local scr_xy = Isaac.WorldToScreen(world_pos)
|
||||
-- scale the screen xy to the window rectangle
|
||||
@@ -2097,7 +2095,6 @@ ImGui.ImGuiToWorld = function (imgui_pos)
|
||||
local _, imgui_wh = ImGui.GetGameWindowRect()
|
||||
return Isaac.RenderToWorld(Vector(imgui_pos.X * Isaac.GetScreenWidth() / imgui_wh.X, imgui_pos.Y * Isaac.GetScreenHeight() / imgui_wh.Y))
|
||||
end
|
||||
end
|
||||
|
||||
if not _LUADEBUG then
|
||||
debug = nil
|
||||
@@ -2142,7 +2139,7 @@ rawset(Isaac, "GetEntityConfig", function() return EntityConfig end)
|
||||
RoomConfigHolder = RoomConfig -- Backwards compatability
|
||||
|
||||
-- Reset Imgui Data after reload of all mods
|
||||
if ImGui then ImGui.Reset() end -- rebuild: until ImGui is ported
|
||||
ImGui.Reset()
|
||||
|
||||
|
||||
--resource load error, used in changelog but it's not strictly a changelog thing so i'm putting it here
|
||||
@@ -2290,7 +2287,6 @@ end
|
||||
|
||||
pcall(require, "repentogon_api/room_descriptor")
|
||||
|
||||
if _CBindings.ESSM then -- rebuild: until the save state bindings are ported
|
||||
local SSM = _GetModule("repentogon_extras.save_state_manager")
|
||||
local ESSM = _GetModule("repentogon_extras.entity_save_state_manager")
|
||||
|
||||
@@ -2394,7 +2390,5 @@ EntitySaveStateManager = {
|
||||
TryGetEntitySaveStateData = ESSM.TryGetEntitySaveStateData,
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
_GetModule = nil
|
||||
s_modules = nil
|
||||
Reference in new issue
Block a user