Import cleanup

This commit is contained in:
DenialMC 2015-05-13 20:02:48 +03:00
parent 694122266e
commit db9dacb624
6 changed files with 19 additions and 77 deletions

View file

@ -1,16 +1,10 @@
from otp.level import DistributedLevelAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
import cPickle
import LevelSuitPlannerAI
import FactoryBase
from direct.task import Task from direct.task import Task
import FactoryEntityCreatorAI from otp.level import DistributedLevelAI, LevelSpec
import FactorySpecs
from otp.level import LevelSpec
import CogDisguiseGlobals
from toontown.suit import DistributedFactorySuitAI from toontown.suit import DistributedFactorySuitAI
from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals
from toontown.coghq import DistributedBattleFactoryAI from toontown.coghq import DistributedBattleFactoryAI
import FactoryBase, FactoryEntityCreatorAI, FactorySpecs, LevelSuitPlannerAI
class DistributedFactoryAI(DistributedLevelAI.DistributedLevelAI, FactoryBase.FactoryBase): class DistributedFactoryAI(DistributedLevelAI.DistributedLevelAI, FactoryBase.FactoryBase):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFactoryAI') notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFactoryAI')

View file

@ -4,7 +4,6 @@ from direct.particles import ParticleEffect
from StomperGlobals import * from StomperGlobals import *
from direct.distributed import ClockDelta from direct.distributed import ClockDelta
from direct.showbase.PythonUtil import lerp from direct.showbase.PythonUtil import lerp
import math
from otp.level import DistributedEntity from otp.level import DistributedEntity
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from pandac.PandaModules import NodePath from pandac.PandaModules import NodePath
@ -17,19 +16,14 @@ from toontown.toonbase import ToontownBattleGlobals
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from toontown.golf import BuildGeometry from toontown.golf import BuildGeometry
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
import random
from direct.showbase import RandomNumGen from direct.showbase import RandomNumGen
import GameSprite3D
from math import pi
import math
import random
import cPickle
from toontown.distributed import DelayDelete from toontown.distributed import DelayDelete
from toontown.toon import ToonHeadFrame from toontown.toon import ToonHeadFrame
from toontown.battle import BattleParticles from toontown.battle import BattleParticles
from toontown.battle import MovieUtil from toontown.battle import MovieUtil
import time
from toontown.toonbase import ToontownTimer from toontown.toonbase import ToontownTimer
from math import pi
import GameSprite3D, math, random
class DistributedGolfGreenGame(BattleBlocker.BattleBlocker): class DistributedGolfGreenGame(BattleBlocker.BattleBlocker):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGolfGreenGame') notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGolfGreenGame')

View file

@ -1,10 +1,3 @@
import cPickle
import CogDisguiseGlobals
import FactoryEntityCreatorAI
import FactorySpecs
import LawOfficeBase
import LevelSuitPlannerAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import * from direct.distributed.DistributedObjectAI import *
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
@ -13,13 +6,10 @@ from otp.level import DistributedLevelAI
from otp.level import LevelSpec from otp.level import LevelSpec
from toontown.ai.ToonBarrier import * from toontown.ai.ToonBarrier import *
from toontown.building import DistributedElevatorFloorAI from toontown.building import DistributedElevatorFloorAI
from toontown.coghq import DistributedBattleFactoryAI from toontown.coghq import DistributedBattleFactoryAI, DistributedLawOfficeElevatorIntAI, DistributedLawOfficeFloorAI, LawOfficeLayout
from toontown.coghq import DistributedLawOfficeElevatorIntAI
from toontown.coghq import DistributedLawOfficeFloorAI
from toontown.coghq import LawOfficeLayout
from toontown.suit import DistributedFactorySuitAI from toontown.suit import DistributedFactorySuitAI
from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals
import FactoryEntityCreatorAI, FactorySpecs, LawOfficeBase, LevelSuitPlannerAI
class DistributedLawOfficeAI(DistributedObjectAI, LawOfficeBase.LawOfficeBase): class DistributedLawOfficeAI(DistributedObjectAI, LawOfficeBase.LawOfficeBase):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLawOfficeAI') notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLawOfficeAI')

View file

@ -1,22 +1,12 @@
import cPickle
import CogDisguiseGlobals
import FactoryEntityCreatorAI
import FactorySpecs
import LawOfficeBase
import LevelSuitPlannerAI
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObjectAI from direct.distributed import DistributedObjectAI
from direct.task import Task from direct.task import Task
from otp.level import DistributedLevelAI from otp.level import DistributedLevelAI, LevelSpec
from otp.level import LevelSpec
from toontown.ai.ToonBarrier import * from toontown.ai.ToonBarrier import *
from toontown.coghq import DistributedBattleFactoryAI from toontown.coghq import DistributedBattleFactoryAI, DistributedLawOfficeElevatorIntAI, LawOfficeLayout
from toontown.coghq import DistributedLawOfficeElevatorIntAI
from toontown.coghq import LawOfficeLayout
from toontown.suit import DistributedFactorySuitAI from toontown.suit import DistributedFactorySuitAI
from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals from toontown.toonbase import ToontownGlobals, ToontownBattleGlobals
import FactoryEntityCreatorAI, FactorySpecs, LawOfficeBase, LevelSuitPlannerAI
class DistributedLawOfficeFloorAI(DistributedLevelAI.DistributedLevelAI, LawOfficeBase.LawOfficeBase): class DistributedLawOfficeFloorAI(DistributedLevelAI.DistributedLevelAI, LawOfficeBase.LawOfficeBase):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLawOfficeAI') notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLawOfficeAI')

View file

@ -1,22 +1,9 @@
from pandac.PandaModules import * from pandac.PandaModules import *
from toontown.toonbase.ToonBaseGlobal import *
from direct.gui.DirectGui import *
from pandac.PandaModules import *
from direct.distributed.ClockDelta import *
from toontown.toonbase import ToontownGlobals
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.distributed.ClockDelta import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM from direct.gui.DirectGui import *
from direct.fsm import State from toontown.toonbase.ToonBaseGlobal import *
from toontown.toon import Toon
from direct.showbase import RandomNumGen
from toontown.toonbase import TTLocalizer
import random
import random
import cPickle
from direct.showbase import PythonUtil
from toontown.hood import Place
import Estate
import HouseGlobals import HouseGlobals
class DistributedGarden(DistributedObject.DistributedObject): class DistributedGarden(DistributedObject.DistributedObject):

View file

@ -1,26 +1,13 @@
from pandac.PandaModules import * from pandac.PandaModules import *
from toontown.toonbase.ToonBaseGlobal import *
from direct.gui.DirectGui import *
from pandac.PandaModules import *
from direct.gui.DirectScrolledList import *
from direct.distributed.ClockDelta import *
from toontown.toontowngui import TTDialog
import math
from toontown.toonbase import ToontownGlobals
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM from direct.distributed.ClockDelta import *
from direct.fsm import State from direct.gui.DirectScrolledList import *
from toontown.toon import Toon from direct.gui.DirectGui import *
from direct.showbase import RandomNumGen from toontown.toonbase.ToonBaseGlobal import *
from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals, TTLocalizer
import random
import random
import cPickle
from direct.showbase import PythonUtil
import GameSprite
from math import pi
from toontown.estate import GardenGlobals from toontown.estate import GardenGlobals
SHOVEL = 0 SHOVEL = 0
WATERINGCAN = 1 WATERINGCAN = 1
GAMEWIN = 2 GAMEWIN = 2