Change from pandac.PandaModules to panda3d.core in some files

This commit is contained in:
John Cote 2015-06-23 19:11:48 -04:00
parent 8434bc8fce
commit d2b0d99175
557 changed files with 557 additions and 620 deletions

View file

@ -17,7 +17,7 @@ __builtin__.__dict__.update(__import__('pandac.PandaModules', fromlist=['*']).__
loadPrcFile('dependencies/config/guieditor.prc') loadPrcFile('dependencies/config/guieditor.prc')
loadPrcFile('dependencies/config/general.prc') loadPrcFile('dependencies/config/general.prc')
defaultText = """from pandac.PandaModules import * defaultText = """from panda3d.core import *
from direct.gui import DirectGuiGlobals from direct.gui import DirectGuiGlobals
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -15,7 +15,7 @@ from direct.showbase.PythonUtil import *
from direct.task import Task from direct.task import Task
from direct.task.TaskManagerGlobal import * from direct.task.TaskManagerGlobal import *
from otp.otpbase import BackupManager from otp.otpbase import BackupManager
from pandac.PandaModules import * from panda3d.core import *
class AIBase: class AIBase:

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed import ParentMgr from direct.distributed import ParentMgr
from direct.directnotify.DirectNotifyGlobal import directNotify from direct.directnotify.DirectNotifyGlobal import directNotify
from direct.task import Task from direct.task import Task

View file

@ -5,7 +5,7 @@ from direct.showbase import PythonUtil
from toontown.toonbase import PythonUtil as TTPythonUtil from toontown.toonbase import PythonUtil as TTPythonUtil
from direct.showbase.DirectObject import * from direct.showbase.DirectObject import *
from direct.task import Task from direct.task import Task
from pandac.PandaModules import * from panda3d.core import *
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals
import time import time

View file

@ -2,7 +2,7 @@ from direct.actor.Actor import Actor
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed import ClockDelta from direct.distributed import ClockDelta
from direct.showbase.PythonUtil import recordCreationStack from direct.showbase.PythonUtil import recordCreationStack
from pandac.PandaModules import * from panda3d.core import *
import random import random
from otp.ai import MagicWordManager from otp.ai import MagicWordManager

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.showbase import DirectObject from direct.showbase import DirectObject
import Avatar import Avatar

View file

@ -3,7 +3,7 @@ from direct.distributed import DistributedNode
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from direct.task import Task from direct.task import Task
from pandac.PandaModules import * from panda3d.core import *
from Avatar import Avatar from Avatar import Avatar
from otp.ai.MagicWordGlobal import * from otp.ai.MagicWordGlobal import *

View file

@ -1,6 +1,6 @@
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from direct.task import Task from direct.task import Task
from pandac.PandaModules import * from panda3d.core import *
import string import string
import time import time

View file

@ -12,7 +12,7 @@ from direct.showbase.InputStateGlobal import inputState
from direct.showbase.PythonUtil import * from direct.showbase.PythonUtil import *
from direct.task import Task from direct.task import Task
import math import math
from pandac.PandaModules import * from panda3d.core import *
import random import random
import DistributedAvatar import DistributedAvatar

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.showbase.DirectObject import DirectObject from direct.showbase.DirectObject import DirectObject
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals

View file

@ -1,6 +1,6 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.showbase.ShadowPlacer import ShadowPlacer from direct.showbase.ShadowPlacer import ShadowPlacer
from pandac.PandaModules import * from panda3d.core import *
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.fsm import FSM from direct.fsm import FSM

View file

@ -3,7 +3,7 @@ from direct.fsm import ClassicFSM
from direct.fsm import State from direct.fsm import State
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.showbase import DirectObject from direct.showbase import DirectObject
from pandac.PandaModules import * from panda3d.core import *
from otp.otpbase import OTPLocalizer from otp.otpbase import OTPLocalizer
from toontown.chat.ChatGlobals import * from toontown.chat.ChatGlobals import *
import ChatUtil import ChatUtil

View file

@ -8,7 +8,7 @@ from direct.fsm.ClassicFSM import ClassicFSM
from direct.fsm.State import State from direct.fsm.State import State
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.task import Task from direct.task import Task
from pandac.PandaModules import * from panda3d.core import *
from otp.avatar import Avatar, DistributedAvatar from otp.avatar import Avatar, DistributedAvatar
from otp.avatar.DistributedPlayer import DistributedPlayer from otp.avatar.DistributedPlayer import DistributedPlayer
from otp.distributed import OtpDoGlobals from otp.distributed import OtpDoGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
import BasicEntities import BasicEntities

View file

@ -1,8 +1,7 @@
from direct.showbase import DirectObject from direct.showbase import DirectObject
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
import BasicEntities import BasicEntities
from pandac.PandaModules import * from panda3d.core import *
from pandac.PandaModules import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM from direct.fsm import ClassicFSM

View file

@ -1,5 +1,5 @@
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from pandac.PandaModules import * from panda3d.core import *
from direct.showbase.PythonUtil import Functor, sameElements, list2dict, uniqueElements from direct.showbase.PythonUtil import Functor, sameElements, list2dict, uniqueElements
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from toontown.distributed.ToontownMsgTypes import * from toontown.distributed.ToontownMsgTypes import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.showbase import DirectObject from direct.showbase import DirectObject
import random import random
from direct.task import Task from direct.task import Task

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
QuietZone = 1 QuietZone = 1
UberZone = 2 UberZone = 2
WallBitmask = BitMask32(1) WallBitmask = BitMask32(1)

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
MainCameraBitmask = BitMask32.bit(0) MainCameraBitmask = BitMask32.bit(0)
ReflectionCameraBitmask = BitMask32.bit(1) ReflectionCameraBitmask = BitMask32.bit(1)
ShadowCameraBitmask = BitMask32.bit(2) ShadowCameraBitmask = BitMask32.bit(2)

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.task import Task from direct.task import Task
from SCConstants import * from SCConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.task import Task from direct.task import Task
from SCConstants import * from SCConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from SCObject import SCObject from SCObject import SCObject
from SCElement import SCElement from SCElement import SCElement

View file

@ -1,5 +1,5 @@
from otp.ai.MagicWordGlobal import * from otp.ai.MagicWordGlobal import *
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *

View file

@ -1,5 +1,5 @@
from direct.distributed.PyDatagram import * from direct.distributed.PyDatagram import *
from pandac.PandaModules import * from panda3d.core import *
from otp.ai.AIZoneData import AIZoneDataStore from otp.ai.AIZoneData import AIZoneDataStore
from otp.ai.MagicWordManagerAI import MagicWordManagerAI from otp.ai.MagicWordManagerAI import MagicWordManagerAI

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToontownBattleGlobals import * from toontown.toonbase.ToontownBattleGlobals import *
from direct.task.Timer import * from direct.task.Timer import *
import math import math

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.hood import Place, ZoneUtil from toontown.hood import Place, ZoneUtil
from toontown.toon import Toon from toontown.toon import Toon
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.actor import Actor from direct.actor import Actor
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
class BattleSounds: class BattleSounds:

View file

@ -1,6 +1,6 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import random import random
from BattleBase import * from BattleBase import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from BattleBase import * from BattleBase import *

View file

@ -4,7 +4,7 @@ from BattleBase import *
from BattleCalculatorAI import * from BattleCalculatorAI import *
from toontown.toonbase.ToontownBattleGlobals import * from toontown.toonbase.ToontownBattleGlobals import *
from SuitBattleGlobals import * from SuitBattleGlobals import *
from pandac.PandaModules import * from panda3d.core import *
import BattleExperienceAI import BattleExperienceAI
from direct.distributed import DistributedObjectAI from direct.distributed import DistributedObjectAI
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State

View file

@ -2,7 +2,7 @@ from direct.actor import Actor
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import State from direct.fsm import State
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import random import random
from BattleBase import * from BattleBase import *

View file

@ -2,7 +2,7 @@ from direct.actor import Actor
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import State from direct.fsm import State
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import random import random
from BattleBase import * from BattleBase import *

View file

@ -6,7 +6,7 @@ from toontown.toon.ToonDNA import *
from toontown.suit.SuitDNA import * from toontown.suit.SuitDNA import *
from direct.particles.ParticleEffect import * from direct.particles.ParticleEffect import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
import MovieUtil import MovieUtil
import MovieCamera import MovieCamera
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal

View file

@ -4,7 +4,7 @@ from direct.fsm import StateData
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.battle import BattleBase from toontown.battle import BattleBase
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
class FireCogPanel(StateData.StateData): class FireCogPanel(StateData.StateData):

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from BattleBase import * from BattleBase import *
from BattleProps import * from BattleProps import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from BattleBase import * from BattleBase import *
from BattleProps import * from BattleProps import *

View file

@ -1,6 +1,6 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import MovieCamera import MovieCamera
from toontown.chat.ChatGlobals import * from toontown.chat.ChatGlobals import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from BattleBase import * from BattleBase import *
from BattleProps import * from BattleProps import *

View file

@ -1,5 +1,5 @@
from direct.particles import Particles, ForceGroup from direct.particles import Particles, ForceGroup
from pandac.PandaModules import * from panda3d.core import *
ParticleTable = {} ParticleTable = {}

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from toontown.toonbase.ToontownBattleGlobals import * from toontown.toonbase.ToontownBattleGlobals import *
from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToontownGlobals import *

View file

@ -3,7 +3,7 @@ from direct.directnotify import DirectNotifyGlobal
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
import math import math
from pandac.PandaModules import * from panda3d.core import *
import random import random
import Fanfare import Fanfare

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from direct.task.Task import Task from direct.task.Task import Task

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State

View file

@ -2,7 +2,7 @@ from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import BoardingGroupShow import BoardingGroupShow
from toontown.building import BoardingPartyBase from toontown.building import BoardingPartyBase

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.directtools.DirectGeometry import * from direct.directtools.DirectGeometry import *
@ -6,7 +6,6 @@ from ElevatorConstants import *
from ElevatorUtils import * from ElevatorUtils import *
from SuitBuildingGlobals import * from SuitBuildingGlobals import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from toontown.building import ElevatorConstants from toontown.building import ElevatorConstants

View file

@ -6,7 +6,7 @@ from direct.distributed.ClockDelta import *
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.task.Task import Task from direct.task.Task import Task
from pandac.PandaModules import * from panda3d.core import *
from toontown.distributed import DelayDelete from toontown.distributed import DelayDelete
from toontown.distributed.DelayDeletable import DelayDeletable from toontown.distributed.DelayDeletable import DelayDeletable
from toontown.hood import ZoneUtil from toontown.hood import ZoneUtil

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import *
from direct.fsm import ClassicFSM from direct.fsm import ClassicFSM
from direct.fsm import State from direct.fsm import State
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import DistributedElevator import DistributedElevator
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,5 +1,5 @@
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToontownGlobals import *
import random import random
from direct.distributed import DistributedObject from direct.distributed import DistributedObject

View file

@ -4,7 +4,7 @@ import ToonInteriorColors
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject from direct.distributed import DistributedObject
from direct.task.Task import Task from direct.task.Task import Task
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToontownGlobals import *

View file

@ -1,6 +1,6 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObject import DistributedObject from direct.distributed.DistributedObject import DistributedObject
from pandac.PandaModules import * from panda3d.core import *
from toontown.building import ToonInteriorColors from toontown.building import ToonInteriorColors
from toontown.hood import ZoneUtil from toontown.hood import ZoneUtil
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *

View file

@ -1,7 +1,7 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import DistributedAnimatedProp import DistributedAnimatedProp
from KnockKnockJokes import * from KnockKnockJokes import *

View file

@ -1,5 +1,5 @@
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToontownGlobals import *
import random import random
from direct.distributed import DistributedObject from direct.distributed import DistributedObject

View file

@ -10,7 +10,7 @@ from direct.fsm import ClassicFSM, State
from direct.fsm import State from direct.fsm import State
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from otp.speedchat import SpeedChatGlobals from otp.speedchat import SpeedChatGlobals
from pandac.PandaModules import * from panda3d.core import *
from toontown.dna.DNAParser import * from toontown.dna.DNAParser import *
from toontown.hood import ZoneUtil from toontown.hood import ZoneUtil
from toontown.toon import ToonDNA from toontown.toon import ToonDNA

View file

@ -1,5 +1,5 @@
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -1,7 +1,6 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.fsm import ClassicFSM, State from direct.fsm import ClassicFSM, State
from direct.fsm import State from direct.fsm import State

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
ELEVATOR_NORMAL = 0 ELEVATOR_NORMAL = 0
ELEVATOR_VP = 1 ELEVATOR_VP = 1
ELEVATOR_MINT = 2 ELEVATOR_MINT = 2

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from ElevatorConstants import * from ElevatorConstants import *

View file

@ -1,7 +1,7 @@
import DistributedDoorAI import DistributedDoorAI
import DistributedGagshopInteriorAI import DistributedGagshopInteriorAI
import DoorTypes import DoorTypes
from pandac.PandaModules import * from panda3d.core import *
from toontown.toon import NPCToons from toontown.toon import NPCToons

View file

@ -1,7 +1,7 @@
import DistributedDoorAI import DistributedDoorAI
import DistributedHQInteriorAI import DistributedHQInteriorAI
import DoorTypes import DoorTypes
from pandac.PandaModules import * from panda3d.core import *
from toontown.toon import NPCToons from toontown.toon import NPCToons

View file

@ -1,5 +1,5 @@
from direct.directnotify.DirectNotifyGlobal import * from direct.directnotify.DirectNotifyGlobal import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.building import DoorTypes from toontown.building import DoorTypes
from toontown.building.DistributedDoorAI import DistributedDoorAI from toontown.building.DistributedDoorAI import DistributedDoorAI
from toontown.building.DistributedKartShopInteriorAI import DistributedKartShopInteriorAI from toontown.building.DistributedKartShopInteriorAI import DistributedKartShopInteriorAI

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
import DistributedDoorAI import DistributedDoorAI
import DistributedPetshopInteriorAI import DistributedPetshopInteriorAI

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase.ToonBaseGlobal import * from toontown.toonbase.ToonBaseGlobal import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.hood import Place from toontown.hood import Place

View file

@ -4,7 +4,7 @@ from direct.fsm import State
from direct.fsm import StateData from direct.fsm import StateData
from direct.showbase import DirectObject from direct.showbase import DirectObject
from direct.task import Task from direct.task import Task
from pandac.PandaModules import * from panda3d.core import *
import DistributedToonInterior import DistributedToonInterior
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs
from toontown.hood import Place from toontown.hood import Place

View file

@ -6,7 +6,7 @@ from toontown.toon import ToonDNA
import random, types import random, types
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
class CatalogAccessoryItem(CatalogItem.CatalogItem): class CatalogAccessoryItem(CatalogItem.CatalogItem):

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
class CatalogChatBalloon: class CatalogChatBalloon:
TEXT_SHIFT = (0.1, -0.05, 1.1) TEXT_SHIFT = (0.1, -0.05, 1.1)

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
import CatalogItem import CatalogItem
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from otp.otpbase import OTPLocalizer from otp.otpbase import OTPLocalizer

View file

@ -1,5 +1,5 @@
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from direct.showbase import DirectObject from direct.showbase import DirectObject
import CatalogItem import CatalogItem
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -5,7 +5,7 @@ from toontown.toon import ToonDNA
import random import random
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
CTArticle = 0 CTArticle = 0
CTString = 1 CTString = 1
CTBasePrice = 2 CTBasePrice = 2

View file

@ -3,7 +3,7 @@ import CatalogItem
import random import random
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from pandac.PandaModules import * from panda3d.core import *
FTModelName = 0 FTModelName = 0
FTColor = 1 FTColor = 1
FTColorOptions = 2 FTColorOptions = 2

View file

@ -26,7 +26,7 @@ from toontown.toonbase import ToontownGlobals
import types import types
import random import random
import time 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), 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), 300: getAllClothes(301, 302, 303, 304, 305, 308, 401, 403, 404, 405, 407, 451, 452, 453),
2000: getChatRange(0, 1999), 2000: getChatRange(0, 1999),

