all: replace pandac.PandaModules imports.
UD/AI + Client boots up.
This commit is contained in:
parent
3addd67421
commit
1801d2b9fb
755 changed files with 925 additions and 915 deletions
|
@ -1,5 +1,6 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify.DirectNotifyGlobal import *
|
from direct.directnotify.DirectNotifyGlobal import *
|
||||||
|
from direct.showbase import DConfig
|
||||||
from direct.showbase.MessengerGlobal import *
|
from direct.showbase.MessengerGlobal import *
|
||||||
from direct.showbase.BulletinBoardGlobal import *
|
from direct.showbase.BulletinBoardGlobal import *
|
||||||
from direct.task.TaskManagerGlobal import *
|
from direct.task.TaskManagerGlobal import *
|
||||||
|
@ -20,7 +21,7 @@ class AIBase:
|
||||||
notify = directNotify.newCategory('AIBase')
|
notify = directNotify.newCategory('AIBase')
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.config = getConfigShowbase()
|
self.config = DConfig
|
||||||
__builtins__['__dev__'] = self.config.GetBool('want-dev', 0)
|
__builtins__['__dev__'] = self.config.GetBool('want-dev', 0)
|
||||||
__builtins__['__astron__'] = self.config.GetBool('astron-support', 1)
|
__builtins__['__astron__'] = self.config.GetBool('astron-support', 1)
|
||||||
__builtins__['__execWarnings__'] = self.config.GetBool('want-exec-warnings', 0)
|
__builtins__['__execWarnings__'] = self.config.GetBool('want-exec-warnings', 0)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import urllib.request, urllib.parse, urllib.error
|
import urllib.request, urllib.parse, urllib.error
|
||||||
import os
|
import os
|
||||||
from pandac.PandaModules import HTTPClient, Ramfile
|
from panda3d.core import HTTPClient, Ramfile
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
|
|
||||||
class BanManagerAI:
|
class BanManagerAI:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.showbase.DirectObject import *
|
from direct.showbase.DirectObject import *
|
||||||
from direct.distributed.ClockDelta import *
|
from direct.distributed.ClockDelta import *
|
||||||
from direct.task import Task
|
from direct.task import Task
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify.DirectNotifyGlobal import *
|
from direct.directnotify.DirectNotifyGlobal import *
|
||||||
import random
|
import random
|
||||||
from direct.distributed.PyDatagram import PyDatagram
|
from direct.distributed.PyDatagram import PyDatagram
|
||||||
|
|
|
@ -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
|
||||||
from . import Avatar
|
from . import Avatar
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import time
|
import time
|
||||||
import string
|
import string
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.distributed import DistributedNode
|
from direct.distributed import DistributedNode
|
||||||
from direct.actor.DistributedActor import DistributedActor
|
from direct.actor.DistributedActor import DistributedActor
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from direct.showbase.ShadowPlacer import ShadowPlacer
|
from direct.showbase.ShadowPlacer import ShadowPlacer
|
||||||
from otp.otpbase import OTPGlobals
|
from otp.otpbase import OTPGlobals
|
||||||
|
|
|
@ -2,7 +2,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.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
|
|
||||||
class ChatInputNormal(DirectObject.DirectObject):
|
class ChatInputNormal(DirectObject.DirectObject):
|
||||||
|
|
|
@ -2,7 +2,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.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
|
|
||||||
class ChatInputTyped(DirectObject.DirectObject):
|
class ChatInputTyped(DirectObject.DirectObject):
|
||||||
|
@ -127,7 +127,7 @@ class ChatInputTyped(DirectObject.DirectObject):
|
||||||
def __execMessage(self, message):
|
def __execMessage(self, message):
|
||||||
if not ChatInputTyped.ExecNamespace:
|
if not ChatInputTyped.ExecNamespace:
|
||||||
ChatInputTyped.ExecNamespace = {}
|
ChatInputTyped.ExecNamespace = {}
|
||||||
exec('from pandac.PandaModules import *', globals(), self.ExecNamespace)
|
exec('from panda3d.core import *', globals(), self.ExecNamespace)
|
||||||
self.importExecNamespace()
|
self.importExecNamespace()
|
||||||
try:
|
try:
|
||||||
if not __debug__ or __execWarnings__:
|
if not __debug__ or __execWarnings__:
|
||||||
|
|
|
@ -3,7 +3,7 @@ from otp.otpbase import OTPGlobals
|
||||||
import sys
|
import sys
|
||||||
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.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
from direct.task import Task
|
from direct.task import Task
|
||||||
from otp.chat.ChatInputTyped import ChatInputTyped
|
from otp.chat.ChatInputTyped import ChatInputTyped
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import StringStream
|
from panda3d.core import StringStream
|
||||||
from direct.distributed.PyDatagram import PyDatagram
|
from direct.distributed.PyDatagram import PyDatagram
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from direct.task import Task
|
from direct.task import Task
|
||||||
from otp.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.showbase.DirectObject import DirectObject
|
from direct.showbase.DirectObject import DirectObject
|
||||||
|
|
||||||
class DownloadWatcher(DirectObject):
|
class DownloadWatcher(DirectObject):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.showbase.MessengerGlobal import *
|
from direct.showbase.MessengerGlobal import *
|
||||||
from direct.task.TaskManagerGlobal import *
|
from direct.task.TaskManagerGlobal import *
|
||||||
from direct.task.Task import Task
|
from direct.task.Task import Task
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from . import Entity
|
from . import Entity
|
||||||
from . import DistributedEntity
|
from . import DistributedEntity
|
||||||
from pandac.PandaModules import NodePath
|
from panda3d.core import NodePath
|
||||||
|
|
||||||
class NodePathEntityBase:
|
class NodePathEntityBase:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
from . import BasicEntities
|
from . import BasicEntities
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
from direct.showbase import DirectObject
|
from direct.showbase import DirectObject
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import BasicEntities
|
from . import BasicEntities
|
||||||
from pandac.PandaModules import *
|
from panda3d.core 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
import types
|
import types
|
||||||
from . import AttribDesc
|
from . import AttribDesc
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from . import Entity, BasicEntities
|
from . import Entity, BasicEntities
|
||||||
from pandac.PandaModules import NodePath
|
from panda3d.core import NodePath
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
|
|
||||||
class LocatorEntity(Entity.Entity, NodePath):
|
class LocatorEntity(Entity.Entity, NodePath):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from .Entity import Entity
|
from .Entity import Entity
|
||||||
from pandac.PandaModules import Vec3
|
from panda3d.core import Vec3
|
||||||
|
|
||||||
class PropSpinner(Entity):
|
class PropSpinner(Entity):
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.fsm import StateData
|
from direct.fsm import StateData
|
||||||
from otp.otpgui import OTPDialog
|
from otp.otpgui import OTPDialog
|
||||||
from direct.fsm import ClassicFSM
|
from direct.fsm import ClassicFSM
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from otp.otpbase import OTPGlobals
|
from otp.otpbase import OTPGlobals
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from otp.otpgui import OTPDialog
|
from otp.otpgui import OTPDialog
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
|
|
||||||
class HTTPUtilException(Exception):
|
class HTTPUtilException(Exception):
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ from otp.otpbase import OTPGlobals
|
||||||
from otp.otpbase import OTPLauncherGlobals
|
from otp.otpbase import OTPLauncherGlobals
|
||||||
from otp.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
import os
|
import os
|
||||||
|
|
||||||
class LeaveToPayDialog:
|
class LeaveToPayDialog:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.distributed.MsgTypes import *
|
from direct.distributed.MsgTypes import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import LoginBase
|
from . import LoginBase
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.distributed.MsgTypes import *
|
from direct.distributed.MsgTypes import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import LoginBase
|
from . import LoginBase
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.distributed.MsgTypes import *
|
from direct.distributed.MsgTypes import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import LoginBase
|
from . import LoginBase
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.distributed.MsgTypes import *
|
from direct.distributed.MsgTypes import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import LoginTTAccount
|
from . import LoginTTAccount
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import LoginTTAccount
|
from . import LoginTTAccount
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from otp.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from otp.otpbase.OTPGlobals import *
|
from otp.otpbase.OTPGlobals import *
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from .MultiPageTextFrame import *
|
from .MultiPageTextFrame import *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from otp.otpbase.OTPGlobals import *
|
from otp.otpbase.OTPGlobals import *
|
||||||
from direct.gui.DirectGui import *
|
from direct.gui.DirectGui import *
|
||||||
from .MultiPageTextFrame import *
|
from .MultiPageTextFrame import *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.showbase import DirectObject
|
from direct.showbase import DirectObject
|
||||||
|
|
||||||
class Impulse(DirectObject.DirectObject):
|
class Impulse(DirectObject.DirectObject):
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import CMover
|
from panda3d.otp import CMover
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from otp.movement.PyVec3 import PyVec3
|
from otp.movement.PyVec3 import PyVec3
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
import types
|
import types
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import string
|
import string
|
||||||
from otp.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from pandac.PandaModules import NSError
|
from panda3d.core import NSError
|
||||||
from pandac.PandaModules import TextEncoder, TextNode
|
from panda3d.core import TextEncoder, TextNode
|
||||||
notify = DirectNotifyGlobal.directNotify.newCategory('NameCheck')
|
notify = DirectNotifyGlobal.directNotify.newCategory('NameCheck')
|
||||||
|
|
||||||
def filterString(str, filter):
|
def filterString(str, filter):
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -84,8 +84,8 @@ WhisperToFormatName = 'To %s'
|
||||||
WhisperFromFormatName = '%s whispers'
|
WhisperFromFormatName = '%s whispers'
|
||||||
ThoughtOtherFormatName = '%s thinks'
|
ThoughtOtherFormatName = '%s thinks'
|
||||||
ThoughtSelfFormatName = 'You think'
|
ThoughtSelfFormatName = 'You think'
|
||||||
from pandac.PandaModules import TextProperties
|
from panda3d.core import TextProperties
|
||||||
from pandac.PandaModules import TextPropertiesManager
|
from panda3d.core import TextPropertiesManager
|
||||||
shadow = TextProperties()
|
shadow = TextProperties()
|
||||||
shadow.setShadow(-0.025, -0.025)
|
shadow.setShadow(-0.025, -0.025)
|
||||||
shadow.setShadowColor(0, 0, 0, 1)
|
shadow.setShadowColor(0, 0, 0, 1)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import Vec4
|
from panda3d.core import Vec4
|
||||||
from direct.gui.DirectGui import DirectFrame, DGG
|
from direct.gui.DirectGui import DirectFrame, DGG
|
||||||
from direct.task import Task
|
from direct.task import Task
|
||||||
from direct.showbase.PythonUtil import bound
|
from direct.showbase.PythonUtil import bound
|
||||||
|
|
|
@ -59,8 +59,8 @@ def recordCreationStack(cls):
|
||||||
# __dev__ is not defined at import time, call this after it's defined
|
# __dev__ is not defined at import time, call this after it's defined
|
||||||
def recordFunctorCreationStacks():
|
def recordFunctorCreationStacks():
|
||||||
global Functor
|
global Functor
|
||||||
from pandac.PandaModules import getConfigShowbase
|
from direct.showbase import DConfig
|
||||||
config = getConfigShowbase()
|
config = DConfig
|
||||||
# off by default, very slow
|
# off by default, very slow
|
||||||
if __dev__ and config.GetBool('record-functor-creation-stacks', 0):
|
if __dev__ and config.GetBool('record-functor-creation-stacks', 0):
|
||||||
if not hasattr(Functor, '_functorCreationStacksRecorded'):
|
if not hasattr(Functor, '_functorCreationStacksRecorded'):
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.showbase import DirectObject
|
from direct.showbase import DirectObject
|
||||||
from otp.otpbase import OTPLocalizer
|
from otp.otpbase import OTPLocalizer
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from direct.distributed.DistributedObject import DistributedObject
|
from direct.distributed.DistributedObject import DistributedObject
|
||||||
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from otp.otpbase import OTPGlobals
|
from otp.otpbase import OTPGlobals
|
||||||
|
|
||||||
class DistributedChatManager(DistributedObjectGlobal):
|
class DistributedChatManager(DistributedObjectGlobal):
|
||||||
|
|
|
@ -3,7 +3,7 @@ from direct.distributed.ClockDelta import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from . import HolidayDecorator
|
from . import HolidayDecorator
|
||||||
from toontown.toonbase import ToontownGlobals
|
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 panda3d.toontown import loadDNAFile
|
||||||
from toontown.hood import GSHood
|
from toontown.hood import GSHood
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from .ToontownAIMsgTypes import *
|
from .ToontownAIMsgTypes import *
|
||||||
from direct.directnotify.DirectNotifyGlobal import *
|
from direct.directnotify.DirectNotifyGlobal import *
|
||||||
from toontown.toon import DistributedToonAI
|
from toontown.toon import DistributedToonAI
|
||||||
|
|
|
@ -6,7 +6,7 @@ from toontown.toonbase import ToontownGlobals
|
||||||
from toontown.safezone import Playground
|
from toontown.safezone import Playground
|
||||||
from toontown.town import Street
|
from toontown.town import Street
|
||||||
from toontown.estate import Estate
|
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
|
from panda3d.toontown import loadDNAFile
|
||||||
|
|
||||||
class HalloweenHolidayDecorator(HolidayDecorator.HolidayDecorator):
|
class HalloweenHolidayDecorator(HolidayDecorator.HolidayDecorator):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from toontown.toonbase import ToontownGlobals
|
from toontown.toonbase import ToontownGlobals
|
||||||
from direct.interval.IntervalGlobal import Parallel, Sequence, Func, Wait
|
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
|
from panda3d.toontown import loadDNAFile
|
||||||
|
|
||||||
class HolidayDecorator:
|
class HolidayDecorator:
|
||||||
|
|
|
@ -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 toontown.toonbase import ToontownGlobals
|
from toontown.toonbase import ToontownGlobals
|
||||||
|
|
|
@ -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 toontown.toonbase import ToontownGlobals
|
from toontown.toonbase import ToontownGlobals
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from toontown.toon import Toon
|
from toontown.toon import Toon
|
||||||
from toontown.hood import Place
|
from toontown.hood import Place
|
||||||
from toontown.hood import ZoneUtil
|
from toontown.hood import ZoneUtil
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from .BattleBase import *
|
from .BattleBase import *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -4,7 +4,7 @@ from .BattleBase import *
|
||||||
from . import BattleCalculatorAI
|
from . import BattleCalculatorAI
|
||||||
from toontown.toonbase.ToontownBattleGlobals import *
|
from toontown.toonbase.ToontownBattleGlobals import *
|
||||||
from .SuitBattleGlobals import *
|
from .SuitBattleGlobals import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from . import BattleExperienceAI
|
from . import BattleExperienceAI
|
||||||
from direct.distributed import DistributedObjectAI
|
from direct.distributed import DistributedObjectAI
|
||||||
from direct.fsm import ClassicFSM, State
|
from direct.fsm import ClassicFSM, State
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from .BattleBase import *
|
from .BattleBase import *
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import random
|
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.interval.IntervalGlobal import Sequence, Wait, Func, Parallel, Track, LerpPosInterval, ProjectileInterval, SoundInterval, ActorInterval
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.battle import DistributedBattleFinal
|
from toontown.battle import DistributedBattleFinal
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from .BattleBase import *
|
from .BattleBase import *
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import random
|
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.interval.IntervalGlobal import Sequence, Wait, Func, Parallel, Track
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.battle import DistributedBattleFinal
|
from toontown.battle import DistributedBattleFinal
|
||||||
|
|
|
@ -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 *
|
||||||
from . import MovieUtil
|
from . import MovieUtil
|
||||||
from . import MovieCamera
|
from . import MovieCamera
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -2,7 +2,7 @@ from direct.interval.IntervalGlobal import *
|
||||||
from . import MovieCamera
|
from . import MovieCamera
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.toonbase import TTLocalizer
|
from toontown.toonbase import TTLocalizer
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
notify = DirectNotifyGlobal.directNotify.newCategory('MovieSOS')
|
notify = DirectNotifyGlobal.directNotify.newCategory('MovieSOS')
|
||||||
|
|
||||||
def doSOSs(calls):
|
def doSOSs(calls):
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
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 toontown.toonbase import ToontownBattleGlobals
|
from toontown.toonbase import ToontownBattleGlobals
|
||||||
from . import BattleBase
|
from . import BattleBase
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import DecalEffect, DepthWriteAttrib
|
from panda3d.core import DecalEffect, DepthWriteAttrib
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from toontown.building import DistributedBuilding
|
from toontown.building import DistributedBuilding
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import NodePath, VBase3
|
from panda3d.core import NodePath, VBase3
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from direct.interval.IntervalGlobal import Parallel, Sequence, Wait, HprInterval, LerpHprInterval, SoundInterval
|
from direct.interval.IntervalGlobal import Parallel, Sequence, Wait, HprInterval, LerpHprInterval, SoundInterval
|
||||||
from toontown.building import DistributedDoor
|
from toontown.building import DistributedDoor
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 TTLocalizer
|
from toontown.toonbase import TTLocalizer
|
||||||
from toontown.toonbase import ToontownGlobals
|
from toontown.toonbase import ToontownGlobals
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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,7 @@ 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 panda3d.core 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.distributed.ClockDelta import *
|
from direct.distributed.ClockDelta import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from toontown.toonbase.ToonBaseGlobal import *
|
from toontown.toonbase.ToonBaseGlobal import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.toontown import *
|
from panda3d.toontown import *
|
||||||
from toontown.toonbase.ToontownGlobals import *
|
from toontown.toonbase.ToontownGlobals import *
|
||||||
import random
|
import random
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from toontown.toonbase.ToonBaseGlobal import *
|
from toontown.toonbase.ToonBaseGlobal import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.toontown import *
|
from panda3d.toontown import *
|
||||||
from toontown.toonbase.ToontownGlobals import *
|
from toontown.toonbase.ToontownGlobals import *
|
||||||
import random
|
import random
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.otp import *
|
from panda3d.otp import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from direct.distributed.ClockDelta import *
|
from direct.distributed.ClockDelta import *
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from toontown.toonbase.ToonBaseGlobal import *
|
from toontown.toonbase.ToonBaseGlobal import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.toontown import *
|
from panda3d.toontown import *
|
||||||
from toontown.toonbase.ToontownGlobals import *
|
from toontown.toonbase.ToontownGlobals import *
|
||||||
import random
|
import random
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from toontown.toonbase.ToonBaseGlobal import *
|
from toontown.toonbase.ToonBaseGlobal import *
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from panda3d.toontown import *
|
from panda3d.toontown import *
|
||||||
from direct.interval.IntervalGlobal import *
|
from direct.interval.IntervalGlobal import *
|
||||||
from direct.distributed.ClockDelta import *
|
from direct.distributed.ClockDelta import *
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
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 panda3d.core 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 *
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import DistributedDoorAI, DistributedGagshopInteriorAI, FADoorCodes, DoorTypes
|
from . import DistributedDoorAI, DistributedGagshopInteriorAI, FADoorCodes, DoorTypes
|
||||||
from toontown.toon import NPCToons
|
from toontown.toon import NPCToons
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from . import DistributedDoorAI, DistributedHQInteriorAI, FADoorCodes, DoorTypes
|
from . import DistributedDoorAI, DistributedHQInteriorAI, FADoorCodes, DoorTypes
|
||||||
from toontown.toon import NPCToons
|
from toontown.toon import NPCToons
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
from pandac.PandaModules import *
|
from panda3d.core import *
|
||||||
from toontown.building import FADoorCodes, DoorTypes
|
from toontown.building import FADoorCodes, 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
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue