general: Eliminate libotp & libtoontown import shims
This commit is contained in:
parent
e193383493
commit
e12c704dfc
82 changed files with 89 additions and 89 deletions
|
@ -1,6 +1,6 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import Nametag, NametagGroup
|
||||
from libotp import CFSpeech, CFThought, CFTimeout, CFPageButton, CFNoQuitButton, CFQuitButton
|
||||
from panda3d.otp import Nametag, NametagGroup
|
||||
from panda3d.otp import CFSpeech, CFThought, CFTimeout, CFPageButton, CFNoQuitButton, CFQuitButton
|
||||
from otp.otpbase import OTPGlobals
|
||||
from otp.otpbase import OTPLocalizer
|
||||
from direct.actor.Actor import Actor
|
||||
|
|
|
@ -6,7 +6,7 @@ from direct.actor.DistributedActor import DistributedActor
|
|||
from direct.interval.IntervalGlobal import *
|
||||
from direct.task import Task
|
||||
from direct.showbase import PythonUtil
|
||||
from libotp import Nametag
|
||||
from panda3d.otp import Nametag
|
||||
from otp.otpbase import OTPGlobals
|
||||
from otp.otpbase import OTPLocalizer
|
||||
from otp.speedchat import SCDecoders
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import WhisperPopup
|
||||
from libotp import CFQuicktalker, CFPageButton, CFQuitButton, CFSpeech, CFThought, CFTimeout
|
||||
from panda3d.otp import WhisperPopup
|
||||
from panda3d.otp import CFQuicktalker, CFPageButton, CFQuitButton, CFSpeech, CFThought, CFTimeout
|
||||
from otp.chat import ChatGarbler
|
||||
import string
|
||||
from direct.task import Task
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import Nametag, WhisperPopup
|
||||
from panda3d.otp import Nametag, WhisperPopup
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.showbase.PythonUtil import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
|
|
|
@ -10,7 +10,7 @@ from otp.chat.TalkHandle import TalkHandle
|
|||
import time
|
||||
from otp.chat.TalkGlobals import *
|
||||
from otp.chat.ChatGlobals import *
|
||||
from libotp import CFSpeech, CFTimeout, CFThought
|
||||
from panda3d.otp import CFSpeech, CFTimeout, CFThought
|
||||
ThoughtPrefix = '.'
|
||||
|
||||
class TalkAssistant(DirectObject.DirectObject):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.gui.DirectGui import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from direct.fsm import StateData
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import CMover
|
||||
from panda3d.otp import CMover
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from otp.movement.PyVec3 import PyVec3
|
||||
from direct.showbase import PythonUtil
|
||||
|
|
|
@ -4,7 +4,7 @@ from direct.interval.IntervalGlobal import *
|
|||
from . import HolidayDecorator
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from pandac.PandaModules import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib
|
||||
from libtoontown import loadDNAFile
|
||||
from panda3d.toontown import loadDNAFile
|
||||
from toontown.hood import GSHood
|
||||
|
||||
class CrashedLeaderBoardDecorator(HolidayDecorator.HolidayDecorator):
|
||||
|
|
|
@ -7,7 +7,7 @@ from toontown.safezone import Playground
|
|||
from toontown.town import Street
|
||||
from toontown.estate import Estate
|
||||
from pandac.PandaModules import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib
|
||||
from libtoontown import loadDNAFile
|
||||
from panda3d.toontown import loadDNAFile
|
||||
|
||||
class HalloweenHolidayDecorator(HolidayDecorator.HolidayDecorator):
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('HalloweenHolidayDecorator')
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from toontown.toonbase import ToontownGlobals
|
||||
from direct.interval.IntervalGlobal import Parallel, Sequence, Func, Wait
|
||||
from pandac.PandaModules import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib
|
||||
from libtoontown import loadDNAFile
|
||||
from panda3d.toontown import loadDNAFile
|
||||
|
||||
class HolidayDecorator:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from panda3d.core import *
|
||||
from panda3d.toontown import *
|
||||
|
||||
from libtoontown import *
|
||||
from otp.ai.AIZoneData import AIZoneDataStore
|
||||
from otp.ai.TimeManagerAI import TimeManagerAI
|
||||
from otp.distributed.OtpDoGlobals import *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from .BattleBase import *
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from .BattleBase import *
|
||||
from direct.actor import Actor
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from .BattleBase import *
|
||||
from direct.actor import Actor
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from .BattleProps import *
|
||||
from .BattleSounds import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.toonbase.ToontownGlobals import *
|
||||
from .SuitBattleGlobals import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.showbase.DirectObject import DirectObject
|
||||
from .RewardPanel import *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from .ElevatorConstants import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToontownGlobals import *
|
||||
import random
|
||||
from direct.distributed import DistributedObject
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToontownGlobals import *
|
||||
import random
|
||||
from direct.task.Task import Task
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from .KnockKnockJokes import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToontownGlobals import *
|
||||
import random
|
||||
from direct.distributed import DistributedObject
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from otp.avatar import Avatar
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.task import Task
|
||||
import random
|
||||
from pandac.PandaModules import *
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from otp.avatar import Avatar
|
||||
from libotp import CFQuicktalker
|
||||
from panda3d.otp import CFQuicktalker
|
||||
from toontown.char import CharDNA
|
||||
from toontown.char import DistributedChar
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
|
|
@ -4,7 +4,7 @@ from direct.distributed.ClockDelta import *
|
|||
from toontown.building.ElevatorConstants import *
|
||||
from toontown.toon import NPCToons
|
||||
from pandac.PandaModules import NodePath
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.building import ElevatorUtils
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.toonbase import ToontownBattleGlobals
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from toontown.hood import Place
|
||||
|
|
|
@ -5,8 +5,8 @@ from direct.fsm import State
|
|||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.hood import ZoneUtil
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from libtoontown import *
|
||||
from panda3d.otp import *
|
||||
from panda3d.toontown import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
|
||||
class CogHQExterior(BattlePlace.BattlePlace):
|
||||
|
|
|
@ -5,7 +5,7 @@ from toontown.hood import Place
|
|||
from toontown.building import Elevator
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
|
||||
class CogHQLobby(Place.Place):
|
||||
|
|
|
@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State
|
|||
from direct.fsm import State
|
||||
from direct.showbase import BulletinBoardWatcher
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
from toontown.toon import Toon
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleBase import *
|
||||
from toontown.coghq import DistributedLevelBattle
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.fsm import FSM
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleBase import *
|
||||
from toontown.coghq import DistributedLevelBattle
|
||||
|
|
|
@ -9,7 +9,7 @@ from toontown.estate import DistributedCannon
|
|||
from toontown.estate import CannonGlobals
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.toon import NPCToons
|
||||
from toontown.toon import ToonHead
|
||||
from toontown.toonbase import TTLocalizer
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleBase import *
|
||||
from toontown.battle import DistributedBattle
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleBase import *
|
||||
from toontown.coghq import DistributedLevelBattle
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleBase import *
|
||||
from toontown.coghq import DistributedLevelBattle
|
||||
|
|
|
@ -7,8 +7,8 @@ from toontown.toonbase import ToontownGlobals
|
|||
from toontown.hood import ZoneUtil
|
||||
from toontown.building import Elevator
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from libtoontown import *
|
||||
from panda3d.otp import *
|
||||
from panda3d.toontown import *
|
||||
|
||||
class FactoryExterior(BattlePlace.BattlePlace):
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('FactoryExterior')
|
||||
|
|
|
@ -3,7 +3,7 @@ from toontown.battle import BattlePlace
|
|||
from direct.fsm import ClassicFSM, State
|
||||
from direct.fsm import State
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
from toontown.toon import Toon
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State
|
|||
from direct.fsm import State
|
||||
from direct.showbase import BulletinBoardWatcher
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
from toontown.toon import Toon
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State
|
|||
from direct.fsm import State
|
||||
from direct.showbase import BulletinBoardWatcher
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
|
||||
from toontown.toon import Toon
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from direct.fsm import StateData
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from . import FriendsListPanel
|
||||
from . import FriendInviter
|
||||
from . import FriendInvitee
|
||||
|
|
|
@ -3,7 +3,7 @@ from . import HoodDataAI, ZoneUtil
|
|||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.racing import DistributedStartingBlockAI
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.racing.RaceGlobals import *
|
||||
from toontown.classicchars import DistributedGoofySpeedwayAI
|
||||
if __debug__:
|
||||
|
|
|
@ -3,7 +3,7 @@ from . import HoodDataAI, ZoneUtil
|
|||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.racing import DistributedStartingBlockAI
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.racing.RaceGlobals import *
|
||||
from toontown.classicchars import DistributedGoofySpeedwayAI
|
||||
from toontown.safezone import DistributedGolfKartAI
|
||||
|
|
|
@ -5,7 +5,7 @@ from toontown.suit import DistributedSuitPlannerAI
|
|||
from toontown.safezone import ButterflyGlobals
|
||||
from toontown.safezone import DistributedButterflyAI
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toon import NPCToons
|
||||
|
||||
class HoodDataAI:
|
||||
|
|
|
@ -4,7 +4,7 @@ from toontown.toonbase import ToontownGlobals
|
|||
from toontown.safezone import OZTreasurePlannerAI
|
||||
from toontown.racing import DistributedStartingBlockAI
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.racing.RaceGlobals import *
|
||||
from toontown.classicchars import DistributedGoofySpeedwayAI
|
||||
from toontown.safezone import DistributedPicnicBasketAI
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from toontown.toonbase.ToonBaseGlobal import *
|
||||
from .DistributedMinigame import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from .PurchaseBase import *
|
||||
from direct.task.Task import Task
|
||||
from toontown.toon import ToonHead
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.showbase.PythonUtil import weightedChoice, randFloat, Functor
|
||||
from direct.showbase.PythonUtil import list2dict
|
||||
from direct.showbase import DirectObject
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.showbase.PythonUtil import reduceAngle, randFloat, normalDistrib
|
||||
from direct.showbase import DirectObject
|
||||
from toontown.pets import PetChase
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.distributed import DistributedObject
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.gui.DirectGui import *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from direct.showbase import DirectObject
|
||||
from direct.fsm import StateData
|
||||
|
|
|
@ -14,7 +14,7 @@ import collections, types
|
|||
from direct.distributed.ClockDelta import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
|
||||
from libotp import NametagGroup, WhisperPopup
|
||||
from panda3d.otp import NametagGroup, WhisperPopup
|
||||
|
||||
from otp.otpbase import OTPLocalizer
|
||||
from otp.otpbase import OTPGlobals
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
from direct.distributed import DistributedObject
|
||||
|
||||
from libotp import WhisperPopup
|
||||
from panda3d.otp import WhisperPopup
|
||||
from otp.otpbase.OTPGlobals import *
|
||||
|
||||
from toontown.friends import FriendHandle
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.actor import Actor
|
||||
from otp.avatar import Avatar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import math
|
||||
import random
|
||||
from pandac.PandaModules import VBase3, CollisionPlane, CollisionNode, CollisionSphere, CollisionTube, NodePath, Plane, Vec3, Vec2, Point3, BitMask32, CollisionHandlerEvent, TextureStage, VBase4, BoundingSphere
|
||||
from libotp import NametagGroup, CFSpeech
|
||||
from panda3d.otp import NametagGroup, CFSpeech
|
||||
from direct.interval.IntervalGlobal import Sequence, Wait, Func, LerpHprInterval, Parallel, LerpPosInterval, Track, ActorInterval, ParallelEndTogether, LerpFunctionInterval, LerpScaleInterval, LerpPosHprInterval, SoundInterval
|
||||
from direct.task import Task
|
||||
from direct.fsm import FSM
|
||||
|
|
|
@ -19,7 +19,7 @@ from toontown.distributed import DelayDelete
|
|||
from toontown.chat import ResistanceChat
|
||||
from toontown.coghq import CogDisguiseGlobals
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
import random
|
||||
import math
|
||||
import functools
|
||||
|
|
|
@ -6,7 +6,7 @@ from direct.showbase.PythonUtil import Functor
|
|||
from direct.showbase.PythonUtil import StackTrace
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.fsm import FSM
|
||||
from direct.fsm import ClassicFSM
|
||||
from direct.fsm import State
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from toontown.battle.BattleProps import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from libtoontown import *
|
||||
from panda3d.otp import *
|
||||
from panda3d.toontown import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.directtools.DirectGeometry import CLAMP
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from otp.ai.AIBaseGlobal import *
|
||||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from otp.avatar import DistributedAvatarAI
|
||||
from . import SuitTimings
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.directtools.DirectGeometry import CLAMP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from otp.ai.AIBaseGlobal import *
|
||||
from direct.distributed import DistributedObjectAI
|
||||
from . import SuitPlannerBase, DistributedSuitAI
|
||||
|
|
|
@ -3,7 +3,7 @@ from otp.avatar import Avatar
|
|||
from . import SuitDNA
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.battle import SuitBattleGlobals
|
||||
from direct.task.Task import Task
|
||||
from toontown.battle import BattleProps
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
import math
|
||||
import random
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
import random
|
||||
import string
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
|
|
@ -5,7 +5,7 @@ from toontown.toonbase import TTLocalizer
|
|||
from direct.task.Task import Task
|
||||
from direct.distributed import ClockDelta
|
||||
from pandac.PandaModules import Point3
|
||||
from libotp import CFSpeech, CFTimeout
|
||||
from panda3d.otp import CFSpeech, CFTimeout
|
||||
from toontown.toontowngui import TTDialog
|
||||
from otp.otpbase import OTPLocalizer
|
||||
from toontown.parties import PartyGlobals
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from direct.fsm import ClassicFSM
|
||||
from direct.fsm import State
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.toonbase.ToontownGlobals import *
|
||||
from direct.distributed.ClockDelta import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
import random
|
||||
from toontown.hood import ZoneUtil
|
||||
|
|
|
@ -5,7 +5,7 @@ from toontown.toonbase import TTLocalizer
|
|||
from otp.otpbase import OTPLocalizer
|
||||
from direct.showbase import PythonUtil
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from otp.avatar import Emote
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
EmoteSleepIndex = 4
|
||||
|
|
|
@ -7,7 +7,7 @@ from direct.actor import Actor
|
|||
import string
|
||||
from .ToonHead import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from direct.interval.IntervalGlobal import *
|
||||
from direct.directnotify import DirectNotifyGlobal
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from . import ToonHead
|
||||
from toontown.distributed import DelayDelete
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
|
|
|
@ -155,8 +155,8 @@ class DisplayOptions:
|
|||
base.closeWindow(base.win)
|
||||
return 0
|
||||
base.disableShowbaseMouse()
|
||||
if 'libotp' in sys.modules:
|
||||
from libotp import NametagGlobals
|
||||
if 'panda3d.otp' in sys.modules:
|
||||
from panda3d.otp import NametagGlobals
|
||||
NametagGlobals.setCamera(base.cam)
|
||||
NametagGlobals.setMouseWatcher(base.mouseWatcherNode)
|
||||
else:
|
||||
|
|
|
@ -9,7 +9,7 @@ from . import ToontownLoader
|
|||
from direct.gui import DirectGuiGlobals
|
||||
from direct.gui.DirectGui import *
|
||||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
import sys
|
||||
import os
|
||||
import math
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libtoontown import *
|
||||
from panda3d.toontown import *
|
||||
from direct.directnotify.DirectNotifyGlobal import *
|
||||
from direct.showbase import Loader
|
||||
from toontown.toontowngui import ToontownLoadingScreen
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from pandac.PandaModules import *
|
||||
from libotp import *
|
||||
from panda3d.otp import *
|
||||
from toontown.battle.BattleProps import *
|
||||
from toontown.battle.BattleSounds import *
|
||||
from toontown.distributed.ToontownMsgTypes import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from direct.distributed.DistributedObject import DistributedObject
|
||||
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
||||
from libotp import CFSpeech, CFTimeout
|
||||
from panda3d.otp import CFSpeech, CFTimeout
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.toonbase import TTLocalizer
|
||||
from toontown.toon import ToonDNA
|
||||
|
|
Loading…
Reference in a new issue