View file

@ -1,5 +1,5 @@
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *

View file

@ -1,5 +1,5 @@
import CatalogItem import CatalogItem
from pandac.PandaModules import * from panda3d.core import *
import types import types
from direct.distributed.PyDatagram import PyDatagram from direct.distributed.PyDatagram import PyDatagram
from direct.distributed.PyDatagramIterator import PyDatagramIterator from direct.distributed.PyDatagramIterator import PyDatagramIterator

View file

@ -1,5 +1,5 @@
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from toontown.toontowngui import TTDialog from toontown.toontowngui import TTDialog
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer

View file

@ -1,7 +1,7 @@
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
class CatalogNotifyDialog: class CatalogNotifyDialog:
notify = directNotify.newCategory('CatalogNotifyDialog') notify = directNotify.newCategory('CatalogNotifyDialog')

View file

@ -1,6 +1,5 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import *
from direct.gui.DirectScrolledList import * from direct.gui.DirectScrolledList import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from toontown.toontowngui import TTDialog from toontown.toontowngui import TTDialog

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
import CatalogAtticItem import CatalogAtticItem
import CatalogItem import CatalogItem
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -1,7 +1,7 @@
from direct.directnotify.DirectNotifyGlobal import * from direct.directnotify.DirectNotifyGlobal import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from direct.showbase import DirectObject, PythonUtil from direct.showbase import DirectObject, PythonUtil
from pandac.PandaModules import * from panda3d.core import *
from toontown.parties import PartyGlobals from toontown.parties import PartyGlobals
from toontown.parties.InviteInfo import InviteInfoBase from toontown.parties.InviteInfo import InviteInfoBase
from toontown.parties.PartyGlobals import InviteStatus from toontown.parties.PartyGlobals import InviteStatus

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
class ChatBalloon(NodePath): class ChatBalloon(NodePath):

