diff --git a/otp/ai/AIBase.py b/otp/ai/AIBase.py index 0e44837..a69faff 100644 --- a/otp/ai/AIBase.py +++ b/otp/ai/AIBase.py @@ -1,5 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * +from direct.showbase import DConfig from direct.showbase.MessengerGlobal import * from direct.showbase.BulletinBoardGlobal import * from direct.task.TaskManagerGlobal import * @@ -20,7 +21,7 @@ class AIBase: notify = directNotify.newCategory('AIBase') def __init__(self): - self.config = getConfigShowbase() + self.config = DConfig __builtins__['__dev__'] = self.config.GetBool('want-dev', 0) __builtins__['__astron__'] = self.config.GetBool('astron-support', 1) __builtins__['__execWarnings__'] = self.config.GetBool('want-exec-warnings', 0) diff --git a/otp/ai/AIZoneData.py b/otp/ai/AIZoneData.py index 6c8f2b6..45c4a28 100644 --- a/otp/ai/AIZoneData.py +++ b/otp/ai/AIZoneData.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import ParentMgr from direct.directnotify.DirectNotifyGlobal import directNotify from direct.task import Task diff --git a/otp/ai/BanManagerAI.py b/otp/ai/BanManagerAI.py index 3665e8b..4352b97 100644 --- a/otp/ai/BanManagerAI.py +++ b/otp/ai/BanManagerAI.py @@ -1,6 +1,6 @@ import urllib.request, urllib.parse, urllib.error import os -from pandac.PandaModules import HTTPClient, Ramfile +from panda3d.core import HTTPClient, Ramfile from direct.directnotify import DirectNotifyGlobal class BanManagerAI: diff --git a/otp/ai/TimeManager.py b/otp/ai/TimeManager.py index 1abe1d3..dd90517 100644 --- a/otp/ai/TimeManager.py +++ b/otp/ai/TimeManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import * from direct.distributed.ClockDelta import * from direct.task import Task diff --git a/otp/avatar/AvatarDNA.py b/otp/avatar/AvatarDNA.py index f7e7f65..20e6f61 100644 --- a/otp/avatar/AvatarDNA.py +++ b/otp/avatar/AvatarDNA.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * import random from direct.distributed.PyDatagram import PyDatagram diff --git a/otp/avatar/AvatarPanel.py b/otp/avatar/AvatarPanel.py index c5b9572..5ac2272 100644 --- a/otp/avatar/AvatarPanel.py +++ b/otp/avatar/AvatarPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.showbase import DirectObject from . import Avatar diff --git a/otp/avatar/DistributedAvatar.py b/otp/avatar/DistributedAvatar.py index a8b978e..3e4ce1b 100644 --- a/otp/avatar/DistributedAvatar.py +++ b/otp/avatar/DistributedAvatar.py @@ -1,6 +1,6 @@ import time import string -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedNode from direct.actor.DistributedActor import DistributedActor from direct.interval.IntervalGlobal import * diff --git a/otp/avatar/PositionExaminer.py b/otp/avatar/PositionExaminer.py index bcddb03..5ab5ba3 100644 --- a/otp/avatar/PositionExaminer.py +++ b/otp/avatar/PositionExaminer.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from otp.otpbase import OTPGlobals diff --git a/otp/avatar/ShadowCaster.py b/otp/avatar/ShadowCaster.py index f3e964c..be417ba 100644 --- a/otp/avatar/ShadowCaster.py +++ b/otp/avatar/ShadowCaster.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.ShadowPlacer import ShadowPlacer from otp.otpbase import OTPGlobals diff --git a/otp/chat/ChatInputNormal.py b/otp/chat/ChatInputNormal.py index d518757..c6248bb 100644 --- a/otp/chat/ChatInputNormal.py +++ b/otp/chat/ChatInputNormal.py @@ -2,7 +2,7 @@ from direct.showbase import DirectObject from otp.otpbase import OTPGlobals import sys from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPLocalizer class ChatInputNormal(DirectObject.DirectObject): diff --git a/otp/chat/ChatInputTyped.py b/otp/chat/ChatInputTyped.py index dc49e46..03027de 100644 --- a/otp/chat/ChatInputTyped.py +++ b/otp/chat/ChatInputTyped.py @@ -2,7 +2,7 @@ from direct.showbase import DirectObject from otp.otpbase import OTPGlobals import sys from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPLocalizer class ChatInputTyped(DirectObject.DirectObject): @@ -127,7 +127,7 @@ class ChatInputTyped(DirectObject.DirectObject): def __execMessage(self, message): if not ChatInputTyped.ExecNamespace: ChatInputTyped.ExecNamespace = {} - exec('from pandac.PandaModules import *', globals(), self.ExecNamespace) + exec('from panda3d.core import *', globals(), self.ExecNamespace) self.importExecNamespace() try: if not __debug__ or __execWarnings__: diff --git a/otp/chat/ChatInputWhiteListFrame.py b/otp/chat/ChatInputWhiteListFrame.py index 0d4b1d4..934816c 100644 --- a/otp/chat/ChatInputWhiteListFrame.py +++ b/otp/chat/ChatInputWhiteListFrame.py @@ -3,7 +3,7 @@ from otp.otpbase import OTPGlobals import sys from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPLocalizer from direct.task import Task from otp.chat.ChatInputTyped import ChatInputTyped diff --git a/otp/distributed/ClsendTracker.py b/otp/distributed/ClsendTracker.py index fdd2995..b6345d8 100644 --- a/otp/distributed/ClsendTracker.py +++ b/otp/distributed/ClsendTracker.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import StringStream +from panda3d.core import StringStream from direct.distributed.PyDatagram import PyDatagram import random diff --git a/otp/friends/FriendManager.py b/otp/friends/FriendManager.py index c581461..0cfa256 100644 --- a/otp/friends/FriendManager.py +++ b/otp/friends/FriendManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from otp.otpbase import OTPGlobals diff --git a/otp/friends/FriendSecret.py b/otp/friends/FriendSecret.py index 9a441ce..0b01bd2 100644 --- a/otp/friends/FriendSecret.py +++ b/otp/friends/FriendSecret.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.gui.DirectGui import * from direct.directnotify import DirectNotifyGlobal diff --git a/otp/launcher/DownloadWatcher.py b/otp/launcher/DownloadWatcher.py index b7c55fd..f751c47 100644 --- a/otp/launcher/DownloadWatcher.py +++ b/otp/launcher/DownloadWatcher.py @@ -1,7 +1,7 @@ from direct.task import Task from otp.otpbase import OTPLocalizer from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject class DownloadWatcher(DirectObject): diff --git a/otp/launcher/DummyLauncherBase.py b/otp/launcher/DummyLauncherBase.py index ef76e30..0b5047c 100644 --- a/otp/launcher/DummyLauncherBase.py +++ b/otp/launcher/DummyLauncherBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.MessengerGlobal import * from direct.task.TaskManagerGlobal import * from direct.task.Task import Task diff --git a/otp/level/BasicEntities.py b/otp/level/BasicEntities.py index 5f88697..4497692 100644 --- a/otp/level/BasicEntities.py +++ b/otp/level/BasicEntities.py @@ -1,6 +1,6 @@ from . import Entity from . import DistributedEntity -from pandac.PandaModules import NodePath +from panda3d.core import NodePath class NodePathEntityBase: diff --git a/otp/level/CollisionSolidEntity.py b/otp/level/CollisionSolidEntity.py index b1f8fec..63537e7 100644 --- a/otp/level/CollisionSolidEntity.py +++ b/otp/level/CollisionSolidEntity.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPGlobals from direct.directnotify import DirectNotifyGlobal from . import BasicEntities diff --git a/otp/level/CutScene.py b/otp/level/CutScene.py index 819192f..0bf759f 100644 --- a/otp/level/CutScene.py +++ b/otp/level/CutScene.py @@ -1,8 +1,8 @@ from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal from . import BasicEntities -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/otp/level/DistributedInteractiveEntity.py b/otp/level/DistributedInteractiveEntity.py index af1e4eb..774e211 100644 --- a/otp/level/DistributedInteractiveEntity.py +++ b/otp/level/DistributedInteractiveEntity.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM diff --git a/otp/level/DistributedLevel.py b/otp/level/DistributedLevel.py index ae0a681..7243f62 100644 --- a/otp/level/DistributedLevel.py +++ b/otp/level/DistributedLevel.py @@ -1,5 +1,5 @@ from direct.distributed.ClockDelta import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import Functor, sameElements, list2dict, uniqueElements from direct.interval.IntervalGlobal import * from toontown.distributed.ToontownMsgTypes import * diff --git a/otp/level/EntityTypeRegistry.py b/otp/level/EntityTypeRegistry.py index edbbc54..39df663 100644 --- a/otp/level/EntityTypeRegistry.py +++ b/otp/level/EntityTypeRegistry.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal import types from . import AttribDesc diff --git a/otp/level/LocatorEntity.py b/otp/level/LocatorEntity.py index 579d981..64c1de8 100644 --- a/otp/level/LocatorEntity.py +++ b/otp/level/LocatorEntity.py @@ -1,5 +1,5 @@ from . import Entity, BasicEntities -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.directnotify import DirectNotifyGlobal class LocatorEntity(Entity.Entity, NodePath): diff --git a/otp/level/PropSpinner.py b/otp/level/PropSpinner.py index c1e5862..f75e344 100644 --- a/otp/level/PropSpinner.py +++ b/otp/level/PropSpinner.py @@ -1,6 +1,6 @@ from direct.interval.IntervalGlobal import * from .Entity import Entity -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 class PropSpinner(Entity): diff --git a/otp/login/CreateAccountScreen.py b/otp/login/CreateAccountScreen.py index 4e31f3c..339fc24 100644 --- a/otp/login/CreateAccountScreen.py +++ b/otp/login/CreateAccountScreen.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from otp.otpgui import OTPDialog from direct.fsm import ClassicFSM diff --git a/otp/login/GuiScreen.py b/otp/login/GuiScreen.py index 47f587c..038a106 100644 --- a/otp/login/GuiScreen.py +++ b/otp/login/GuiScreen.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPGlobals from direct.gui.DirectGui import * from otp.otpgui import OTPDialog diff --git a/otp/login/HTTPUtil.py b/otp/login/HTTPUtil.py index 181fd44..6896bf4 100644 --- a/otp/login/HTTPUtil.py +++ b/otp/login/HTTPUtil.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * class HTTPUtilException(Exception): diff --git a/otp/login/LeaveToPayDialog.py b/otp/login/LeaveToPayDialog.py index f76f2c8..ced699c 100644 --- a/otp/login/LeaveToPayDialog.py +++ b/otp/login/LeaveToPayDialog.py @@ -2,7 +2,7 @@ from otp.otpbase import OTPGlobals from otp.otpbase import OTPLauncherGlobals from otp.otpbase import OTPLocalizer from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * import os class LeaveToPayDialog: diff --git a/otp/login/LoginGSAccount.py b/otp/login/LoginGSAccount.py index 3477a1e..4b953da 100644 --- a/otp/login/LoginGSAccount.py +++ b/otp/login/LoginGSAccount.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.MsgTypes import * from direct.directnotify import DirectNotifyGlobal from . import LoginBase diff --git a/otp/login/LoginGoAccount.py b/otp/login/LoginGoAccount.py index 272a8d9..8a0bce2 100644 --- a/otp/login/LoginGoAccount.py +++ b/otp/login/LoginGoAccount.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.MsgTypes import * from direct.directnotify import DirectNotifyGlobal from . import LoginBase diff --git a/otp/login/LoginTTAccount.py b/otp/login/LoginTTAccount.py index b3883c4..6f1974c 100644 --- a/otp/login/LoginTTAccount.py +++ b/otp/login/LoginTTAccount.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.MsgTypes import * from direct.directnotify import DirectNotifyGlobal from . import LoginBase diff --git a/otp/login/LoginTTSpecificDevAccount.py b/otp/login/LoginTTSpecificDevAccount.py index 9c8bf93..b3e91a6 100644 --- a/otp/login/LoginTTSpecificDevAccount.py +++ b/otp/login/LoginTTSpecificDevAccount.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.MsgTypes import * from direct.directnotify import DirectNotifyGlobal from . import LoginTTAccount diff --git a/otp/login/LoginWebPlayTokenAccount.py b/otp/login/LoginWebPlayTokenAccount.py index 196655c..0b3715d 100644 --- a/otp/login/LoginWebPlayTokenAccount.py +++ b/otp/login/LoginWebPlayTokenAccount.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import LoginTTAccount diff --git a/otp/login/MultiPageTextFrame.py b/otp/login/MultiPageTextFrame.py index b7d82c2..b2763a1 100644 --- a/otp/login/MultiPageTextFrame.py +++ b/otp/login/MultiPageTextFrame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from otp.otpbase import OTPLocalizer diff --git a/otp/login/PrivacyPolicyPanel.py b/otp/login/PrivacyPolicyPanel.py index 1502952..662f433 100644 --- a/otp/login/PrivacyPolicyPanel.py +++ b/otp/login/PrivacyPolicyPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase.OTPGlobals import * from direct.gui.DirectGui import * from .MultiPageTextFrame import * diff --git a/otp/login/SecretFriendsInfoPanel.py b/otp/login/SecretFriendsInfoPanel.py index b618d61..acfb936 100644 --- a/otp/login/SecretFriendsInfoPanel.py +++ b/otp/login/SecretFriendsInfoPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase.OTPGlobals import * from direct.gui.DirectGui import * from .MultiPageTextFrame import * diff --git a/otp/movement/Impulse.py b/otp/movement/Impulse.py index d03c320..9fc8d08 100644 --- a/otp/movement/Impulse.py +++ b/otp/movement/Impulse.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject class Impulse(DirectObject.DirectObject): diff --git a/otp/movement/Mover.py b/otp/movement/Mover.py index 74f2343..092a27a 100644 --- a/otp/movement/Mover.py +++ b/otp/movement/Mover.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import CMover from direct.directnotify import DirectNotifyGlobal from otp.movement.PyVec3 import PyVec3 diff --git a/otp/movement/PyVec3.py b/otp/movement/PyVec3.py index a31fd4f..95a54ca 100644 --- a/otp/movement/PyVec3.py +++ b/otp/movement/PyVec3.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * import types import math diff --git a/otp/namepanel/NameCheck.py b/otp/namepanel/NameCheck.py index 3f275aa..04b1713 100644 --- a/otp/namepanel/NameCheck.py +++ b/otp/namepanel/NameCheck.py @@ -1,8 +1,8 @@ import string from otp.otpbase import OTPLocalizer from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NSError -from pandac.PandaModules import TextEncoder, TextNode +from panda3d.core import NSError +from panda3d.core import TextEncoder, TextNode notify = DirectNotifyGlobal.directNotify.newCategory('NameCheck') def filterString(str, filter): diff --git a/otp/namepanel/NameTumbler.py b/otp/namepanel/NameTumbler.py index fb3e4f3..be5426f 100644 --- a/otp/namepanel/NameTumbler.py +++ b/otp/namepanel/NameTumbler.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject import random from direct.task import Task diff --git a/otp/otpbase/OTPGlobals.py b/otp/otpbase/OTPGlobals.py index 099f61a..d65d447 100644 --- a/otp/otpbase/OTPGlobals.py +++ b/otp/otpbase/OTPGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * QuietZone = 1 UberZone = 2 WallBitmask = BitMask32(1) diff --git a/otp/otpbase/OTPLocalizerEnglish.py b/otp/otpbase/OTPLocalizerEnglish.py index 41a6819..ef06cdd 100644 --- a/otp/otpbase/OTPLocalizerEnglish.py +++ b/otp/otpbase/OTPLocalizerEnglish.py @@ -84,8 +84,8 @@ WhisperToFormatName = 'To %s' WhisperFromFormatName = '%s whispers' ThoughtOtherFormatName = '%s thinks' ThoughtSelfFormatName = 'You think' -from pandac.PandaModules import TextProperties -from pandac.PandaModules import TextPropertiesManager +from panda3d.core import TextProperties +from panda3d.core import TextPropertiesManager shadow = TextProperties() shadow.setShadow(-0.025, -0.025) shadow.setShadowColor(0, 0, 0, 1) diff --git a/otp/otpbase/OTPRender.py b/otp/otpbase/OTPRender.py index 186d16f..fee55ca 100644 --- a/otp/otpbase/OTPRender.py +++ b/otp/otpbase/OTPRender.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * MainCameraBitmask = BitMask32.bit(0) ReflectionCameraBitmask = BitMask32.bit(1) ShadowCameraBitmask = BitMask32.bit(2) diff --git a/otp/otpbase/OTPTimer.py b/otp/otpbase/OTPTimer.py index 1ad6ffb..6e2a607 100644 --- a/otp/otpbase/OTPTimer.py +++ b/otp/otpbase/OTPTimer.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec4 +from panda3d.core import Vec4 from direct.gui.DirectGui import DirectFrame, DGG from direct.task import Task from direct.showbase.PythonUtil import bound diff --git a/otp/otpbase/PythonUtil.py b/otp/otpbase/PythonUtil.py index 5438f92..423200a 100644 --- a/otp/otpbase/PythonUtil.py +++ b/otp/otpbase/PythonUtil.py @@ -59,8 +59,8 @@ def recordCreationStack(cls): # __dev__ is not defined at import time, call this after it's defined def recordFunctorCreationStacks(): global Functor - from pandac.PandaModules import getConfigShowbase - config = getConfigShowbase() + from direct.showbase import DConfig + config = DConfig # off by default, very slow if __dev__ and config.GetBool('record-functor-creation-stacks', 0): if not hasattr(Functor, '_functorCreationStacksRecorded'): diff --git a/otp/speedchat/SCElement.py b/otp/speedchat/SCElement.py index 975063e..4996f48 100644 --- a/otp/speedchat/SCElement.py +++ b/otp/speedchat/SCElement.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.task import Task from .SCConstants import * diff --git a/otp/speedchat/SCMenuHolder.py b/otp/speedchat/SCMenuHolder.py index 3451b3e..85a1279 100644 --- a/otp/speedchat/SCMenuHolder.py +++ b/otp/speedchat/SCMenuHolder.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from .SCObject import SCObject from .SCElement import SCElement diff --git a/otp/speedchat/SpeedChatGMHandler.py b/otp/speedchat/SpeedChatGMHandler.py index 35b30e2..e4a006c 100644 --- a/otp/speedchat/SpeedChatGMHandler.py +++ b/otp/speedchat/SpeedChatGMHandler.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from otp.otpbase import OTPLocalizer diff --git a/otp/uberdog/DistributedChatManager.py b/otp/uberdog/DistributedChatManager.py index 0e138cd..8f3d279 100644 --- a/otp/uberdog/DistributedChatManager.py +++ b/otp/uberdog/DistributedChatManager.py @@ -1,6 +1,6 @@ from direct.distributed.DistributedObject import DistributedObject from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPGlobals class DistributedChatManager(DistributedObjectGlobal): diff --git a/toontown/ai/CrashedLeaderBoardDecorator.py b/toontown/ai/CrashedLeaderBoardDecorator.py index e61bb2f..e55b20c 100644 --- a/toontown/ai/CrashedLeaderBoardDecorator.py +++ b/toontown/ai/CrashedLeaderBoardDecorator.py @@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from . import HolidayDecorator from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib +from panda3d.core import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib from panda3d.toontown import loadDNAFile from toontown.hood import GSHood diff --git a/toontown/ai/DatabaseObject.py b/toontown/ai/DatabaseObject.py index 6feae9b..365f23f 100644 --- a/toontown/ai/DatabaseObject.py +++ b/toontown/ai/DatabaseObject.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .ToontownAIMsgTypes import * from direct.directnotify.DirectNotifyGlobal import * from toontown.toon import DistributedToonAI diff --git a/toontown/ai/HalloweenHolidayDecorator.py b/toontown/ai/HalloweenHolidayDecorator.py index 9204663..4d94de1 100644 --- a/toontown/ai/HalloweenHolidayDecorator.py +++ b/toontown/ai/HalloweenHolidayDecorator.py @@ -6,7 +6,7 @@ from toontown.toonbase import ToontownGlobals 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 panda3d.core import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib from panda3d.toontown import loadDNAFile class HalloweenHolidayDecorator(HolidayDecorator.HolidayDecorator): diff --git a/toontown/ai/HolidayDecorator.py b/toontown/ai/HolidayDecorator.py index 9513c4a..73bae17 100644 --- a/toontown/ai/HolidayDecorator.py +++ b/toontown/ai/HolidayDecorator.py @@ -1,6 +1,6 @@ from toontown.toonbase import ToontownGlobals from direct.interval.IntervalGlobal import Parallel, Sequence, Func, Wait -from pandac.PandaModules import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib +from panda3d.core import Vec4, CSDefault, TransformState, NodePath, TransparencyAttrib from panda3d.toontown import loadDNAFile class HolidayDecorator: diff --git a/toontown/ai/NewsManager.py b/toontown/ai/NewsManager.py index 51d202c..8f70730 100644 --- a/toontown/ai/NewsManager.py +++ b/toontown/ai/NewsManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/ai/WelcomeValleyManager.py b/toontown/ai/WelcomeValleyManager.py index 57bc3ba..1a73d48 100644 --- a/toontown/ai/WelcomeValleyManager.py +++ b/toontown/ai/WelcomeValleyManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/battle/BattlePlace.py b/toontown/battle/BattlePlace.py index fb30e9d..b004e35 100644 --- a/toontown/battle/BattlePlace.py +++ b/toontown/battle/BattlePlace.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import Toon from toontown.hood import Place from toontown.hood import ZoneUtil diff --git a/toontown/battle/DistributedBattle.py b/toontown/battle/DistributedBattle.py index a36e6ab..1f43358 100644 --- a/toontown/battle/DistributedBattle.py +++ b/toontown/battle/DistributedBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from .BattleBase import * diff --git a/toontown/battle/DistributedBattleBase.py b/toontown/battle/DistributedBattleBase.py index 4218f40..9716ede 100644 --- a/toontown/battle/DistributedBattleBase.py +++ b/toontown/battle/DistributedBattleBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from .BattleBase import * diff --git a/toontown/battle/DistributedBattleBaseAI.py b/toontown/battle/DistributedBattleBaseAI.py index 771cb3b..0cf6d38 100644 --- a/toontown/battle/DistributedBattleBaseAI.py +++ b/toontown/battle/DistributedBattleBaseAI.py @@ -4,7 +4,7 @@ from .BattleBase import * from . import BattleCalculatorAI from toontown.toonbase.ToontownBattleGlobals import * from .SuitBattleGlobals import * -from pandac.PandaModules import * +from panda3d.core import * from . import BattleExperienceAI from direct.distributed import DistributedObjectAI from direct.fsm import ClassicFSM, State diff --git a/toontown/battle/DistributedBattleBldg.py b/toontown/battle/DistributedBattleBldg.py index 2614a43..3033041 100644 --- a/toontown/battle/DistributedBattleBldg.py +++ b/toontown/battle/DistributedBattleBldg.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from .BattleBase import * diff --git a/toontown/battle/DistributedBattleDiners.py b/toontown/battle/DistributedBattleDiners.py index 0cc0dd4..87d9241 100644 --- a/toontown/battle/DistributedBattleDiners.py +++ b/toontown/battle/DistributedBattleDiners.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import VBase3, Point3 +from panda3d.core import VBase3, Point3 from direct.interval.IntervalGlobal import Sequence, Wait, Func, Parallel, Track, LerpPosInterval, ProjectileInterval, SoundInterval, ActorInterval from direct.directnotify import DirectNotifyGlobal from toontown.battle import DistributedBattleFinal diff --git a/toontown/battle/DistributedBattleFinal.py b/toontown/battle/DistributedBattleFinal.py index 3cbc2de..3f3f61b 100644 --- a/toontown/battle/DistributedBattleFinal.py +++ b/toontown/battle/DistributedBattleFinal.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from .BattleBase import * diff --git a/toontown/battle/DistributedBattleWaiters.py b/toontown/battle/DistributedBattleWaiters.py index 756d86c..f4c9613 100644 --- a/toontown/battle/DistributedBattleWaiters.py +++ b/toontown/battle/DistributedBattleWaiters.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import VBase3, Point3 +from panda3d.core import VBase3, Point3 from direct.interval.IntervalGlobal import Sequence, Wait, Func, Parallel, Track from direct.directnotify import DirectNotifyGlobal from toontown.battle import DistributedBattleFinal diff --git a/toontown/battle/Fanfare.py b/toontown/battle/Fanfare.py index 524a486..63e13e7 100644 --- a/toontown/battle/Fanfare.py +++ b/toontown/battle/Fanfare.py @@ -6,7 +6,7 @@ from toontown.toon.ToonDNA import * from toontown.suit.SuitDNA import * from direct.particles.ParticleEffect import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import MovieUtil from . import MovieCamera from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/battle/FireCogPanel.py b/toontown/battle/FireCogPanel.py index 6966376..078ef5c 100644 --- a/toontown/battle/FireCogPanel.py +++ b/toontown/battle/FireCogPanel.py @@ -4,7 +4,7 @@ from direct.fsm import StateData from direct.directnotify import DirectNotifyGlobal from toontown.battle import BattleBase from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class FireCogPanel(StateData.StateData): diff --git a/toontown/battle/MovieCamera.py b/toontown/battle/MovieCamera.py index c131a69..0c9c934 100644 --- a/toontown/battle/MovieCamera.py +++ b/toontown/battle/MovieCamera.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .BattleBase import * from .BattleProps import * diff --git a/toontown/battle/MovieFire.py b/toontown/battle/MovieFire.py index 26100cb..c06dce8 100644 --- a/toontown/battle/MovieFire.py +++ b/toontown/battle/MovieFire.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .BattleBase import * from .BattleProps import * diff --git a/toontown/battle/MovieSOS.py b/toontown/battle/MovieSOS.py index f02f0be..4369e70 100644 --- a/toontown/battle/MovieSOS.py +++ b/toontown/battle/MovieSOS.py @@ -2,7 +2,7 @@ from direct.interval.IntervalGlobal import * from . import MovieCamera from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import TTLocalizer -from pandac.PandaModules import * +from panda3d.core import * notify = DirectNotifyGlobal.directNotify.newCategory('MovieSOS') def doSOSs(calls): diff --git a/toontown/battle/MovieThrow.py b/toontown/battle/MovieThrow.py index 07c7eee..43af25b 100644 --- a/toontown/battle/MovieThrow.py +++ b/toontown/battle/MovieThrow.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .BattleBase import * from .BattleProps import * diff --git a/toontown/battle/PlayByPlayText.py b/toontown/battle/PlayByPlayText.py index b48cbff..6d85453 100644 --- a/toontown/battle/PlayByPlayText.py +++ b/toontown/battle/PlayByPlayText.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase.ToontownBattleGlobals import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/battle/RewardPanel.py b/toontown/battle/RewardPanel.py index c02f3bd..ac38399 100644 --- a/toontown/battle/RewardPanel.py +++ b/toontown/battle/RewardPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase import ToontownBattleGlobals from . import BattleBase diff --git a/toontown/building/BoardingGroupShow.py b/toontown/building/BoardingGroupShow.py index 83b98ec..0c253fd 100644 --- a/toontown/building/BoardingGroupShow.py +++ b/toontown/building/BoardingGroupShow.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from direct.task.Task import Task diff --git a/toontown/building/DistributedAnimBuilding.py b/toontown/building/DistributedAnimBuilding.py index f20dc55..b862c82 100644 --- a/toontown/building/DistributedAnimBuilding.py +++ b/toontown/building/DistributedAnimBuilding.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import DecalEffect, DepthWriteAttrib +from panda3d.core import DecalEffect, DepthWriteAttrib from direct.directnotify import DirectNotifyGlobal from toontown.building import DistributedBuilding diff --git a/toontown/building/DistributedAnimDoor.py b/toontown/building/DistributedAnimDoor.py index 7c7a673..0ea43e4 100644 --- a/toontown/building/DistributedAnimDoor.py +++ b/toontown/building/DistributedAnimDoor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, VBase3 +from panda3d.core import NodePath, VBase3 from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import Parallel, Sequence, Wait, HprInterval, LerpHprInterval, SoundInterval from toontown.building import DistributedDoor diff --git a/toontown/building/DistributedAnimatedProp.py b/toontown/building/DistributedAnimatedProp.py index f63f821..c3618c8 100644 --- a/toontown/building/DistributedAnimatedProp.py +++ b/toontown/building/DistributedAnimatedProp.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/building/DistributedBoardingParty.py b/toontown/building/DistributedBoardingParty.py index f9e263c..c3562a8 100644 --- a/toontown/building/DistributedBoardingParty.py +++ b/toontown/building/DistributedBoardingParty.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals diff --git a/toontown/building/DistributedBossElevator.py b/toontown/building/DistributedBossElevator.py index 2ef5e94..1f24e0e 100644 --- a/toontown/building/DistributedBossElevator.py +++ b/toontown/building/DistributedBossElevator.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/DistributedBuilding.py b/toontown/building/DistributedBuilding.py index a2ca79c..bf24ddc 100644 --- a/toontown/building/DistributedBuilding.py +++ b/toontown/building/DistributedBuilding.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.directtools.DirectGeometry import * @@ -6,7 +6,7 @@ from .ElevatorConstants import * from .ElevatorUtils import * from .SuitBuildingGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/building/DistributedClubElevator.py b/toontown/building/DistributedClubElevator.py index 7b938b9..7443c3c 100644 --- a/toontown/building/DistributedClubElevator.py +++ b/toontown/building/DistributedClubElevator.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from toontown.building import ElevatorConstants diff --git a/toontown/building/DistributedDoor.py b/toontown/building/DistributedDoor.py index 05b0c7c..42c27e1 100644 --- a/toontown/building/DistributedDoor.py +++ b/toontown/building/DistributedDoor.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/building/DistributedElevator.py b/toontown/building/DistributedElevator.py index d853ca3..f1a9b6e 100644 --- a/toontown/building/DistributedElevator.py +++ b/toontown/building/DistributedElevator.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/DistributedElevatorExt.py b/toontown/building/DistributedElevatorExt.py index a4f2a48..cb354c5 100644 --- a/toontown/building/DistributedElevatorExt.py +++ b/toontown/building/DistributedElevatorExt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/building/DistributedElevatorFSM.py b/toontown/building/DistributedElevatorFSM.py index 0d9c945..34fd308 100644 --- a/toontown/building/DistributedElevatorFSM.py +++ b/toontown/building/DistributedElevatorFSM.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/DistributedElevatorFloor.py b/toontown/building/DistributedElevatorFloor.py index 28a825b..0e95f04 100644 --- a/toontown/building/DistributedElevatorFloor.py +++ b/toontown/building/DistributedElevatorFloor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/DistributedElevatorInt.py b/toontown/building/DistributedElevatorInt.py index 094a700..709131c 100644 --- a/toontown/building/DistributedElevatorInt.py +++ b/toontown/building/DistributedElevatorInt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/DistributedGagshopInterior.py b/toontown/building/DistributedGagshopInterior.py index 27a9fa1..1ba03cc 100644 --- a/toontown/building/DistributedGagshopInterior.py +++ b/toontown/building/DistributedGagshopInterior.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toonbase.ToontownGlobals import * import random diff --git a/toontown/building/DistributedHQInterior.py b/toontown/building/DistributedHQInterior.py index 187e037..7cf0e7f 100644 --- a/toontown/building/DistributedHQInterior.py +++ b/toontown/building/DistributedHQInterior.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toonbase.ToontownGlobals import * import random diff --git a/toontown/building/DistributedKartShopInterior.py b/toontown/building/DistributedKartShopInterior.py index 4c9c519..60e218e 100644 --- a/toontown/building/DistributedKartShopInterior.py +++ b/toontown/building/DistributedKartShopInterior.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from direct.distributed.DistributedObject import DistributedObject -from pandac.PandaModules import * +from panda3d.core import * from toontown.building import ToonInteriorColors from toontown.hood import ZoneUtil from toontown.toonbase.ToonBaseGlobal import * diff --git a/toontown/building/DistributedKnockKnockDoor.py b/toontown/building/DistributedKnockKnockDoor.py index 7b9120a..c984189 100644 --- a/toontown/building/DistributedKnockKnockDoor.py +++ b/toontown/building/DistributedKnockKnockDoor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/building/DistributedPetshopInterior.py b/toontown/building/DistributedPetshopInterior.py index bf8b7d3..7e07ce3 100644 --- a/toontown/building/DistributedPetshopInterior.py +++ b/toontown/building/DistributedPetshopInterior.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toonbase.ToontownGlobals import * import random diff --git a/toontown/building/DistributedToonInterior.py b/toontown/building/DistributedToonInterior.py index 6ebd00b..0d3a3c2 100644 --- a/toontown/building/DistributedToonInterior.py +++ b/toontown/building/DistributedToonInterior.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/building/DistributedTutorialInterior.py b/toontown/building/DistributedTutorialInterior.py index 2d8b1d1..8fa3ed3 100644 --- a/toontown/building/DistributedTutorialInterior.py +++ b/toontown/building/DistributedTutorialInterior.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/building/Elevator.py b/toontown/building/Elevator.py index 8aae96c..823bfa5 100644 --- a/toontown/building/Elevator.py +++ b/toontown/building/Elevator.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/building/ElevatorConstants.py b/toontown/building/ElevatorConstants.py index a8bbcb2..f5a993f 100644 --- a/toontown/building/ElevatorConstants.py +++ b/toontown/building/ElevatorConstants.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * ELEVATOR_NORMAL = 0 ELEVATOR_VP = 1 ELEVATOR_MINT = 2 diff --git a/toontown/building/ElevatorUtils.py b/toontown/building/ElevatorUtils.py index 2b2cd79..b64230a 100644 --- a/toontown/building/ElevatorUtils.py +++ b/toontown/building/ElevatorUtils.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .ElevatorConstants import * diff --git a/toontown/building/GagshopBuildingAI.py b/toontown/building/GagshopBuildingAI.py index 213bb04..f8ba965 100644 --- a/toontown/building/GagshopBuildingAI.py +++ b/toontown/building/GagshopBuildingAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import DistributedDoorAI, DistributedGagshopInteriorAI, FADoorCodes, DoorTypes from toontown.toon import NPCToons diff --git a/toontown/building/HQBuildingAI.py b/toontown/building/HQBuildingAI.py index 633066b..ce2ec41 100644 --- a/toontown/building/HQBuildingAI.py +++ b/toontown/building/HQBuildingAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import DistributedDoorAI, DistributedHQInteriorAI, FADoorCodes, DoorTypes from toontown.toon import NPCToons diff --git a/toontown/building/KartShopBuildingAI.py b/toontown/building/KartShopBuildingAI.py index fdcfd82..3f8d9b3 100644 --- a/toontown/building/KartShopBuildingAI.py +++ b/toontown/building/KartShopBuildingAI.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from toontown.building import FADoorCodes, DoorTypes from toontown.building.DistributedDoorAI import DistributedDoorAI from toontown.building.DistributedKartShopInteriorAI import DistributedKartShopInteriorAI diff --git a/toontown/building/PetshopBuildingAI.py b/toontown/building/PetshopBuildingAI.py index 86dabbf..555e3ee 100644 --- a/toontown/building/PetshopBuildingAI.py +++ b/toontown/building/PetshopBuildingAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import DistributedDoorAI, DistributedPetshopInteriorAI, FADoorCodes, DoorTypes from toontown.toon import NPCToons diff --git a/toontown/building/SuitInterior.py b/toontown/building/SuitInterior.py index c7447f8..c7ef2b3 100644 --- a/toontown/building/SuitInterior.py +++ b/toontown/building/SuitInterior.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.hood import Place diff --git a/toontown/building/ToonInterior.py b/toontown/building/ToonInterior.py index 29e41d2..5037f60 100644 --- a/toontown/building/ToonInterior.py +++ b/toontown/building/ToonInterior.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.hood import Place diff --git a/toontown/catalog/CatalogAccessoryItem.py b/toontown/catalog/CatalogAccessoryItem.py index 4f93315..69715df 100644 --- a/toontown/catalog/CatalogAccessoryItem.py +++ b/toontown/catalog/CatalogAccessoryItem.py @@ -6,7 +6,7 @@ from toontown.toon import ToonDNA import random from direct.showbase import PythonUtil from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * class CatalogAccessoryItem(CatalogItem.CatalogItem): diff --git a/toontown/catalog/CatalogChatItem.py b/toontown/catalog/CatalogChatItem.py index 0a89e4c..1f161af 100644 --- a/toontown/catalog/CatalogChatItem.py +++ b/toontown/catalog/CatalogChatItem.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import CatalogItem from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPLocalizer diff --git a/toontown/catalog/CatalogChatItemPicker.py b/toontown/catalog/CatalogChatItemPicker.py index 655ae02..1355017 100644 --- a/toontown/catalog/CatalogChatItemPicker.py +++ b/toontown/catalog/CatalogChatItemPicker.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from . import CatalogItem from toontown.toonbase import ToontownGlobals diff --git a/toontown/catalog/CatalogClothingItem.py b/toontown/catalog/CatalogClothingItem.py index 83aac86..c58a7d5 100644 --- a/toontown/catalog/CatalogClothingItem.py +++ b/toontown/catalog/CatalogClothingItem.py @@ -5,7 +5,7 @@ from toontown.toon import ToonDNA import random from direct.showbase import PythonUtil from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * CTArticle = 0 CTString = 1 CTBasePrice = 2 diff --git a/toontown/catalog/CatalogFlooringItem.py b/toontown/catalog/CatalogFlooringItem.py index 984b135..664a7d1 100644 --- a/toontown/catalog/CatalogFlooringItem.py +++ b/toontown/catalog/CatalogFlooringItem.py @@ -83,7 +83,7 @@ class CatalogFlooringItem(CatalogSurfaceItem): return FlooringTypes[self.patternIndex][FTBasePrice] def loadTexture(self): - from pandac.PandaModules import Texture + from panda3d.core import Texture filename = FlooringTypes[self.patternIndex][FTTextureName] texture = loader.loadTexture(filename) texture.setMinfilter(Texture.FTLinearMipmapLinear) diff --git a/toontown/catalog/CatalogGardenItem.py b/toontown/catalog/CatalogGardenItem.py index 6a8e98d..dcaff93 100644 --- a/toontown/catalog/CatalogGardenItem.py +++ b/toontown/catalog/CatalogGardenItem.py @@ -5,7 +5,7 @@ from otp.otpbase import OTPLocalizer from direct.interval.IntervalGlobal import * from toontown.estate import GardenGlobals from direct.actor import Actor -from pandac.PandaModules import NodePath +from panda3d.core import NodePath class CatalogGardenItem(CatalogItem.CatalogItem): sequenceNumber = 0 diff --git a/toontown/catalog/CatalogGenerator.py b/toontown/catalog/CatalogGenerator.py index e686935..61ccc99 100644 --- a/toontown/catalog/CatalogGenerator.py +++ b/toontown/catalog/CatalogGenerator.py @@ -25,7 +25,7 @@ from toontown.toonbase import ToontownGlobals import types import random import time -from pandac.PandaModules import * +from panda3d.core import * MetaItems = {100: getAllClothes(101, 102, 103, 104, 105, 106, 107, 108, 109, 109, 111, 115, 201, 202, 203, 204, 205, 206, 207, 208, 209, 209, 211, 215), 300: getAllClothes(301, 302, 303, 304, 305, 308, 401, 403, 404, 405, 407, 451, 452, 453), 2000: getChatRange(0, 1999), diff --git a/toontown/catalog/CatalogItem.py b/toontown/catalog/CatalogItem.py index 5f01a55..0ed36d2 100644 --- a/toontown/catalog/CatalogItem.py +++ b/toontown/catalog/CatalogItem.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals from direct.interval.IntervalGlobal import * diff --git a/toontown/catalog/CatalogItemList.py b/toontown/catalog/CatalogItemList.py index 3f809e8..1c3c199 100644 --- a/toontown/catalog/CatalogItemList.py +++ b/toontown/catalog/CatalogItemList.py @@ -1,5 +1,5 @@ from . import CatalogItem -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.PyDatagram import PyDatagram from direct.distributed.PyDatagramIterator import PyDatagramIterator import functools diff --git a/toontown/catalog/CatalogItemPanel.py b/toontown/catalog/CatalogItemPanel.py index 1d6be69..99deb70 100644 --- a/toontown/catalog/CatalogItemPanel.py +++ b/toontown/catalog/CatalogItemPanel.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer diff --git a/toontown/catalog/CatalogMouldingItem.py b/toontown/catalog/CatalogMouldingItem.py index ca976d0..1341a14 100644 --- a/toontown/catalog/CatalogMouldingItem.py +++ b/toontown/catalog/CatalogMouldingItem.py @@ -68,7 +68,7 @@ class CatalogMouldingItem(CatalogSurfaceItem): return MouldingTypes[self.patternIndex][MTBasePrice] def loadTexture(self): - from pandac.PandaModules import Texture + from panda3d.core import Texture filename = MouldingTypes[self.patternIndex][MTTextureName] texture = loader.loadTexture(filename) texture.setMinfilter(Texture.FTLinearMipmapLinear) diff --git a/toontown/catalog/CatalogNotifyDialog.py b/toontown/catalog/CatalogNotifyDialog.py index 838b6d5..53bdc6b 100644 --- a/toontown/catalog/CatalogNotifyDialog.py +++ b/toontown/catalog/CatalogNotifyDialog.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * CatalogNotifyBaseXPos = 0.4 class CatalogNotifyDialog: diff --git a/toontown/catalog/CatalogScreen.py b/toontown/catalog/CatalogScreen.py index 426e58e..7b9e3c9 100644 --- a/toontown/catalog/CatalogScreen.py +++ b/toontown/catalog/CatalogScreen.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectScrolledList import * from toontown.toonbase import ToontownGlobals from toontown.toontowngui import TTDialog diff --git a/toontown/catalog/CatalogWainscotingItem.py b/toontown/catalog/CatalogWainscotingItem.py index b6b9cad..462571d 100644 --- a/toontown/catalog/CatalogWainscotingItem.py +++ b/toontown/catalog/CatalogWainscotingItem.py @@ -59,7 +59,7 @@ class CatalogWainscotingItem(CatalogSurfaceItem): return WainscotingTypes[self.patternIndex][WSTBasePrice] def loadTexture(self): - from pandac.PandaModules import Texture + from panda3d.core import Texture filename = WainscotingTypes[self.patternIndex][WSTTextureName] texture = loader.loadTexture(filename) texture.setMinfilter(Texture.FTLinearMipmapLinear) diff --git a/toontown/catalog/CatalogWallpaperItem.py b/toontown/catalog/CatalogWallpaperItem.py index fd0f107..77802ed 100644 --- a/toontown/catalog/CatalogWallpaperItem.py +++ b/toontown/catalog/CatalogWallpaperItem.py @@ -620,7 +620,7 @@ class CatalogWallpaperItem(CatalogSurfaceItem): return WallpaperTypes[self.patternIndex][WTBasePrice] def loadTexture(self): - from pandac.PandaModules import Texture + from panda3d.core import Texture filename = WallpaperTypes[self.patternIndex][WTTextureName] texture = loader.loadTexture(filename) texture.setMinfilter(Texture.FTLinearMipmapLinear) @@ -641,7 +641,7 @@ class CatalogWallpaperItem(CatalogSurfaceItem): return def loadBorderTexture(self): - from pandac.PandaModules import Texture + from panda3d.core import Texture if self.borderIndex == None or self.borderIndex == 0: return self.loadTexture() borderInfo = BorderTypes[self.borderIndex] diff --git a/toontown/catalog/CatalogWindowItem.py b/toontown/catalog/CatalogWindowItem.py index 9ad7fab..3d824f2 100644 --- a/toontown/catalog/CatalogWindowItem.py +++ b/toontown/catalog/CatalogWindowItem.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import CatalogAtticItem from . import CatalogItem from toontown.toonbase import ToontownGlobals diff --git a/toontown/catalog/MailboxScreen.py b/toontown/catalog/MailboxScreen.py index acbcff5..e4a5eee 100644 --- a/toontown/catalog/MailboxScreen.py +++ b/toontown/catalog/MailboxScreen.py @@ -1,7 +1,7 @@ from direct.directnotify.DirectNotifyGlobal import * from direct.gui.DirectGui import * from direct.showbase import DirectObject, PythonUtil -from pandac.PandaModules import * +from panda3d.core import * from toontown.parties import PartyGlobals from toontown.parties.InviteInfo import InviteInfoBase from toontown.parties.PartyGlobals import InviteStatus diff --git a/toontown/char/Char.py b/toontown/char/Char.py index 1af94f2..8d42300 100644 --- a/toontown/char/Char.py +++ b/toontown/char/Char.py @@ -1,9 +1,9 @@ from otp.avatar import Avatar -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.task import Task import random -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal AnimDict = {'mk': (('walk', 'walk', 3), ('run', 'run', 3), diff --git a/toontown/char/CharDNA.py b/toontown/char/CharDNA.py index f48e2bf..0c7c5da 100644 --- a/toontown/char/CharDNA.py +++ b/toontown/char/CharDNA.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * import random from direct.distributed.PyDatagram import PyDatagram diff --git a/toontown/chat/ResistanceChat.py b/toontown/chat/ResistanceChat.py index 777753f..aa54c0a 100644 --- a/toontown/chat/ResistanceChat.py +++ b/toontown/chat/ResistanceChat.py @@ -1,5 +1,5 @@ from direct.interval.IntervalGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownBattleGlobals from toontown.battle import BattleParticles diff --git a/toontown/chat/TTChatInputNormal.py b/toontown/chat/TTChatInputNormal.py index d1f0198..b474e34 100644 --- a/toontown/chat/TTChatInputNormal.py +++ b/toontown/chat/TTChatInputNormal.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.chat import ChatInputNormal from otp.otpbase import OTPLocalizer from otp.otpbase import OTPGlobals diff --git a/toontown/chat/TTChatInputSpeedChat.py b/toontown/chat/TTChatInputSpeedChat.py index 8e74c32..27434db 100644 --- a/toontown/chat/TTChatInputSpeedChat.py +++ b/toontown/chat/TTChatInputSpeedChat.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.speedchat.SpeedChatTypes import * from toontown.speedchat.TTSpeedChatTypes import * from otp.speedchat.SpeedChat import SpeedChat diff --git a/toontown/chat/TTChatInputWhiteList.py b/toontown/chat/TTChatInputWhiteList.py index 5e6e6a8..454593c 100644 --- a/toontown/chat/TTChatInputWhiteList.py +++ b/toontown/chat/TTChatInputWhiteList.py @@ -4,7 +4,7 @@ from direct.showbase import DirectObject from otp.otpbase import OTPGlobals import sys from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPLocalizer from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/chat/TTTalkAssistant.py b/toontown/chat/TTTalkAssistant.py index 09b89b6..6913e0a 100644 --- a/toontown/chat/TTTalkAssistant.py +++ b/toontown/chat/TTTalkAssistant.py @@ -6,7 +6,7 @@ from toontown.toonbase import TTLocalizer from direct.directnotify import DirectNotifyGlobal from otp.otpbase import OTPGlobals from otp.speedchat import SCDecoders -from pandac.PandaModules import * +from panda3d.core import * from otp.chat.ChatGlobals import * from otp.chat.TalkGlobals import * from otp.speedchat import SpeedChatGlobals diff --git a/toontown/chat/ToontownChatManager.py b/toontown/chat/ToontownChatManager.py index 70cf67c..579aa83 100644 --- a/toontown/chat/ToontownChatManager.py +++ b/toontown/chat/ToontownChatManager.py @@ -7,7 +7,7 @@ from toontown.toonbase import TTLocalizer from toontown.toontowngui import TeaserPanel from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from otp.chat import ChatManager from .TTChatInputSpeedChat import TTChatInputSpeedChat from .TTChatInputNormal import TTChatInputNormal diff --git a/toontown/classicchars/CCharPaths.py b/toontown/classicchars/CCharPaths.py index f69d6ae..8e97a39 100644 --- a/toontown/classicchars/CCharPaths.py +++ b/toontown/classicchars/CCharPaths.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import Point3 -from pandac.PandaModules import Vec3 +from panda3d.core import Point3 +from panda3d.core import Vec3 import copy from toontown.toonbase import TTLocalizer __mickeyPaths = {'a': (Point3(17, -17, 4.025), ('b', 'e')), diff --git a/toontown/classicchars/CharStateDatas.py b/toontown/classicchars/CharStateDatas.py index 031cb42..5ce497b 100644 --- a/toontown/classicchars/CharStateDatas.py +++ b/toontown/classicchars/CharStateDatas.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import StateData diff --git a/toontown/classicchars/DistributedCCharBase.py b/toontown/classicchars/DistributedCCharBase.py index 89a3f08..f5c908a 100644 --- a/toontown/classicchars/DistributedCCharBase.py +++ b/toontown/classicchars/DistributedCCharBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from otp.avatar import Avatar diff --git a/toontown/classicchars/DistributedDonald.py b/toontown/classicchars/DistributedDonald.py index 7f2cde7..67b1be4 100644 --- a/toontown/classicchars/DistributedDonald.py +++ b/toontown/classicchars/DistributedDonald.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/classicchars/DistributedDonaldDock.py b/toontown/classicchars/DistributedDonaldDock.py index 7ba4567..593af7f 100644 --- a/toontown/classicchars/DistributedDonaldDock.py +++ b/toontown/classicchars/DistributedDonaldDock.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/classicchars/DistributedFrankenDonald.py b/toontown/classicchars/DistributedFrankenDonald.py index 8ec5baf..bbd193b 100644 --- a/toontown/classicchars/DistributedFrankenDonald.py +++ b/toontown/classicchars/DistributedFrankenDonald.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import DistributedCCharBase from . import DistributedDonald diff --git a/toontown/classicchars/DistributedGoofy.py b/toontown/classicchars/DistributedGoofy.py index ebcdc07..219e173 100644 --- a/toontown/classicchars/DistributedGoofy.py +++ b/toontown/classicchars/DistributedGoofy.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedGoofySpeedway.py b/toontown/classicchars/DistributedGoofySpeedway.py index 2f2e946..020e061 100644 --- a/toontown/classicchars/DistributedGoofySpeedway.py +++ b/toontown/classicchars/DistributedGoofySpeedway.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedMickey.py b/toontown/classicchars/DistributedMickey.py index da8894e..26eb2a8 100644 --- a/toontown/classicchars/DistributedMickey.py +++ b/toontown/classicchars/DistributedMickey.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedMinnie.py b/toontown/classicchars/DistributedMinnie.py index 1ad09b3..2de823c 100644 --- a/toontown/classicchars/DistributedMinnie.py +++ b/toontown/classicchars/DistributedMinnie.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedPluto.py b/toontown/classicchars/DistributedPluto.py index cd07da8..9afb7f5 100644 --- a/toontown/classicchars/DistributedPluto.py +++ b/toontown/classicchars/DistributedPluto.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/classicchars/DistributedSuperGoofy.py b/toontown/classicchars/DistributedSuperGoofy.py index 578c967..b96894e 100644 --- a/toontown/classicchars/DistributedSuperGoofy.py +++ b/toontown/classicchars/DistributedSuperGoofy.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedVampireMickey.py b/toontown/classicchars/DistributedVampireMickey.py index 0340382..870e0f5 100644 --- a/toontown/classicchars/DistributedVampireMickey.py +++ b/toontown/classicchars/DistributedVampireMickey.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedWesternPluto.py b/toontown/classicchars/DistributedWesternPluto.py index 5f5768c..94a8bd1 100644 --- a/toontown/classicchars/DistributedWesternPluto.py +++ b/toontown/classicchars/DistributedWesternPluto.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/classicchars/DistributedWitchMinnie.py b/toontown/classicchars/DistributedWitchMinnie.py index a3fc0b4..249ad73 100644 --- a/toontown/classicchars/DistributedWitchMinnie.py +++ b/toontown/classicchars/DistributedWitchMinnie.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedCCharBase from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/cogdominium/CogdoBarrelRoom.py b/toontown/cogdominium/CogdoBarrelRoom.py index bea11d6..ce231b9 100644 --- a/toontown/cogdominium/CogdoBarrelRoom.py +++ b/toontown/cogdominium/CogdoBarrelRoom.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals, ToontownTimer diff --git a/toontown/cogdominium/CogdoBarrelRoomConsts.py b/toontown/cogdominium/CogdoBarrelRoomConsts.py index 669399c..c3540c9 100644 --- a/toontown/cogdominium/CogdoBarrelRoomConsts.py +++ b/toontown/cogdominium/CogdoBarrelRoomConsts.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * CollectionTime = 30 BarrelRoomIntroTimeout = 15.0 RewardUiTime = 5.0 diff --git a/toontown/cogdominium/CogdoBarrelRoomRewardPanel.py b/toontown/cogdominium/CogdoBarrelRoomRewardPanel.py index 1ac65d8..c9cf2d7 100644 --- a/toontown/cogdominium/CogdoBarrelRoomRewardPanel.py +++ b/toontown/cogdominium/CogdoBarrelRoomRewardPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from toontown.toonbase import ToontownGlobals, TTLocalizer from toontown.cogdominium import CogdoBarrelRoomConsts diff --git a/toontown/cogdominium/CogdoElevatorMovie.py b/toontown/cogdominium/CogdoElevatorMovie.py index ed13921..c76972f 100644 --- a/toontown/cogdominium/CogdoElevatorMovie.py +++ b/toontown/cogdominium/CogdoElevatorMovie.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, PlaneNode, TextNode +from panda3d.core import NodePath, Point3, PlaneNode, TextNode from direct.interval.IntervalGlobal import * from direct.showbase.ShowBase import Plane from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/cogdominium/CogdoExecutiveSuiteMovies.py b/toontown/cogdominium/CogdoExecutiveSuiteMovies.py index 35a072b..0558ba0 100644 --- a/toontown/cogdominium/CogdoExecutiveSuiteMovies.py +++ b/toontown/cogdominium/CogdoExecutiveSuiteMovies.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, PlaneNode, TextNode +from panda3d.core import NodePath, Point3, PlaneNode, TextNode from direct.interval.IntervalGlobal import * from direct.showbase.ShowBase import Plane from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/cogdominium/CogdoFlyingCameraManager.py b/toontown/cogdominium/CogdoFlyingCameraManager.py index 4131851..b139935 100644 --- a/toontown/cogdominium/CogdoFlyingCameraManager.py +++ b/toontown/cogdominium/CogdoFlyingCameraManager.py @@ -1,7 +1,7 @@ import math -from pandac.PandaModules import NodePath, Vec3 -from pandac.PandaModules import CollisionTraverser, CollisionHandlerQueue -from pandac.PandaModules import CollisionRay, CollisionNode +from panda3d.core import NodePath, Vec3 +from panda3d.core import CollisionTraverser, CollisionHandlerQueue +from panda3d.core import CollisionRay, CollisionNode from math import pi, sin, cos from direct.showbase.PythonUtil import bound as clamp from otp.otpbase import OTPGlobals diff --git a/toontown/cogdominium/CogdoFlyingCollisions.py b/toontown/cogdominium/CogdoFlyingCollisions.py index 23fb76b..47a466d 100644 --- a/toontown/cogdominium/CogdoFlyingCollisions.py +++ b/toontown/cogdominium/CogdoFlyingCollisions.py @@ -1,5 +1,5 @@ from direct.controls.GravityWalker import GravityWalker -from pandac.PandaModules import CollisionSphere, CollisionNode, BitMask32, CollisionHandlerEvent, CollisionRay, CollisionHandlerGravity, CollisionHandlerFluidPusher, CollisionHandlerPusher +from panda3d.core import CollisionSphere, CollisionNode, BitMask32, CollisionHandlerEvent, CollisionRay, CollisionHandlerGravity, CollisionHandlerFluidPusher, CollisionHandlerPusher from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/cogdominium/CogdoFlyingGameGlobals.py b/toontown/cogdominium/CogdoFlyingGameGlobals.py index 5dc4e3a..e5c9127 100644 --- a/toontown/cogdominium/CogdoFlyingGameGlobals.py +++ b/toontown/cogdominium/CogdoFlyingGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase4, Vec3, Point3 +from panda3d.core import VBase4, Vec3, Point3 from .CogdoUtil import VariableContainer, DevVariableContainer from enum import IntEnum AI = VariableContainer() diff --git a/toontown/cogdominium/CogdoFlyingGameGuis.py b/toontown/cogdominium/CogdoFlyingGameGuis.py index ac51645..4fe2374 100644 --- a/toontown/cogdominium/CogdoFlyingGameGuis.py +++ b/toontown/cogdominium/CogdoFlyingGameGuis.py @@ -1,7 +1,7 @@ from direct.interval.IntervalGlobal import LerpFunctionInterval from direct.gui.DirectGui import DirectLabel, DirectFrame, DGG from direct.showbase.PythonUtil import bound as clamp -from pandac.PandaModules import TextNode, NodePath +from panda3d.core import TextNode, NodePath from toontown.toonbase import ToontownGlobals from . import CogdoUtil from . import CogdoFlyingGameGlobals as Globals diff --git a/toontown/cogdominium/CogdoFlyingGameMovies.py b/toontown/cogdominium/CogdoFlyingGameMovies.py index 6d21e16..64378a5 100644 --- a/toontown/cogdominium/CogdoFlyingGameMovies.py +++ b/toontown/cogdominium/CogdoFlyingGameMovies.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, PlaneNode +from panda3d.core import Point3, PlaneNode from direct.showbase.ShowBase import Plane from direct.showbase.RandomNumGen import RandomNumGen from direct.interval.MetaInterval import Sequence, Parallel diff --git a/toontown/cogdominium/CogdoFlyingGuiManager.py b/toontown/cogdominium/CogdoFlyingGuiManager.py index 13906c0..8ef23cb 100644 --- a/toontown/cogdominium/CogdoFlyingGuiManager.py +++ b/toontown/cogdominium/CogdoFlyingGuiManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from toontown.toonbase import ToontownIntervals from toontown.toonbase.ToontownTimer import ToontownTimer from .CogdoFlyingGameGuis import CogdoFlyingFuelGui, CogdoFlyingProgressGui diff --git a/toontown/cogdominium/CogdoFlyingInputManager.py b/toontown/cogdominium/CogdoFlyingInputManager.py index d771f4c..21ace86 100644 --- a/toontown/cogdominium/CogdoFlyingInputManager.py +++ b/toontown/cogdominium/CogdoFlyingInputManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import CollisionSphere, CollisionNode, BitMask32, CollisionHandlerEvent, CollisionRay +from panda3d.core import CollisionSphere, CollisionNode, BitMask32, CollisionHandlerEvent, CollisionRay from toontown.minigame import ArrowKeys class CogdoFlyingInputManager: diff --git a/toontown/cogdominium/CogdoFlyingLegalEagle.py b/toontown/cogdominium/CogdoFlyingLegalEagle.py index e4cbca8..14d3f99 100644 --- a/toontown/cogdominium/CogdoFlyingLegalEagle.py +++ b/toontown/cogdominium/CogdoFlyingLegalEagle.py @@ -6,7 +6,7 @@ from direct.task.Task import Task from direct.interval.IntervalGlobal import Sequence, Parallel, LerpScaleInterval, LerpFunctionInterval, Func, Wait, LerpFunc, SoundInterval, ParallelEndTogether, LerpPosInterval, ActorInterval, LerpPosHprInterval, LerpHprInterval from direct.directutil import Mopath from direct.showbase.PythonUtil import bound as clamp -from pandac.PandaModules import CollisionSphere, CollisionNode, CollisionTube, CollisionPolygon, Vec3, Point3 +from panda3d.core import CollisionSphere, CollisionNode, CollisionTube, CollisionPolygon, Vec3, Point3 from toontown.suit import Suit from toontown.suit import SuitDNA from toontown.toonbase import ToontownGlobals diff --git a/toontown/cogdominium/CogdoFlyingLevel.py b/toontown/cogdominium/CogdoFlyingLevel.py index 1a4f579..1fee577 100644 --- a/toontown/cogdominium/CogdoFlyingLevel.py +++ b/toontown/cogdominium/CogdoFlyingLevel.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import NodePath, Plane, Vec3, Point3 -from pandac.PandaModules import CollisionPlane, CollisionNode +from panda3d.core import NodePath, Plane, Vec3, Point3 +from panda3d.core import CollisionPlane, CollisionNode from direct.showbase.RandomNumGen import RandomNumGen from direct.showbase.DirectObject import DirectObject from direct.showbase.PythonUtil import bound as clamp diff --git a/toontown/cogdominium/CogdoFlyingLevelQuadrant.py b/toontown/cogdominium/CogdoFlyingLevelQuadrant.py index e3f6209..6edf3a7 100644 --- a/toontown/cogdominium/CogdoFlyingLevelQuadrant.py +++ b/toontown/cogdominium/CogdoFlyingLevelQuadrant.py @@ -1,6 +1,6 @@ import math from direct.directutil import Mopath -from pandac.PandaModules import NodePath, Point3, Vec4 +from panda3d.core import NodePath, Point3, Vec4 from .CogdoFlyingObjects import CogdoFlyingPlatform from . import CogdoFlyingGameGlobals as Globals diff --git a/toontown/cogdominium/CogdoFlyingLocalPlayer.py b/toontown/cogdominium/CogdoFlyingLocalPlayer.py index be681ae..bdd22fe 100644 --- a/toontown/cogdominium/CogdoFlyingLocalPlayer.py +++ b/toontown/cogdominium/CogdoFlyingLocalPlayer.py @@ -1,6 +1,6 @@ import math import random -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 from direct.directnotify import DirectNotifyGlobal from direct.task.Task import Task from direct.interval.FunctionInterval import Wait diff --git a/toontown/cogdominium/CogdoFlyingObjects.py b/toontown/cogdominium/CogdoFlyingObjects.py index 3ffd308..73ac609 100644 --- a/toontown/cogdominium/CogdoFlyingObjects.py +++ b/toontown/cogdominium/CogdoFlyingObjects.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import Sequence, Func, Parallel, Wait, LerpHprInterval, LerpScaleInterval, LerpFunctionInterval from otp.otpbase import OTPGlobals from toontown.toonbase import ToontownGlobals diff --git a/toontown/cogdominium/CogdoFlyingObstacles.py b/toontown/cogdominium/CogdoFlyingObstacles.py index 511c582..c189998 100644 --- a/toontown/cogdominium/CogdoFlyingObstacles.py +++ b/toontown/cogdominium/CogdoFlyingObstacles.py @@ -3,7 +3,7 @@ from direct.showbase.DirectObject import DirectObject from direct.interval.IntervalGlobal import LerpFunc, ActorInterval, LerpPosInterval from direct.interval.MetaInterval import Sequence from direct.directutil import Mopath -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.suit import Suit from toontown.suit import SuitDNA @@ -191,7 +191,7 @@ class CogdoFlyingObstacle(DirectObject): messenger.send(CogdoFlyingObstacle.ExitEventName, [self, collEntry]) -from pandac.PandaModules import TransformState +from panda3d.core import TransformState class CogdoFlyingWhirlwind(CogdoFlyingObstacle): diff --git a/toontown/cogdominium/CogdoFlyingPlayer.py b/toontown/cogdominium/CogdoFlyingPlayer.py index eed6293..fa5edfc 100644 --- a/toontown/cogdominium/CogdoFlyingPlayer.py +++ b/toontown/cogdominium/CogdoFlyingPlayer.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import DepthOffsetAttrib, NodePath, Vec3, Vec4, TextNode +from panda3d.core import DepthOffsetAttrib, NodePath, Vec3, Vec4, TextNode from direct.directnotify import DirectNotifyGlobal from direct.fsm.FSM import FSM from direct.interval.FunctionInterval import Wait diff --git a/toontown/cogdominium/CogdoFlyingShadowPlacer.py b/toontown/cogdominium/CogdoFlyingShadowPlacer.py index c7554f2..5f6ce59 100644 --- a/toontown/cogdominium/CogdoFlyingShadowPlacer.py +++ b/toontown/cogdominium/CogdoFlyingShadowPlacer.py @@ -1,6 +1,6 @@ from direct.controls.ControlManager import CollisionHandlerRayStart from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.task.Task import Task from direct.showbase.DirectObject import DirectObject from direct.showbase.ShadowPlacer import ShadowPlacer diff --git a/toontown/cogdominium/CogdoGameAudioManager.py b/toontown/cogdominium/CogdoGameAudioManager.py index ccfc36a..17ce2cf 100644 --- a/toontown/cogdominium/CogdoGameAudioManager.py +++ b/toontown/cogdominium/CogdoGameAudioManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import AudioSound +from panda3d.core import AudioSound from direct.interval.SoundInterval import SoundInterval class CogdoGameSfx: diff --git a/toontown/cogdominium/CogdoGameExit.py b/toontown/cogdominium/CogdoGameExit.py index 586881e..4263c73 100644 --- a/toontown/cogdominium/CogdoGameExit.py +++ b/toontown/cogdominium/CogdoGameExit.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3 +from panda3d.core import NodePath, Point3 from direct.interval.MetaInterval import Parallel, Sequence from direct.interval.SoundInterval import SoundInterval from direct.interval.FunctionInterval import Wait, Func diff --git a/toontown/cogdominium/CogdoGameGatherable.py b/toontown/cogdominium/CogdoGameGatherable.py index dd9c671..efe829f 100644 --- a/toontown/cogdominium/CogdoGameGatherable.py +++ b/toontown/cogdominium/CogdoGameGatherable.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import CollisionSphere, CollisionNode -from pandac.PandaModules import NodePath, BitMask32 +from panda3d.core import CollisionSphere, CollisionNode +from panda3d.core import NodePath, BitMask32 from direct.showbase.DirectObject import DirectObject from direct.interval.MetaInterval import Sequence from direct.interval.FunctionInterval import Func, Wait diff --git a/toontown/cogdominium/CogdoGameMessageDisplay.py b/toontown/cogdominium/CogdoGameMessageDisplay.py index 126d470..76b9709 100644 --- a/toontown/cogdominium/CogdoGameMessageDisplay.py +++ b/toontown/cogdominium/CogdoGameMessageDisplay.py @@ -1,7 +1,7 @@ from direct.interval.FunctionInterval import Func from direct.interval.LerpInterval import LerpFunc from direct.interval.MetaInterval import Sequence -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from toontown.toonbase import ToontownGlobals from . import CogdoGameConsts diff --git a/toontown/cogdominium/CogdoGameRulesPanel.py b/toontown/cogdominium/CogdoGameRulesPanel.py index 3f4555e..9aab7bb 100644 --- a/toontown/cogdominium/CogdoGameRulesPanel.py +++ b/toontown/cogdominium/CogdoGameRulesPanel.py @@ -2,7 +2,7 @@ from direct.task import Task from direct.fsm import StateData from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownTimer from toontown.toonbase import TTLocalizer from toontown.minigame import MinigameGlobals diff --git a/toontown/cogdominium/CogdoInterior.py b/toontown/cogdominium/CogdoInterior.py index 54c724d..c83279f 100644 --- a/toontown/cogdominium/CogdoInterior.py +++ b/toontown/cogdominium/CogdoInterior.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import ModelPool, TexturePool +from panda3d.core import ModelPool, TexturePool from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State diff --git a/toontown/cogdominium/CogdoMaze.py b/toontown/cogdominium/CogdoMaze.py index 1151886..3e58e73 100644 --- a/toontown/cogdominium/CogdoMaze.py +++ b/toontown/cogdominium/CogdoMaze.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, VBase4 +from panda3d.core import NodePath, VBase4 from direct.showbase.DirectObject import DirectObject from direct.showbase.RandomNumGen import RandomNumGen from toontown.minigame.MazeBase import MazeBase diff --git a/toontown/cogdominium/CogdoMazeGame.py b/toontown/cogdominium/CogdoMazeGame.py index 64065a1..c62defd 100644 --- a/toontown/cogdominium/CogdoMazeGame.py +++ b/toontown/cogdominium/CogdoMazeGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, CollisionSphere, CollisionNode +from panda3d.core import Point3, CollisionSphere, CollisionNode from direct.showbase.DirectObject import DirectObject from direct.showbase.PythonUtil import Functor from direct.showbase.RandomNumGen import RandomNumGen diff --git a/toontown/cogdominium/CogdoMazeGameGlobals.py b/toontown/cogdominium/CogdoMazeGameGlobals.py index 8e572e0..f05c238 100644 --- a/toontown/cogdominium/CogdoMazeGameGlobals.py +++ b/toontown/cogdominium/CogdoMazeGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase4 +from panda3d.core import VBase4 from enum import IntEnum GameActions = IntEnum('GameActions', ('EnterDoor', 'RevealDoor', diff --git a/toontown/cogdominium/CogdoMazeGameGuis.py b/toontown/cogdominium/CogdoMazeGameGuis.py index 2a53be4..98d017f 100644 --- a/toontown/cogdominium/CogdoMazeGameGuis.py +++ b/toontown/cogdominium/CogdoMazeGameGuis.py @@ -3,7 +3,7 @@ from direct.gui.DirectGui import DirectFrame, DGG from direct.task.Task import Task from direct.interval.MetaInterval import Sequence, Parallel from direct.interval.FunctionInterval import Wait, Func -from pandac.PandaModules import TextNode, NodePath, Point3, CardMaker +from panda3d.core import TextNode, NodePath, Point3, CardMaker from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownIntervals diff --git a/toontown/cogdominium/CogdoMazeGameMovies.py b/toontown/cogdominium/CogdoMazeGameMovies.py index 9bed1f7..e3b45e5 100644 --- a/toontown/cogdominium/CogdoMazeGameMovies.py +++ b/toontown/cogdominium/CogdoMazeGameMovies.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, PlaneNode +from panda3d.core import NodePath, Point3, PlaneNode from direct.showbase.ShowBase import Plane from direct.showbase.RandomNumGen import RandomNumGen from direct.interval.MetaInterval import Sequence, Parallel diff --git a/toontown/cogdominium/CogdoMazeGameObjects.py b/toontown/cogdominium/CogdoMazeGameObjects.py index bd17c9c..7cdfae9 100644 --- a/toontown/cogdominium/CogdoMazeGameObjects.py +++ b/toontown/cogdominium/CogdoMazeGameObjects.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import CollisionSphere, CollisionTube, CollisionNode -from pandac.PandaModules import NodePath, BitMask32 -from pandac.PandaModules import Point3, Point4, WaitInterval, Vec3, Vec4 -from direct.interval.IntervalGlobal import LerpScaleInterval, LerpColorScaleInterval, LerpPosInterval, LerpFunc +from panda3d.core import CollisionSphere, CollisionTube, CollisionNode +from panda3d.core import NodePath, BitMask32 +from panda3d.core import Point3, Point4, Vec3, Vec4 +from direct.interval.IntervalGlobal import WaitInterval, LerpScaleInterval, LerpColorScaleInterval, LerpPosInterval, LerpFunc from direct.interval.IntervalGlobal import Func, Sequence, Parallel from direct.showbase.DirectObject import DirectObject from direct.task.Task import Task diff --git a/toontown/cogdominium/CogdoMazeGuiManager.py b/toontown/cogdominium/CogdoMazeGuiManager.py index d39899a..b2cfe79 100644 --- a/toontown/cogdominium/CogdoMazeGuiManager.py +++ b/toontown/cogdominium/CogdoMazeGuiManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.interval.MetaInterval import Sequence from direct.interval.FunctionInterval import Func from toontown.toonbase.ToontownTimer import ToontownTimer diff --git a/toontown/cogdominium/CogdoMazeLocalPlayer.py b/toontown/cogdominium/CogdoMazeLocalPlayer.py index a02d539..86d3c15 100644 --- a/toontown/cogdominium/CogdoMazeLocalPlayer.py +++ b/toontown/cogdominium/CogdoMazeLocalPlayer.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, CollisionNode, CollisionSphere, CollisionHandlerEvent +from panda3d.core import Point3, CollisionNode, CollisionSphere, CollisionHandlerEvent from direct.interval.IntervalGlobal import Func, Sequence, Wait from direct.showbase.PythonUtil import bound as clamp from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/cogdominium/CogdoMazePlayer.py b/toontown/cogdominium/CogdoMazePlayer.py index c621189..d4830be 100644 --- a/toontown/cogdominium/CogdoMazePlayer.py +++ b/toontown/cogdominium/CogdoMazePlayer.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, NodePath +from panda3d.core import Point3, NodePath from direct.fsm.FSM import FSM from direct.interval.IntervalGlobal import ProjectileInterval, Track, ActorInterval from direct.interval.IntervalGlobal import Func, Sequence, Parallel diff --git a/toontown/cogdominium/CogdoMazeSuits.py b/toontown/cogdominium/CogdoMazeSuits.py index 3b9fa2a..d598301 100644 --- a/toontown/cogdominium/CogdoMazeSuits.py +++ b/toontown/cogdominium/CogdoMazeSuits.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, VBase4 +from panda3d.core import Point3, VBase4 from direct.fsm.FSM import FSM from direct.interval.IntervalGlobal import Sequence, Parallel, ActorInterval, Func, Wait, ParticleInterval, Track, LerpColorScaleInterval, LerpScaleInterval, LerpHprInterval from direct.task.Task import Task diff --git a/toontown/cogdominium/CogdoMemoGui.py b/toontown/cogdominium/CogdoMemoGui.py index 5002d4f..05b75c9 100644 --- a/toontown/cogdominium/CogdoMemoGui.py +++ b/toontown/cogdominium/CogdoMemoGui.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import DGG, DirectFrame, DirectLabel -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownIntervals from toontown.toonbase import TTLocalizer diff --git a/toontown/cogdominium/CogdoUtil.py b/toontown/cogdominium/CogdoUtil.py index 1d20843..26bc062 100644 --- a/toontown/cogdominium/CogdoUtil.py +++ b/toontown/cogdominium/CogdoUtil.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import ColorBlendAttrib +from panda3d.core import ColorBlendAttrib ModelPhase = 5 ModelTypes = {'animation': 'a', 'model': 'm', @@ -58,7 +58,7 @@ class CogdoGameMovie: def load(self): from toontown.toonbase import ToontownGlobals - from pandac.PandaModules import TextNode + from panda3d.core import TextNode textNode = TextNode('moviedialogue') textNode.setTextColor(0, 0, 0, 1) textNode.setCardColor(1, 1, 1, 1) diff --git a/toontown/cogdominium/DistCogdoCrane.py b/toontown/cogdominium/DistCogdoCrane.py index eee7525..d1a906f 100644 --- a/toontown/cogdominium/DistCogdoCrane.py +++ b/toontown/cogdominium/DistCogdoCrane.py @@ -1,5 +1,6 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.direct import SmoothMover from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import FSM diff --git a/toontown/cogdominium/DistCogdoCraneAI.py b/toontown/cogdominium/DistCogdoCraneAI.py index 6b1becb..2f897a2 100644 --- a/toontown/cogdominium/DistCogdoCraneAI.py +++ b/toontown/cogdominium/DistCogdoCraneAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObjectAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/cogdominium/DistCogdoCraneMoneyBag.py b/toontown/cogdominium/DistCogdoCraneMoneyBag.py index 995fb95..cac30d4 100644 --- a/toontown/cogdominium/DistCogdoCraneMoneyBag.py +++ b/toontown/cogdominium/DistCogdoCraneMoneyBag.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/cogdominium/DistCogdoCraneMoneyBagAI.py b/toontown/cogdominium/DistCogdoCraneMoneyBagAI.py index 29ddfa9..0d34063 100644 --- a/toontown/cogdominium/DistCogdoCraneMoneyBagAI.py +++ b/toontown/cogdominium/DistCogdoCraneMoneyBagAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals from toontown.cogdominium.DistCogdoCraneObjectAI import DistCogdoCraneObjectAI diff --git a/toontown/cogdominium/DistCogdoCraneObject.py b/toontown/cogdominium/DistCogdoCraneObject.py index cbf520d..ee8d887 100644 --- a/toontown/cogdominium/DistCogdoCraneObject.py +++ b/toontown/cogdominium/DistCogdoCraneObject.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from direct.distributed import DistributedSmoothNode diff --git a/toontown/cogdominium/DistCogdoCraneObjectAI.py b/toontown/cogdominium/DistCogdoCraneObjectAI.py index c754e9f..8af78fb 100644 --- a/toontown/cogdominium/DistCogdoCraneObjectAI.py +++ b/toontown/cogdominium/DistCogdoCraneObjectAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedSmoothNodeAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/cogdominium/DistCogdoGame.py b/toontown/cogdominium/DistCogdoGame.py index e93249e..a3737ac 100644 --- a/toontown/cogdominium/DistCogdoGame.py +++ b/toontown/cogdominium/DistCogdoGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase4 +from panda3d.core import VBase4 from direct.gui.DirectGui import DirectLabel from direct.directnotify.DirectNotifyGlobal import directNotify from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/cogdominium/DistCogdoMazeGameAI.py b/toontown/cogdominium/DistCogdoMazeGameAI.py index 3e06ac0..4cfe8f3 100644 --- a/toontown/cogdominium/DistCogdoMazeGameAI.py +++ b/toontown/cogdominium/DistCogdoMazeGameAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3, NodePath +from panda3d.core import Vec3, NodePath from direct.distributed.ClockDelta import globalClockDelta from otp.avatar.SpeedMonitor import SpeedMonitor from toontown.cogdominium.CogdoMaze import CogdoMazeFactory diff --git a/toontown/cogdominium/DistributedCogdoBarrel.py b/toontown/cogdominium/DistributedCogdoBarrel.py index d6c5c20..6a5b0d9 100644 --- a/toontown/cogdominium/DistributedCogdoBarrel.py +++ b/toontown/cogdominium/DistributedCogdoBarrel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.distributed import DistributedObject from toontown.toonbase import ToontownGlobals, ToontownIntervals diff --git a/toontown/cogdominium/DistributedCogdoInterior.py b/toontown/cogdominium/DistributedCogdoInterior.py index 10092db..e90b8a9 100644 --- a/toontown/cogdominium/DistributedCogdoInterior.py +++ b/toontown/cogdominium/DistributedCogdoInterior.py @@ -3,7 +3,7 @@ from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.building.ElevatorConstants import * from toontown.toon import NPCToons -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from panda3d.otp import * from toontown.building import ElevatorUtils from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/ActiveCell.py b/toontown/coghq/ActiveCell.py index 4462762..f97eba7 100644 --- a/toontown/coghq/ActiveCell.py +++ b/toontown/coghq/ActiveCell.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.level import BasicEntities from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/BattleBlocker.py b/toontown/coghq/BattleBlocker.py index ae333c6..e4c68c9 100644 --- a/toontown/coghq/BattleBlocker.py +++ b/toontown/coghq/BattleBlocker.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.level import BasicEntities from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/BossbotCogHQLoader.py b/toontown/coghq/BossbotCogHQLoader.py index 17dc20a..1902298 100644 --- a/toontown/coghq/BossbotCogHQLoader.py +++ b/toontown/coghq/BossbotCogHQLoader.py @@ -10,7 +10,7 @@ from toontown.coghq import BossbotHQExterior from toontown.coghq import BossbotHQBossBattle from toontown.coghq import BossbotOfficeExterior from toontown.coghq import CountryClubInterior -from pandac.PandaModules import DecalEffect, TextEncoder +from panda3d.core import DecalEffect, TextEncoder import random aspectSF = 0.7227 diff --git a/toontown/coghq/BossbotHQBossBattle.py b/toontown/coghq/BossbotHQBossBattle.py index 17bf36f..cd81c04 100644 --- a/toontown/coghq/BossbotHQBossBattle.py +++ b/toontown/coghq/BossbotHQBossBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.suit import DistributedBossbotBoss from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/BossbotHQExterior.py b/toontown/coghq/BossbotHQExterior.py index 0c05641..637a2bb 100644 --- a/toontown/coghq/BossbotHQExterior.py +++ b/toontown/coghq/BossbotHQExterior.py @@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownGlobals from toontown.building import Elevator -from pandac.PandaModules import * +from panda3d.core import * from toontown.coghq import CogHQExterior class BossbotHQExterior(CogHQExterior.CogHQExterior): diff --git a/toontown/coghq/BossbotOfficeExterior.py b/toontown/coghq/BossbotOfficeExterior.py index 1765d3b..30f6845 100644 --- a/toontown/coghq/BossbotOfficeExterior.py +++ b/toontown/coghq/BossbotOfficeExterior.py @@ -3,7 +3,7 @@ from direct.fsm import ClassicFSM from direct.fsm import State from toontown.toonbase import ToontownGlobals from toontown.building import Elevator -from pandac.PandaModules import * +from panda3d.core import * from . import FactoryExterior class BossbotOfficeExterior(FactoryExterior.FactoryExterior): diff --git a/toontown/coghq/CashbotCogHQLoader.py b/toontown/coghq/CashbotCogHQLoader.py index 91f0478..f050af9 100644 --- a/toontown/coghq/CashbotCogHQLoader.py +++ b/toontown/coghq/CashbotCogHQLoader.py @@ -8,7 +8,7 @@ from toontown.toon import Toon from direct.fsm import State from . import CashbotHQExterior from . import CashbotHQBossBattle -from pandac.PandaModules import DecalEffect +from panda3d.core import DecalEffect class CashbotCogHQLoader(CogHQLoader.CogHQLoader): notify = DirectNotifyGlobal.directNotify.newCategory('CashbotCogHQLoader') diff --git a/toontown/coghq/CashbotHQBossBattle.py b/toontown/coghq/CashbotHQBossBattle.py index 3eb29f5..fde43f7 100644 --- a/toontown/coghq/CashbotHQBossBattle.py +++ b/toontown/coghq/CashbotHQBossBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.suit import DistributedCashbotBoss from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/CashbotHQExterior.py b/toontown/coghq/CashbotHQExterior.py index aa985af..1dbc883 100644 --- a/toontown/coghq/CashbotHQExterior.py +++ b/toontown/coghq/CashbotHQExterior.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from direct.fsm import State -from pandac.PandaModules import * +from panda3d.core import * from toontown.building import Elevator from toontown.coghq import CogHQExterior from toontown.safezone import Train diff --git a/toontown/coghq/CogHQBossBattle.py b/toontown/coghq/CogHQBossBattle.py index 5622894..baafe44 100644 --- a/toontown/coghq/CogHQBossBattle.py +++ b/toontown/coghq/CogHQBossBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/CogHQExterior.py b/toontown/coghq/CogHQExterior.py index 1628219..7df3905 100644 --- a/toontown/coghq/CogHQExterior.py +++ b/toontown/coghq/CogHQExterior.py @@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownGlobals from toontown.hood import ZoneUtil -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from panda3d.toontown import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs diff --git a/toontown/coghq/CogHQLoader.py b/toontown/coghq/CogHQLoader.py index 2b99995..419faa8 100644 --- a/toontown/coghq/CogHQLoader.py +++ b/toontown/coghq/CogHQLoader.py @@ -7,7 +7,7 @@ from toontown.hood import QuietZoneState from toontown.hood import ZoneUtil from toontown.town import TownBattle from toontown.suit import Suit -from pandac.PandaModules import * +from panda3d.core import * class CogHQLoader(StateData.StateData): notify = DirectNotifyGlobal.directNotify.newCategory('CogHQLoader') diff --git a/toontown/coghq/CogHQLobby.py b/toontown/coghq/CogHQLobby.py index 1276da5..f28af14 100644 --- a/toontown/coghq/CogHQLobby.py +++ b/toontown/coghq/CogHQLobby.py @@ -4,7 +4,7 @@ from direct.fsm import State from toontown.hood import Place from toontown.building import Elevator from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs diff --git a/toontown/coghq/ConveyorBelt.py b/toontown/coghq/ConveyorBelt.py index 4266a46..1f98328 100644 --- a/toontown/coghq/ConveyorBelt.py +++ b/toontown/coghq/ConveyorBelt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import MovingPlatform from otp.level import BasicEntities diff --git a/toontown/coghq/CountryClubInterior.py b/toontown/coghq/CountryClubInterior.py index 3f6a920..622caad 100644 --- a/toontown/coghq/CountryClubInterior.py +++ b/toontown/coghq/CountryClubInterior.py @@ -3,7 +3,7 @@ from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.showbase import BulletinBoardWatcher -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toon import Toon diff --git a/toontown/coghq/CountryClubRoom.py b/toontown/coghq/CountryClubRoom.py index 0b12f64..1fb46f8 100644 --- a/toontown/coghq/CountryClubRoom.py +++ b/toontown/coghq/CountryClubRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/CrateGlobals.py b/toontown/coghq/CrateGlobals.py index 20b4efc..b1625bd 100644 --- a/toontown/coghq/CrateGlobals.py +++ b/toontown/coghq/CrateGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * CRATE_CLEAR = 0 CRATE_POWERUP = 1 CRATE_PUSH = 2 diff --git a/toontown/coghq/DinerStatusIndicator.py b/toontown/coghq/DinerStatusIndicator.py index 3e578f4..9da937d 100644 --- a/toontown/coghq/DinerStatusIndicator.py +++ b/toontown/coghq/DinerStatusIndicator.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, BillboardEffect, Vec3, Point3, TextureStage, TransparencyAttrib, DecalEffect, VBase4 +from panda3d.core import NodePath, BillboardEffect, Vec3, Point3, TextureStage, TransparencyAttrib, DecalEffect, VBase4 from direct.fsm import FSM from direct.gui.DirectGui import DirectFrame, DGG from direct.interval.IntervalGlobal import LerpScaleInterval, LerpColorScaleInterval, Parallel, Sequence, Wait diff --git a/toontown/coghq/DistributedBanquetTable.py b/toontown/coghq/DistributedBanquetTable.py index bb92986..4cf3c73 100644 --- a/toontown/coghq/DistributedBanquetTable.py +++ b/toontown/coghq/DistributedBanquetTable.py @@ -1,6 +1,7 @@ import math import random -from pandac.PandaModules import NodePath, Point3, VBase4, TextNode, Vec3, deg2Rad, CollisionSegment, CollisionHandlerQueue, CollisionNode, BitMask32, SmoothMover +from panda3d.core import NodePath, Point3, VBase4, TextNode, Vec3, deg2Rad, CollisionSegment, CollisionHandlerQueue, CollisionNode, BitMask32 +from panda3d.direct import SmoothMover from direct.fsm import FSM from direct.distributed import DistributedObject from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/coghq/DistributedBarrelBase.py b/toontown/coghq/DistributedBarrelBase.py index 9bef264..5781aca 100644 --- a/toontown/coghq/DistributedBarrelBase.py +++ b/toontown/coghq/DistributedBarrelBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.coghq import BarrelBase diff --git a/toontown/coghq/DistributedBattleFactory.py b/toontown/coghq/DistributedBattleFactory.py index aae1397..d1c1e63 100644 --- a/toontown/coghq/DistributedBattleFactory.py +++ b/toontown/coghq/DistributedBattleFactory.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * diff --git a/toontown/coghq/DistributedBeanBarrel.py b/toontown/coghq/DistributedBeanBarrel.py index f80ee0f..668eb7b 100644 --- a/toontown/coghq/DistributedBeanBarrel.py +++ b/toontown/coghq/DistributedBeanBarrel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedButton.py b/toontown/coghq/DistributedButton.py index 0d6de82..63bd0a4 100644 --- a/toontown/coghq/DistributedButton.py +++ b/toontown/coghq/DistributedButton.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from . import MovingPlatform diff --git a/toontown/coghq/DistributedCashbotBossCrane.py b/toontown/coghq/DistributedCashbotBossCrane.py index 3420b97..8f10715 100644 --- a/toontown/coghq/DistributedCashbotBossCrane.py +++ b/toontown/coghq/DistributedCashbotBossCrane.py @@ -1,5 +1,7 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.direct import * +from panda3d.physics import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/coghq/DistributedCashbotBossCraneAI.py b/toontown/coghq/DistributedCashbotBossCraneAI.py index 2974ae3..45ff12d 100644 --- a/toontown/coghq/DistributedCashbotBossCraneAI.py +++ b/toontown/coghq/DistributedCashbotBossCraneAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObjectAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/coghq/DistributedCashbotBossObject.py b/toontown/coghq/DistributedCashbotBossObject.py index 9e41c72..4353b34 100644 --- a/toontown/coghq/DistributedCashbotBossObject.py +++ b/toontown/coghq/DistributedCashbotBossObject.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from direct.distributed import DistributedSmoothNode diff --git a/toontown/coghq/DistributedCashbotBossObjectAI.py b/toontown/coghq/DistributedCashbotBossObjectAI.py index 196c127..1100ff6 100644 --- a/toontown/coghq/DistributedCashbotBossObjectAI.py +++ b/toontown/coghq/DistributedCashbotBossObjectAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedSmoothNodeAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/coghq/DistributedCashbotBossSafe.py b/toontown/coghq/DistributedCashbotBossSafe.py index b7c39e4..712b555 100644 --- a/toontown/coghq/DistributedCashbotBossSafe.py +++ b/toontown/coghq/DistributedCashbotBossSafe.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedCashbotBossSafeAI.py b/toontown/coghq/DistributedCashbotBossSafeAI.py index d15e85e..2b141c0 100644 --- a/toontown/coghq/DistributedCashbotBossSafeAI.py +++ b/toontown/coghq/DistributedCashbotBossSafeAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals from . import DistributedCashbotBossObjectAI diff --git a/toontown/coghq/DistributedCashbotBossTreasure.py b/toontown/coghq/DistributedCashbotBossTreasure.py index f5fa0d7..fdddc6e 100644 --- a/toontown/coghq/DistributedCashbotBossTreasure.py +++ b/toontown/coghq/DistributedCashbotBossTreasure.py @@ -1,7 +1,7 @@ from toontown.safezone import DistributedSZTreasure from toontown.toonbase import ToontownGlobals from direct.interval.IntervalGlobal import * -from pandac.PandaModules import Point3 +from panda3d.core import Point3 Models = {ToontownGlobals.ToontownCentral: 'phase_4/models/props/icecream', ToontownGlobals.DonaldsDock: 'phase_6/models/props/starfish_treasure', ToontownGlobals.TheBrrrgh: 'phase_8/models/props/snowflake_treasure', diff --git a/toontown/coghq/DistributedCogKart.py b/toontown/coghq/DistributedCogKart.py index 9e754ab..0ab2b16 100644 --- a/toontown/coghq/DistributedCogKart.py +++ b/toontown/coghq/DistributedCogKart.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import CollisionSphere, CollisionNode, Vec3, Point3, deg2Rad +from panda3d.core import CollisionSphere, CollisionNode, Vec3, Point3, deg2Rad from direct.interval.IntervalGlobal import Sequence, Func, Parallel, ActorInterval, Wait, Parallel, LerpHprInterval, ProjectileInterval, LerpPosInterval from direct.directnotify import DirectNotifyGlobal from toontown.building import ElevatorConstants diff --git a/toontown/coghq/DistributedCountryClub.py b/toontown/coghq/DistributedCountryClub.py index e7bac0d..a9ba3b9 100644 --- a/toontown/coghq/DistributedCountryClub.py +++ b/toontown/coghq/DistributedCountryClub.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedCountryClubBattle.py b/toontown/coghq/DistributedCountryClubBattle.py index 37595c7..c3b037a 100644 --- a/toontown/coghq/DistributedCountryClubBattle.py +++ b/toontown/coghq/DistributedCountryClubBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * diff --git a/toontown/coghq/DistributedCountryClubRoom.py b/toontown/coghq/DistributedCountryClubRoom.py index 6493472..7a93def 100644 --- a/toontown/coghq/DistributedCountryClubRoom.py +++ b/toontown/coghq/DistributedCountryClubRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedCrate.py b/toontown/coghq/DistributedCrate.py index 4ab8a23..b2ff837 100644 --- a/toontown/coghq/DistributedCrate.py +++ b/toontown/coghq/DistributedCrate.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from .CrateGlobals import * diff --git a/toontown/coghq/DistributedCrushableEntity.py b/toontown/coghq/DistributedCrushableEntity.py index cd13f12..9e7157f 100644 --- a/toontown/coghq/DistributedCrushableEntity.py +++ b/toontown/coghq/DistributedCrushableEntity.py @@ -1,6 +1,6 @@ from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities class DistributedCrushableEntity(DistributedEntity.DistributedEntity, NodePath, BasicEntities.NodePathAttribs): diff --git a/toontown/coghq/DistributedDoorEntity.py b/toontown/coghq/DistributedDoorEntity.py index b225a20..586a259 100644 --- a/toontown/coghq/DistributedDoorEntity.py +++ b/toontown/coghq/DistributedDoorEntity.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedElevatorMarker.py b/toontown/coghq/DistributedElevatorMarker.py index ab3e404..94d3db6 100644 --- a/toontown/coghq/DistributedElevatorMarker.py +++ b/toontown/coghq/DistributedElevatorMarker.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .StomperGlobals import * from direct.distributed import ClockDelta @@ -6,7 +6,7 @@ from direct.showbase.PythonUtil import lerp import math from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities from direct.task import Task from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedFactory.py b/toontown/coghq/DistributedFactory.py index 30eca7f..697805f 100644 --- a/toontown/coghq/DistributedFactory.py +++ b/toontown/coghq/DistributedFactory.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedFactoryElevatorExt.py b/toontown/coghq/DistributedFactoryElevatorExt.py index a0264cf..01aa329 100644 --- a/toontown/coghq/DistributedFactoryElevatorExt.py +++ b/toontown/coghq/DistributedFactoryElevatorExt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from toontown.building.ElevatorConstants import * diff --git a/toontown/coghq/DistributedFoodBelt.py b/toontown/coghq/DistributedFoodBelt.py index 39bf161..63d0adf 100644 --- a/toontown/coghq/DistributedFoodBelt.py +++ b/toontown/coghq/DistributedFoodBelt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, CollisionTube, CollisionNode +from panda3d.core import NodePath, Point3, CollisionTube, CollisionNode from direct.fsm import FSM from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedGagBarrel.py b/toontown/coghq/DistributedGagBarrel.py index 011d8f1..a2226a8 100644 --- a/toontown/coghq/DistributedGagBarrel.py +++ b/toontown/coghq/DistributedGagBarrel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedGolfGreenGame.py b/toontown/coghq/DistributedGolfGreenGame.py index 8dd18b2..a9aa3bf 100644 --- a/toontown/coghq/DistributedGolfGreenGame.py +++ b/toontown/coghq/DistributedGolfGreenGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from .StomperGlobals import * @@ -7,7 +7,7 @@ from direct.showbase.PythonUtil import lerp import math from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities from direct.task import Task from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedGolfSpot.py b/toontown/coghq/DistributedGolfSpot.py index 05de779..33084f2 100644 --- a/toontown/coghq/DistributedGolfSpot.py +++ b/toontown/coghq/DistributedGolfSpot.py @@ -1,5 +1,6 @@ import math -from pandac.PandaModules import Point3, CollisionSphere, CollisionNode, CollisionHandlerEvent, TextNode, VBase4, SmoothMover, NodePath, BitMask32 +from panda3d.core import Point3, CollisionSphere, CollisionNode, CollisionHandlerEvent, TextNode, VBase4, NodePath, BitMask32 +from panda3d.direct import SmoothMover from direct.fsm import FSM from direct.distributed import DistributedObject from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/coghq/DistributedGrid.py b/toontown/coghq/DistributedGrid.py index fe20a8a..bb77083 100644 --- a/toontown/coghq/DistributedGrid.py +++ b/toontown/coghq/DistributedGrid.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from .CrateGlobals import * diff --git a/toontown/coghq/DistributedHealBarrel.py b/toontown/coghq/DistributedHealBarrel.py index 787dfb1..517e26a 100644 --- a/toontown/coghq/DistributedHealBarrel.py +++ b/toontown/coghq/DistributedHealBarrel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedInGameEditor.py b/toontown/coghq/DistributedInGameEditor.py index 84e3f1f..90452dc 100644 --- a/toontown/coghq/DistributedInGameEditor.py +++ b/toontown/coghq/DistributedInGameEditor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.showbase.PythonUtil import lineInfo, Functor from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedLaserField.py b/toontown/coghq/DistributedLaserField.py index acd3561..a865c84 100644 --- a/toontown/coghq/DistributedLaserField.py +++ b/toontown/coghq/DistributedLaserField.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .StomperGlobals import * from direct.distributed import ClockDelta @@ -6,7 +6,7 @@ from direct.showbase.PythonUtil import lerp import math from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities from direct.task import Task from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedLawOffice.py b/toontown/coghq/DistributedLawOffice.py index af1b5a4..9189c31 100644 --- a/toontown/coghq/DistributedLawOffice.py +++ b/toontown/coghq/DistributedLawOffice.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedLawOfficeElevatorInt.py b/toontown/coghq/DistributedLawOfficeElevatorInt.py index e0e9f5b..c38ebea 100644 --- a/toontown/coghq/DistributedLawOfficeElevatorInt.py +++ b/toontown/coghq/DistributedLawOfficeElevatorInt.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from toontown.building.ElevatorConstants import * diff --git a/toontown/coghq/DistributedLawOfficeFloor.py b/toontown/coghq/DistributedLawOfficeFloor.py index 612abd5..905594b 100644 --- a/toontown/coghq/DistributedLawOfficeFloor.py +++ b/toontown/coghq/DistributedLawOfficeFloor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedLawbotBossGavel.py b/toontown/coghq/DistributedLawbotBossGavel.py index f3522d0..cb55874 100644 --- a/toontown/coghq/DistributedLawbotBossGavel.py +++ b/toontown/coghq/DistributedLawbotBossGavel.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import FSM diff --git a/toontown/coghq/DistributedLawbotBossGavelAI.py b/toontown/coghq/DistributedLawbotBossGavelAI.py index e48634f..a84587f 100644 --- a/toontown/coghq/DistributedLawbotBossGavelAI.py +++ b/toontown/coghq/DistributedLawbotBossGavelAI.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObjectAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/coghq/DistributedLawbotCannon.py b/toontown/coghq/DistributedLawbotCannon.py index e05231a..557b7e0 100644 --- a/toontown/coghq/DistributedLawbotCannon.py +++ b/toontown/coghq/DistributedLawbotCannon.py @@ -3,12 +3,12 @@ from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import CollisionSphere, CollisionNode +from panda3d.core import CollisionSphere, CollisionNode from toontown.toonbase import ToontownGlobals from toontown.estate import DistributedCannon from toontown.estate import CannonGlobals from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from toontown.toon import NPCToons from toontown.toon import ToonHead diff --git a/toontown/coghq/DistributedLawbotChair.py b/toontown/coghq/DistributedLawbotChair.py index b6c5f07..64659a1 100644 --- a/toontown/coghq/DistributedLawbotChair.py +++ b/toontown/coghq/DistributedLawbotChair.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import FSM diff --git a/toontown/coghq/DistributedLawbotChairAI.py b/toontown/coghq/DistributedLawbotChairAI.py index b9fc048..64b670e 100644 --- a/toontown/coghq/DistributedLawbotChairAI.py +++ b/toontown/coghq/DistributedLawbotChairAI.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObjectAI from toontown.toonbase import ToontownGlobals from otp.otpbase import OTPGlobals diff --git a/toontown/coghq/DistributedLevelBattle.py b/toontown/coghq/DistributedLevelBattle.py index 28d5c39..e9e99b2 100644 --- a/toontown/coghq/DistributedLevelBattle.py +++ b/toontown/coghq/DistributedLevelBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * diff --git a/toontown/coghq/DistributedLift.py b/toontown/coghq/DistributedLift.py index a79737a..8103d97 100644 --- a/toontown/coghq/DistributedLift.py +++ b/toontown/coghq/DistributedLift.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from otp.level import BasicEntities diff --git a/toontown/coghq/DistributedMaze.py b/toontown/coghq/DistributedMaze.py index a77ce54..0cb828b 100644 --- a/toontown/coghq/DistributedMaze.py +++ b/toontown/coghq/DistributedMaze.py @@ -1,5 +1,5 @@ from otp.level.BasicEntities import DistributedNodePathEntity -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * import random diff --git a/toontown/coghq/DistributedMint.py b/toontown/coghq/DistributedMint.py index fb625ca..43f1910 100644 --- a/toontown/coghq/DistributedMint.py +++ b/toontown/coghq/DistributedMint.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedMintBattle.py b/toontown/coghq/DistributedMintBattle.py index 032942a..23731b0 100644 --- a/toontown/coghq/DistributedMintBattle.py +++ b/toontown/coghq/DistributedMintBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * diff --git a/toontown/coghq/DistributedMintRoom.py b/toontown/coghq/DistributedMintRoom.py index 55a1c60..39b5526 100644 --- a/toontown/coghq/DistributedMintRoom.py +++ b/toontown/coghq/DistributedMintRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedMoleField.py b/toontown/coghq/DistributedMoleField.py index 7467505..fbe352a 100644 --- a/toontown/coghq/DistributedMoleField.py +++ b/toontown/coghq/DistributedMoleField.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.level.BasicEntities import DistributedNodePathEntity from direct.directnotify import DirectNotifyGlobal from toontown.coghq import MoleHill diff --git a/toontown/coghq/DistributedMover.py b/toontown/coghq/DistributedMover.py index 4b0ece9..ffe089e 100644 --- a/toontown/coghq/DistributedMover.py +++ b/toontown/coghq/DistributedMover.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .StomperGlobals import * from direct.distributed import ClockDelta @@ -6,7 +6,7 @@ from direct.showbase.PythonUtil import lerp import math from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities from direct.task import Task from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedSecurityCamera.py b/toontown/coghq/DistributedSecurityCamera.py index cdfe652..8f0ee4a 100644 --- a/toontown/coghq/DistributedSecurityCamera.py +++ b/toontown/coghq/DistributedSecurityCamera.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .StomperGlobals import * from direct.distributed import ClockDelta @@ -6,7 +6,7 @@ from direct.showbase.PythonUtil import lerp import math from otp.level import DistributedEntity from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from otp.level import BasicEntities from direct.task import Task from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/DistributedSinkingPlatform.py b/toontown/coghq/DistributedSinkingPlatform.py index 9efc6bf..ea3b6f5 100644 --- a/toontown/coghq/DistributedSinkingPlatform.py +++ b/toontown/coghq/DistributedSinkingPlatform.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State diff --git a/toontown/coghq/DistributedStage.py b/toontown/coghq/DistributedStage.py index e7fcbed..1e8fc16 100644 --- a/toontown/coghq/DistributedStage.py +++ b/toontown/coghq/DistributedStage.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/DistributedStageAI.py b/toontown/coghq/DistributedStageAI.py index 3dd571a..f6ffd71 100644 --- a/toontown/coghq/DistributedStageAI.py +++ b/toontown/coghq/DistributedStageAI.py @@ -5,7 +5,7 @@ from toontown.toonbase import ToontownGlobals from toontown.coghq import StageLayout, DistributedStageRoomAI from toontown.coghq import BattleExperienceAggregatorAI from toontown.building import DistributedElevatorFloorAI -from pandac.PandaModules import * +from panda3d.core import * class DistributedStageAI(DistributedObjectAI.DistributedObjectAI): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStageAI') diff --git a/toontown/coghq/DistributedStageBattle.py b/toontown/coghq/DistributedStageBattle.py index add435f..fdd7216 100644 --- a/toontown/coghq/DistributedStageBattle.py +++ b/toontown/coghq/DistributedStageBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * diff --git a/toontown/coghq/DistributedStageRoom.py b/toontown/coghq/DistributedStageRoom.py index f67e8ab..e4b6086 100644 --- a/toontown/coghq/DistributedStageRoom.py +++ b/toontown/coghq/DistributedStageRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/coghq/DistributedStomper.py b/toontown/coghq/DistributedStomper.py index 5b7f3ac..e2af9ea 100644 --- a/toontown/coghq/DistributedStomper.py +++ b/toontown/coghq/DistributedStomper.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .StomperGlobals import * from direct.distributed import ClockDelta diff --git a/toontown/coghq/DistributedStomperPair.py b/toontown/coghq/DistributedStomperPair.py index 197e8fb..a3b7897 100644 --- a/toontown/coghq/DistributedStomperPair.py +++ b/toontown/coghq/DistributedStomperPair.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * import math from . import StomperGlobals diff --git a/toontown/coghq/DistributedSwitch.py b/toontown/coghq/DistributedSwitch.py index 02ab50e..5539f0a 100644 --- a/toontown/coghq/DistributedSwitch.py +++ b/toontown/coghq/DistributedSwitch.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from otp.level import BasicEntities diff --git a/toontown/coghq/DistributedTrigger.py b/toontown/coghq/DistributedTrigger.py index ebcde38..9dc01d4 100644 --- a/toontown/coghq/DistributedTrigger.py +++ b/toontown/coghq/DistributedTrigger.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from . import MovingPlatform diff --git a/toontown/coghq/FactoryCameraViews.py b/toontown/coghq/FactoryCameraViews.py index ebcf09e..648fccb 100644 --- a/toontown/coghq/FactoryCameraViews.py +++ b/toontown/coghq/FactoryCameraViews.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import Functor from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/FactoryExterior.py b/toontown/coghq/FactoryExterior.py index fc2cab9..3d34355 100644 --- a/toontown/coghq/FactoryExterior.py +++ b/toontown/coghq/FactoryExterior.py @@ -6,7 +6,7 @@ from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toonbase import ToontownGlobals from toontown.hood import ZoneUtil from toontown.building import Elevator -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from panda3d.toontown import * diff --git a/toontown/coghq/FactoryInterior.py b/toontown/coghq/FactoryInterior.py index c841630..9c06c86 100644 --- a/toontown/coghq/FactoryInterior.py +++ b/toontown/coghq/FactoryInterior.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toon import Toon diff --git a/toontown/coghq/FactoryUtil.py b/toontown/coghq/FactoryUtil.py index 5b623f1..9ae171f 100644 --- a/toontown/coghq/FactoryUtil.py +++ b/toontown/coghq/FactoryUtil.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.interval.IntervalGlobal import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/GameSprite3D.py b/toontown/coghq/GameSprite3D.py index 52c8847..5afca16 100644 --- a/toontown/coghq/GameSprite3D.py +++ b/toontown/coghq/GameSprite3D.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * import math import random diff --git a/toontown/coghq/GearEntity.py b/toontown/coghq/GearEntity.py index a114821..175b21c 100644 --- a/toontown/coghq/GearEntity.py +++ b/toontown/coghq/GearEntity.py @@ -1,7 +1,7 @@ from direct.interval.IntervalGlobal import * from otp.level import BasicEntities from . import MovingPlatform -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 class GearEntity(BasicEntities.NodePathEntity): ModelPaths = {'factory': 'phase_9/models/cogHQ/FactoryGearB', diff --git a/toontown/coghq/GoonClipPlane.py b/toontown/coghq/GoonClipPlane.py index 9a39737..31bfb0a 100644 --- a/toontown/coghq/GoonClipPlane.py +++ b/toontown/coghq/GoonClipPlane.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.level import BasicEntities diff --git a/toontown/coghq/InGameEditor.py b/toontown/coghq/InGameEditor.py index 3134283..082e3a3 100644 --- a/toontown/coghq/InGameEditor.py +++ b/toontown/coghq/InGameEditor.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, Vec3, VBase3 +from panda3d.core import Point3, Vec3, VBase3 from direct.tkwidgets.AppShell import * from direct.showbase.TkGlobal import * from direct.tkwidgets.Tree import * diff --git a/toontown/coghq/LawbotHQBossBattle.py b/toontown/coghq/LawbotHQBossBattle.py index 14fcc35..51805d4 100644 --- a/toontown/coghq/LawbotHQBossBattle.py +++ b/toontown/coghq/LawbotHQBossBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.suit import DistributedLawbotBoss from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/LawbotHQExterior.py b/toontown/coghq/LawbotHQExterior.py index 2cdb286..bb4dc24 100644 --- a/toontown/coghq/LawbotHQExterior.py +++ b/toontown/coghq/LawbotHQExterior.py @@ -4,7 +4,7 @@ from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownGlobals from toontown.building import Elevator -from pandac.PandaModules import * +from panda3d.core import * from toontown.coghq import CogHQExterior class LawbotHQExterior(CogHQExterior.CogHQExterior): diff --git a/toontown/coghq/LawbotOfficeExterior.py b/toontown/coghq/LawbotOfficeExterior.py index 0ec31eb..13266c5 100644 --- a/toontown/coghq/LawbotOfficeExterior.py +++ b/toontown/coghq/LawbotOfficeExterior.py @@ -3,7 +3,7 @@ from direct.fsm import ClassicFSM from direct.fsm import State from toontown.toonbase import ToontownGlobals from toontown.building import Elevator -from pandac.PandaModules import * +from panda3d.core import * from . import FactoryExterior class LawbotOfficeExterior(FactoryExterior.FactoryExterior): diff --git a/toontown/coghq/LevelSuitPlannerAI.py b/toontown/coghq/LevelSuitPlannerAI.py index 327a7be..b4d459b 100644 --- a/toontown/coghq/LevelSuitPlannerAI.py +++ b/toontown/coghq/LevelSuitPlannerAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from toontown.suit import SuitDNA from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/LobbyManager.py b/toontown/coghq/LobbyManager.py index 222991b..34316f6 100644 --- a/toontown/coghq/LobbyManager.py +++ b/toontown/coghq/LobbyManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/MintInterior.py b/toontown/coghq/MintInterior.py index 21d75f9..af075a6 100644 --- a/toontown/coghq/MintInterior.py +++ b/toontown/coghq/MintInterior.py @@ -3,7 +3,7 @@ from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.showbase import BulletinBoardWatcher -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toon import Toon diff --git a/toontown/coghq/MintRoom.py b/toontown/coghq/MintRoom.py index 6659de5..c29f493 100644 --- a/toontown/coghq/MintRoom.py +++ b/toontown/coghq/MintRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/MoleHill.py b/toontown/coghq/MoleHill.py index cbf826d..f389960 100644 --- a/toontown/coghq/MoleHill.py +++ b/toontown/coghq/MoleHill.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath, Point3, CollisionSphere, CollisionNode, Vec4 +from panda3d.core import NodePath, Point3, CollisionSphere, CollisionNode, Vec4 from direct.interval.IntervalGlobal import Sequence, LerpPosInterval, Parallel, LerpScaleInterval, Track, ParticleInterval, Wait, Func from toontown.toonbase import ToontownGlobals from toontown.coghq import MoleFieldBase diff --git a/toontown/coghq/MovingPlatform.py b/toontown/coghq/MovingPlatform.py index 8587dbd..6c7fa4a 100644 --- a/toontown/coghq/MovingPlatform.py +++ b/toontown/coghq/MovingPlatform.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.showbase import DirectObject from toontown.toonbase import ToontownGlobals diff --git a/toontown/coghq/PlatformEntity.py b/toontown/coghq/PlatformEntity.py index df8aaea..477509c 100644 --- a/toontown/coghq/PlatformEntity.py +++ b/toontown/coghq/PlatformEntity.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.level import BasicEntities from . import MovingPlatform diff --git a/toontown/coghq/SellbotCogHQLoader.py b/toontown/coghq/SellbotCogHQLoader.py index 2467ad8..b7bc6a8 100644 --- a/toontown/coghq/SellbotCogHQLoader.py +++ b/toontown/coghq/SellbotCogHQLoader.py @@ -10,7 +10,7 @@ from . import FactoryExterior from . import FactoryInterior from . import SellbotHQExterior from . import SellbotHQBossBattle -from pandac.PandaModules import DecalEffect +from panda3d.core import DecalEffect aspectSF = 0.7227 class SellbotCogHQLoader(CogHQLoader.CogHQLoader): diff --git a/toontown/coghq/SellbotHQBossBattle.py b/toontown/coghq/SellbotHQBossBattle.py index 5cda14e..411b067 100644 --- a/toontown/coghq/SellbotHQBossBattle.py +++ b/toontown/coghq/SellbotHQBossBattle.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.suit import DistributedSellbotBoss from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/coghq/SpecImports.py b/toontown/coghq/SpecImports.py index 7148752..6ce2708 100644 --- a/toontown/coghq/SpecImports.py +++ b/toontown/coghq/SpecImports.py @@ -1 +1 @@ -from pandac.PandaModules import * +from panda3d.core import * diff --git a/toontown/coghq/StageInterior.py b/toontown/coghq/StageInterior.py index 672c0d6..48bcb81 100644 --- a/toontown/coghq/StageInterior.py +++ b/toontown/coghq/StageInterior.py @@ -3,7 +3,7 @@ from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.showbase import BulletinBoardWatcher -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toon import Toon diff --git a/toontown/coghq/StageRoom.py b/toontown/coghq/StageRoom.py index 04da9f4..7db85e6 100644 --- a/toontown/coghq/StageRoom.py +++ b/toontown/coghq/StageRoom.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from toontown.toonbase import ToontownGlobals diff --git a/toontown/distributed/DistributedTimer.py b/toontown/distributed/DistributedTimer.py index 22187e2..09c23d1 100644 --- a/toontown/distributed/DistributedTimer.py +++ b/toontown/distributed/DistributedTimer.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * import time diff --git a/toontown/distributed/DistributedTimerAI.py b/toontown/distributed/DistributedTimerAI.py index 1450554..57399d7 100644 --- a/toontown/distributed/DistributedTimerAI.py +++ b/toontown/distributed/DistributedTimerAI.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * import time diff --git a/toontown/distributed/HoodMgr.py b/toontown/distributed/HoodMgr.py index dce28f5..d9b9926 100644 --- a/toontown/distributed/HoodMgr.py +++ b/toontown/distributed/HoodMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal from toontown.launcher import DownloadForceAcknowledge diff --git a/toontown/distributed/PlayGame.py b/toontown/distributed/PlayGame.py index c25cb9c..f55ce3c 100644 --- a/toontown/distributed/PlayGame.py +++ b/toontown/distributed/PlayGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/effects/BlastEffect.py b/toontown/effects/BlastEffect.py index 086c747..ef6dd53 100644 --- a/toontown/effects/BlastEffect.py +++ b/toontown/effects/BlastEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController diff --git a/toontown/effects/Bubbles.py b/toontown/effects/Bubbles.py index 3d5dad1..891b4ed 100644 --- a/toontown/effects/Bubbles.py +++ b/toontown/effects/Bubbles.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles diff --git a/toontown/effects/CarSmoke.py b/toontown/effects/CarSmoke.py index e0ca403..75469d8 100644 --- a/toontown/effects/CarSmoke.py +++ b/toontown/effects/CarSmoke.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.particles import ParticleEffect from direct.directnotify import DirectNotifyGlobal from direct.showbase import AppRunnerGlobal diff --git a/toontown/effects/ChrysanthemumEffect.py b/toontown/effects/ChrysanthemumEffect.py index 1c616f0..d4081cc 100644 --- a/toontown/effects/ChrysanthemumEffect.py +++ b/toontown/effects/ChrysanthemumEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController diff --git a/toontown/effects/Drift.py b/toontown/effects/Drift.py index 262776f..d666f1c 100644 --- a/toontown/effects/Drift.py +++ b/toontown/effects/Drift.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.particles import ParticleEffect from direct.directnotify import DirectNotifyGlobal import os diff --git a/toontown/effects/DustCloud.py b/toontown/effects/DustCloud.py index 9d35826..d77b585 100644 --- a/toontown/effects/DustCloud.py +++ b/toontown/effects/DustCloud.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import globalPropPool from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/effects/EffectController.py b/toontown/effects/EffectController.py index f6ac881..2efdde7 100644 --- a/toontown/effects/EffectController.py +++ b/toontown/effects/EffectController.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * class EffectController: particleDummy = None diff --git a/toontown/effects/Firework.py b/toontown/effects/Firework.py index 3535fc3..86b34da 100644 --- a/toontown/effects/Firework.py +++ b/toontown/effects/Firework.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.effects.FireworkGlobals import * from toontown.effects.FireworkEffect import FireworkEffect diff --git a/toontown/effects/FireworkEffect.py b/toontown/effects/FireworkEffect.py index 80aa298..eb055fb 100644 --- a/toontown/effects/FireworkEffect.py +++ b/toontown/effects/FireworkEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * import random from toontown.effects.FireworkGlobals import * diff --git a/toontown/effects/FireworkShow.py b/toontown/effects/FireworkShow.py index 6723558..2f1302f 100644 --- a/toontown/effects/FireworkShow.py +++ b/toontown/effects/FireworkShow.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.effects.FireworkGlobals import * from toontown.effects.Firework import Firework diff --git a/toontown/effects/FireworkSparkles.py b/toontown/effects/FireworkSparkles.py index c7a0480..a35325d 100644 --- a/toontown/effects/FireworkSparkles.py +++ b/toontown/effects/FireworkSparkles.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/Fireworks.py b/toontown/effects/Fireworks.py index c7aadb2..ee0f7ae 100644 --- a/toontown/effects/Fireworks.py +++ b/toontown/effects/Fireworks.py @@ -2,7 +2,7 @@ from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles from direct.particles import ForceGroup -from pandac.PandaModules import * +from panda3d.core import * import random from .FireworkGlobals import * colors = {WHITE: Vec4(1, 1, 1, 1), diff --git a/toontown/effects/FlashEffect.py b/toontown/effects/FlashEffect.py index 10e99a3..ceea5a6 100644 --- a/toontown/effects/FlashEffect.py +++ b/toontown/effects/FlashEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController diff --git a/toontown/effects/Glow.py b/toontown/effects/Glow.py index 00440da..99fe7ed 100644 --- a/toontown/effects/Glow.py +++ b/toontown/effects/Glow.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController from .PooledEffect import PooledEffect diff --git a/toontown/effects/GlowTrail.py b/toontown/effects/GlowTrail.py index 7d69f65..a049897 100644 --- a/toontown/effects/GlowTrail.py +++ b/toontown/effects/GlowTrail.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .PooledEffect import PooledEffect diff --git a/toontown/effects/IceCream.py b/toontown/effects/IceCream.py index 0d3253c..0f67fd6 100644 --- a/toontown/effects/IceCream.py +++ b/toontown/effects/IceCream.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/NoiseSparkles.py b/toontown/effects/NoiseSparkles.py index b00e109..5a6b262 100644 --- a/toontown/effects/NoiseSparkles.py +++ b/toontown/effects/NoiseSparkles.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/PeonyEffect.py b/toontown/effects/PeonyEffect.py index fb8d813..8ddeebe 100644 --- a/toontown/effects/PeonyEffect.py +++ b/toontown/effects/PeonyEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import * from direct.interval.IntervalGlobal import * from .PooledEffect import PooledEffect diff --git a/toontown/effects/PolyTrail.py b/toontown/effects/PolyTrail.py index 63558e8..14c82fe 100644 --- a/toontown/effects/PolyTrail.py +++ b/toontown/effects/PolyTrail.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.motiontrail.MotionTrail import * import random diff --git a/toontown/effects/PooledEffect.py b/toontown/effects/PooledEffect.py index 7bab21b..cd4d83e 100644 --- a/toontown/effects/PooledEffect.py +++ b/toontown/effects/PooledEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import Pool from direct.showbase.DirectObject import DirectObject import re diff --git a/toontown/effects/RayBurst.py b/toontown/effects/RayBurst.py index 92cca11..b9415f6 100644 --- a/toontown/effects/RayBurst.py +++ b/toontown/effects/RayBurst.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController diff --git a/toontown/effects/RingEffect.py b/toontown/effects/RingEffect.py index b080efb..1c844d2 100644 --- a/toontown/effects/RingEffect.py +++ b/toontown/effects/RingEffect.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/Ripples.py b/toontown/effects/Ripples.py index b0aa70e..7bb9e56 100644 --- a/toontown/effects/Ripples.py +++ b/toontown/effects/Ripples.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import globalPropPool diff --git a/toontown/effects/ScavengerHuntEffects.py b/toontown/effects/ScavengerHuntEffects.py index 0d0b19d..bf3968f 100644 --- a/toontown/effects/ScavengerHuntEffects.py +++ b/toontown/effects/ScavengerHuntEffects.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/effects/SimpleSparkles.py b/toontown/effects/SimpleSparkles.py index 21531ba..8e40a22 100644 --- a/toontown/effects/SimpleSparkles.py +++ b/toontown/effects/SimpleSparkles.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/SkullBurst.py b/toontown/effects/SkullBurst.py index 66189d5..1cfc317 100644 --- a/toontown/effects/SkullBurst.py +++ b/toontown/effects/SkullBurst.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import * from direct.interval.IntervalGlobal import * from .PooledEffect import PooledEffect diff --git a/toontown/effects/SkullFlash.py b/toontown/effects/SkullFlash.py index 1d987b6..5228e1c 100644 --- a/toontown/effects/SkullFlash.py +++ b/toontown/effects/SkullFlash.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import * from direct.interval.IntervalGlobal import * from .PooledEffect import PooledEffect diff --git a/toontown/effects/Sparks.py b/toontown/effects/Sparks.py index 2b662db..211ed0e 100644 --- a/toontown/effects/Sparks.py +++ b/toontown/effects/Sparks.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.particles import ParticleEffect from direct.directnotify import DirectNotifyGlobal import os diff --git a/toontown/effects/SparksTrail.py b/toontown/effects/SparksTrail.py index f00095a..35323fb 100644 --- a/toontown/effects/SparksTrail.py +++ b/toontown/effects/SparksTrail.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .PooledEffect import PooledEffect diff --git a/toontown/effects/SparksTrailLong.py b/toontown/effects/SparksTrailLong.py index b4867b3..b16fa58 100644 --- a/toontown/effects/SparksTrailLong.py +++ b/toontown/effects/SparksTrailLong.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .PooledEffect import PooledEffect diff --git a/toontown/effects/Splash.py b/toontown/effects/Splash.py index 6f74c84..bd34382 100644 --- a/toontown/effects/Splash.py +++ b/toontown/effects/Splash.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .Ripples import * from toontown.battle.BattleProps import globalPropPool diff --git a/toontown/effects/StarBurst.py b/toontown/effects/StarBurst.py index 91598cb..e37ac57 100644 --- a/toontown/effects/StarBurst.py +++ b/toontown/effects/StarBurst.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect, Particles, ForceGroup from .EffectController import EffectController diff --git a/toontown/effects/TrailExplosion.py b/toontown/effects/TrailExplosion.py index 8a3ca28..06e126e 100644 --- a/toontown/effects/TrailExplosion.py +++ b/toontown/effects/TrailExplosion.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from .EffectController import EffectController from .PooledEffect import PooledEffect diff --git a/toontown/effects/Wake.py b/toontown/effects/Wake.py index c6a2f4f..6ee5b39 100644 --- a/toontown/effects/Wake.py +++ b/toontown/effects/Wake.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import globalPropPool diff --git a/toontown/estate/BankGUI.py b/toontown/estate/BankGUI.py index 6aa88c0..490b61f 100644 --- a/toontown/estate/BankGUI.py +++ b/toontown/estate/BankGUI.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/BeanRecipeGui.py b/toontown/estate/BeanRecipeGui.py index 6f5406e..be4d07f 100644 --- a/toontown/estate/BeanRecipeGui.py +++ b/toontown/estate/BeanRecipeGui.py @@ -1,6 +1,6 @@ from direct.gui.DirectGui import * from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from toontown.estate import GardenGlobals from toontown.estate import PlantingGUI from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/ClosetGUI.py b/toontown/estate/ClosetGUI.py index 955ba21..1287d30 100644 --- a/toontown/estate/ClosetGUI.py +++ b/toontown/estate/ClosetGUI.py @@ -1,6 +1,6 @@ from direct.showbase.PythonUtil import Functor from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.makeatoon import ClothesGUI from . import ClosetGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/DistributedAnimatedStatuary.py b/toontown/estate/DistributedAnimatedStatuary.py index 8e4d749..1b9936d 100644 --- a/toontown/estate/DistributedAnimatedStatuary.py +++ b/toontown/estate/DistributedAnimatedStatuary.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.estate import DistributedStatuary diff --git a/toontown/estate/DistributedBank.py b/toontown/estate/DistributedBank.py index d2d8103..357e574 100644 --- a/toontown/estate/DistributedBank.py +++ b/toontown/estate/DistributedBank.py @@ -1,8 +1,8 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/estate/DistributedCannon.py b/toontown/estate/DistributedCannon.py index 39901bd..12b07ab 100644 --- a/toontown/estate/DistributedCannon.py +++ b/toontown/estate/DistributedCannon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase import ToontownGlobals from direct.distributed.ClockDelta import * @@ -16,7 +16,7 @@ from toontown.effects import DustCloud from toontown.minigame import CannonGameGlobals from . import CannonGlobals from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from direct.distributed import DistributedObject from toontown.effects import Wake diff --git a/toontown/estate/DistributedChangingStatuary.py b/toontown/estate/DistributedChangingStatuary.py index 5a57289..233d6aa 100644 --- a/toontown/estate/DistributedChangingStatuary.py +++ b/toontown/estate/DistributedChangingStatuary.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.estate import DistributedStatuary diff --git a/toontown/estate/DistributedCloset.py b/toontown/estate/DistributedCloset.py index 21ed2a6..b8da80b 100644 --- a/toontown/estate/DistributedCloset.py +++ b/toontown/estate/DistributedCloset.py @@ -1,8 +1,8 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/estate/DistributedEstate.py b/toontown/estate/DistributedEstate.py index bc98e3e..3ae4661 100644 --- a/toontown/estate/DistributedEstate.py +++ b/toontown/estate/DistributedEstate.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * import math diff --git a/toontown/estate/DistributedFireworksCannon.py b/toontown/estate/DistributedFireworksCannon.py index 94287be..402f0b9 100644 --- a/toontown/estate/DistributedFireworksCannon.py +++ b/toontown/estate/DistributedFireworksCannon.py @@ -5,8 +5,8 @@ from .HouseGlobals import * from toontown.effects import DistributedFireworkShow from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer -from pandac.PandaModules import CollisionSphere -from pandac.PandaModules import CollisionNode +from panda3d.core import CollisionSphere +from panda3d.core import CollisionNode from . import FireworksGui class DistributedFireworksCannon(DistributedFireworkShow.DistributedFireworkShow): diff --git a/toontown/estate/DistributedGagTree.py b/toontown/estate/DistributedGagTree.py index 0226374..0f8d65e 100644 --- a/toontown/estate/DistributedGagTree.py +++ b/toontown/estate/DistributedGagTree.py @@ -9,7 +9,7 @@ from toontown.toonbase import TTLocalizer from . import GardenGlobals from . import HouseGlobals from direct.task import Task -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPGlobals from toontown.estate import DistributedLawnDecor DIRT_AS_WATER_INDICATOR = True diff --git a/toontown/estate/DistributedGarden.py b/toontown/estate/DistributedGarden.py index 2fa6f04..db02cd5 100644 --- a/toontown/estate/DistributedGarden.py +++ b/toontown/estate/DistributedGarden.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals from direct.distributed import DistributedObject diff --git a/toontown/estate/DistributedGardenBox.py b/toontown/estate/DistributedGardenBox.py index 57b4247..1be06b7 100644 --- a/toontown/estate/DistributedGardenBox.py +++ b/toontown/estate/DistributedGardenBox.py @@ -6,8 +6,8 @@ from toontown.toonbase import TTLocalizer from toontown.estate import PlantingGUI from toontown.estate import PlantTreeGUI from direct.distributed import DistributedNode -from pandac.PandaModules import NodePath -from pandac.PandaModules import Vec3 +from panda3d.core import NodePath +from panda3d.core import Vec3 class DistributedGardenBox(DistributedLawnDecor.DistributedLawnDecor): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGardenPlot') diff --git a/toontown/estate/DistributedGardenPlot.py b/toontown/estate/DistributedGardenPlot.py index 9b7bead..cd39b40 100644 --- a/toontown/estate/DistributedGardenPlot.py +++ b/toontown/estate/DistributedGardenPlot.py @@ -8,8 +8,8 @@ from toontown.estate import PlantingGUI from toontown.estate import PlantTreeGUI from toontown.estate import ToonStatueSelectionGUI from toontown.toontowngui import TTDialog -from pandac.PandaModules import Vec4 -from pandac.PandaModules import NodePath +from panda3d.core import Vec4 +from panda3d.core import NodePath import types class DistributedGardenPlot(DistributedLawnDecor.DistributedLawnDecor): diff --git a/toontown/estate/DistributedHouse.py b/toontown/estate/DistributedHouse.py index f4a0109..6856058 100644 --- a/toontown/estate/DistributedHouse.py +++ b/toontown/estate/DistributedHouse.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from toontown.minigame.OrthoWalk import * from string import * diff --git a/toontown/estate/DistributedHouseDoor.py b/toontown/estate/DistributedHouseDoor.py index 2823361..65a74f0 100644 --- a/toontown/estate/DistributedHouseDoor.py +++ b/toontown/estate/DistributedHouseDoor.py @@ -1,5 +1,5 @@ from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject diff --git a/toontown/estate/DistributedHouseInterior.py b/toontown/estate/DistributedHouseInterior.py index acb9c3c..7454fbc 100644 --- a/toontown/estate/DistributedHouseInterior.py +++ b/toontown/estate/DistributedHouseInterior.py @@ -1,6 +1,6 @@ from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/estate/DistributedLawnDecor.py b/toontown/estate/DistributedLawnDecor.py index 88734fc..7575926 100644 --- a/toontown/estate/DistributedLawnDecor.py +++ b/toontown/estate/DistributedLawnDecor.py @@ -1,10 +1,10 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.distributed import ClockDelta from direct.showbase.PythonUtil import lerp import math from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.task import Task from toontown.toonbase import ToontownGlobals from direct.distributed import DistributedObject diff --git a/toontown/estate/DistributedMailbox.py b/toontown/estate/DistributedMailbox.py index 9585a40..a82d763 100644 --- a/toontown/estate/DistributedMailbox.py +++ b/toontown/estate/DistributedMailbox.py @@ -8,7 +8,7 @@ from toontown.toonbase import TTLocalizer from toontown.catalog import MailboxScreen from direct.directnotify.DirectNotifyGlobal import * from direct.distributed.ClockDelta import * -from pandac.PandaModules import * +from panda3d.core import * import random from direct.interval.IntervalGlobal import SoundInterval FlagPitchEmpty = -70 diff --git a/toontown/estate/DistributedPhone.py b/toontown/estate/DistributedPhone.py index c4782ca..bcf9bee 100644 --- a/toontown/estate/DistributedPhone.py +++ b/toontown/estate/DistributedPhone.py @@ -11,7 +11,7 @@ from direct.distributed import ClockDelta from direct.showbase import PythonUtil from direct.showutil import Rope from direct.directnotify.DirectNotifyGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * import string from toontown.quest import Quests diff --git a/toontown/estate/DistributedStatuary.py b/toontown/estate/DistributedStatuary.py index ddad537..2b6493c 100644 --- a/toontown/estate/DistributedStatuary.py +++ b/toontown/estate/DistributedStatuary.py @@ -6,8 +6,8 @@ from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer -from pandac.PandaModules import NodePath -from pandac.PandaModules import Point3 +from panda3d.core import NodePath +from panda3d.core import Point3 class DistributedStatuary(DistributedLawnDecor.DistributedLawnDecor): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStatuary') diff --git a/toontown/estate/DistributedTarget.py b/toontown/estate/DistributedTarget.py index c27592f..fc9d7ef 100644 --- a/toontown/estate/DistributedTarget.py +++ b/toontown/estate/DistributedTarget.py @@ -1,6 +1,6 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.toonbase import ToontownTimer diff --git a/toontown/estate/DistributedToonStatuary.py b/toontown/estate/DistributedToonStatuary.py index c3e5264..c89989d 100644 --- a/toontown/estate/DistributedToonStatuary.py +++ b/toontown/estate/DistributedToonStatuary.py @@ -2,14 +2,14 @@ from toontown.estate import DistributedStatuary from toontown.estate import DistributedLawnDecor from direct.directnotify import DirectNotifyGlobal from direct.showbase.ShowBase import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import Toon from toontown.toon import ToonDNA from . import GardenGlobals from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import NodePath -from pandac.PandaModules import Point3 +from panda3d.core import NodePath +from panda3d.core import Point3 def dnaCodeFromToonDNA(dna): diff --git a/toontown/estate/DistributedTrunk.py b/toontown/estate/DistributedTrunk.py index ed081a8..a90d882 100644 --- a/toontown/estate/DistributedTrunk.py +++ b/toontown/estate/DistributedTrunk.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/estate/Estate.py b/toontown/estate/Estate.py index 9f6e979..cec60b3 100644 --- a/toontown/estate/Estate.py +++ b/toontown/estate/Estate.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/estate/EstateLoader.py b/toontown/estate/EstateLoader.py index a790976..f57d5c9 100644 --- a/toontown/estate/EstateLoader.py +++ b/toontown/estate/EstateLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State diff --git a/toontown/estate/EstateManager.py b/toontown/estate/EstateManager.py index 4b809bb..a3719c2 100644 --- a/toontown/estate/EstateManager.py +++ b/toontown/estate/EstateManager.py @@ -1,10 +1,10 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal import random from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import HouseGlobals from . import Estate diff --git a/toontown/estate/FireworkItemPanel.py b/toontown/estate/FireworkItemPanel.py index 26dca1d..1887cae 100644 --- a/toontown/estate/FireworkItemPanel.py +++ b/toontown/estate/FireworkItemPanel.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.effects import FireworkGlobals diff --git a/toontown/estate/FireworksGui.py b/toontown/estate/FireworksGui.py index c150018..40cb57c 100644 --- a/toontown/estate/FireworksGui.py +++ b/toontown/estate/FireworksGui.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectScrolledList import * from toontown.toonbase import ToontownGlobals from . import FireworkItemPanel diff --git a/toontown/estate/FlowerBrowser.py b/toontown/estate/FlowerBrowser.py index edaf213..00213fe 100644 --- a/toontown/estate/FlowerBrowser.py +++ b/toontown/estate/FlowerBrowser.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import FlowerSpeciesPanel from . import GardenGlobals diff --git a/toontown/estate/FlowerPanel.py b/toontown/estate/FlowerPanel.py index 30e978f..1830656 100644 --- a/toontown/estate/FlowerPanel.py +++ b/toontown/estate/FlowerPanel.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from direct.interval.IntervalGlobal import * from . import GardenGlobals diff --git a/toontown/estate/FlowerPhoto.py b/toontown/estate/FlowerPhoto.py index 8ed6803..a49034e 100644 --- a/toontown/estate/FlowerPhoto.py +++ b/toontown/estate/FlowerPhoto.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.fishing import FishGlobals from . import GardenGlobals diff --git a/toontown/estate/FlowerPicker.py b/toontown/estate/FlowerPicker.py index 999433b..8f4474e 100644 --- a/toontown/estate/FlowerPicker.py +++ b/toontown/estate/FlowerPicker.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import FlowerPanel diff --git a/toontown/estate/FlowerSellGUI.py b/toontown/estate/FlowerSellGUI.py index ad48c79..3ebf1f0 100644 --- a/toontown/estate/FlowerSellGUI.py +++ b/toontown/estate/FlowerSellGUI.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/FlowerSpeciesPanel.py b/toontown/estate/FlowerSpeciesPanel.py index 9c9bd24..4ffedc7 100644 --- a/toontown/estate/FlowerSpeciesPanel.py +++ b/toontown/estate/FlowerSpeciesPanel.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import GardenGlobals from . import FlowerPhoto diff --git a/toontown/estate/GardenDropGame.py b/toontown/estate/GardenDropGame.py index 88b1d3b..ed9f72b 100644 --- a/toontown/estate/GardenDropGame.py +++ b/toontown/estate/GardenDropGame.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectScrolledList import * from direct.distributed.ClockDelta import * from toontown.toontowngui import TTDialog diff --git a/toontown/estate/GardenProgressMeter.py b/toontown/estate/GardenProgressMeter.py index 56d299a..5c67898 100644 --- a/toontown/estate/GardenProgressMeter.py +++ b/toontown/estate/GardenProgressMeter.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectScrolledList import * from direct.distributed.ClockDelta import * from toontown.toontowngui import TTDialog diff --git a/toontown/estate/GardenTutorial.py b/toontown/estate/GardenTutorial.py index fc0eff4..1659b16 100644 --- a/toontown/estate/GardenTutorial.py +++ b/toontown/estate/GardenTutorial.py @@ -3,7 +3,7 @@ from direct.fsm import FSM from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer -from pandac.PandaModules import * +from panda3d.core import * class GardenTutorial(DirectFrame, FSM.FSM): notify = DirectNotifyGlobal.directNotify.newCategory('GardenTutorial') diff --git a/toontown/estate/House.py b/toontown/estate/House.py index 20ef593..4e90aa3 100644 --- a/toontown/estate/House.py +++ b/toontown/estate/House.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.hood import Place diff --git a/toontown/estate/PlantingGUI.py b/toontown/estate/PlantingGUI.py index 9a1908e..12e3f1d 100644 --- a/toontown/estate/PlantingGUI.py +++ b/toontown/estate/PlantingGUI.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/SpecialsPhoto.py b/toontown/estate/SpecialsPhoto.py index 01fd7a8..c3caa51 100644 --- a/toontown/estate/SpecialsPhoto.py +++ b/toontown/estate/SpecialsPhoto.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.fishing import FishGlobals from . import GardenGlobals diff --git a/toontown/estate/ToonStatueSelectionGUI.py b/toontown/estate/ToonStatueSelectionGUI.py index 589bbd5..f352a3b 100644 --- a/toontown/estate/ToonStatueSelectionGUI.py +++ b/toontown/estate/ToonStatueSelectionGUI.py @@ -1,6 +1,6 @@ from toontown.estate import PlantingGUI from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/estate/TrunkGUI.py b/toontown/estate/TrunkGUI.py index eedce9d..9332b57 100644 --- a/toontown/estate/TrunkGUI.py +++ b/toontown/estate/TrunkGUI.py @@ -1,6 +1,6 @@ from direct.showbase.PythonUtil import Functor from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import ClockDelta from direct.fsm import StateData from direct.task.Task import Task diff --git a/toontown/estate/houseDesign.py b/toontown/estate/houseDesign.py index f20801b..162da33 100644 --- a/toontown/estate/houseDesign.py +++ b/toontown/estate/houseDesign.py @@ -2,7 +2,7 @@ from direct.directtools.DirectSelection import * from direct.directtools.DirectUtil import ROUND_TO from direct.directtools.DirectGeometry import LineNodePath from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/fishing/BingoCardCell.py b/toontown/fishing/BingoCardCell.py index 81b5ce3..1a0196f 100644 --- a/toontown/fishing/BingoCardCell.py +++ b/toontown/fishing/BingoCardCell.py @@ -1,6 +1,6 @@ from direct.fsm import FSM from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/fishing/BingoCardGui.py b/toontown/fishing/BingoCardGui.py index 9739a57..b289d55 100644 --- a/toontown/fishing/BingoCardGui.py +++ b/toontown/fishing/BingoCardGui.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task import random from toontown.fishing import BingoCardCell diff --git a/toontown/fishing/DistributedFishingPond.py b/toontown/fishing/DistributedFishingPond.py index 026e974..c537115 100644 --- a/toontown/fishing/DistributedFishingPond.py +++ b/toontown/fishing/DistributedFishingPond.py @@ -4,7 +4,7 @@ from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from . import FishGlobals from toontown.fishing import DistributedPondBingoManager -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 from direct.task import Task class DistributedFishingPond(DistributedObject.DistributedObject): diff --git a/toontown/fishing/DistributedFishingTarget.py b/toontown/fishing/DistributedFishingTarget.py index c89f49d..b534f98 100644 --- a/toontown/fishing/DistributedFishingTarget.py +++ b/toontown/fishing/DistributedFishingTarget.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/fishing/DistributedPondBingoManager.py b/toontown/fishing/DistributedPondBingoManager.py index 2a9247c..a9c62a3 100644 --- a/toontown/fishing/DistributedPondBingoManager.py +++ b/toontown/fishing/DistributedPondBingoManager.py @@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import FSM from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task from toontown.fishing import BingoGlobals from toontown.fishing import BingoCardGui diff --git a/toontown/fishing/FishBrowser.py b/toontown/fishing/FishBrowser.py index 226e080..04e012c 100644 --- a/toontown/fishing/FishBrowser.py +++ b/toontown/fishing/FishBrowser.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import GenusPanel from . import FishGlobals diff --git a/toontown/fishing/FishPanel.py b/toontown/fishing/FishPanel.py index 63450f1..f31fe5d 100644 --- a/toontown/fishing/FishPanel.py +++ b/toontown/fishing/FishPanel.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from direct.interval.IntervalGlobal import * from . import FishGlobals diff --git a/toontown/fishing/FishPhoto.py b/toontown/fishing/FishPhoto.py index c4c053d..eee77ac 100644 --- a/toontown/fishing/FishPhoto.py +++ b/toontown/fishing/FishPhoto.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import FishGlobals diff --git a/toontown/fishing/FishPicker.py b/toontown/fishing/FishPicker.py index a8766ea..8e06f95 100644 --- a/toontown/fishing/FishPicker.py +++ b/toontown/fishing/FishPicker.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import FishPanel diff --git a/toontown/fishing/FishSellGUI.py b/toontown/fishing/FishSellGUI.py index bbb2dab..efe8862 100644 --- a/toontown/fishing/FishSellGUI.py +++ b/toontown/fishing/FishSellGUI.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/fishing/GenusPanel.py b/toontown/fishing/GenusPanel.py index 4d2b074..7f1f65d 100644 --- a/toontown/fishing/GenusPanel.py +++ b/toontown/fishing/GenusPanel.py @@ -1,7 +1,7 @@ from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import FishBase from . import FishGlobals diff --git a/toontown/friends/FriendInvitee.py b/toontown/friends/FriendInvitee.py index 5093645..ce3dc21 100644 --- a/toontown/friends/FriendInvitee.py +++ b/toontown/friends/FriendInvitee.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/friends/FriendInviter.py b/toontown/friends/FriendInviter.py index b2242fe..1909e9c 100644 --- a/toontown/friends/FriendInviter.py +++ b/toontown/friends/FriendInviter.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.task.Task import Task from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/friends/FriendNotifier.py b/toontown/friends/FriendNotifier.py index 8510f98..fbb1fd5 100644 --- a/toontown/friends/FriendNotifier.py +++ b/toontown/friends/FriendNotifier.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/friends/FriendsListManager.py b/toontown/friends/FriendsListManager.py index ed04311..c7c521a 100644 --- a/toontown/friends/FriendsListManager.py +++ b/toontown/friends/FriendsListManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from . import FriendsListPanel from . import FriendInviter diff --git a/toontown/friends/FriendsListPanel.py b/toontown/friends/FriendsListPanel.py index c90ab66..24b79f2 100644 --- a/toontown/friends/FriendsListPanel.py +++ b/toontown/friends/FriendsListPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from toontown.toon import ToonAvatarPanel from toontown.friends import ToontownFriendSecret diff --git a/toontown/friends/ToontownFriendSecret.py b/toontown/friends/ToontownFriendSecret.py index 647ab7f..491a7ce 100644 --- a/toontown/friends/ToontownFriendSecret.py +++ b/toontown/friends/ToontownFriendSecret.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.directnotify import DirectNotifyGlobal from otp.otpbase import OTPLocalizer diff --git a/toontown/golf/BuildGeometry.py b/toontown/golf/BuildGeometry.py index f973f7a..480c334 100644 --- a/toontown/golf/BuildGeometry.py +++ b/toontown/golf/BuildGeometry.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from math import * import math GEO_ID = 0 diff --git a/toontown/golf/DistributedGolfCourse.py b/toontown/golf/DistributedGolfCourse.py index 6ee34e5..6c2f49f 100644 --- a/toontown/golf/DistributedGolfCourse.py +++ b/toontown/golf/DistributedGolfCourse.py @@ -7,7 +7,7 @@ from toontown.distributed import DelayDelete from toontown.distributed.DelayDeletable import DelayDeletable from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.distributed.ClockDelta import * from direct.fsm.FSM import FSM diff --git a/toontown/golf/DistributedGolfCourseAI.py b/toontown/golf/DistributedGolfCourseAI.py index eb6dbd5..e7342a7 100644 --- a/toontown/golf/DistributedGolfCourseAI.py +++ b/toontown/golf/DistributedGolfCourseAI.py @@ -2,7 +2,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.golf import DistributedGolfHoleAI -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm.FSM import FSM from toontown.ai.ToonBarrier import * from toontown.golf import GolfGlobals diff --git a/toontown/golf/DistributedGolfHole.py b/toontown/golf/DistributedGolfHole.py index 9cbb809..b39f00b 100644 --- a/toontown/golf/DistributedGolfHole.py +++ b/toontown/golf/DistributedGolfHole.py @@ -1,7 +1,8 @@ import math import random import time -from pandac.PandaModules import TextNode, BitMask32, Point3, Vec3, Vec4, deg2Rad, Mat3, NodePath, VBase4, OdeTriMeshData, OdeTriMeshGeom, OdeRayGeom, CollisionTraverser, CollisionSegment, CollisionNode, CollisionHandlerQueue +from panda3d.core import TextNode, BitMask32, Point3, Vec3, Vec4, deg2Rad, Mat3, NodePath, VBase4, CollisionTraverser, CollisionSegment, CollisionNode, CollisionHandlerQueue +from panda3d.ode import OdeRayGeom from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from otp.otpbase import OTPGlobals diff --git a/toontown/golf/DistributedGolfHoleAI.py b/toontown/golf/DistributedGolfHoleAI.py index 41206a9..30c525e 100644 --- a/toontown/golf/DistributedGolfHoleAI.py +++ b/toontown/golf/DistributedGolfHoleAI.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedPhysicsWorldAI from direct.fsm.FSM import FSM from toontown.ai.ToonBarrier import * diff --git a/toontown/golf/DistributedPhysicsWorld.py b/toontown/golf/DistributedPhysicsWorld.py index 08e5180..a3ad974 100644 --- a/toontown/golf/DistributedPhysicsWorld.py +++ b/toontown/golf/DistributedPhysicsWorld.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from math import * import math from direct.fsm.FSM import FSM diff --git a/toontown/golf/DistributedPhysicsWorldAI.py b/toontown/golf/DistributedPhysicsWorldAI.py index e602dab..857e663 100644 --- a/toontown/golf/DistributedPhysicsWorldAI.py +++ b/toontown/golf/DistributedPhysicsWorldAI.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from . import BuildGeometry import random, time from math import * diff --git a/toontown/golf/GolfHoleBase.py b/toontown/golf/GolfHoleBase.py index 85eff7f..3de8ed8 100644 --- a/toontown/golf/GolfHoleBase.py +++ b/toontown/golf/GolfHoleBase.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedPhysicsWorldAI from direct.fsm.FSM import FSM from toontown.ai.ToonBarrier import * diff --git a/toontown/golf/GolfManagerAI.py b/toontown/golf/GolfManagerAI.py index f0c6632..3995485 100644 --- a/toontown/golf/GolfManagerAI.py +++ b/toontown/golf/GolfManagerAI.py @@ -3,7 +3,7 @@ from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.golf import DistributedGolfCourseAI -from pandac.PandaModules import * +from panda3d.core import * RequestHole = {} def GolfManagerAI(): diff --git a/toontown/golf/GolfRewardDialog.py b/toontown/golf/GolfRewardDialog.py index 2158651..bd90ba8 100644 --- a/toontown/golf/GolfRewardDialog.py +++ b/toontown/golf/GolfRewardDialog.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from direct.task import Task diff --git a/toontown/golf/GolfScoreBoard.py b/toontown/golf/GolfScoreBoard.py index bc05b8a..2664b22 100644 --- a/toontown/golf/GolfScoreBoard.py +++ b/toontown/golf/GolfScoreBoard.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * @@ -6,7 +6,7 @@ from direct.task import Task from math import * from direct.distributed.ClockDelta import * from toontown.golf import GolfGlobals -from pandac.PandaModules import LineSegs +from panda3d.core import LineSegs AUTO_HIDE_TIMEOUT = 3 class GolfScoreBoard: diff --git a/toontown/golf/PhysicsWorldBase.py b/toontown/golf/PhysicsWorldBase.py index 5fb5c8c..aa45cfa 100644 --- a/toontown/golf/PhysicsWorldBase.py +++ b/toontown/golf/PhysicsWorldBase.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from math import * import math from direct.fsm.FSM import FSM diff --git a/toontown/hood/BRHood.py b/toontown/hood/BRHood.py index 18aebfd..b5db747 100644 --- a/toontown/hood/BRHood.py +++ b/toontown/hood/BRHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import BRTownLoader from toontown.safezone import BRSafeZoneLoader diff --git a/toontown/hood/BossbotHQDataAI.py b/toontown/hood/BossbotHQDataAI.py index ad3a3fe..8299bdd 100644 --- a/toontown/hood/BossbotHQDataAI.py +++ b/toontown/hood/BossbotHQDataAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from direct.directnotify import DirectNotifyGlobal from . import HoodDataAI from toontown.toonbase import ToontownGlobals diff --git a/toontown/hood/CashbotHQ.py b/toontown/hood/CashbotHQ.py index 8d0e39c..6a83b1c 100644 --- a/toontown/hood/CashbotHQ.py +++ b/toontown/hood/CashbotHQ.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import CogHood from toontown.toonbase import ToontownGlobals, TTLocalizer diff --git a/toontown/hood/DDHood.py b/toontown/hood/DDHood.py index 3009c06..473ec8d 100644 --- a/toontown/hood/DDHood.py +++ b/toontown/hood/DDHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import DDTownLoader from toontown.safezone import DDSafeZoneLoader diff --git a/toontown/hood/DGHood.py b/toontown/hood/DGHood.py index a1c5a9f..08cf157 100644 --- a/toontown/hood/DGHood.py +++ b/toontown/hood/DGHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import DGTownLoader from toontown.safezone import DGSafeZoneLoader diff --git a/toontown/hood/DLHood.py b/toontown/hood/DLHood.py index a6e574f..b76ae44 100644 --- a/toontown/hood/DLHood.py +++ b/toontown/hood/DLHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import DLTownLoader from toontown.safezone import DLSafeZoneLoader diff --git a/toontown/hood/EstateHood.py b/toontown/hood/EstateHood.py index 47d94d0..cc147b3 100644 --- a/toontown/hood/EstateHood.py +++ b/toontown/hood/EstateHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.distributed.ToontownMsgTypes import * diff --git a/toontown/hood/GSHood.py b/toontown/hood/GSHood.py index f30cead..9d046a3 100644 --- a/toontown/hood/GSHood.py +++ b/toontown/hood/GSHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.safezone import GSSafeZoneLoader from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/hood/GSHoodDataAI.py b/toontown/hood/GSHoodDataAI.py index ea15ccc..4e126a4 100644 --- a/toontown/hood/GSHoodDataAI.py +++ b/toontown/hood/GSHoodDataAI.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from . import HoodDataAI, ZoneUtil from toontown.toonbase import ToontownGlobals from toontown.racing import DistributedStartingBlockAI -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.racing.RaceGlobals import * from toontown.classicchars import DistributedGoofySpeedwayAI diff --git a/toontown/hood/GZHood.py b/toontown/hood/GZHood.py index 37e36ed..a6bc6eb 100644 --- a/toontown/hood/GZHood.py +++ b/toontown/hood/GZHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.safezone import GZSafeZoneLoader from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/hood/GZHoodDataAI.py b/toontown/hood/GZHoodDataAI.py index 6e8f756..e3f55cc 100644 --- a/toontown/hood/GZHoodDataAI.py +++ b/toontown/hood/GZHoodDataAI.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from . import HoodDataAI, ZoneUtil from toontown.toonbase import ToontownGlobals from toontown.racing import DistributedStartingBlockAI -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.racing.RaceGlobals import * from toontown.classicchars import DistributedGoofySpeedwayAI diff --git a/toontown/hood/Hood.py b/toontown/hood/Hood.py index da7a247..6872c50 100644 --- a/toontown/hood/Hood.py +++ b/toontown/hood/Hood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.distributed.ToontownMsgTypes import * diff --git a/toontown/hood/HoodDataAI.py b/toontown/hood/HoodDataAI.py index 72d75d1..5b8cfb2 100644 --- a/toontown/hood/HoodDataAI.py +++ b/toontown/hood/HoodDataAI.py @@ -4,7 +4,7 @@ from toontown.building import DistributedBuildingMgrAI from toontown.suit import DistributedSuitPlannerAI from toontown.safezone import ButterflyGlobals from toontown.safezone import DistributedButterflyAI -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toon import NPCToons diff --git a/toontown/hood/InteractiveAnimatedProp.py b/toontown/hood/InteractiveAnimatedProp.py index 34e35bb..4eb6bc7 100644 --- a/toontown/hood/InteractiveAnimatedProp.py +++ b/toontown/hood/InteractiveAnimatedProp.py @@ -5,7 +5,7 @@ from direct.actor import Actor from direct.interval.IntervalGlobal import Sequence, ActorInterval, Wait, Func, SoundInterval, Parallel from direct.fsm import FSM from direct.showbase.PythonUtil import weightedChoice -from pandac.PandaModules import TextNode, Vec3 +from panda3d.core import TextNode, Vec3 from toontown.toonbase import ToontownGlobals from toontown.hood import ZoneUtil diff --git a/toontown/hood/MMHood.py b/toontown/hood/MMHood.py index 31b26ae..4b31a1b 100644 --- a/toontown/hood/MMHood.py +++ b/toontown/hood/MMHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import MMTownLoader from toontown.safezone import MMSafeZoneLoader diff --git a/toontown/hood/OZHood.py b/toontown/hood/OZHood.py index f82fd3a..82f42f9 100644 --- a/toontown/hood/OZHood.py +++ b/toontown/hood/OZHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.safezone import OZSafeZoneLoader from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/hood/OZHoodDataAI.py b/toontown/hood/OZHoodDataAI.py index 2371cbc..6d226bb 100644 --- a/toontown/hood/OZHoodDataAI.py +++ b/toontown/hood/OZHoodDataAI.py @@ -3,7 +3,7 @@ from . import HoodDataAI, ZoneUtil from toontown.toonbase import ToontownGlobals from toontown.safezone import OZTreasurePlannerAI from toontown.racing import DistributedStartingBlockAI -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.racing.RaceGlobals import * from toontown.classicchars import DistributedGoofySpeedwayAI diff --git a/toontown/hood/PartyHood.py b/toontown/hood/PartyHood.py index c5226a7..7b3887c 100644 --- a/toontown/hood/PartyHood.py +++ b/toontown/hood/PartyHood.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State from direct.task.Task import Task -from pandac.PandaModules import * +from panda3d.core import * from otp.avatar import DistributedAvatar from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/hood/Place.py b/toontown/hood/Place.py index dbc160e..486bb56 100644 --- a/toontown/hood/Place.py +++ b/toontown/hood/Place.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import StateData diff --git a/toontown/hood/QuietZoneState.py b/toontown/hood/QuietZoneState.py index 4a1f61e..fc080ed 100644 --- a/toontown/hood/QuietZoneState.py +++ b/toontown/hood/QuietZoneState.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import Functor, PriorityCallbacks from direct.task import Task from toontown.distributed.ToontownMsgTypes import * diff --git a/toontown/hood/SkyUtil.py b/toontown/hood/SkyUtil.py index df1af1c..bb17088 100644 --- a/toontown/hood/SkyUtil.py +++ b/toontown/hood/SkyUtil.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/hood/TTHood.py b/toontown/hood/TTHood.py index 3a72a00..7571370 100644 --- a/toontown/hood/TTHood.py +++ b/toontown/hood/TTHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import ToonHood from toontown.town import TTTownLoader diff --git a/toontown/hood/ToonHood.py b/toontown/hood/ToonHood.py index 89d5d6e..48766d4 100644 --- a/toontown/hood/ToonHood.py +++ b/toontown/hood/ToonHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * from toontown.distributed.ToontownMsgTypes import * diff --git a/toontown/hood/TrialerForceAcknowledge.py b/toontown/hood/TrialerForceAcknowledge.py index e259c98..df40ea1 100644 --- a/toontown/hood/TrialerForceAcknowledge.py +++ b/toontown/hood/TrialerForceAcknowledge.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import ZoneUtil from toontown.toonbase import ToontownGlobals diff --git a/toontown/hood/TutorialHood.py b/toontown/hood/TutorialHood.py index 5151fc1..c1efa91 100644 --- a/toontown/hood/TutorialHood.py +++ b/toontown/hood/TutorialHood.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ToonHood from toontown.town import TutorialTownLoader from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/launcher/DownloadForceAcknowledge.py b/toontown/launcher/DownloadForceAcknowledge.py index 4154dda..238034e 100644 --- a/toontown/launcher/DownloadForceAcknowledge.py +++ b/toontown/launcher/DownloadForceAcknowledge.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer import random diff --git a/toontown/login/AvatarChoice.py b/toontown/login/AvatarChoice.py index ce169fc..4c418f5 100644 --- a/toontown/login/AvatarChoice.py +++ b/toontown/login/AvatarChoice.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.showbase import DirectObject from toontown.toon import ToonDNA diff --git a/toontown/login/AvatarChooser.py b/toontown/login/AvatarChooser.py index b1c3057..5c21235 100644 --- a/toontown/login/AvatarChooser.py +++ b/toontown/login/AvatarChooser.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from . import AvatarChoice from direct.fsm import StateData @@ -6,7 +6,7 @@ from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.launcher import DownloadForceAcknowledge from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import DisplayOptions from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/makeatoon/BodyShop.py b/toontown/makeatoon/BodyShop.py index 2f3663d..4b404e9 100644 --- a/toontown/makeatoon/BodyShop.py +++ b/toontown/makeatoon/BodyShop.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import ToonDNA from direct.fsm import StateData from direct.gui.DirectGui import * diff --git a/toontown/makeatoon/ClothesGUI.py b/toontown/makeatoon/ClothesGUI.py index 5f21b43..80e6d0b 100644 --- a/toontown/makeatoon/ClothesGUI.py +++ b/toontown/makeatoon/ClothesGUI.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import ToonDNA from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from .MakeAToonGlobals import * from toontown.toonbase import TTLocalizer from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/makeatoon/ColorShop.py b/toontown/makeatoon/ColorShop.py index 4f00250..a607f73 100644 --- a/toontown/makeatoon/ColorShop.py +++ b/toontown/makeatoon/ColorShop.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import ToonDNA from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from .MakeAToonGlobals import * from toontown.toonbase import TTLocalizer from . import ShuffleButton diff --git a/toontown/makeatoon/GenderShop.py b/toontown/makeatoon/GenderShop.py index 38051ef..45fe50b 100644 --- a/toontown/makeatoon/GenderShop.py +++ b/toontown/makeatoon/GenderShop.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from direct.gui.DirectGui import * from toontown.toonbase import TTLocalizer diff --git a/toontown/makeatoon/MakeAToon.py b/toontown/makeatoon/MakeAToon.py index 6593e41..a42bbdc 100644 --- a/toontown/makeatoon/MakeAToon.py +++ b/toontown/makeatoon/MakeAToon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.distributed.ToontownMsgTypes import * from toontown.char import Char from otp.avatar import Avatar diff --git a/toontown/makeatoon/NameGenerator.py b/toontown/makeatoon/NameGenerator.py index 615722d..2b19c47 100644 --- a/toontown/makeatoon/NameGenerator.py +++ b/toontown/makeatoon/NameGenerator.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * import random import string import copy diff --git a/toontown/makeatoon/NameShop.py b/toontown/makeatoon/NameShop.py index 70d6b56..b4f2188 100644 --- a/toontown/makeatoon/NameShop.py +++ b/toontown/makeatoon/NameShop.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.task.TaskManagerGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.distributed.ToontownMsgTypes import * from direct.directnotify import DirectNotifyGlobal from direct.gui import OnscreenText @@ -24,7 +24,7 @@ from direct.showbase import PythonUtil from toontown.toon import NPCToons from direct.task import Task from toontown.makeatoon.TTPickANamePattern import TTPickANamePattern -from pandac.PandaModules import TextEncoder +from panda3d.core import TextEncoder MAX_NAME_WIDTH = TTLocalizer.NSmaxNameWidth ServerDialogTimeout = 3.0 diff --git a/toontown/makeatoon/ShuffleButton.py b/toontown/makeatoon/ShuffleButton.py index c0ff666..dd19b97 100644 --- a/toontown/makeatoon/ShuffleButton.py +++ b/toontown/makeatoon/ShuffleButton.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals diff --git a/toontown/minigame/ArrowKeys.py b/toontown/minigame/ArrowKeys.py index 4874301..1c8c488 100644 --- a/toontown/minigame/ArrowKeys.py +++ b/toontown/minigame/ArrowKeys.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import ModifierButtons +from panda3d.core import ModifierButtons from direct.showbase.DirectObject import DirectObject class ArrowKeys(DirectObject): diff --git a/toontown/minigame/CatchGameToonSD.py b/toontown/minigame/CatchGameToonSD.py index 139c43b..8b9b4b2 100644 --- a/toontown/minigame/CatchGameToonSD.py +++ b/toontown/minigame/CatchGameToonSD.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/minigame/CogThief.py b/toontown/minigame/CogThief.py index c352163..10fea25 100644 --- a/toontown/minigame/CogThief.py +++ b/toontown/minigame/CogThief.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import CollisionSphere, CollisionNode, Point3, CollisionTube, Vec3, rad2Deg +from panda3d.core import CollisionSphere, CollisionNode, Point3, CollisionTube, Vec3, rad2Deg from direct.showbase.DirectObject import DirectObject from direct.distributed.ClockDelta import globalClockDelta from direct.interval.IntervalGlobal import Parallel, SoundInterval, Sequence, Func, LerpScaleInterval diff --git a/toontown/minigame/CogThiefGameGlobals.py b/toontown/minigame/CogThiefGameGlobals.py index 1b9784a..e2c459a 100644 --- a/toontown/minigame/CogThiefGameGlobals.py +++ b/toontown/minigame/CogThiefGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase3, BitMask32 +from panda3d.core import VBase3, BitMask32 GameTime = 60 NumBarrels = 4 BarrelStartingPositions = (VBase3(4.3, 4, 0), diff --git a/toontown/minigame/CogThiefGameToonSD.py b/toontown/minigame/CogThiefGameToonSD.py index c710808..2270fbc 100644 --- a/toontown/minigame/CogThiefGameToonSD.py +++ b/toontown/minigame/CogThiefGameToonSD.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/minigame/DistributedCannonGame.py b/toontown/minigame/DistributedCannonGame.py index 329b60b..8b75fac 100644 --- a/toontown/minigame/DistributedCannonGame.py +++ b/toontown/minigame/DistributedCannonGame.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * from direct.distributed.ClockDelta import * @@ -16,7 +16,7 @@ from toontown.effects import Splash from toontown.effects import DustCloud from . import CannonGameGlobals from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer LAND_TIME = 2 WORLD_SCALE = 2.0 diff --git a/toontown/minigame/DistributedCatchGame.py b/toontown/minigame/DistributedCatchGame.py index 6d94f96..6803a4c 100644 --- a/toontown/minigame/DistributedCatchGame.py +++ b/toontown/minigame/DistributedCatchGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * from direct.interval.IntervalGlobal import * diff --git a/toontown/minigame/DistributedCogThiefGame.py b/toontown/minigame/DistributedCogThiefGame.py index 19cd3cf..5b344dd 100644 --- a/toontown/minigame/DistributedCogThiefGame.py +++ b/toontown/minigame/DistributedCogThiefGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, CollisionSphere, CollisionNode, CollisionHandlerEvent, NodePath, TextNode +from panda3d.core import Point3, CollisionSphere, CollisionNode, CollisionHandlerEvent, NodePath, TextNode from direct.distributed.ClockDelta import globalClockDelta from direct.interval.IntervalGlobal import Wait, LerpFunctionInterval, LerpHprInterval, Sequence, Parallel, Func, SoundInterval, ActorInterval, ProjectileInterval, Track, LerpScaleInterval, WaitInterval, LerpPosHprInterval from direct.gui.DirectGui import DirectLabel diff --git a/toontown/minigame/DistributedCogThiefGameAI.py b/toontown/minigame/DistributedCogThiefGameAI.py index 3972489..2f88b27 100644 --- a/toontown/minigame/DistributedCogThiefGameAI.py +++ b/toontown/minigame/DistributedCogThiefGameAI.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from direct.fsm import ClassicFSM from direct.fsm import State from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/minigame/DistributedIceGame.py b/toontown/minigame/DistributedIceGame.py index b7dbb64..c90bc7b 100644 --- a/toontown/minigame/DistributedIceGame.py +++ b/toontown/minigame/DistributedIceGame.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import Vec3, deg2Rad, Point3, NodePath, VBase4, CollisionHandlerEvent, CollisionNode, CollisionSphere +from panda3d.core import Vec3, deg2Rad, Point3, NodePath, VBase4, CollisionHandlerEvent, CollisionNode, CollisionSphere from direct.fsm import ClassicFSM, State from direct.distributed.ClockDelta import globalClockDelta from direct.gui.DirectGui import DirectLabel diff --git a/toontown/minigame/DistributedIceGameAI.py b/toontown/minigame/DistributedIceGameAI.py index 609943a..30194e8 100644 --- a/toontown/minigame/DistributedIceGameAI.py +++ b/toontown/minigame/DistributedIceGameAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from direct.distributed.ClockDelta import globalClockDelta from direct.fsm import ClassicFSM, State from direct.task import Task diff --git a/toontown/minigame/DistributedIceWorld.py b/toontown/minigame/DistributedIceWorld.py index d486003..af40379 100644 --- a/toontown/minigame/DistributedIceWorld.py +++ b/toontown/minigame/DistributedIceWorld.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import Vec4, BitMask32, Quat, Point3, NodePath -from pandac.PandaModules import OdePlaneGeom, OdeBody, OdeSphereGeom, OdeMass, OdeUtil, OdeBoxGeom +from panda3d.core import Vec4, BitMask32, Quat, NodePath +from panda3d.ode import OdePlaneGeom, OdeBody, OdeSphereGeom, OdeMass, OdeUtil, OdeBoxGeom from direct.directnotify import DirectNotifyGlobal from toontown.minigame import DistributedMinigamePhysicsWorld from toontown.minigame import IceGameGlobals diff --git a/toontown/minigame/DistributedMazeGame.py b/toontown/minigame/DistributedMazeGame.py index 019ac30..70ba03d 100644 --- a/toontown/minigame/DistributedMazeGame.py +++ b/toontown/minigame/DistributedMazeGame.py @@ -8,7 +8,7 @@ from direct.fsm import ClassicFSM, State from direct.showbase import RandomNumGen from direct.task.Task import Task from direct.distributed.ClockDelta import globalClockDelta -from pandac.PandaModules import Point3, Vec3 +from panda3d.core import Point3, Vec3 from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownTimer from .DistributedMinigame import DistributedMinigame diff --git a/toontown/minigame/DistributedMinigame.py b/toontown/minigame/DistributedMinigame.py index 4f3866b..6a36a7c 100644 --- a/toontown/minigame/DistributedMinigame.py +++ b/toontown/minigame/DistributedMinigame.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from toontown.toonbase import ToontownGlobals from direct.distributed import DistributedObject diff --git a/toontown/minigame/DistributedMinigameTemplate.py b/toontown/minigame/DistributedMinigameTemplate.py index 4858118..66f69a7 100644 --- a/toontown/minigame/DistributedMinigameTemplate.py +++ b/toontown/minigame/DistributedMinigameTemplate.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * from direct.fsm import ClassicFSM, State diff --git a/toontown/minigame/DistributedPairingGame.py b/toontown/minigame/DistributedPairingGame.py index 2913d62..0c70f9c 100644 --- a/toontown/minigame/DistributedPairingGame.py +++ b/toontown/minigame/DistributedPairingGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * from direct.fsm import ClassicFSM, State diff --git a/toontown/minigame/DistributedPatternGame.py b/toontown/minigame/DistributedPatternGame.py index a49f908..286ea7e 100644 --- a/toontown/minigame/DistributedPatternGame.py +++ b/toontown/minigame/DistributedPatternGame.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from .DistributedMinigame import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownTimer diff --git a/toontown/minigame/DistributedPhotoGame.py b/toontown/minigame/DistributedPhotoGame.py index 852c890..5321eec 100644 --- a/toontown/minigame/DistributedPhotoGame.py +++ b/toontown/minigame/DistributedPhotoGame.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * @@ -14,7 +14,7 @@ import math from toontown.toon import ToonHead from . import PhotoGameGlobals from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.golf import BuildGeometry from toontown.toon import Toon diff --git a/toontown/minigame/DistributedRaceGame.py b/toontown/minigame/DistributedRaceGame.py index 0f6a953..57ca910 100644 --- a/toontown/minigame/DistributedRaceGame.py +++ b/toontown/minigame/DistributedRaceGame.py @@ -1,10 +1,10 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from .DistributedMinigame import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.task.Task import Task diff --git a/toontown/minigame/DistributedRingGame.py b/toontown/minigame/DistributedRingGame.py index 7204497..f6e65be 100644 --- a/toontown/minigame/DistributedRingGame.py +++ b/toontown/minigame/DistributedRingGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from .DistributedMinigame import * diff --git a/toontown/minigame/DistributedTagGame.py b/toontown/minigame/DistributedTagGame.py index 6981270..59badbc 100644 --- a/toontown/minigame/DistributedTagGame.py +++ b/toontown/minigame/DistributedTagGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from .DistributedMinigame import * from direct.interval.IntervalGlobal import * diff --git a/toontown/minigame/DistributedTargetGame.py b/toontown/minigame/DistributedTargetGame.py index 47046e2..8a2ee37 100644 --- a/toontown/minigame/DistributedTargetGame.py +++ b/toontown/minigame/DistributedTargetGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from .DistributedMinigame import * diff --git a/toontown/minigame/DistributedTravelGame.py b/toontown/minigame/DistributedTravelGame.py index 89d6973..f935283 100644 --- a/toontown/minigame/DistributedTravelGame.py +++ b/toontown/minigame/DistributedTravelGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import GlobalDialogColor from .DistributedMinigame import * @@ -8,7 +8,7 @@ from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownTimer from . import TravelGameGlobals import math -from pandac.PandaModules import rad2Deg +from panda3d.core import rad2Deg from toontown.toontowngui import TTDialog from direct.interval.IntervalGlobal import * from . import VoteResultsPanel diff --git a/toontown/minigame/DistributedTugOfWarGame.py b/toontown/minigame/DistributedTugOfWarGame.py index e8b7a12..7530efe 100644 --- a/toontown/minigame/DistributedTugOfWarGame.py +++ b/toontown/minigame/DistributedTugOfWarGame.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from .DistributedMinigame import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownTimer diff --git a/toontown/minigame/DistributedTwoDGame.py b/toontown/minigame/DistributedTwoDGame.py index f5e2cab..3d3c17b 100644 --- a/toontown/minigame/DistributedTwoDGame.py +++ b/toontown/minigame/DistributedTwoDGame.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase import TTLocalizer diff --git a/toontown/minigame/DistributedVineGame.py b/toontown/minigame/DistributedVineGame.py index 874c6e2..49773f7 100644 --- a/toontown/minigame/DistributedVineGame.py +++ b/toontown/minigame/DistributedVineGame.py @@ -1,4 +1,5 @@ -from pandac.PandaModules import Point3, ForceNode, LinearVectorForce, CollisionHandlerEvent, CollisionNode, CollisionSphere, Camera, PerspectiveLens, Vec4, Point2, ActorNode, Vec3, BitMask32 +from panda3d.core import Point3, CollisionHandlerEvent, CollisionNode, CollisionSphere, Camera, PerspectiveLens, Vec4, Point2, Vec3, BitMask32 +from panda3d.physics import ForceNode, LinearVectorForce, ActorNode from direct.interval.IntervalGlobal import Sequence, Parallel, Func, Wait, LerpPosInterval, ActorInterval, LerpScaleInterval, ProjectileInterval, SoundInterval from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectFrame import DirectFrame diff --git a/toontown/minigame/FogOverlay.py b/toontown/minigame/FogOverlay.py index a70e7b7..525a89e 100644 --- a/toontown/minigame/FogOverlay.py +++ b/toontown/minigame/FogOverlay.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/minigame/IceGameGlobals.py b/toontown/minigame/IceGameGlobals.py index 572d099..9c56c0a 100644 --- a/toontown/minigame/IceGameGlobals.py +++ b/toontown/minigame/IceGameGlobals.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from toontown.toonbase import ToontownGlobals InputTimeout = 15 TireMovieTimeout = 120 diff --git a/toontown/minigame/IceTreasure.py b/toontown/minigame/IceTreasure.py index dafae7b..84b4e51 100644 --- a/toontown/minigame/IceTreasure.py +++ b/toontown/minigame/IceTreasure.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, CollisionSphere, CollisionNode, BitMask32 +from panda3d.core import Point3, CollisionSphere, CollisionNode, BitMask32 from direct.interval.IntervalGlobal import Sequence, LerpScaleInterval, Parallel, Func, SoundInterval from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject diff --git a/toontown/minigame/MazeBase.py b/toontown/minigame/MazeBase.py index 7dd29cf..32cc19a 100644 --- a/toontown/minigame/MazeBase.py +++ b/toontown/minigame/MazeBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase3 +from panda3d.core import VBase3 from direct.showbase.RandomNumGen import RandomNumGen class MazeBase: diff --git a/toontown/minigame/MazeMapGui.py b/toontown/minigame/MazeMapGui.py index a5f3ba6..d2c5145 100644 --- a/toontown/minigame/MazeMapGui.py +++ b/toontown/minigame/MazeMapGui.py @@ -1,7 +1,7 @@ from direct.gui.DirectGui import DirectFrame, DGG -from pandac.PandaModules import Vec2, VBase4F -from pandac.PandaModules import CardMaker, NodePath -from pandac.PandaModules import Texture, PNMImage +from panda3d.core import Vec2, VBase4F +from panda3d.core import CardMaker, NodePath +from panda3d.core import Texture, PNMImage from enum import IntEnum DEFAULT_MASK_RESOLUTION = 32 DEFAULT_RADIUS_RATIO = 0.05 diff --git a/toontown/minigame/MazeSuit.py b/toontown/minigame/MazeSuit.py index 40cc11d..44c5fc4 100644 --- a/toontown/minigame/MazeSuit.py +++ b/toontown/minigame/MazeSuit.py @@ -2,8 +2,9 @@ from direct.showbase.DirectObject import DirectObject from direct.interval.MetaInterval import Parallel from direct.interval.LerpInterval import LerpPosInterval, LerpHprInterval from direct.showbase.RandomNumGen import RandomNumGen -from pandac.PandaModules import Point3, WaitInterval -from pandac.PandaModules import CollisionSphere, CollisionNode +from panda3d.core import Point3 +from panda3d.core import CollisionSphere, CollisionNode +from panda3d.direct import WaitInterval from toontown.suit import Suit from toontown.suit import SuitDNA from toontown.toonbase import ToontownGlobals diff --git a/toontown/minigame/MinigameAvatarScorePanel.py b/toontown/minigame/MinigameAvatarScorePanel.py index 7536c69..45c4e08 100644 --- a/toontown/minigame/MinigameAvatarScorePanel.py +++ b/toontown/minigame/MinigameAvatarScorePanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import LaffMeter class MinigameAvatarScorePanel(DirectFrame): diff --git a/toontown/minigame/MinigamePhysicsWorldBase.py b/toontown/minigame/MinigamePhysicsWorldBase.py index 4051515..8a5231c 100644 --- a/toontown/minigame/MinigamePhysicsWorldBase.py +++ b/toontown/minigame/MinigamePhysicsWorldBase.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import Quat -from pandac.PandaModules import OdeWorld, OdeSimpleSpace, OdeJointGroup, OdeUtil +from panda3d.core import Quat +from panda3d.ode import OdeWorld, OdeSimpleSpace, OdeJointGroup, OdeUtil from direct.directnotify import DirectNotifyGlobal from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/minigame/MinigamePowerMeter.py b/toontown/minigame/MinigamePowerMeter.py index 6d6b7ad..4391d07 100644 --- a/toontown/minigame/MinigamePowerMeter.py +++ b/toontown/minigame/MinigamePowerMeter.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class MinigamePowerMeter(DirectFrame): diff --git a/toontown/minigame/MinigameRulesPanel.py b/toontown/minigame/MinigameRulesPanel.py index 68ced54..50cd8bc 100644 --- a/toontown/minigame/MinigameRulesPanel.py +++ b/toontown/minigame/MinigameRulesPanel.py @@ -2,7 +2,7 @@ from direct.task import Task from direct.fsm import StateData from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownTimer from toontown.toonbase import TTLocalizer from . import MinigameGlobals diff --git a/toontown/minigame/PairingGameCard.py b/toontown/minigame/PairingGameCard.py index 0a5f91a..a7022f7 100644 --- a/toontown/minigame/PairingGameCard.py +++ b/toontown/minigame/PairingGameCard.py @@ -1,6 +1,6 @@ from .PlayingCard import PlayingCardNodePath from . import PlayingCardGlobals -from pandac.PandaModules import NodePath, Vec3 +from panda3d.core import NodePath, Vec3 from direct.interval.IntervalGlobal import LerpHprInterval, Parallel, SoundInterval class PairingGameCard(PlayingCardNodePath): diff --git a/toontown/minigame/PhotoGameGlobals.py b/toontown/minigame/PhotoGameGlobals.py index a3fba67..66c221b 100644 --- a/toontown/minigame/PhotoGameGlobals.py +++ b/toontown/minigame/PhotoGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals GAME_TIME = 60 diff --git a/toontown/minigame/PlayingCard.py b/toontown/minigame/PlayingCard.py index bc76bf1..eac4b83 100644 --- a/toontown/minigame/PlayingCard.py +++ b/toontown/minigame/PlayingCard.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task from toontown.toonbase import TTLocalizer from . import PlayingCardGlobals diff --git a/toontown/minigame/PlayingCardGlobals.py b/toontown/minigame/PlayingCardGlobals.py index b8cb4f0..38dc5f8 100644 --- a/toontown/minigame/PlayingCardGlobals.py +++ b/toontown/minigame/PlayingCardGlobals.py @@ -1,6 +1,6 @@ from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownBattleGlobals -from pandac.PandaModules import Vec4 +from panda3d.core import Vec4 Up = 1 Down = 0 MaxRank = 13 diff --git a/toontown/minigame/PurchaseBase.py b/toontown/minigame/PurchaseBase.py index 9dab1c8..d1357c0 100644 --- a/toontown/minigame/PurchaseBase.py +++ b/toontown/minigame/PurchaseBase.py @@ -3,7 +3,7 @@ from toontown.toonbase import ToontownGlobals from direct.fsm import StateData from toontown.shtiker.PurchaseManagerConstants import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task from direct.fsm import State from direct.fsm import ClassicFSM, State diff --git a/toontown/minigame/Ring.py b/toontown/minigame/Ring.py index 594b8ed..cbd403e 100644 --- a/toontown/minigame/Ring.py +++ b/toontown/minigame/Ring.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from . import RingTrack class Ring(NodePath): diff --git a/toontown/minigame/RingGameGlobals.py b/toontown/minigame/RingGameGlobals.py index 27370b5..518304f 100644 --- a/toontown/minigame/RingGameGlobals.py +++ b/toontown/minigame/RingGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals ENDLESS_GAME = config.GetBool('endless-ring-game', 0) diff --git a/toontown/minigame/RingGroup.py b/toontown/minigame/RingGroup.py index 65a69e5..e839536 100644 --- a/toontown/minigame/RingGroup.py +++ b/toontown/minigame/RingGroup.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from . import Ring from . import RingTrack from . import RingTrackGroup diff --git a/toontown/minigame/RubberBand.py b/toontown/minigame/RubberBand.py index 28f6d3a..630bb81 100644 --- a/toontown/minigame/RubberBand.py +++ b/toontown/minigame/RubberBand.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/minigame/SwingVine.py b/toontown/minigame/SwingVine.py index 5451f41..0f84c5c 100644 --- a/toontown/minigame/SwingVine.py +++ b/toontown/minigame/SwingVine.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from direct.distributed import DistributedObject diff --git a/toontown/minigame/TargetGameGlobals.py b/toontown/minigame/TargetGameGlobals.py index 2adfbd2..f7d55e9 100644 --- a/toontown/minigame/TargetGameGlobals.py +++ b/toontown/minigame/TargetGameGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals ENDLESS_GAME = config.GetBool('endless-ring-game', 0) diff --git a/toontown/minigame/ToonBlitzAssetMgr.py b/toontown/minigame/ToonBlitzAssetMgr.py index c49525f..ea4cfd0 100644 --- a/toontown/minigame/ToonBlitzAssetMgr.py +++ b/toontown/minigame/ToonBlitzAssetMgr.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.minigame import ToonBlitzGlobals, TwoDBlock -from pandac.PandaModules import CardMaker +from panda3d.core import CardMaker class ToonBlitzAssetMgr(DirectObject): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedToonBlitzAssets') diff --git a/toontown/minigame/ToonBlitzGlobals.py b/toontown/minigame/ToonBlitzGlobals.py index 765082f..4360eb9 100644 --- a/toontown/minigame/ToonBlitzGlobals.py +++ b/toontown/minigame/ToonBlitzGlobals.py @@ -1,5 +1,5 @@ from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import BitMask32 +from panda3d.core import BitMask32 ShowScoresDuration = 4.0 EndlessGame = config.GetBool('endless-2d-game', 0) ScoreToJellyBeansMultiplier = 5 diff --git a/toontown/minigame/Trajectory.py b/toontown/minigame/Trajectory.py index 1b0b53c..d135f0c 100644 --- a/toontown/minigame/Trajectory.py +++ b/toontown/minigame/Trajectory.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from math import * class Trajectory: diff --git a/toontown/minigame/TwoDBattleMgr.py b/toontown/minigame/TwoDBattleMgr.py index f0b2d10..7937237 100644 --- a/toontown/minigame/TwoDBattleMgr.py +++ b/toontown/minigame/TwoDBattleMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/minigame/TwoDBlock.py b/toontown/minigame/TwoDBlock.py index 3ea5066..ff04a59 100644 --- a/toontown/minigame/TwoDBlock.py +++ b/toontown/minigame/TwoDBlock.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State diff --git a/toontown/minigame/TwoDCamera.py b/toontown/minigame/TwoDCamera.py index 2561db9..4674436 100644 --- a/toontown/minigame/TwoDCamera.py +++ b/toontown/minigame/TwoDCamera.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/minigame/TwoDEnemy.py b/toontown/minigame/TwoDEnemy.py index fec60a8..7eacfaa 100644 --- a/toontown/minigame/TwoDEnemy.py +++ b/toontown/minigame/TwoDEnemy.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from direct.showbase import PythonUtil diff --git a/toontown/minigame/TwoDEnemyMgr.py b/toontown/minigame/TwoDEnemyMgr.py index a1ad4ce..a39f09d 100644 --- a/toontown/minigame/TwoDEnemyMgr.py +++ b/toontown/minigame/TwoDEnemyMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/TwoDGameToonSD.py b/toontown/minigame/TwoDGameToonSD.py index 0f7958d..42de694 100644 --- a/toontown/minigame/TwoDGameToonSD.py +++ b/toontown/minigame/TwoDGameToonSD.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * diff --git a/toontown/minigame/TwoDSection.py b/toontown/minigame/TwoDSection.py index 0470fac..39bfb19 100644 --- a/toontown/minigame/TwoDSection.py +++ b/toontown/minigame/TwoDSection.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/TwoDSectionMgr.py b/toontown/minigame/TwoDSectionMgr.py index 6eb8d44..5f2cc69 100644 --- a/toontown/minigame/TwoDSectionMgr.py +++ b/toontown/minigame/TwoDSectionMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/TwoDSpawnPointMgr.py b/toontown/minigame/TwoDSpawnPointMgr.py index 09506ef..87c8963 100644 --- a/toontown/minigame/TwoDSpawnPointMgr.py +++ b/toontown/minigame/TwoDSpawnPointMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/TwoDStomperMgr.py b/toontown/minigame/TwoDStomperMgr.py index b0e58e3..1e1567f 100644 --- a/toontown/minigame/TwoDStomperMgr.py +++ b/toontown/minigame/TwoDStomperMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/TwoDTreasureMgr.py b/toontown/minigame/TwoDTreasureMgr.py index ecd1880..9a805a1 100644 --- a/toontown/minigame/TwoDTreasureMgr.py +++ b/toontown/minigame/TwoDTreasureMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.minigame import ToonBlitzGlobals diff --git a/toontown/minigame/VineBat.py b/toontown/minigame/VineBat.py index 3e2f280..23d3f1c 100644 --- a/toontown/minigame/VineBat.py +++ b/toontown/minigame/VineBat.py @@ -1,7 +1,7 @@ from direct.showbase.DirectObject import DirectObject from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from . import VineGameGlobals from direct.interval.SoundInterval import SoundInterval diff --git a/toontown/minigame/VineGameGlobals.py b/toontown/minigame/VineGameGlobals.py index 3c7d264..90c6493 100644 --- a/toontown/minigame/VineGameGlobals.py +++ b/toontown/minigame/VineGameGlobals.py @@ -1,5 +1,5 @@ from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import BitMask32 +from panda3d.core import BitMask32 NumVines = 20 GameDuration = 70 ShowScoresDuration = 4.0 diff --git a/toontown/minigame/VineHeadFrame.py b/toontown/minigame/VineHeadFrame.py index fadec24..3f28516 100644 --- a/toontown/minigame/VineHeadFrame.py +++ b/toontown/minigame/VineHeadFrame.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toon import ToonHead diff --git a/toontown/minigame/VineSpider.py b/toontown/minigame/VineSpider.py index 0c5602d..61d96f2 100644 --- a/toontown/minigame/VineSpider.py +++ b/toontown/minigame/VineSpider.py @@ -1,7 +1,7 @@ from direct.showbase.DirectObject import DirectObject from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from . import VineGameGlobals class VineSpider(NodePath, DirectObject): diff --git a/toontown/minigame/VoteResultsPanel.py b/toontown/minigame/VoteResultsPanel.py index 8fd50e0..7f55efe 100644 --- a/toontown/minigame/VoteResultsPanel.py +++ b/toontown/minigame/VoteResultsPanel.py @@ -1,7 +1,7 @@ from direct.gui.DirectGui import DirectFrame, DGG, DirectLabel from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import Point3, TextNode +from panda3d.core import Point3, TextNode from toontown.minigame import TravelGameGlobals from toontown.toonbase import TTLocalizer from direct.interval.IntervalGlobal import Parallel, Sequence, LerpFunc, Func, Wait diff --git a/toontown/minigame/VoteResultsTrolleyPanel.py b/toontown/minigame/VoteResultsTrolleyPanel.py index 27bd011..8877dc1 100644 --- a/toontown/minigame/VoteResultsTrolleyPanel.py +++ b/toontown/minigame/VoteResultsTrolleyPanel.py @@ -1,7 +1,7 @@ from direct.gui.DirectGui import DirectFrame, DGG, DirectLabel from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import Point3, TextNode, Vec4 +from panda3d.core import Point3, TextNode, Vec4 from toontown.minigame import TravelGameGlobals from toontown.toonbase import TTLocalizer from direct.interval.IntervalGlobal import Parallel, Sequence, LerpFunc, Func, Wait, SoundInterval diff --git a/toontown/parties/CalendarGuiDay.py b/toontown/parties/CalendarGuiDay.py index 0013df3..bec5e99 100644 --- a/toontown/parties/CalendarGuiDay.py +++ b/toontown/parties/CalendarGuiDay.py @@ -1,7 +1,7 @@ import datetime import functools import time -from pandac.PandaModules import TextNode, Vec3, Vec4, PlaneNode, Plane, Point3 +from panda3d.core import TextNode, Vec3, Vec4, PlaneNode, Plane, Point3 from direct.gui.DirectGui import DirectFrame, DirectLabel, DirectButton, DirectScrolledList, DGG from direct.directnotify import DirectNotifyGlobal from direct.gui import DirectGuiGlobals diff --git a/toontown/parties/CalendarGuiMonth.py b/toontown/parties/CalendarGuiMonth.py index 9465cc3..1371da3 100644 --- a/toontown/parties/CalendarGuiMonth.py +++ b/toontown/parties/CalendarGuiMonth.py @@ -1,6 +1,6 @@ import calendar from datetime import timedelta, datetime -from pandac.PandaModules import Vec4, TextNode +from panda3d.core import Vec4, TextNode from direct.gui.DirectGui import DirectFrame, DirectLabel, DirectButton, DirectScrolledList, DGG from toontown.toonbase import TTLocalizer from toontown.toonbase import ToontownGlobals diff --git a/toontown/parties/Cannon.py b/toontown/parties/Cannon.py index 9126f95..5b57926 100644 --- a/toontown/parties/Cannon.py +++ b/toontown/parties/Cannon.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.MetaInterval import Sequence, Parallel from direct.interval.FunctionInterval import Func from direct.interval.LerpInterval import LerpScaleInterval, LerpColorScaleInterval diff --git a/toontown/parties/Decoration.py b/toontown/parties/Decoration.py index 8382974..e6db7cb 100644 --- a/toontown/parties/Decoration.py +++ b/toontown/parties/Decoration.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.actor import Actor from toontown.toonbase import ToontownGlobals diff --git a/toontown/parties/DistributedPartyActivity.py b/toontown/parties/DistributedPartyActivity.py index 26e9b04..f96e492 100644 --- a/toontown/parties/DistributedPartyActivity.py +++ b/toontown/parties/DistributedPartyActivity.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import CollisionSphere, CollisionNode, CollisionTube -from pandac.PandaModules import TextNode, NodePath, Vec3, Point3 +from panda3d.core import CollisionSphere, CollisionNode, CollisionTube +from panda3d.core import TextNode, NodePath, Vec3, Point3 from direct.distributed.ClockDelta import globalClockDelta from direct.distributed import DistributedObject from direct.showbase import RandomNumGen diff --git a/toontown/parties/DistributedPartyCannon.py b/toontown/parties/DistributedPartyCannon.py index 9d12350..0272449 100644 --- a/toontown/parties/DistributedPartyCannon.py +++ b/toontown/parties/DistributedPartyCannon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.DistributedObject import DistributedObject from direct.task.Task import Task from toontown.minigame import CannonGameGlobals diff --git a/toontown/parties/DistributedPartyCannonActivity.py b/toontown/parties/DistributedPartyCannonActivity.py index 6ab579c..a2ee0d2 100644 --- a/toontown/parties/DistributedPartyCannonActivity.py +++ b/toontown/parties/DistributedPartyCannonActivity.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from otp.otpbase.PythonUtil import quantizeVec diff --git a/toontown/parties/DistributedPartyCatchActivity.py b/toontown/parties/DistributedPartyCatchActivity.py index fdaa025..09093bc 100644 --- a/toontown/parties/DistributedPartyCatchActivity.py +++ b/toontown/parties/DistributedPartyCatchActivity.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import Vec3, Point3, Point4, TextNode, NodePath -from pandac.PandaModules import CollisionHandlerEvent, CollisionNode, CollisionSphere +from panda3d.core import Vec3, Point3, Point4, TextNode, NodePath +from panda3d.core import CollisionHandlerEvent, CollisionNode, CollisionSphere from direct.distributed.ClockDelta import globalClockDelta from direct.interval.IntervalGlobal import Sequence, Parallel from direct.interval.IntervalGlobal import LerpScaleInterval, LerpFunctionInterval, LerpColorScaleInterval, LerpPosInterval diff --git a/toontown/parties/DistributedPartyCogActivity.py b/toontown/parties/DistributedPartyCogActivity.py index 673450f..6db8ffb 100644 --- a/toontown/parties/DistributedPartyCogActivity.py +++ b/toontown/parties/DistributedPartyCogActivity.py @@ -1,5 +1,5 @@ from direct.distributed.ClockDelta import globalClockDelta -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from toontown.toonbase import TTLocalizer from . import PartyGlobals from .DistributedPartyTeamActivity import DistributedPartyTeamActivity diff --git a/toontown/parties/DistributedPartyDanceActivityBase.py b/toontown/parties/DistributedPartyDanceActivityBase.py index 2507f39..c0c940d 100644 --- a/toontown/parties/DistributedPartyDanceActivityBase.py +++ b/toontown/parties/DistributedPartyDanceActivityBase.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.FunctionInterval import Wait, Func from direct.interval.MetaInterval import Sequence, Parallel from direct.fsm import FSM diff --git a/toontown/parties/DistributedPartyFireworksActivity.py b/toontown/parties/DistributedPartyFireworksActivity.py index 8dddb0b..b1f672f 100644 --- a/toontown/parties/DistributedPartyFireworksActivity.py +++ b/toontown/parties/DistributedPartyFireworksActivity.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import Vec3 -from pandac.PandaModules import OmniBoundingVolume -from pandac.PandaModules import AlphaTestAttrib -from pandac.PandaModules import RenderAttrib +from panda3d.core import Vec3 +from panda3d.core import OmniBoundingVolume +from panda3d.core import AlphaTestAttrib +from panda3d.core import RenderAttrib from direct.actor.Actor import Actor from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/parties/DistributedPartyJukeboxActivityBase.py b/toontown/parties/DistributedPartyJukeboxActivityBase.py index d5d4fbf..6706f77 100644 --- a/toontown/parties/DistributedPartyJukeboxActivityBase.py +++ b/toontown/parties/DistributedPartyJukeboxActivityBase.py @@ -1,6 +1,6 @@ from direct.actor.Actor import Actor from direct.task.Task import Task -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase.OTPBase import OTPBase from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/parties/DistributedPartyTrampolineActivity.py b/toontown/parties/DistributedPartyTrampolineActivity.py index 7113938..964ad53 100644 --- a/toontown/parties/DistributedPartyTrampolineActivity.py +++ b/toontown/parties/DistributedPartyTrampolineActivity.py @@ -12,17 +12,17 @@ from direct.interval.FunctionInterval import Wait from direct.interval.LerpInterval import LerpFunc from direct.interval.MetaInterval import Parallel from direct.interval.MetaInterval import Sequence -from pandac.PandaModules import CardMaker -from pandac.PandaModules import NodePath -from pandac.PandaModules import TextNode -from pandac.PandaModules import Point3 -from pandac.PandaModules import Vec3 -from pandac.PandaModules import VBase3 -from pandac.PandaModules import VBase4 -from pandac.PandaModules import CollisionSphere -from pandac.PandaModules import CollisionTube -from pandac.PandaModules import CollisionNode -from pandac.PandaModules import BitMask32 +from panda3d.core import CardMaker +from panda3d.core import NodePath +from panda3d.core import TextNode +from panda3d.core import Point3 +from panda3d.core import Vec3 +from panda3d.core import VBase3 +from panda3d.core import VBase4 +from panda3d.core import CollisionSphere +from panda3d.core import CollisionTube +from panda3d.core import CollisionNode +from panda3d.core import BitMask32 from otp.otpbase import OTPGlobals from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/parties/DistributedPartyTugOfWarActivity.py b/toontown/parties/DistributedPartyTugOfWarActivity.py index 7d2ed16..bcc2749 100644 --- a/toontown/parties/DistributedPartyTugOfWarActivity.py +++ b/toontown/parties/DistributedPartyTugOfWarActivity.py @@ -1,9 +1,9 @@ import math -from pandac.PandaModules import CollisionTube -from pandac.PandaModules import CollisionNode -from pandac.PandaModules import Point3 -from pandac.PandaModules import VBase3 -from pandac.PandaModules import RopeNode +from panda3d.core import CollisionTube +from panda3d.core import CollisionNode +from panda3d.core import Point3 +from panda3d.core import VBase3 +from panda3d.core import RopeNode from direct.interval.IntervalGlobal import LerpPosHprInterval from direct.interval.IntervalGlobal import LerpPosInterval from direct.interval.IntervalGlobal import Wait diff --git a/toontown/parties/DistributedPartyWinterCatchActivity.py b/toontown/parties/DistributedPartyWinterCatchActivity.py index 9089012..64322f4 100644 --- a/toontown/parties/DistributedPartyWinterCatchActivity.py +++ b/toontown/parties/DistributedPartyWinterCatchActivity.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from toontown.toonbase import TTLocalizer from toontown.parties.DistributedPartyCatchActivity import DistributedPartyCatchActivity from toontown.parties import PartyGlobals diff --git a/toontown/parties/JellybeanRewardGui.py b/toontown/parties/JellybeanRewardGui.py index 5a38040..1a45f26 100644 --- a/toontown/parties/JellybeanRewardGui.py +++ b/toontown/parties/JellybeanRewardGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from direct.gui.DirectGui import DirectFrame from direct.gui.DirectGui import DirectButton from direct.gui.DirectGui import DirectLabel diff --git a/toontown/parties/JukeboxGui.py b/toontown/parties/JukeboxGui.py index 2d24650..c23c486 100644 --- a/toontown/parties/JukeboxGui.py +++ b/toontown/parties/JukeboxGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel from direct.gui.DirectGui import DirectScrolledListItem, DirectScrolledList diff --git a/toontown/parties/KeyCodes.py b/toontown/parties/KeyCodes.py index 977654c..47af387 100644 --- a/toontown/parties/KeyCodes.py +++ b/toontown/parties/KeyCodes.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject ARROW_KEYCODE_MAP = {'arrow_up': 'u', 'arrow_down': 'd', diff --git a/toontown/parties/KeyCodesGui.py b/toontown/parties/KeyCodesGui.py index cca4169..ff043bb 100644 --- a/toontown/parties/KeyCodesGui.py +++ b/toontown/parties/KeyCodesGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from direct.gui.DirectGui import DirectButton from direct.gui.OnscreenText import OnscreenText diff --git a/toontown/parties/Party.py b/toontown/parties/Party.py index 697ba8a..54d12b6 100644 --- a/toontown/parties/Party.py +++ b/toontown/parties/Party.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * diff --git a/toontown/parties/PartyCatchActivityToonSD.py b/toontown/parties/PartyCatchActivityToonSD.py index 16bd2de..ee60331 100644 --- a/toontown/parties/PartyCatchActivityToonSD.py +++ b/toontown/parties/PartyCatchActivityToonSD.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 from direct.interval.IntervalGlobal import Sequence, Parallel, Wait, Func from direct.interval.IntervalGlobal import LerpScaleInterval from direct.interval.IntervalGlobal import WaitInterval, ActorInterval, FunctionInterval diff --git a/toontown/parties/PartyCog.py b/toontown/parties/PartyCog.py index d428c34..2631f26 100644 --- a/toontown/parties/PartyCog.py +++ b/toontown/parties/PartyCog.py @@ -8,8 +8,8 @@ from direct.interval.LerpInterval import LerpScaleInterval, LerpFunc from direct.showbase.PythonUtil import bound as clamp from direct.task import Task from direct.fsm.FSM import FSM -from pandac.PandaModules import CollisionTube, CollisionNode, CollisionSphere -from pandac.PandaModules import Point3, Vec4, NodePath, TextNode, Mat4 +from panda3d.core import CollisionTube, CollisionNode, CollisionSphere +from panda3d.core import Point3, Vec4, NodePath, TextNode, Mat4 from toontown.toonbase import ToontownGlobals from toontown.battle.BattleProps import globalPropPool from toontown.battle.BattleSounds import globalBattleSoundCache diff --git a/toontown/parties/PartyCogActivity.py b/toontown/parties/PartyCogActivity.py index 1c67d9b..d8c9b9b 100644 --- a/toontown/parties/PartyCogActivity.py +++ b/toontown/parties/PartyCogActivity.py @@ -6,8 +6,8 @@ from direct.interval.ProjectileInterval import ProjectileInterval from direct.distributed.ClockDelta import globalClockDelta from direct.showbase.PythonUtil import bound, lerp from direct.showbase.DirectObject import DirectObject -from pandac.PandaModules import NodePath, Point3, TextNode -from pandac.PandaModules import CollisionSphere, CollisionNode, CollisionHandlerEvent +from panda3d.core import NodePath, Point3, TextNode +from panda3d.core import CollisionSphere, CollisionNode, CollisionHandlerEvent from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.toonbase.ToontownTimer import ToontownTimer diff --git a/toontown/parties/PartyCogActivityGui.py b/toontown/parties/PartyCogActivityGui.py index 74d1af9..e112682 100644 --- a/toontown/parties/PartyCogActivityGui.py +++ b/toontown/parties/PartyCogActivityGui.py @@ -4,8 +4,8 @@ from direct.showbase.DirectObject import DirectObject from direct.interval.LerpInterval import LerpScaleInterval from direct.interval.MetaInterval import Sequence from direct.interval.FunctionInterval import Wait, Func -from pandac.PandaModules import Point3, VBase4 -from pandac.PandaModules import TextNode +from panda3d.core import Point3, VBase4 +from panda3d.core import TextNode from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownIntervals from toontown.toonbase import TTLocalizer diff --git a/toontown/parties/PartyCogActivityInput.py b/toontown/parties/PartyCogActivityInput.py index b7a010f..b53cd1e 100644 --- a/toontown/parties/PartyCogActivityInput.py +++ b/toontown/parties/PartyCogActivityInput.py @@ -1,5 +1,5 @@ from direct.showbase.DirectObject import DirectObject -from pandac.PandaModules import ModifierButtons +from panda3d.core import ModifierButtons ROTATE_LEFT_KEY = 'arrow_left' ROTATE_RIGHT_KEY = 'arrow_right' FORWARD_KEY = 'arrow_up' diff --git a/toontown/parties/PartyCogActivityPlayer.py b/toontown/parties/PartyCogActivityPlayer.py index 343f9c6..3262887 100644 --- a/toontown/parties/PartyCogActivityPlayer.py +++ b/toontown/parties/PartyCogActivityPlayer.py @@ -6,7 +6,7 @@ from direct.interval.FunctionInterval import Func, Wait from direct.interval.SoundInterval import SoundInterval from direct.interval.LerpInterval import LerpScaleInterval, LerpFunc from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import NodePath, Point3, VBase3 +from panda3d.core import NodePath, Point3, VBase3 from toontown.minigame.OrthoDrive import OrthoDrive from toontown.minigame.OrthoWalk import OrthoWalk from toontown.battle.BattleProps import globalPropPool diff --git a/toontown/parties/PartyCogUtils.py b/toontown/parties/PartyCogUtils.py index 752a523..0ee44c3 100644 --- a/toontown/parties/PartyCogUtils.py +++ b/toontown/parties/PartyCogUtils.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import NodePath, Point3 +from panda3d.core import NodePath, Point3 from . import PartyGlobals inverse_e = 1.0 / math.e diff --git a/toontown/parties/PartyDanceActivityToonFSM.py b/toontown/parties/PartyDanceActivityToonFSM.py index d9e106f..a8a6622 100644 --- a/toontown/parties/PartyDanceActivityToonFSM.py +++ b/toontown/parties/PartyDanceActivityToonFSM.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm.FSM import FSM from direct.showbase import PythonUtil from direct.interval.MetaInterval import Sequence diff --git a/toontown/parties/PartyEditor.py b/toontown/parties/PartyEditor.py index 87e37a5..37ff677 100644 --- a/toontown/parties/PartyEditor.py +++ b/toontown/parties/PartyEditor.py @@ -1,5 +1,5 @@ import time -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4 +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4 from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals from direct.showbase.DirectObject import DirectObject diff --git a/toontown/parties/PartyEditorGrid.py b/toontown/parties/PartyEditorGrid.py index f11463d..b0450e3 100644 --- a/toontown/parties/PartyEditorGrid.py +++ b/toontown/parties/PartyEditorGrid.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4 +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4 from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals from direct.showbase import DirectObject diff --git a/toontown/parties/PartyEditorGridElement.py b/toontown/parties/PartyEditorGridElement.py index 51a87df..8748a1e 100644 --- a/toontown/parties/PartyEditorGridElement.py +++ b/toontown/parties/PartyEditorGridElement.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4, NodePath +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4, NodePath from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals from direct.showbase import DirectObject diff --git a/toontown/parties/PartyEditorGridSquare.py b/toontown/parties/PartyEditorGridSquare.py index 66c074d..7c9cfb3 100644 --- a/toontown/parties/PartyEditorGridSquare.py +++ b/toontown/parties/PartyEditorGridSquare.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4 +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4 from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals from direct.showbase.DirectObject import DirectObject diff --git a/toontown/parties/PartyEditorListElement.py b/toontown/parties/PartyEditorListElement.py index 491c563..6fd5162 100644 --- a/toontown/parties/PartyEditorListElement.py +++ b/toontown/parties/PartyEditorListElement.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 from direct.gui.DirectGui import DirectButton, DirectLabel from direct.gui import DirectGuiGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/parties/PartyGlobals.py b/toontown/parties/PartyGlobals.py index 9330df4..895e54a 100644 --- a/toontown/parties/PartyGlobals.py +++ b/toontown/parties/PartyGlobals.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import BitMask32 -from pandac.PandaModules import Point3, VBase4 +from panda3d.core import BitMask32 +from panda3d.core import Point3, VBase4 from toontown.toonbase import TTLocalizer from enum import IntEnum KICK_TO_PLAYGROUND_EVENT = 'parties_kickToPlayground' diff --git a/toontown/parties/PartyLoader.py b/toontown/parties/PartyLoader.py index c9ac2f6..9360194 100644 --- a/toontown/parties/PartyLoader.py +++ b/toontown/parties/PartyLoader.py @@ -3,8 +3,8 @@ import random from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State -from pandac.PandaModules import * -from pandac.PandaModules import NodePath +from panda3d.core import * +from panda3d.core import NodePath from toontown.toonbase.ToontownGlobals import * from toontown.safezone import SafeZoneLoader from toontown.parties import Party diff --git a/toontown/parties/PartyPlanner.py b/toontown/parties/PartyPlanner.py index 9c75524..b598083 100644 --- a/toontown/parties/PartyPlanner.py +++ b/toontown/parties/PartyPlanner.py @@ -1,7 +1,7 @@ import calendar from datetime import datetime from datetime import timedelta -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4 +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4 from otp.otpbase import OTPLocalizer from direct.gui.DirectGui import DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals @@ -22,7 +22,7 @@ from toontown.parties.PartyInfo import PartyInfo from toontown.parties import PartyUtils from toontown.parties.PartyEditor import PartyEditor from otp.otpbase import OTPGlobals -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal class PartyPlanner(DirectFrame, FSM): diff --git a/toontown/parties/PartyUtils.py b/toontown/parties/PartyUtils.py index ad9331a..c163e1c 100644 --- a/toontown/parties/PartyUtils.py +++ b/toontown/parties/PartyUtils.py @@ -3,7 +3,7 @@ import time import datetime from direct.directnotify import DirectNotifyGlobal from direct.interval.LerpInterval import LerpFunc -from pandac.PandaModules import Vec3 +from panda3d.core import Vec3 from toontown.toonbase import TTLocalizer from toontown.toonbase.ToontownTimer import ToontownTimer from toontown.parties import PartyGlobals diff --git a/toontown/parties/PublicPartyGui.py b/toontown/parties/PublicPartyGui.py index 8f881b7..bd7f8a7 100644 --- a/toontown/parties/PublicPartyGui.py +++ b/toontown/parties/PublicPartyGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec3, Vec4, Point3, TextNode, VBase4 +from panda3d.core import Vec3, Vec4, Point3, TextNode, VBase4 from direct.gui.DirectGui import DGG, DirectFrame, DirectButton, DirectLabel, DirectScrolledList, DirectCheckButton from direct.gui import DirectGuiGlobals from direct.showbase import DirectObject diff --git a/toontown/parties/ScrolledFriendList.py b/toontown/parties/ScrolledFriendList.py index e1f4e71..1bca984 100644 --- a/toontown/parties/ScrolledFriendList.py +++ b/toontown/parties/ScrolledFriendList.py @@ -3,7 +3,7 @@ from direct.gui.DirectGui import DirectScrolledList, DirectCheckButton from direct.gui.DirectCheckBox import DirectCheckBox from direct.gui import DirectGuiGlobals from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import Vec3, Vec4, PlaneNode, Plane, Point3, TextNode, VBase4, NodePath +from panda3d.core import Vec3, Vec4, PlaneNode, Plane, Point3, TextNode, VBase4, NodePath class ScrolledFriendList(DirectScrolledList): diff --git a/toontown/parties/ServerTimeGui.py b/toontown/parties/ServerTimeGui.py index c657157..c846635 100644 --- a/toontown/parties/ServerTimeGui.py +++ b/toontown/parties/ServerTimeGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from direct.gui.DirectGui import DirectFrame, DirectLabel from direct.interval.IntervalGlobal import Func, Sequence, Wait from toontown.toonbase import ToontownGlobals diff --git a/toontown/parties/StretchingArrow.py b/toontown/parties/StretchingArrow.py index 172da01..582cebd 100644 --- a/toontown/parties/StretchingArrow.py +++ b/toontown/parties/StretchingArrow.py @@ -1,6 +1,6 @@ import math from direct.gui.DirectGui import DirectFrame -from pandac.PandaModules import Point3 +from panda3d.core import Point3 class StretchingArrow(DirectFrame): notify = directNotify.newCategory('StretchingArrow') diff --git a/toontown/parties/TeamActivityGui.py b/toontown/parties/TeamActivityGui.py index 0e31bc3..3eeb035 100644 --- a/toontown/parties/TeamActivityGui.py +++ b/toontown/parties/TeamActivityGui.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from direct.gui.DirectButton import DirectButton from direct.gui.OnscreenText import OnscreenText from direct.task.Task import Task diff --git a/toontown/parties/WinterPartyCatchActivityToonSD.py b/toontown/parties/WinterPartyCatchActivityToonSD.py index e0e2aa7..fca8561 100644 --- a/toontown/parties/WinterPartyCatchActivityToonSD.py +++ b/toontown/parties/WinterPartyCatchActivityToonSD.py @@ -1,5 +1,5 @@ from . import PartyCatchActivityToonSD -from pandac.PandaModules import Vec4 +from panda3d.core import Vec4 from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import Sequence, Parallel, Wait, Func from direct.interval.IntervalGlobal import LerpColorScaleInterval diff --git a/toontown/pets/DistributedPet.py b/toontown/pets/DistributedPet.py index 47d77e6..78f5a15 100644 --- a/toontown/pets/DistributedPet.py +++ b/toontown/pets/DistributedPet.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.showbase.PythonUtil import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/pets/DistributedPetAI.py b/toontown/pets/DistributedPetAI.py index 8b6cc22..3092abc 100644 --- a/toontown/pets/DistributedPetAI.py +++ b/toontown/pets/DistributedPetAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import weightedChoice, randFloat, lerp from direct.showbase.PythonUtil import contains, list2dict, clampScalar from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/pets/Pet.py b/toontown/pets/Pet.py index e8bab8f..241f5f0 100644 --- a/toontown/pets/Pet.py +++ b/toontown/pets/Pet.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from direct.fsm.ClassicFSM import * diff --git a/toontown/pets/PetAvatarPanel.py b/toontown/pets/PetAvatarPanel.py index 0792e89..d665967 100644 --- a/toontown/pets/PetAvatarPanel.py +++ b/toontown/pets/PetAvatarPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.showbase.PythonUtil import Functor from direct.task.Task import Task diff --git a/toontown/pets/PetBrain.py b/toontown/pets/PetBrain.py index 29fce9b..86cd86f 100644 --- a/toontown/pets/PetBrain.py +++ b/toontown/pets/PetBrain.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.showbase.PythonUtil import weightedChoice, randFloat, Functor from direct.showbase.PythonUtil import list2dict diff --git a/toontown/pets/PetChase.py b/toontown/pets/PetChase.py index 599770a..4eb8232 100644 --- a/toontown/pets/PetChase.py +++ b/toontown/pets/PetChase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import reduceAngle from otp.movement import Impulse import math diff --git a/toontown/pets/PetCollider.py b/toontown/pets/PetCollider.py index 7f8d1d8..ad91015 100644 --- a/toontown/pets/PetCollider.py +++ b/toontown/pets/PetCollider.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import reduceAngle from otp.movement import Impulse from otp.otpbase import OTPGlobals diff --git a/toontown/pets/PetConstants.py b/toontown/pets/PetConstants.py index 33d90fd..29485e5 100644 --- a/toontown/pets/PetConstants.py +++ b/toontown/pets/PetConstants.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from enum import IntEnum OurPetsMoodChangedKey = 'OurPetsMoodChanged' diff --git a/toontown/pets/PetDNA.py b/toontown/pets/PetDNA.py index 3de514e..a0b4b09 100644 --- a/toontown/pets/PetDNA.py +++ b/toontown/pets/PetDNA.py @@ -1,5 +1,5 @@ from toontown.toon import ToonDNA -from pandac.PandaModules import VBase4 +from panda3d.core import VBase4 from toontown.toonbase import TTLocalizer, ToontownGlobals from direct.showbase import PythonUtil NumFields = 9 diff --git a/toontown/pets/PetDetailPanel.py b/toontown/pets/PetDetailPanel.py index 5077b9e..220c640 100644 --- a/toontown/pets/PetDetailPanel.py +++ b/toontown/pets/PetDetailPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import TTLocalizer diff --git a/toontown/pets/PetFlee.py b/toontown/pets/PetFlee.py index 38ac3a3..d690a91 100644 --- a/toontown/pets/PetFlee.py +++ b/toontown/pets/PetFlee.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import reduceAngle from otp.movement import Impulse diff --git a/toontown/pets/PetGoalMgr.py b/toontown/pets/PetGoalMgr.py index 7571082..c601af4 100644 --- a/toontown/pets/PetGoalMgr.py +++ b/toontown/pets/PetGoalMgr.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase import DirectObject from direct.showbase.PythonUtil import randFloat, lerp diff --git a/toontown/pets/PetLeash.py b/toontown/pets/PetLeash.py index 94de2f4..27ae805 100644 --- a/toontown/pets/PetLeash.py +++ b/toontown/pets/PetLeash.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from otp.movement import Impulse class PetLeash(Impulse.Impulse): diff --git a/toontown/pets/PetLookerAI.py b/toontown/pets/PetLookerAI.py index 5ef86dc..072bf54 100644 --- a/toontown/pets/PetLookerAI.py +++ b/toontown/pets/PetLookerAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase import DirectObject from otp.ai.AIZoneData import AIZoneData diff --git a/toontown/pets/PetManager.py b/toontown/pets/PetManager.py index 2544aec..472edab 100644 --- a/toontown/pets/PetManager.py +++ b/toontown/pets/PetManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.task import Task diff --git a/toontown/pets/PetNameGenerator.py b/toontown/pets/PetNameGenerator.py index 5d910ea..8c9a8a6 100644 --- a/toontown/pets/PetNameGenerator.py +++ b/toontown/pets/PetNameGenerator.py @@ -4,7 +4,7 @@ from toontown.toonbase import TTLocalizer import os from direct.showbase import AppRunnerGlobal from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * class PetNameGenerator: notify = DirectNotifyGlobal.directNotify.newCategory('PetNameGenerator') diff --git a/toontown/pets/PetSphere.py b/toontown/pets/PetSphere.py index e4677b5..f2393d7 100644 --- a/toontown/pets/PetSphere.py +++ b/toontown/pets/PetSphere.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import reduceAngle from otp.movement import Impulse from otp.otpbase import OTPGlobals diff --git a/toontown/pets/PetTutorial.py b/toontown/pets/PetTutorial.py index fa2c305..aeac826 100644 --- a/toontown/pets/PetTutorial.py +++ b/toontown/pets/PetTutorial.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import FSM from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals diff --git a/toontown/pets/PetWander.py b/toontown/pets/PetWander.py index 4c95cec..7404d47 100644 --- a/toontown/pets/PetWander.py +++ b/toontown/pets/PetWander.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.showbase.PythonUtil import reduceAngle, randFloat, normalDistrib from direct.showbase import DirectObject diff --git a/toontown/pets/PetshopGUI.py b/toontown/pets/PetshopGUI.py index f27abaa..c276c85 100644 --- a/toontown/pets/PetshopGUI.py +++ b/toontown/pets/PetshopGUI.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.showbase.DirectObject import DirectObject from toontown.toonbase import ToontownGlobals diff --git a/toontown/quest/BlinkingArrows.py b/toontown/quest/BlinkingArrows.py index 662b1e9..a0d225c 100644 --- a/toontown/quest/BlinkingArrows.py +++ b/toontown/quest/BlinkingArrows.py @@ -1,5 +1,5 @@ from direct.interval.IntervalGlobal import * -from pandac.PandaModules import * +from panda3d.core import * class BlinkingArrows: diff --git a/toontown/quest/QuestChoiceGui.py b/toontown/quest/QuestChoiceGui.py index 44c5e79..d363830 100644 --- a/toontown/quest/QuestChoiceGui.py +++ b/toontown/quest/QuestChoiceGui.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import QuestPoster from toontown.toonbase import ToontownTimer from toontown.toonbase import ToontownGlobals diff --git a/toontown/quest/QuestMap.py b/toontown/quest/QuestMap.py index 68897af..5e4afa7 100644 --- a/toontown/quest/QuestMap.py +++ b/toontown/quest/QuestMap.py @@ -1,5 +1,5 @@ import math -from pandac.PandaModules import CardMaker, TextNode +from panda3d.core import CardMaker, TextNode from direct.gui.DirectGui import DirectFrame, DirectLabel, DirectButton from direct.task import Task from toontown.toon import NPCToons diff --git a/toontown/quest/QuestMapGlobals.py b/toontown/quest/QuestMapGlobals.py index f1f042d..fea41e6 100644 --- a/toontown/quest/QuestMapGlobals.py +++ b/toontown/quest/QuestMapGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3 +from panda3d.core import Point3 CogInfoPosTable = {'toontown_central_2100_english': Point3(-0.3, 0, -0.2), 'toontown_central_2200_english': Point3(0.2, 0, -0.2), 'toontown_central_2300_english': Point3(0.35, 0, -0.2), diff --git a/toontown/quest/QuestParser.py b/toontown/quest/QuestParser.py index 36d4e54..fa3a797 100644 --- a/toontown/quest/QuestParser.py +++ b/toontown/quest/QuestParser.py @@ -4,7 +4,7 @@ import tokenize import copy from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from . import BlinkingArrows from toontown.toon import ToonHeadFrame diff --git a/toontown/quest/QuestPoster.py b/toontown/quest/QuestPoster.py index ff30cef..cd8d761 100644 --- a/toontown/quest/QuestPoster.py +++ b/toontown/quest/QuestPoster.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import Quests from toontown.toon import NPCToons from toontown.toon import ToonHead diff --git a/toontown/quest/QuestRewardCounter.py b/toontown/quest/QuestRewardCounter.py index 72d68b1..58b1466 100644 --- a/toontown/quest/QuestRewardCounter.py +++ b/toontown/quest/QuestRewardCounter.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import Quests from toontown.toonbase import ToontownGlobals diff --git a/toontown/quest/TrackChoiceGui.py b/toontown/quest/TrackChoiceGui.py index 72a7c95..76d698c 100644 --- a/toontown/quest/TrackChoiceGui.py +++ b/toontown/quest/TrackChoiceGui.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownTimer from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownBattleGlobals diff --git a/toontown/racing/DistributedGag.py b/toontown/racing/DistributedGag.py index 515af14..ad035c7 100644 --- a/toontown/racing/DistributedGag.py +++ b/toontown/racing/DistributedGag.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.interval.ProjectileInterval import * from direct.interval.IntervalGlobal import * diff --git a/toontown/racing/DistributedLeaderBoard.py b/toontown/racing/DistributedLeaderBoard.py index aa72a4e..ee8b1af 100644 --- a/toontown/racing/DistributedLeaderBoard.py +++ b/toontown/racing/DistributedLeaderBoard.py @@ -4,7 +4,7 @@ from otp.otpbase import OTPTimer from toontown.toonbase import TTLocalizer from toontown.racing import KartShopGlobals from toontown.toonbase.ToonBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * import random import pickle diff --git a/toontown/racing/DistributedProjectile.py b/toontown/racing/DistributedProjectile.py index c2c9ced..fd1a73c 100644 --- a/toontown/racing/DistributedProjectile.py +++ b/toontown/racing/DistributedProjectile.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import FSM from direct.distributed.DistributedSmoothNode import DistributedSmoothNode from otp.avatar.ShadowCaster import ShadowCaster diff --git a/toontown/racing/DistributedRace.py b/toontown/racing/DistributedRace.py index e62586d..c065083 100644 --- a/toontown/racing/DistributedRace.py +++ b/toontown/racing/DistributedRace.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject @@ -13,7 +13,7 @@ from .RaceGag import RaceGag from toontown.toonbase import ToontownGlobals, TTLocalizer from toontown.toon import ToonHeadFrame from toontown.racing.KartDNA import InvalidEntry, getAccessory, getDefaultColor -from pandac.PandaModules import CardMaker, OrthographicLens, LineSegs +from panda3d.core import CardMaker, OrthographicLens, LineSegs from direct.distributed import DistributedSmoothNode from math import fmod from math import sqrt diff --git a/toontown/racing/DistributedVehicle.py b/toontown/racing/DistributedVehicle.py index 7668356..e3a303e 100644 --- a/toontown/racing/DistributedVehicle.py +++ b/toontown/racing/DistributedVehicle.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import FSM from direct.distributed import DistributedSmoothNode from direct.interval.IntervalGlobal import * diff --git a/toontown/racing/DistributedViewPad.py b/toontown/racing/DistributedViewPad.py index e7da249..a87b9bd 100644 --- a/toontown/racing/DistributedViewPad.py +++ b/toontown/racing/DistributedViewPad.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.distributed.ClockDelta import * from direct.task import Task -from pandac.PandaModules import * +from panda3d.core import * from toontown.racing.DistributedKartPad import DistributedKartPad from toontown.racing.KartShopGlobals import KartGlobals if (__debug__): diff --git a/toontown/racing/DroppedGag.py b/toontown/racing/DroppedGag.py index 9644645..51b5a29 100644 --- a/toontown/racing/DroppedGag.py +++ b/toontown/racing/DroppedGag.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.avatar import ShadowCaster diff --git a/toontown/racing/EffectManager.py b/toontown/racing/EffectManager.py index 3cc2e49..befb547 100644 --- a/toontown/racing/EffectManager.py +++ b/toontown/racing/EffectManager.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * diff --git a/toontown/racing/FlyingGag.py b/toontown/racing/FlyingGag.py index 0ca3b85..902521c 100644 --- a/toontown/racing/FlyingGag.py +++ b/toontown/racing/FlyingGag.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.avatar.ShadowCaster import ShadowCaster diff --git a/toontown/racing/Kart.py b/toontown/racing/Kart.py index a4d551d..fd19504 100644 --- a/toontown/racing/Kart.py +++ b/toontown/racing/Kart.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from otp.avatar import ShadowCaster from toontown.racing.KartDNA import * diff --git a/toontown/racing/KartDNA.py b/toontown/racing/KartDNA.py index 8d3e7fc..a33b049 100644 --- a/toontown/racing/KartDNA.py +++ b/toontown/racing/KartDNA.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import TTLocalizer -from pandac.PandaModules import * +from panda3d.core import * from .KartShopGlobals import * from enum import IntEnum if (__debug__): diff --git a/toontown/racing/KartShopGui.py b/toontown/racing/KartShopGui.py index 41f7b70..547c903 100644 --- a/toontown/racing/KartShopGui.py +++ b/toontown/racing/KartShopGui.py @@ -1,9 +1,9 @@ if __name__ == '__main__': from direct.directbase import DirectStart -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from toontown.toonbase import ToontownGlobals, TTLocalizer from toontown.toonbase import TTLocalizer diff --git a/toontown/racing/Piejectile.py b/toontown/racing/Piejectile.py index 2013044..d991f96 100644 --- a/toontown/racing/Piejectile.py +++ b/toontown/racing/Piejectile.py @@ -3,7 +3,7 @@ import random from direct.showbase.PythonUtil import * from direct.showbase.DirectObject import DirectObject from direct.task import Task -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import FSM from direct.distributed import DistributedSmoothNode from otp.avatar import ShadowCaster diff --git a/toontown/racing/PiejectileManager.py b/toontown/racing/PiejectileManager.py index 93b7ed4..9281a10 100644 --- a/toontown/racing/PiejectileManager.py +++ b/toontown/racing/PiejectileManager.py @@ -1,5 +1,5 @@ -from pandac.PandaModules import * -from pandac.PandaModules import * +from panda3d.core import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * diff --git a/toontown/racing/RaceEndPanels.py b/toontown/racing/RaceEndPanels.py index 21d8da9..b3b5124 100644 --- a/toontown/racing/RaceEndPanels.py +++ b/toontown/racing/RaceEndPanels.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import * from toontown.toonbase import ToontownGlobals diff --git a/toontown/racing/RaceGUI.py b/toontown/racing/RaceGUI.py index 90fe4ff..87dd55b 100644 --- a/toontown/racing/RaceGUI.py +++ b/toontown/racing/RaceGUI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.PythonUtil import clampScalar from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject @@ -15,7 +15,7 @@ from toontown.racing.RaceHeadFrame import RaceHeadFrame from toontown.racing.RaceGag import RaceGag from toontown.racing.RaceEndPanels import RaceEndPanel from toontown.racing import RaceGlobals -from pandac.PandaModules import CardMaker, OrthographicLens, LineSegs +from panda3d.core import CardMaker, OrthographicLens, LineSegs from direct.particles.ParticleEffect import * from math import fmod from math import sqrt diff --git a/toontown/racing/RaceGag.py b/toontown/racing/RaceGag.py index 4810f73..dd6d658 100644 --- a/toontown/racing/RaceGag.py +++ b/toontown/racing/RaceGag.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.showbase import DirectObject from .DroppedGag import * diff --git a/toontown/racing/RaceHeadFrame.py b/toontown/racing/RaceHeadFrame.py index 040fd6c..1b44950 100644 --- a/toontown/racing/RaceHeadFrame.py +++ b/toontown/racing/RaceHeadFrame.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toon import ToonHead diff --git a/toontown/safezone/BRPlayground.py b/toontown/safezone/BRPlayground.py index 09e2a51..dd9bd45 100644 --- a/toontown/safezone/BRPlayground.py +++ b/toontown/safezone/BRPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import Playground from direct.task.Task import Task import random diff --git a/toontown/safezone/BRSafeZoneLoader.py b/toontown/safezone/BRSafeZoneLoader.py index 06a7540..6dfe15a 100644 --- a/toontown/safezone/BRSafeZoneLoader.py +++ b/toontown/safezone/BRSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from . import SafeZoneLoader from . import BRPlayground diff --git a/toontown/safezone/ButterflyGlobals.py b/toontown/safezone/ButterflyGlobals.py index 26ade71..cd2d194 100644 --- a/toontown/safezone/ButterflyGlobals.py +++ b/toontown/safezone/ButterflyGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * import random OFF = 0 FLYING = 1 diff --git a/toontown/safezone/DDPlayground.py b/toontown/safezone/DDPlayground.py index 3ca1996..b99f491 100644 --- a/toontown/safezone/DDPlayground.py +++ b/toontown/safezone/DDPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import Playground from direct.task.Task import Task import random diff --git a/toontown/safezone/DDSafeZoneLoader.py b/toontown/safezone/DDSafeZoneLoader.py index 3c952c9..8cf6d91 100644 --- a/toontown/safezone/DDSafeZoneLoader.py +++ b/toontown/safezone/DDSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import SafeZoneLoader from . import DDPlayground from direct.fsm import State diff --git a/toontown/safezone/DGPlayground.py b/toontown/safezone/DGPlayground.py index 582c074..ab988c0 100644 --- a/toontown/safezone/DGPlayground.py +++ b/toontown/safezone/DGPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import Playground import random from direct.task import Task diff --git a/toontown/safezone/DGSafeZoneLoader.py b/toontown/safezone/DGSafeZoneLoader.py index 08e106c..4818757 100644 --- a/toontown/safezone/DGSafeZoneLoader.py +++ b/toontown/safezone/DGSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import SafeZoneLoader from . import DGPlayground diff --git a/toontown/safezone/DLPlayground.py b/toontown/safezone/DLPlayground.py index 507d09f..c646d48 100644 --- a/toontown/safezone/DLPlayground.py +++ b/toontown/safezone/DLPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import Playground import random diff --git a/toontown/safezone/DLSafeZoneLoader.py b/toontown/safezone/DLSafeZoneLoader.py index 9f29487..3d9bf8c 100644 --- a/toontown/safezone/DLSafeZoneLoader.py +++ b/toontown/safezone/DLSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import SafeZoneLoader from . import DLPlayground diff --git a/toontown/safezone/DistributedBoat.py b/toontown/safezone/DistributedBoat.py index abf92d2..1a9f012 100644 --- a/toontown/safezone/DistributedBoat.py +++ b/toontown/safezone/DistributedBoat.py @@ -1,10 +1,10 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.distributed import DistributedObject from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.directutil import Mopath from toontown.toonbase import ToontownGlobals diff --git a/toontown/safezone/DistributedButterfly.py b/toontown/safezone/DistributedButterfly.py index c35ce87..c6be8f2 100644 --- a/toontown/safezone/DistributedButterfly.py +++ b/toontown/safezone/DistributedButterfly.py @@ -1,11 +1,12 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * +from panda3d.direct import ShowInterval, HideInterval from direct.directnotify import DirectNotifyGlobal from direct.distributed import DistributedObject from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from direct.directutil import Mopath from toontown.toonbase import ToontownGlobals from direct.actor import Actor diff --git a/toontown/safezone/DistributedCheckers.py b/toontown/safezone/DistributedCheckers.py index 632c2a4..5051f79 100644 --- a/toontown/safezone/DistributedCheckers.py +++ b/toontown/safezone/DistributedCheckers.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedChineseCheckers.py b/toontown/safezone/DistributedChineseCheckers.py index 2b6ee01..d7247fa 100644 --- a/toontown/safezone/DistributedChineseCheckers.py +++ b/toontown/safezone/DistributedChineseCheckers.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedDGFlower.py b/toontown/safezone/DistributedDGFlower.py index 75b7106..aa0813e 100644 --- a/toontown/safezone/DistributedDGFlower.py +++ b/toontown/safezone/DistributedDGFlower.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject from toontown.toonbase import ToontownGlobals diff --git a/toontown/safezone/DistributedEFlyingTreasure.py b/toontown/safezone/DistributedEFlyingTreasure.py index 70b44be..ccc7b83 100644 --- a/toontown/safezone/DistributedEFlyingTreasure.py +++ b/toontown/safezone/DistributedEFlyingTreasure.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from . import DistributedSZTreasure from direct.task.Task import Task diff --git a/toontown/safezone/DistributedFindFour.py b/toontown/safezone/DistributedFindFour.py index 15bc53d..9060d17 100644 --- a/toontown/safezone/DistributedFindFour.py +++ b/toontown/safezone/DistributedFindFour.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedFishingSpot.py b/toontown/safezone/DistributedFishingSpot.py index 7db9a56..a61a5cb 100644 --- a/toontown/safezone/DistributedFishingSpot.py +++ b/toontown/safezone/DistributedFishingSpot.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directtools.DirectGeometry import LineNodePath from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/safezone/DistributedGolfKart.py b/toontown/safezone/DistributedGolfKart.py index 0dfc8f1..11c4bd2 100644 --- a/toontown/safezone/DistributedGolfKart.py +++ b/toontown/safezone/DistributedGolfKart.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedMMPiano.py b/toontown/safezone/DistributedMMPiano.py index d44e753..e86491a 100644 --- a/toontown/safezone/DistributedMMPiano.py +++ b/toontown/safezone/DistributedMMPiano.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.task.Task import Task from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.distributed import DistributedObject -from pandac.PandaModules import NodePath +from panda3d.core import NodePath from toontown.toonbase import ToontownGlobals ChangeDirectionDebounce = 1.0 ChangeDirectionTime = 1.0 diff --git a/toontown/safezone/DistributedPartyGate.py b/toontown/safezone/DistributedPartyGate.py index 4488220..56c639e 100644 --- a/toontown/safezone/DistributedPartyGate.py +++ b/toontown/safezone/DistributedPartyGate.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Point3, CollisionSphere, CollisionNode, BitMask32, Vec3, NodePath, TextNode, Vec4 +from panda3d.core import Point3, CollisionSphere, CollisionNode, BitMask32, Vec3, NodePath, TextNode, Vec4 from otp.otpbase import OTPGlobals from otp.otpbase import OTPLocalizer from direct.interval.IntervalGlobal import Sequence, Parallel, SoundInterval diff --git a/toontown/safezone/DistributedPicnicBasket.py b/toontown/safezone/DistributedPicnicBasket.py index d9d1f46..2a4cf5b 100644 --- a/toontown/safezone/DistributedPicnicBasket.py +++ b/toontown/safezone/DistributedPicnicBasket.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedPicnicTable.py b/toontown/safezone/DistributedPicnicTable.py index 8d4bfc3..055e423 100644 --- a/toontown/safezone/DistributedPicnicTable.py +++ b/toontown/safezone/DistributedPicnicTable.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/DistributedSZTreasure.py b/toontown/safezone/DistributedSZTreasure.py index 5b1c989..1546c01 100644 --- a/toontown/safezone/DistributedSZTreasure.py +++ b/toontown/safezone/DistributedSZTreasure.py @@ -1,5 +1,5 @@ from . import DistributedTreasure -from pandac.PandaModules import VBase3, VBase4 +from panda3d.core import VBase3, VBase4 from direct.interval.IntervalGlobal import Sequence, Wait, Func, LerpColorScaleInterval, LerpScaleInterval from toontown.toonbase import ToontownGlobals diff --git a/toontown/safezone/DistributedTreasure.py b/toontown/safezone/DistributedTreasure.py index 7025ff4..436ec24 100644 --- a/toontown/safezone/DistributedTreasure.py +++ b/toontown/safezone/DistributedTreasure.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from direct.distributed import DistributedObject diff --git a/toontown/safezone/DistributedTrolley.py b/toontown/safezone/DistributedTrolley.py index 1687a8a..cc955a5 100644 --- a/toontown/safezone/DistributedTrolley.py +++ b/toontown/safezone/DistributedTrolley.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/GSPlayground.py b/toontown/safezone/GSPlayground.py index 8a45cab..20f73c9 100644 --- a/toontown/safezone/GSPlayground.py +++ b/toontown/safezone/GSPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from . import Playground from toontown.launcher import DownloadForceAcknowledge diff --git a/toontown/safezone/GSSafeZoneLoader.py b/toontown/safezone/GSSafeZoneLoader.py index ce21cb9..9df77d4 100644 --- a/toontown/safezone/GSSafeZoneLoader.py +++ b/toontown/safezone/GSSafeZoneLoader.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import * +from panda3d.core import * from toontown.hood import ZoneUtil from toontown.launcher import DownloadForceAcknowledge from toontown.safezone.SafeZoneLoader import SafeZoneLoader diff --git a/toontown/safezone/GZPlayground.py b/toontown/safezone/GZPlayground.py index 106209f..5c1c3c6 100644 --- a/toontown/safezone/GZPlayground.py +++ b/toontown/safezone/GZPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from . import Playground from toontown.launcher import DownloadForceAcknowledge diff --git a/toontown/safezone/GZSafeZoneLoader.py b/toontown/safezone/GZSafeZoneLoader.py index 94e255d..2011fe8 100644 --- a/toontown/safezone/GZSafeZoneLoader.py +++ b/toontown/safezone/GZSafeZoneLoader.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.gui import DirectGui from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import * +from panda3d.core import * from toontown.hood import ZoneUtil from toontown.launcher import DownloadForceAcknowledge from toontown.safezone.SafeZoneLoader import SafeZoneLoader diff --git a/toontown/safezone/GameMenu.py b/toontown/safezone/GameMenu.py index 5582e4a..fb57262 100644 --- a/toontown/safezone/GameMenu.py +++ b/toontown/safezone/GameMenu.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * diff --git a/toontown/safezone/GameTutorials.py b/toontown/safezone/GameTutorials.py index b2578c7..0ab80b5 100644 --- a/toontown/safezone/GameTutorials.py +++ b/toontown/safezone/GameTutorials.py @@ -3,7 +3,7 @@ from direct.fsm import FSM from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * class ChineseTutorial(DirectFrame, FSM.FSM): diff --git a/toontown/safezone/GolfKart.py b/toontown/safezone/GolfKart.py index b95091b..7e8dc39 100644 --- a/toontown/safezone/GolfKart.py +++ b/toontown/safezone/GolfKart.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/safezone/MMPlayground.py b/toontown/safezone/MMPlayground.py index b58b726..a2b9fb6 100644 --- a/toontown/safezone/MMPlayground.py +++ b/toontown/safezone/MMPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import Playground import random from direct.fsm import ClassicFSM, State diff --git a/toontown/safezone/MMSafeZoneLoader.py b/toontown/safezone/MMSafeZoneLoader.py index 21c347d..8d9da0c 100644 --- a/toontown/safezone/MMSafeZoneLoader.py +++ b/toontown/safezone/MMSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import SafeZoneLoader from . import MMPlayground from toontown.toonbase import ToontownGlobals diff --git a/toontown/safezone/OZPlayground.py b/toontown/safezone/OZPlayground.py index 383137b..3f85a90 100644 --- a/toontown/safezone/OZPlayground.py +++ b/toontown/safezone/OZPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from . import Playground from toontown.launcher import DownloadForceAcknowledge diff --git a/toontown/safezone/OZSafeZoneLoader.py b/toontown/safezone/OZSafeZoneLoader.py index abaf077..d4d6887 100644 --- a/toontown/safezone/OZSafeZoneLoader.py +++ b/toontown/safezone/OZSafeZoneLoader.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM, State from direct.fsm import State -from pandac.PandaModules import * +from panda3d.core import * from otp.avatar import Avatar from toontown.hood import ZoneUtil from toontown.launcher import DownloadForceAcknowledge diff --git a/toontown/safezone/PicnicBasket.py b/toontown/safezone/PicnicBasket.py index 93aea6a..9034004 100644 --- a/toontown/safezone/PicnicBasket.py +++ b/toontown/safezone/PicnicBasket.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/safezone/Playground.py b/toontown/safezone/Playground.py index 93328d6..2a7a18e 100644 --- a/toontown/safezone/Playground.py +++ b/toontown/safezone/Playground.py @@ -1,5 +1,5 @@ from direct.interval.IntervalGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.hood import Place diff --git a/toontown/safezone/PublicWalk.py b/toontown/safezone/PublicWalk.py index 8adba1b..03d8516 100644 --- a/toontown/safezone/PublicWalk.py +++ b/toontown/safezone/PublicWalk.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal from . import Walk diff --git a/toontown/safezone/SafeZoneLoader.py b/toontown/safezone/SafeZoneLoader.py index 3e5fd62..94c6118 100644 --- a/toontown/safezone/SafeZoneLoader.py +++ b/toontown/safezone/SafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from toontown.distributed.ToontownMsgTypes import * from toontown.hood import ZoneUtil diff --git a/toontown/safezone/SafeZoneManager.py b/toontown/safezone/SafeZoneManager.py index 6890e03..1f32875 100644 --- a/toontown/safezone/SafeZoneManager.py +++ b/toontown/safezone/SafeZoneManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/safezone/TTPlayground.py b/toontown/safezone/TTPlayground.py index eed2c71..236201f 100644 --- a/toontown/safezone/TTPlayground.py +++ b/toontown/safezone/TTPlayground.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from . import Playground import random diff --git a/toontown/safezone/TTSafeZoneLoader.py b/toontown/safezone/TTSafeZoneLoader.py index 4c71d23..e9919ca 100644 --- a/toontown/safezone/TTSafeZoneLoader.py +++ b/toontown/safezone/TTSafeZoneLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import SafeZoneLoader from . import TTPlayground import random diff --git a/toontown/safezone/Train.py b/toontown/safezone/Train.py index 04d2881..a82b23f 100644 --- a/toontown/safezone/Train.py +++ b/toontown/safezone/Train.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase.DirectObject import DirectObject from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import globalClockDelta diff --git a/toontown/safezone/Walk.py b/toontown/safezone/Walk.py index 0ec522b..e5671ef 100644 --- a/toontown/safezone/Walk.py +++ b/toontown/safezone/Walk.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal from direct.fsm import StateData diff --git a/toontown/shtiker/DeleteManager.py b/toontown/shtiker/DeleteManager.py index 46af28f..81f579c 100644 --- a/toontown/shtiker/DeleteManager.py +++ b/toontown/shtiker/DeleteManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/shtiker/DisguisePage.py b/toontown/shtiker/DisguisePage.py index 37ed60e..c8a591f 100644 --- a/toontown/shtiker/DisguisePage.py +++ b/toontown/shtiker/DisguisePage.py @@ -1,6 +1,6 @@ from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.suit import SuitDNA diff --git a/toontown/shtiker/FishPage.py b/toontown/shtiker/FishPage.py index f5d17bf..7af5c01 100644 --- a/toontown/shtiker/FishPage.py +++ b/toontown/shtiker/FishPage.py @@ -2,7 +2,7 @@ from toontown.toonbase import ToontownGlobals from . import ShtikerPage from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.fishing import FishPicker from toontown.fishing import FishBrowser diff --git a/toontown/shtiker/GardenPage.py b/toontown/shtiker/GardenPage.py index bcebd92..0bc586e 100644 --- a/toontown/shtiker/GardenPage.py +++ b/toontown/shtiker/GardenPage.py @@ -1,7 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.estate import FlowerBrowser from toontown.estate import GardenGlobals diff --git a/toontown/shtiker/GolfPage.py b/toontown/shtiker/GolfPage.py index f1f3b34..dc7a07b 100644 --- a/toontown/shtiker/GolfPage.py +++ b/toontown/shtiker/GolfPage.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task from toontown.fishing.FishPhoto import DirectRegion from toontown.shtiker.ShtikerPage import ShtikerPage diff --git a/toontown/shtiker/HtmlView.py b/toontown/shtiker/HtmlView.py index e05228e..57e5283 100644 --- a/toontown/shtiker/HtmlView.py +++ b/toontown/shtiker/HtmlView.py @@ -2,17 +2,17 @@ import array, sys from direct.showbase.DirectObject import DirectObject from direct.task.Task import Task from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import Texture -from pandac.PandaModules import CardMaker -from pandac.PandaModules import NodePath -from pandac.PandaModules import Point3, Vec3, Vec4, VBase4D, Point2 -from pandac.PandaModules import PNMImage -from pandac.PandaModules import TextureStage -from pandac.PandaModules import Texture -from pandac.PandaModules import WindowProperties +from panda3d.core import Texture +from panda3d.core import CardMaker +from panda3d.core import NodePath +from panda3d.core import Point3, Vec3, Vec4, VBase4D, Point2 +from panda3d.core import PNMImage +from panda3d.core import TextureStage +from panda3d.core import Texture +from panda3d.core import WindowProperties from direct.interval.IntervalGlobal import * -from pandac.PandaModules import AwWebView -from pandac.PandaModules import AwWebCore +from panda3d.core import AwWebView +from panda3d.core import AwWebCore WEB_WIDTH_PIXELS = 784 WEB_HEIGHT_PIXELS = 451 WEB_WIDTH = 1024 diff --git a/toontown/shtiker/InventoryPage.py b/toontown/shtiker/InventoryPage.py index 84bb903..a494fa1 100644 --- a/toontown/shtiker/InventoryPage.py +++ b/toontown/shtiker/InventoryPage.py @@ -1,7 +1,7 @@ from . import ShtikerPage from toontown.toonbase import ToontownBattleGlobals from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/shtiker/IssueFrame.py b/toontown/shtiker/IssueFrame.py index 11eee88..58b2f82 100644 --- a/toontown/shtiker/IssueFrame.py +++ b/toontown/shtiker/IssueFrame.py @@ -1,8 +1,8 @@ import os -from pandac.PandaModules import VirtualFileSystem, Filename, DSearchPath -from pandac.PandaModules import Texture, CardMaker, PNMImage, TextureStage -from pandac.PandaModules import NodePath -from pandac.PandaModules import Point2 +from panda3d.core import VirtualFileSystem, Filename, DSearchPath +from panda3d.core import Texture, CardMaker, PNMImage, TextureStage +from panda3d.core import NodePath +from panda3d.core import Point2 from direct.showbase import DirectObject from direct.gui.DirectGui import DirectFrame, DirectButton, DGG, DirectLabel from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/shtiker/KartPage.py b/toontown/shtiker/KartPage.py index 01d6003..2180a78 100644 --- a/toontown/shtiker/KartPage.py +++ b/toontown/shtiker/KartPage.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.task import Task from toontown.fishing.FishPhoto import DirectRegion from toontown.racing.KartDNA import * diff --git a/toontown/shtiker/MapPage.py b/toontown/shtiker/MapPage.py index 3bab03a..26673bf 100644 --- a/toontown/shtiker/MapPage.py +++ b/toontown/shtiker/MapPage.py @@ -4,7 +4,7 @@ from direct.showbase import PythonUtil from otp.otpbase import PythonUtil as OTPPythonUtil from toontown.hood import ZoneUtil from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class MapPage(ShtikerPage.ShtikerPage): diff --git a/toontown/shtiker/NPCFriendPage.py b/toontown/shtiker/NPCFriendPage.py index a12f0cc..a6d5b52 100644 --- a/toontown/shtiker/NPCFriendPage.py +++ b/toontown/shtiker/NPCFriendPage.py @@ -1,6 +1,6 @@ from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import NPCFriendPanel from toontown.toonbase import TTLocalizer diff --git a/toontown/shtiker/PhotoAlbumPage.py b/toontown/shtiker/PhotoAlbumPage.py index 24cf619..5352179 100644 --- a/toontown/shtiker/PhotoAlbumPage.py +++ b/toontown/shtiker/PhotoAlbumPage.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer import os from toontown.toonbase import ToontownGlobals diff --git a/toontown/shtiker/PurchaseManager.py b/toontown/shtiker/PurchaseManager.py index c67e8eb..455ef85 100644 --- a/toontown/shtiker/PurchaseManager.py +++ b/toontown/shtiker/PurchaseManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .PurchaseManagerConstants import * from direct.distributed.ClockDelta import * from direct.distributed import DistributedObject diff --git a/toontown/shtiker/PurchaseManagerAI.py b/toontown/shtiker/PurchaseManagerAI.py index ac5e33d..78f631d 100644 --- a/toontown/shtiker/PurchaseManagerAI.py +++ b/toontown/shtiker/PurchaseManagerAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.ClockDelta import * from .PurchaseManagerConstants import * import copy diff --git a/toontown/shtiker/QuestPage.py b/toontown/shtiker/QuestPage.py index 0b90c5e..a306a07 100644 --- a/toontown/shtiker/QuestPage.py +++ b/toontown/shtiker/QuestPage.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.quest import Quests from toontown.toon import NPCToons from toontown.hood import ZoneUtil diff --git a/toontown/shtiker/ShardPage.py b/toontown/shtiker/ShardPage.py index 9525cc3..ebcc726 100644 --- a/toontown/shtiker/ShardPage.py +++ b/toontown/shtiker/ShardPage.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ShtikerPage from direct.task.Task import Task from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from direct.directnotify import DirectNotifyGlobal from toontown.hood import ZoneUtil diff --git a/toontown/shtiker/ShtikerBook.py b/toontown/shtiker/ShtikerBook.py index 7d5728d..d4e2c75 100644 --- a/toontown/shtiker/ShtikerBook.py +++ b/toontown/shtiker/ShtikerBook.py @@ -1,10 +1,10 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from toontown.toonbase import ToontownGlobals from direct.showbase import DirectObject from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.effects import DistributedFireworkShow from toontown.parties import DistributedPartyFireworksActivity diff --git a/toontown/shtiker/ShtikerPage.py b/toontown/shtiker/ShtikerPage.py index f09ffa9..8e7c022 100644 --- a/toontown/shtiker/ShtikerPage.py +++ b/toontown/shtiker/ShtikerPage.py @@ -1,7 +1,7 @@ from . import ShtikerBook from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * class ShtikerPage(DirectFrame, StateData.StateData): diff --git a/toontown/shtiker/SuitPage.py b/toontown/shtiker/SuitPage.py index da9a3ae..852dbc1 100644 --- a/toontown/shtiker/SuitPage.py +++ b/toontown/shtiker/SuitPage.py @@ -2,7 +2,7 @@ from . import ShtikerPage from direct.task.Task import Task from . import SummonCogDialog from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.suit import SuitDNA diff --git a/toontown/shtiker/SummonCogDialog.py b/toontown/shtiker/SummonCogDialog.py index a944b6e..1a7a279 100644 --- a/toontown/shtiker/SummonCogDialog.py +++ b/toontown/shtiker/SummonCogDialog.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import StateData from toontown.toonbase import TTLocalizer diff --git a/toontown/shtiker/TIPPage.py b/toontown/shtiker/TIPPage.py index 24c3e7d..c231d28 100644 --- a/toontown/shtiker/TIPPage.py +++ b/toontown/shtiker/TIPPage.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toon import NPCToons from toontown.hood import ZoneUtil from toontown.toonbase import ToontownGlobals diff --git a/toontown/shtiker/TrackPage.py b/toontown/shtiker/TrackPage.py index 4a5e5e3..030909a 100644 --- a/toontown/shtiker/TrackPage.py +++ b/toontown/shtiker/TrackPage.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from . import ShtikerPage from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.quest import Quests from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownBattleGlobals diff --git a/toontown/suit/BossCog.py b/toontown/suit/BossCog.py index 89028c4..4765038 100644 --- a/toontown/suit/BossCog.py +++ b/toontown/suit/BossCog.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.actor import Actor diff --git a/toontown/suit/DistributedBossCog.py b/toontown/suit/DistributedBossCog.py index d3759fc..ab17bb9 100644 --- a/toontown/suit/DistributedBossCog.py +++ b/toontown/suit/DistributedBossCog.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/suit/DistributedBossCogAI.py b/toontown/suit/DistributedBossCogAI.py index 534269e..51b995c 100644 --- a/toontown/suit/DistributedBossCogAI.py +++ b/toontown/suit/DistributedBossCogAI.py @@ -8,7 +8,7 @@ from toontown.battle import DistributedBattleFinalAI from toontown.building import SuitPlannerInteriorAI from toontown.battle import BattleBase from toontown.coghq import CogDisguiseGlobals -from pandac.PandaModules import * +from panda3d.core import * from toontown.suit import SuitDNA import random AllBossCogs = [] diff --git a/toontown/suit/DistributedBossbotBoss.py b/toontown/suit/DistributedBossbotBoss.py index 00769eb..d2edfb5 100644 --- a/toontown/suit/DistributedBossbotBoss.py +++ b/toontown/suit/DistributedBossbotBoss.py @@ -1,6 +1,6 @@ import math import random -from pandac.PandaModules import VBase3, CollisionPlane, CollisionNode, CollisionSphere, CollisionTube, NodePath, Plane, Vec3, Vec2, Point3, BitMask32, CollisionHandlerEvent, TextureStage, VBase4, BoundingSphere +from panda3d.core import VBase3, CollisionPlane, CollisionNode, CollisionSphere, CollisionTube, NodePath, Plane, Vec3, Vec2, Point3, BitMask32, CollisionHandlerEvent, TextureStage, VBase4, BoundingSphere 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 diff --git a/toontown/suit/DistributedBossbotBossAI.py b/toontown/suit/DistributedBossbotBossAI.py index 0469b41..4bfa03d 100644 --- a/toontown/suit/DistributedBossbotBossAI.py +++ b/toontown/suit/DistributedBossbotBossAI.py @@ -1,5 +1,5 @@ import random, math -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from direct.directnotify import DirectNotifyGlobal from direct.fsm import FSM from direct.interval.IntervalGlobal import LerpPosInterval diff --git a/toontown/suit/DistributedCashbotBoss.py b/toontown/suit/DistributedCashbotBoss.py index 346a14c..db5d9f7 100644 --- a/toontown/suit/DistributedCashbotBoss.py +++ b/toontown/suit/DistributedCashbotBoss.py @@ -18,7 +18,7 @@ from toontown.battle import RewardPanel from toontown.distributed import DelayDelete from toontown.chat import ResistanceChat from toontown.coghq import CogDisguiseGlobals -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * import random import math diff --git a/toontown/suit/DistributedCashbotBossAI.py b/toontown/suit/DistributedCashbotBossAI.py index 8bec91c..25aaab3 100644 --- a/toontown/suit/DistributedCashbotBossAI.py +++ b/toontown/suit/DistributedCashbotBossAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.coghq import DistributedCashbotBossCraneAI diff --git a/toontown/suit/DistributedCashbotBossGoon.py b/toontown/suit/DistributedCashbotBossGoon.py index c32fba6..99c04b7 100644 --- a/toontown/suit/DistributedCashbotBossGoon.py +++ b/toontown/suit/DistributedCashbotBossGoon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.task.TaskManagerGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/suit/DistributedCashbotBossGoonAI.py b/toontown/suit/DistributedCashbotBossGoonAI.py index 1115fc2..201d0d8 100644 --- a/toontown/suit/DistributedCashbotBossGoonAI.py +++ b/toontown/suit/DistributedCashbotBossGoonAI.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.task.TaskManagerGlobal import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * diff --git a/toontown/suit/DistributedFactorySuit.py b/toontown/suit/DistributedFactorySuit.py index 53bc743..d6110f7 100644 --- a/toontown/suit/DistributedFactorySuit.py +++ b/toontown/suit/DistributedFactorySuit.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/suit/DistributedGoon.py b/toontown/suit/DistributedGoon.py index 03887e5..62e8fc8 100644 --- a/toontown/suit/DistributedGoon.py +++ b/toontown/suit/DistributedGoon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * from .GoonGlobals import * diff --git a/toontown/suit/DistributedGridGoon.py b/toontown/suit/DistributedGridGoon.py index 6746618..91da109 100644 --- a/toontown/suit/DistributedGridGoon.py +++ b/toontown/suit/DistributedGridGoon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/suit/DistributedLawbotBoss.py b/toontown/suit/DistributedLawbotBoss.py index 81e7748..fbb93ce 100644 --- a/toontown/suit/DistributedLawbotBoss.py +++ b/toontown/suit/DistributedLawbotBoss.py @@ -5,7 +5,7 @@ from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import Functor from direct.showbase.PythonUtil import StackTrace from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.fsm import FSM from direct.fsm import ClassicFSM diff --git a/toontown/suit/DistributedLawbotBossSuit.py b/toontown/suit/DistributedLawbotBossSuit.py index 22281d4..179b6d7 100644 --- a/toontown/suit/DistributedLawbotBossSuit.py +++ b/toontown/suit/DistributedLawbotBossSuit.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/suit/DistributedSellbotBoss.py b/toontown/suit/DistributedSellbotBoss.py index c0b2263..ddbba5b 100644 --- a/toontown/suit/DistributedSellbotBoss.py +++ b/toontown/suit/DistributedSellbotBoss.py @@ -1,11 +1,11 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleProps import * from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import Functor from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import FSM from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/suit/DistributedStageSuit.py b/toontown/suit/DistributedStageSuit.py index 9bc3594..4bb06be 100644 --- a/toontown/suit/DistributedStageSuit.py +++ b/toontown/suit/DistributedStageSuit.py @@ -5,7 +5,7 @@ from direct.actor import Actor from otp.avatar import Avatar from . import SuitDNA from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from toontown.battle import SuitBattleGlobals from direct.task import Task from toontown.battle import BattleProps diff --git a/toontown/suit/DistributedSuit.py b/toontown/suit/DistributedSuit.py index f8163b3..9e6bce9 100644 --- a/toontown/suit/DistributedSuit.py +++ b/toontown/suit/DistributedSuit.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from panda3d.toontown import * from direct.interval.IntervalGlobal import * diff --git a/toontown/suit/DistributedSuitAI.py b/toontown/suit/DistributedSuitAI.py index 838461c..1ceefec 100644 --- a/toontown/suit/DistributedSuitAI.py +++ b/toontown/suit/DistributedSuitAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.distributed.ClockDelta import * from otp.avatar import DistributedAvatarAI diff --git a/toontown/suit/DistributedSuitBase.py b/toontown/suit/DistributedSuitBase.py index 369a1fa..5be2626 100644 --- a/toontown/suit/DistributedSuitBase.py +++ b/toontown/suit/DistributedSuitBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * diff --git a/toontown/suit/DistributedSuitPlanner.py b/toontown/suit/DistributedSuitPlanner.py index 18057ef..dac3b81 100644 --- a/toontown/suit/DistributedSuitPlanner.py +++ b/toontown/suit/DistributedSuitPlanner.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from . import SuitPlannerBase from toontown.toonbase import ToontownGlobals diff --git a/toontown/suit/DistributedTutorialSuit.py b/toontown/suit/DistributedTutorialSuit.py index 9d7ba46..607d6af 100644 --- a/toontown/suit/DistributedTutorialSuit.py +++ b/toontown/suit/DistributedTutorialSuit.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/suit/Goon.py b/toontown/suit/Goon.py index dc88bfe..d771895 100644 --- a/toontown/suit/Goon.py +++ b/toontown/suit/Goon.py @@ -1,8 +1,8 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.actor import Actor from otp.avatar import Avatar from toontown.toonbase import ToontownGlobals -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from . import GoonGlobals from . import SuitDNA diff --git a/toontown/suit/GoonDeath.py b/toontown/suit/GoonDeath.py index 70ad3db..c118cbc 100644 --- a/toontown/suit/GoonDeath.py +++ b/toontown/suit/GoonDeath.py @@ -1,5 +1,5 @@ from direct.interval.IntervalGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from direct.particles import ParticleEffect from toontown.battle import BattleParticles diff --git a/toontown/suit/GoonGlobals.py b/toontown/suit/GoonGlobals.py index e633324..6f2a2de 100644 --- a/toontown/suit/GoonGlobals.py +++ b/toontown/suit/GoonGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec4 +from panda3d.core import Vec4 PG_COLORS = [Vec4(0.95, 0.0, 0.0, 1.0), Vec4(0.75, 0.35, 0.1, 1.0)] SG_COLORS = [Vec4(0.0, 0.0, 0.95, 1.0), Vec4(0.35, 0.0, 0.75, 1.0)] GOON_FORWARD = 1 diff --git a/toontown/suit/GoonPathData.py b/toontown/suit/GoonPathData.py index 8c56206..24b512e 100644 --- a/toontown/suit/GoonPathData.py +++ b/toontown/suit/GoonPathData.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals taskZoneId2pathId = {ToontownGlobals.SellbotFactoryInt: 'sellbotFactory', ToontownGlobals.CashbotMintIntA: 'cashbotMint', diff --git a/toontown/suit/RoguesGallery.py b/toontown/suit/RoguesGallery.py index f22b69c..de3a746 100644 --- a/toontown/suit/RoguesGallery.py +++ b/toontown/suit/RoguesGallery.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from . import Suit from . import SuitDNA diff --git a/toontown/suit/SellbotBossGlobals.py b/toontown/suit/SellbotBossGlobals.py index c6deb11..ec1f08d 100644 --- a/toontown/suit/SellbotBossGlobals.py +++ b/toontown/suit/SellbotBossGlobals.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.coghq import DistributedHealBarrelAI from toontown.coghq import DistributedGagBarrelAI PieToonup = 1 diff --git a/toontown/suit/SuitAvatarPanel.py b/toontown/suit/SuitAvatarPanel.py index 77674e6..11c5f74 100644 --- a/toontown/suit/SuitAvatarPanel.py +++ b/toontown/suit/SuitAvatarPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from otp.avatar import Avatar from direct.distributed import DistributedObject diff --git a/toontown/suit/SuitBase.py b/toontown/suit/SuitBase.py index 9413f26..3e18b75 100644 --- a/toontown/suit/SuitBase.py +++ b/toontown/suit/SuitBase.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.distributed.ClockDelta import * import math import random -from pandac.PandaModules import Point3 +from panda3d.core import Point3 from direct.directnotify import DirectNotifyGlobal from toontown.battle import SuitBattleGlobals from . import SuitTimings diff --git a/toontown/suit/SuitDNA.py b/toontown/suit/SuitDNA.py index eda8a1c..0380bd2 100644 --- a/toontown/suit/SuitDNA.py +++ b/toontown/suit/SuitDNA.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * from toontown.toonbase import TTLocalizer import random diff --git a/toontown/suit/SuitPlannerBase.py b/toontown/suit/SuitPlannerBase.py index a88c0cc..44c5a5f 100644 --- a/toontown/suit/SuitPlannerBase.py +++ b/toontown/suit/SuitPlannerBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * import random import string diff --git a/toontown/toon/AvatarPanelBase.py b/toontown/toon/AvatarPanelBase.py index abfa145..7a2f576 100644 --- a/toontown/toon/AvatarPanelBase.py +++ b/toontown/toon/AvatarPanelBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.showbase import DirectObject from otp.avatar import AvatarPanel diff --git a/toontown/toon/BoardingGroupInviterPanels.py b/toontown/toon/BoardingGroupInviterPanels.py index 1f33910..9bc984d 100644 --- a/toontown/toon/BoardingGroupInviterPanels.py +++ b/toontown/toon/BoardingGroupInviterPanels.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/toon/DeathForceAcknowledge.py b/toontown/toon/DeathForceAcknowledge.py index c9e39c8..717b686 100644 --- a/toontown/toon/DeathForceAcknowledge.py +++ b/toontown/toon/DeathForceAcknowledge.py @@ -1,9 +1,9 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer from direct.showbase import Transitions from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import LaffMeter class DeathForceAcknowledge: diff --git a/toontown/toon/DistributedNPCBlocker.py b/toontown/toon/DistributedNPCBlocker.py index d866b3b..d6237c9 100644 --- a/toontown/toon/DistributedNPCBlocker.py +++ b/toontown/toon/DistributedNPCBlocker.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from toontown.toonbase import TTLocalizer from direct.distributed import DistributedObject diff --git a/toontown/toon/DistributedNPCBlockerAI.py b/toontown/toon/DistributedNPCBlockerAI.py index c8f42aa..a79042f 100644 --- a/toontown/toon/DistributedNPCBlockerAI.py +++ b/toontown/toon/DistributedNPCBlockerAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from . import NPCToons from direct.task.Task import Task diff --git a/toontown/toon/DistributedNPCClerk.py b/toontown/toon/DistributedNPCClerk.py index e42a428..39f9d9f 100644 --- a/toontown/toon/DistributedNPCClerk.py +++ b/toontown/toon/DistributedNPCClerk.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from toontown.minigame import ClerkPurchase from toontown.shtiker.PurchaseManagerConstants import * diff --git a/toontown/toon/DistributedNPCClerkAI.py b/toontown/toon/DistributedNPCClerkAI.py index 0659ffe..39e452b 100644 --- a/toontown/toon/DistributedNPCClerkAI.py +++ b/toontown/toon/DistributedNPCClerkAI.py @@ -1,6 +1,6 @@ from otp.ai.AIBaseGlobal import * from direct.task.Task import Task -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * class DistributedNPCClerkAI(DistributedNPCToonBaseAI): diff --git a/toontown/toon/DistributedNPCFisherman.py b/toontown/toon/DistributedNPCFisherman.py index c7bd8e9..4774fc0 100644 --- a/toontown/toon/DistributedNPCFisherman.py +++ b/toontown/toon/DistributedNPCFisherman.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from toontown.toonbase import TTLocalizer from toontown.fishing import FishSellGUI diff --git a/toontown/toon/DistributedNPCFishermanAI.py b/toontown/toon/DistributedNPCFishermanAI.py index 2b5d32b..b1f2bd2 100644 --- a/toontown/toon/DistributedNPCFishermanAI.py +++ b/toontown/toon/DistributedNPCFishermanAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from toontown.fishing import FishGlobals from toontown.toonbase import TTLocalizer diff --git a/toontown/toon/DistributedNPCFlippyInToonHall.py b/toontown/toon/DistributedNPCFlippyInToonHall.py index 06bb30d..f0f83f5 100644 --- a/toontown/toon/DistributedNPCFlippyInToonHall.py +++ b/toontown/toon/DistributedNPCFlippyInToonHall.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToon import * class DistributedNPCFlippyInToonHall(DistributedNPCToon): diff --git a/toontown/toon/DistributedNPCKartClerk.py b/toontown/toon/DistributedNPCKartClerk.py index 26f3323..8786439 100644 --- a/toontown/toon/DistributedNPCKartClerk.py +++ b/toontown/toon/DistributedNPCKartClerk.py @@ -1,6 +1,6 @@ from .DistributedNPCToonBase import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from direct.task.Task import Task from toontown.toonbase import TTLocalizer diff --git a/toontown/toon/DistributedNPCKartClerkAI.py b/toontown/toon/DistributedNPCKartClerkAI.py index 45c2090..364fa52 100644 --- a/toontown/toon/DistributedNPCKartClerkAI.py +++ b/toontown/toon/DistributedNPCKartClerkAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from toontown.toonbase import TTLocalizer from direct.task import Task diff --git a/toontown/toon/DistributedNPCPetclerk.py b/toontown/toon/DistributedNPCPetclerk.py index 07ed766..c4669cf 100644 --- a/toontown/toon/DistributedNPCPetclerk.py +++ b/toontown/toon/DistributedNPCPetclerk.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from direct.task.Task import Task from toontown.toonbase import TTLocalizer diff --git a/toontown/toon/DistributedNPCPetclerkAI.py b/toontown/toon/DistributedNPCPetclerkAI.py index 07c875f..9ff2d0a 100644 --- a/toontown/toon/DistributedNPCPetclerkAI.py +++ b/toontown/toon/DistributedNPCPetclerkAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from toontown.toonbase import TTLocalizer from direct.task import Task diff --git a/toontown/toon/DistributedNPCScientist.py b/toontown/toon/DistributedNPCScientist.py index 96ae63e..d029c50 100644 --- a/toontown/toon/DistributedNPCScientist.py +++ b/toontown/toon/DistributedNPCScientist.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer, ToontownGlobals from . import DistributedNPCToonBase diff --git a/toontown/toon/DistributedNPCSpecialQuestGiver.py b/toontown/toon/DistributedNPCSpecialQuestGiver.py index d7d78d5..ca77b1e 100644 --- a/toontown/toon/DistributedNPCSpecialQuestGiver.py +++ b/toontown/toon/DistributedNPCSpecialQuestGiver.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from toontown.quest import QuestParser from toontown.quest import QuestChoiceGui diff --git a/toontown/toon/DistributedNPCSpecialQuestGiverAI.py b/toontown/toon/DistributedNPCSpecialQuestGiverAI.py index 3f6d01f..1cc67e1 100644 --- a/toontown/toon/DistributedNPCSpecialQuestGiverAI.py +++ b/toontown/toon/DistributedNPCSpecialQuestGiverAI.py @@ -1,6 +1,6 @@ from otp.ai.AIBaseGlobal import * from direct.task.Task import Task -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from toontown.quest import Quests diff --git a/toontown/toon/DistributedNPCTailor.py b/toontown/toon/DistributedNPCTailor.py index 3d3cb85..85b0546 100644 --- a/toontown/toon/DistributedNPCTailor.py +++ b/toontown/toon/DistributedNPCTailor.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from direct.task.Task import Task from . import TailorClothesGUI diff --git a/toontown/toon/DistributedNPCTailorAI.py b/toontown/toon/DistributedNPCTailorAI.py index 611a905..c5b39f7 100644 --- a/toontown/toon/DistributedNPCTailorAI.py +++ b/toontown/toon/DistributedNPCTailorAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from . import ToonDNA from direct.task.Task import Task diff --git a/toontown/toon/DistributedNPCToon.py b/toontown/toon/DistributedNPCToon.py index 23c7220..8ddc61e 100644 --- a/toontown/toon/DistributedNPCToon.py +++ b/toontown/toon/DistributedNPCToon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBase import * from toontown.quest import QuestParser from toontown.quest import QuestChoiceGui diff --git a/toontown/toon/DistributedNPCToonAI.py b/toontown/toon/DistributedNPCToonAI.py index f547567..44a8ecd 100644 --- a/toontown/toon/DistributedNPCToonAI.py +++ b/toontown/toon/DistributedNPCToonAI.py @@ -1,6 +1,6 @@ from otp.ai.AIBaseGlobal import * from direct.task.Task import Task -from pandac.PandaModules import * +from panda3d.core import * from .DistributedNPCToonBaseAI import * from toontown.quest import Quests diff --git a/toontown/toon/DistributedNPCToonBase.py b/toontown/toon/DistributedNPCToonBase.py index 81f248a..b3b687c 100644 --- a/toontown/toon/DistributedNPCToonBase.py +++ b/toontown/toon/DistributedNPCToonBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM diff --git a/toontown/toon/DistributedNPCToonBaseAI.py b/toontown/toon/DistributedNPCToonBaseAI.py index 2ce8894..8ac54cf 100644 --- a/toontown/toon/DistributedNPCToonBaseAI.py +++ b/toontown/toon/DistributedNPCToonBaseAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from . import DistributedToonAI from direct.fsm import ClassicFSM from direct.fsm import State diff --git a/toontown/toon/DistributedToon.py b/toontown/toon/DistributedToon.py index 15366ac..0602211 100644 --- a/toontown/toon/DistributedToon.py +++ b/toontown/toon/DistributedToon.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from toontown.toonbase.ToontownGlobals import * from direct.distributed.ClockDelta import * diff --git a/toontown/toon/DistributedToonAI.py b/toontown/toon/DistributedToonAI.py index 536300b..bee965d 100644 --- a/toontown/toon/DistributedToonAI.py +++ b/toontown/toon/DistributedToonAI.py @@ -1,5 +1,5 @@ from otp.ai.AIBaseGlobal import * -from pandac.PandaModules import * +from panda3d.core import * from otp.otpbase import OTPGlobals from direct.directnotify import DirectNotifyGlobal from . import ToonDNA diff --git a/toontown/toon/ElevatorNotifier.py b/toontown/toon/ElevatorNotifier.py index 9d23ef5..dcc2739 100644 --- a/toontown/toon/ElevatorNotifier.py +++ b/toontown/toon/ElevatorNotifier.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog class ElevatorNotifier: diff --git a/toontown/toon/Experience.py b/toontown/toon/Experience.py index 82c9280..a867b11 100644 --- a/toontown/toon/Experience.py +++ b/toontown/toon/Experience.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownBattleGlobals import * from direct.directnotify import DirectNotifyGlobal from direct.distributed.PyDatagram import PyDatagram diff --git a/toontown/toon/GroupInvitee.py b/toontown/toon/GroupInvitee.py index 9bd2be2..e9697b2 100644 --- a/toontown/toon/GroupInvitee.py +++ b/toontown/toon/GroupInvitee.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/toon/GroupPanel.py b/toontown/toon/GroupPanel.py index d89473c..ed1fb2e 100644 --- a/toontown/toon/GroupPanel.py +++ b/toontown/toon/GroupPanel.py @@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from toontown.toon import ToonAvatarPanel from toontown.toontowngui import TTDialog diff --git a/toontown/toon/HealthForceAcknowledge.py b/toontown/toon/HealthForceAcknowledge.py index 2df18ca..dd9c8dc 100644 --- a/toontown/toon/HealthForceAcknowledge.py +++ b/toontown/toon/HealthForceAcknowledge.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer diff --git a/toontown/toon/InventoryBase.py b/toontown/toon/InventoryBase.py index 5179a7b..f4af9c7 100644 --- a/toontown/toon/InventoryBase.py +++ b/toontown/toon/InventoryBase.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase.ToontownBattleGlobals import * from direct.showbase import DirectObject diff --git a/toontown/toon/InventoryNew.py b/toontown/toon/InventoryNew.py index d9fe2c4..e3fe6a9 100644 --- a/toontown/toon/InventoryNew.py +++ b/toontown/toon/InventoryNew.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownBattleGlobals import * from . import InventoryBase from toontown.toonbase import TTLocalizer diff --git a/toontown/toon/LaffMeter.py b/toontown/toon/LaffMeter.py index 40ef7d4..a5cf585 100644 --- a/toontown/toon/LaffMeter.py +++ b/toontown/toon/LaffMeter.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import Vec4 +from panda3d.core import Vec4 from direct.gui.DirectGui import DirectFrame, DirectLabel from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownIntervals diff --git a/toontown/toon/LocalToon.py b/toontown/toon/LocalToon.py index 5700367..bb49c97 100644 --- a/toontown/toon/LocalToon.py +++ b/toontown/toon/LocalToon.py @@ -11,7 +11,7 @@ from direct.task import Task from direct.showbase import PythonUtil from direct.directnotify import DirectNotifyGlobal from direct.gui import DirectGuiGlobals -from pandac.PandaModules import * +from panda3d.core import * from otp.avatar import LocalAvatar from otp.login import LeaveToPayDialog from otp.avatar import PositionExaminer diff --git a/toontown/toon/NPCForceAcknowledge.py b/toontown/toon/NPCForceAcknowledge.py index 76baa2c..3d5e8f8 100644 --- a/toontown/toon/NPCForceAcknowledge.py +++ b/toontown/toon/NPCForceAcknowledge.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer from direct.gui import DirectLabel diff --git a/toontown/toon/NPCFriendPanel.py b/toontown/toon/NPCFriendPanel.py index dfdb158..f527f60 100644 --- a/toontown/toon/NPCFriendPanel.py +++ b/toontown/toon/NPCFriendPanel.py @@ -1,6 +1,6 @@ from direct.gui.DirectGui import * from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import * +from panda3d.core import * from . import NPCToons from . import ToonHead from . import ToonDNA diff --git a/toontown/toon/PlayerDetailPanel.py b/toontown/toon/PlayerDetailPanel.py index 7b7b1cc..a4eb669 100644 --- a/toontown/toon/PlayerDetailPanel.py +++ b/toontown/toon/PlayerDetailPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/toon/PlayerInfoPanel.py b/toontown/toon/PlayerInfoPanel.py index 0d928c0..739c964 100644 --- a/toontown/toon/PlayerInfoPanel.py +++ b/toontown/toon/PlayerInfoPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from toontown.friends import FriendHandle from otp.avatar import Avatar diff --git a/toontown/toon/TTEmote.py b/toontown/toon/TTEmote.py index ed7c193..e08809f 100644 --- a/toontown/toon/TTEmote.py +++ b/toontown/toon/TTEmote.py @@ -4,7 +4,7 @@ from otp.otpbase import OTPLocalizer from toontown.toonbase import TTLocalizer from otp.otpbase import OTPLocalizer from direct.showbase import PythonUtil -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from otp.avatar import Emote from direct.directnotify import DirectNotifyGlobal diff --git a/toontown/toon/ToonAvatarDetailPanel.py b/toontown/toon/ToonAvatarDetailPanel.py index ac087eb..e9b8365 100644 --- a/toontown/toon/ToonAvatarDetailPanel.py +++ b/toontown/toon/ToonAvatarDetailPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/toon/ToonAvatarPanel.py b/toontown/toon/ToonAvatarPanel.py index 8b6e639..ba42168 100644 --- a/toontown/toon/ToonAvatarPanel.py +++ b/toontown/toon/ToonAvatarPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from . import ToonHead from toontown.friends import FriendHandle diff --git a/toontown/toon/ToonDNA.py b/toontown/toon/ToonDNA.py index 4507efc..2961625 100644 --- a/toontown/toon/ToonDNA.py +++ b/toontown/toon/ToonDNA.py @@ -1,5 +1,5 @@ import random -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify.DirectNotifyGlobal import * import random from direct.distributed.PyDatagram import PyDatagram diff --git a/toontown/toon/ToonHeadFrame.py b/toontown/toon/ToonHeadFrame.py index 53f1ca1..6cce003 100644 --- a/toontown/toon/ToonHeadFrame.py +++ b/toontown/toon/ToonHeadFrame.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from panda3d.otp import * from . import ToonHead from toontown.distributed import DelayDelete diff --git a/toontown/toon/ToonTeleportPanel.py b/toontown/toon/ToonTeleportPanel.py index ec6b5a1..8857bee 100644 --- a/toontown/toon/ToonTeleportPanel.py +++ b/toontown/toon/ToonTeleportPanel.py @@ -1,6 +1,6 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from direct.showbase import DirectObject from direct.fsm import ClassicFSM, State diff --git a/toontown/toonbase/DisplayOptions.py b/toontown/toonbase/DisplayOptions.py index c6bf3e4..362185a 100644 --- a/toontown/toonbase/DisplayOptions.py +++ b/toontown/toonbase/DisplayOptions.py @@ -3,7 +3,7 @@ import string import os import sys import datetime -from pandac.PandaModules import loadPrcFileData, WindowProperties +from panda3d.core import loadPrcFileData, WindowProperties from otp.otpgui import OTPDialog from otp.otpbase import OTPGlobals from otp.otpbase import OTPRender diff --git a/toontown/toonbase/TTLocalizerEnglish.py b/toontown/toonbase/TTLocalizerEnglish.py index edc2bd4..925284f 100644 --- a/toontown/toonbase/TTLocalizerEnglish.py +++ b/toontown/toonbase/TTLocalizerEnglish.py @@ -5209,7 +5209,7 @@ PetTutorialPage2 = "Use the new 'Pets' area in the SpeedChat menu to get a Doodl PetTutorialPage3 = "Purchase new Doodle tricks from Clarabelle's Cattlelog. Better tricks give better Toon-Ups!" def getPetGuiAlign(): - from pandac.PandaModules import TextNode + from panda3d.core import TextNode return TextNode.ACenter diff --git a/toontown/toonbase/ToontownLoader.py b/toontown/toonbase/ToontownLoader.py index 1f76fc7..cafa772 100644 --- a/toontown/toonbase/ToontownLoader.py +++ b/toontown/toonbase/ToontownLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from panda3d.toontown import * from direct.directnotify.DirectNotifyGlobal import * from direct.showbase import Loader diff --git a/toontown/toonbase/ToontownTimer.py b/toontown/toonbase/ToontownTimer.py index 28e2e0f..97372d4 100644 --- a/toontown/toonbase/ToontownTimer.py +++ b/toontown/toonbase/ToontownTimer.py @@ -1,5 +1,5 @@ from otp.otpbase.OTPTimer import OTPTimer -from pandac.PandaModules import * +from panda3d.core import * class ToontownTimer(OTPTimer): diff --git a/toontown/toontowngui/NewsPageButtonManager.py b/toontown/toontowngui/NewsPageButtonManager.py index 50d74e0..f09ec2b 100644 --- a/toontown/toontowngui/NewsPageButtonManager.py +++ b/toontown/toontowngui/NewsPageButtonManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import VBase4, VBase3 +from panda3d.core import VBase4, VBase3 from direct.fsm import FSM from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectButton import DirectButton diff --git a/toontown/toontowngui/TeaserPanel.py b/toontown/toontowngui/TeaserPanel.py index 21ba569..bffabea 100644 --- a/toontown/toontowngui/TeaserPanel.py +++ b/toontown/toontowngui/TeaserPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.gui.DirectGui import * from direct.gui import DirectGuiGlobals -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal from . import TTDialog from toontown.toonbase import TTLocalizer diff --git a/toontown/toontowngui/ToonHeadDialog.py b/toontown/toontowngui/ToonHeadDialog.py index a6929c7..3855948 100644 --- a/toontown/toontowngui/ToonHeadDialog.py +++ b/toontown/toontowngui/ToonHeadDialog.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal from . import TTDialog diff --git a/toontown/toontowngui/ToontownLoadingBlocker.py b/toontown/toontowngui/ToontownLoadingBlocker.py index 12d7256..f260798 100644 --- a/toontown/toontowngui/ToontownLoadingBlocker.py +++ b/toontown/toontowngui/ToontownLoadingBlocker.py @@ -1,6 +1,6 @@ from direct.directnotify import DirectNotifyGlobal from direct.gui.DirectGui import * -from pandac.PandaModules import TextNode +from panda3d.core import TextNode from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from toontown.toontowngui import TTDialog diff --git a/toontown/toontowngui/ToontownLoadingScreen.py b/toontown/toontowngui/ToontownLoadingScreen.py index 2bf3e4d..c4de1f6 100644 --- a/toontown/toontowngui/ToontownLoadingScreen.py +++ b/toontown/toontowngui/ToontownLoadingScreen.py @@ -1,5 +1,5 @@ from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer import random diff --git a/toontown/town/TownBattleAttackPanel.py b/toontown/town/TownBattleAttackPanel.py index 789ff16..62bf84b 100644 --- a/toontown/town/TownBattleAttackPanel.py +++ b/toontown/town/TownBattleAttackPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.directnotify import DirectNotifyGlobal import string from direct.fsm import StateData diff --git a/toontown/town/TownBattleChooseAvatarPanel.py b/toontown/town/TownBattleChooseAvatarPanel.py index f252902..9021050 100644 --- a/toontown/town/TownBattleChooseAvatarPanel.py +++ b/toontown/town/TownBattleChooseAvatarPanel.py @@ -4,7 +4,7 @@ from direct.fsm import StateData from direct.directnotify import DirectNotifyGlobal from toontown.battle import BattleBase from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class TownBattleChooseAvatarPanel(StateData.StateData): diff --git a/toontown/town/TownBattleSOSPanel.py b/toontown/town/TownBattleSOSPanel.py index 5cd0eb6..5144f7d 100644 --- a/toontown/town/TownBattleSOSPanel.py +++ b/toontown/town/TownBattleSOSPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToontownGlobals import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.showbase import DirectObject from direct.directnotify import DirectNotifyGlobal from direct.fsm import StateData diff --git a/toontown/town/TownBattleSOSPetInfoPanel.py b/toontown/town/TownBattleSOSPetInfoPanel.py index af62b05..be0cdb6 100644 --- a/toontown/town/TownBattleSOSPetInfoPanel.py +++ b/toontown/town/TownBattleSOSPetInfoPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer from toontown.pets import Pet, PetTricks, PetDetailPanel from toontown.speedchat import TTSCPetTrickMenu diff --git a/toontown/town/TownBattleSOSPetSearchPanel.py b/toontown/town/TownBattleSOSPetSearchPanel.py index dfcb128..9dd52f4 100644 --- a/toontown/town/TownBattleSOSPetSearchPanel.py +++ b/toontown/town/TownBattleSOSPetSearchPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class TownBattleSOSPetSearchPanel(StateData.StateData): diff --git a/toontown/town/TownBattleToonPanel.py b/toontown/town/TownBattleToonPanel.py index 04b516a..cfa885d 100644 --- a/toontown/town/TownBattleToonPanel.py +++ b/toontown/town/TownBattleToonPanel.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import ToontownGlobals from toontown.toonbase.ToontownBattleGlobals import * from direct.directnotify import DirectNotifyGlobal @@ -6,7 +6,7 @@ import string from toontown.toon import LaffMeter from toontown.battle import BattleBase from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class TownBattleToonPanel(DirectFrame): diff --git a/toontown/town/TownBattleWaitPanel.py b/toontown/town/TownBattleWaitPanel.py index 1dc0444..fb3075d 100644 --- a/toontown/town/TownBattleWaitPanel.py +++ b/toontown/town/TownBattleWaitPanel.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.fsm import StateData from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase import TTLocalizer class TownBattleWaitPanel(StateData.StateData): diff --git a/toontown/town/TownLoader.py b/toontown/town/TownLoader.py index fc5280a..71b37a3 100644 --- a/toontown/town/TownLoader.py +++ b/toontown/town/TownLoader.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.battle.BattleProps import * from toontown.battle.BattleSounds import * from toontown.distributed.ToontownMsgTypes import * diff --git a/toontown/trolley/Trolley.py b/toontown/trolley/Trolley.py index d57cadf..42c759f 100644 --- a/toontown/trolley/Trolley.py +++ b/toontown/trolley/Trolley.py @@ -1,7 +1,7 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toonbase.ToonBaseGlobal import * from direct.gui.DirectGui import * -from pandac.PandaModules import * +from panda3d.core import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from direct.fsm import State diff --git a/toontown/tutorial/TutorialForceAcknowledge.py b/toontown/tutorial/TutorialForceAcknowledge.py index d967106..5329a2a 100644 --- a/toontown/tutorial/TutorialForceAcknowledge.py +++ b/toontown/tutorial/TutorialForceAcknowledge.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from toontown.toontowngui import TTDialog from toontown.toonbase import TTLocalizer diff --git a/toontown/tutorial/TutorialManager.py b/toontown/tutorial/TutorialManager.py index fd9b928..e8a641e 100644 --- a/toontown/tutorial/TutorialManager.py +++ b/toontown/tutorial/TutorialManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed import DistributedObject from direct.directnotify import DirectNotifyGlobal from toontown.hood import ZoneUtil diff --git a/toontown/uberdog/DataStore.py b/toontown/uberdog/DataStore.py index d412a49..7b20d36 100644 --- a/toontown/uberdog/DataStore.py +++ b/toontown/uberdog/DataStore.py @@ -1,5 +1,5 @@ from direct.directnotify import DirectNotifyGlobal -from pandac.PandaModules import ConfigVariableBool +from panda3d.core import ConfigVariableBool from direct.task import Task import pickle import os diff --git a/toontown/uberdog/DistributedDeliveryManager.py b/toontown/uberdog/DistributedDeliveryManager.py index 7132509..2644a37 100644 --- a/toontown/uberdog/DistributedDeliveryManager.py +++ b/toontown/uberdog/DistributedDeliveryManager.py @@ -1,4 +1,4 @@ -from pandac.PandaModules import * +from panda3d.core import * from direct.distributed.DistributedObject import DistributedObject from toontown.catalog import CatalogItemList from toontown.catalog import CatalogItem