SM: cx_freeze fix (#1584)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
|
||||
import math
|
||||
|
||||
from logic.cache import Cache
|
||||
from logic.smbool import SMBool, smboolFalse
|
||||
from utils.parameters import Settings, easy, medium, diff2text
|
||||
from rom.rom_patches import RomPatches
|
||||
from utils.utils import normalizeRounding
|
||||
from worlds.sm.variaRandomizer.logic.cache import Cache
|
||||
from worlds.sm.variaRandomizer.logic.smbool import SMBool, smboolFalse
|
||||
from worlds.sm.variaRandomizer.utils.parameters import Settings, easy, medium, diff2text
|
||||
from worlds.sm.variaRandomizer.rom.rom_patches import RomPatches
|
||||
from worlds.sm.variaRandomizer.utils.utils import normalizeRounding
|
||||
|
||||
|
||||
class Helpers(object):
|
||||
|
||||
@@ -4,20 +4,20 @@ class Logic(object):
|
||||
@staticmethod
|
||||
def factory(implementation):
|
||||
if implementation == 'vanilla':
|
||||
from graph.vanilla.graph_helpers import HelpersGraph
|
||||
from graph.vanilla.graph_access import accessPoints
|
||||
from graph.vanilla.graph_locations import locations
|
||||
from graph.vanilla.graph_locations import LocationsHelper
|
||||
from worlds.sm.variaRandomizer.graph.vanilla.graph_helpers import HelpersGraph
|
||||
from worlds.sm.variaRandomizer.graph.vanilla.graph_access import accessPoints
|
||||
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import locations
|
||||
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import LocationsHelper
|
||||
Logic.locations = locations
|
||||
Logic.accessPoints = accessPoints
|
||||
Logic.HelpersGraph = HelpersGraph
|
||||
Logic.patches = implementation
|
||||
Logic.LocationsHelper = LocationsHelper
|
||||
elif implementation == 'rotation':
|
||||
from graph.rotation.graph_helpers import HelpersGraph
|
||||
from graph.rotation.graph_access import accessPoints
|
||||
from graph.rotation.graph_locations import locations
|
||||
from graph.rotation.graph_locations import LocationsHelper
|
||||
from worlds.sm.variaRandomizer.graph.rotation.graph_helpers import HelpersGraph
|
||||
from worlds.sm.variaRandomizer.graph.rotation.graph_access import accessPoints
|
||||
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import locations
|
||||
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import LocationsHelper
|
||||
Logic.locations = locations
|
||||
Logic.accessPoints = accessPoints
|
||||
Logic.HelpersGraph = HelpersGraph
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# object to handle the smbools and optimize them
|
||||
|
||||
from logic.cache import Cache
|
||||
from logic.smbool import SMBool, smboolFalse
|
||||
from logic.helpers import Bosses
|
||||
from logic.logic import Logic
|
||||
from utils.doorsmanager import DoorsManager
|
||||
from utils.parameters import Knows, isKnows
|
||||
from worlds.sm.variaRandomizer.logic.cache import Cache
|
||||
from worlds.sm.variaRandomizer.logic.smbool import SMBool, smboolFalse
|
||||
from worlds.sm.variaRandomizer.logic.helpers import Bosses
|
||||
from worlds.sm.variaRandomizer.logic.logic import Logic
|
||||
from worlds.sm.variaRandomizer.utils.doorsmanager import DoorsManager
|
||||
from worlds.sm.variaRandomizer.utils.parameters import Knows, isKnows
|
||||
import logging
|
||||
import sys
|
||||
|
||||
|
||||
Reference in New Issue
Block a user