View file

@ -1,5 +1,5 @@
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from pandac.PandaModules import * from panda3d.core import *
import random, copy import random, copy
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer

View file

@ -1,5 +1,5 @@
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from otp.speedchat.SpeedChatTypes import * from otp.speedchat.SpeedChatTypes import *
from toontown.speedchat.TTSpeedChatTypes import * from toontown.speedchat.TTSpeedChatTypes import *
from otp.speedchat.SpeedChat import SpeedChat from otp.speedchat.SpeedChat import SpeedChat

View file

@ -3,7 +3,7 @@ from direct.showbase import DirectObject
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals
import sys import sys
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from otp.chat import ChatUtil from otp.chat import ChatUtil
from otp.otpbase import OTPLocalizer from otp.otpbase import OTPLocalizer
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal

View file

@ -4,7 +4,7 @@ from otp.otpbase import OTPLocalizer
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from otp.chat import ChatManager from otp.chat import ChatManager
from TTChatInputSpeedChat import TTChatInputSpeedChat from TTChatInputSpeedChat import TTChatInputSpeedChat
from TTChatInputWhiteList import TTChatInputWhiteList from TTChatInputWhiteList import TTChatInputWhiteList

View file

@ -1,5 +1,5 @@
import random import random
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from toontown.toonbase import ToontownGlobals, ToontownTimer from toontown.toonbase import ToontownGlobals, ToontownTimer

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
CollectionTime = 30 CollectionTime = 30
BarrelRoomIntroTimeout = 12.0 BarrelRoomIntroTimeout = 12.0
RewardUiTime = 5.0 RewardUiTime = 5.0

View file

@ -1,4 +1,4 @@
from pandac.PandaModules import * from panda3d.core import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from toontown.toon import DistributedToon from toontown.toon import DistributedToon
from toontown.toonbase import ToontownGlobals, TTLocalizer from toontown.toonbase import ToontownGlobals, TTLocalizer

View file

@ -1,5 +1,5 @@
import random import random
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import Sequence, Func, Parallel, Wait, LerpHprInterval, LerpScaleInterval, LerpFunctionInterval from direct.interval.IntervalGlobal import Sequence, Func, Parallel, Wait, LerpHprInterval, LerpScaleInterval, LerpFunctionInterval
from otp.otpbase import OTPGlobals from otp.otpbase import OTPGlobals
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals

View file

@ -4,7 +4,7 @@ from direct.interval.IntervalGlobal import LerpFunc, ActorInterval, LerpPosInter
from direct.interval.MetaInterval import Sequence from direct.interval.MetaInterval import Sequence
from direct.directutil import Mopath from direct.directutil import Mopath
from direct.showbase import PythonUtil from direct.showbase import PythonUtil
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import ToontownGlobals from toontown.toonbase import ToontownGlobals
from toontown.suit import Suit from toontown.suit import Suit
from toontown.suit import SuitDNA from toontown.suit import SuitDNA

