mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
*** empty log message ***
This commit is contained in:
parent
8103854b87
commit
5496f3fe93
@ -55,6 +55,10 @@ class State(DirectObject):
|
||||
"""setTransitions(self, string[])"""
|
||||
self.__transitions = stateTransitions
|
||||
|
||||
def addTransition(self, transition):
|
||||
"""addTransitions(self, string)"""
|
||||
self.__transitions.append(transition)
|
||||
|
||||
def getInspectorPos(self):
|
||||
"""getInspectorPos(self)"""
|
||||
return(self.__inspectorPos)
|
||||
|
@ -126,9 +126,9 @@ except NameError:
|
||||
loadDNAFile(DNASTORE, 'phase_4/dna/storage.dna', CSDefault, 1)
|
||||
# Load all the neighborhood specific storage files
|
||||
loadDNAFile(DNASTORE, 'phase_4/dna/storage_TT.dna', CSDefault, 1)
|
||||
#loadDNAFile(DNASTORE, 'phase_6/dna/storage_DD.dna', CSDefault, 1)
|
||||
#loadDNAFile(DNASTORE, 'phase_6/dna/storage_MM.dna', CSDefault, 1)
|
||||
#loadDNAFile(DNASTORE, 'phase_6/dna/storage_BR.dna', CSDefault, 1)
|
||||
loadDNAFile(DNASTORE, 'phase_6/dna/storage_DD.dna', CSDefault, 1)
|
||||
loadDNAFile(DNASTORE, 'phase_6/dna/storage_MM.dna', CSDefault, 1)
|
||||
loadDNAFile(DNASTORE, 'phase_6/dna/storage_BR.dna', CSDefault, 1)
|
||||
__builtin__.dnaLoaded = 1
|
||||
|
||||
# Precompute class types for type comparisons
|
||||
|
@ -8,6 +8,7 @@ class Loader:
|
||||
"""Loader class: contains method to load models, sounds and code"""
|
||||
|
||||
notify = directNotify.newCategory("Loader")
|
||||
notify.setVerbose(1)
|
||||
|
||||
# special methods
|
||||
def __init__(self, base):
|
||||
@ -91,6 +92,7 @@ class Loader:
|
||||
def unloadTexture(self, texture):
|
||||
"""unloadTexture(self, texture)
|
||||
"""
|
||||
Loader.notify.info("Unloading texture: %s" % (texture) )
|
||||
TexturePool.releaseTexture(texture)
|
||||
|
||||
# sound loading funcs
|
||||
@ -105,6 +107,7 @@ class Loader:
|
||||
def unloadSound(self, sound):
|
||||
"""unloadSound(self, sound)
|
||||
"""
|
||||
Loader.notify.info("Unloading sound: %s" % (sound) )
|
||||
AudioPool.releaseSound(sound)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user