View file

@ -1,6 +1,6 @@
from direct.controls.ControlManager import CollisionHandlerRayStart from direct.controls.ControlManager import CollisionHandlerRayStart
from direct.directnotify import DirectNotifyGlobal from direct.directnotify import DirectNotifyGlobal
from pandac.PandaModules import * from panda3d.core import *
from direct.task.Task import Task from direct.task.Task import Task
from direct.showbase.DirectObject import DirectObject from direct.showbase.DirectObject import DirectObject
from direct.showbase.ShadowPlacer import ShadowPlacer from direct.showbase.ShadowPlacer import ShadowPlacer

View file

@ -2,7 +2,7 @@ from direct.task import Task
from direct.fsm import StateData from direct.fsm import StateData
from toontown.toonbase.ToontownGlobals import * from toontown.toonbase.ToontownGlobals import *
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from toontown.toonbase import ToontownTimer from toontown.toonbase import ToontownTimer
from toontown.toonbase import TTLocalizer from toontown.toonbase import TTLocalizer
from toontown.minigame import MinigameGlobals from toontown.minigame import MinigameGlobals

View file

@ -1,5 +1,5 @@
from direct.gui.DirectGui import * from direct.gui.DirectGui import *
from pandac.PandaModules import * from panda3d.core import *
from direct.interval.IntervalGlobal import * from direct.interval.IntervalGlobal import *
from direct.distributed.ClockDelta import * from direct.distributed.ClockDelta import *
from direct.fsm import FSM from direct.fsm import FSM

Some files were not shown because too many files have changed in this diff Show more