yay repo cleanup

This commit is contained in:
John Cote 2015-07-05 19:59:25 -04:00
parent 3f55a00f0e
commit ad09d429fb
368 changed files with 1156 additions and 1231 deletions

View file

@ -32,7 +32,3 @@ print 'Encrypted string:', encoded
# decode the encoded string
decoded = DecodeAES(cipher, encoded)
print 'Decrypted string:', decoded

View file

@ -73,4 +73,3 @@ def words():
return "You are chopped liver"
else:
return wordString

View file

@ -3,4 +3,3 @@ from direct.distributed.DistributedObjectAI import DistributedObjectAI
class AccountAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("AccountAI")

View file

@ -3,4 +3,3 @@ from direct.distributed.DistributedObjectUD import DistributedObjectUD
class AccountUD(DistributedObjectUD):
notify = DirectNotifyGlobal.directNotify.newCategory("AccountUD")

View file

@ -9,4 +9,3 @@ class DistributedDistrictUD(DistributedObjectUD):
def setAvailable(self, todo0):
pass

View file

@ -21,4 +21,3 @@ class DistributedInteractiveEntityAI(DistributedEntityAI):
def setState(self, todo0, todo1):
pass

View file

@ -4902,5 +4902,3 @@ def bossCogFrontAttack(self):
force0.setActive(1)
f0.addForce(force0)
self.addForceGroup(f0)

View file

@ -7,4 +7,3 @@ class DistributedCJElevatorAI(DistributedBossElevatorAI.DistributedBossElevatorA
DistributedBossElevatorAI.DistributedBossElevatorAI.__init__(self, air, bldg, zone, antiShuffle=antiShuffle, minLaff=minLaff)
self.type = ELEVATOR_CJ
self.countdownTime = ElevatorData[self.type]['countdown']

View file

@ -69,4 +69,3 @@ class CatalogHouseItem(CatalogItem.CatalogItem):
def getAllHouses():
return [CatalogHouseItem(i) for i in xrange(6)]

View file

@ -25,4 +25,3 @@ class CatalogManagerAI(DistributedObjectAI):
av.b_setCatalog(monthlyCatalog, weeklyCatalog, backCatalog)
av.b_setCatalogSchedule(newWeek, int((time.time() + 604800)/60))
av.b_setCatalogNotify(ToontownGlobals.NewItems, av.mailboxNotify)

View file

@ -32,4 +32,3 @@ class CatalogSurfaceItem(CatalogAtticItem.CatalogAtticItem):
def getDeliveryTime(self):
return 1

View file

@ -6,4 +6,3 @@ class DistributedSellbotHQDoorAI(DistributedCogHQDoorAI):
def informPlayer(self, todo0):
pass

View file

@ -79,5 +79,3 @@ class LaserGameAvoid(LaserGameBase.LaserGameBase):
self.funcSendGrid()
return Task.done

View file

@ -65,5 +65,3 @@ class LaserGameBase:
def checkForWin(self):
return 0

View file

@ -167,5 +167,3 @@ class LaserGameMineSweeper(LaserGameBase.LaserGameBase):
return sum

View file

@ -73,5 +73,3 @@ class LaserGameRoll(LaserGameBase.LaserGameBase):
return 0
else:
return 1

View file

@ -41,5 +41,3 @@ class LawOfficeLayout:
def getFloorIds(self):
return self.floorIds

View file

@ -15,4 +15,3 @@ class DistributedTimerAI(DistributedObjectAI):
def getStartTime(self):
return self.startTime

View file

@ -152,4 +152,3 @@ class DistributedPartyAI(DistributedObjectAI):
print 'REMOVE FROM PARTTY!'
self.air.globalPartyMgr.d_toonLeftParty(self.info.get('partyId', 0), avId)
self.avIdsAtParty.remove(avId)

View file

@ -78,4 +78,3 @@ class DistributedPartyActivityAI(DistributedObjectAI):
def showJellybeanReward(self, todo0, todo1, todo2):
pass

View file

@ -67,4 +67,3 @@ class DistributedPartyCannonActivityAI(DistributedPartyActivityAI):
def updateToonTrajectoryStartVel(self, todo0, todo1, todo2, todo3):
pass

View file

@ -18,4 +18,3 @@ class DistributedPartyCogActivityAI(DistributedPartyTeamActivityAI):
def setHighScore(self, todo0, todo1):
pass

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyDanceActivityBaseAI import DistributedPart
class DistributedPartyDance20ActivityAI(DistributedPartyDanceActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyDance20ActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyDanceActivityBaseAI import DistributedPart
class DistributedPartyDanceActivityAI(DistributedPartyDanceActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyDanceActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyJukeboxActivityBaseAI import DistributedPa
class DistributedPartyJukebox40ActivityAI(DistributedPartyJukeboxActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyJukebox40ActivityAI")

View file

@ -8,4 +8,3 @@ class DistributedPartyJukeboxActivityAI(DistributedPartyJukeboxActivityBaseAI):
def __init__(self, air, parent, activityTuple):
DistributedPartyJukeboxActivityBaseAI.__init__(self, air, parent, activityTuple)
self.music = PartyGlobals.PhaseToMusicData

View file

@ -33,4 +33,3 @@ class DistributedPartyTeamActivityAI(DistributedPartyActivityAI):
def switchTeamRequestDenied(self, todo0):
pass

View file

@ -140,6 +140,3 @@ class DistributedPartyTrampolineActivityAI(DistributedPartyActivityAI, FSM):
self.air.writeServerEvent('suspicious',avId,'Toon tried to verify rules for someone else!')
return
self.demand('Active')

View file

@ -18,4 +18,3 @@ class DistributedPartyTugOfWarActivityAI(DistributedPartyTeamActivityAI):
def updateToonPositions(self, todo0):
pass

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyDanceActivityBaseAI import DistributedPart
class DistributedPartyValentineDance20ActivityAI(DistributedPartyDanceActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyValentineDance20ActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyDanceActivityBaseAI import DistributedPart
class DistributedPartyValentineDanceActivityAI(DistributedPartyDanceActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyValentineDanceActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyJukeboxActivityBaseAI import DistributedPa
class DistributedPartyValentineJukebox40ActivityAI(DistributedPartyJukeboxActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyValentineJukebox40ActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyJukeboxActivityBaseAI import DistributedPa
class DistributedPartyValentineJukeboxActivityAI(DistributedPartyJukeboxActivityBaseAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyValentineJukeboxActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyTrampolineActivityAI import DistributedPar
class DistributedPartyValentineTrampolineActivityAI(DistributedPartyTrampolineActivityAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyValentineTrampolineActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyTrampolineActivityAI import DistributedPar
class DistributedPartyVictoryTrampolineActivityAI(DistributedPartyTrampolineActivityAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyVictoryTrampolineActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyCatchActivityAI import DistributedPartyCat
class DistributedPartyWinterCatchActivityAI(DistributedPartyCatchActivityAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyWinterCatchActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyCogActivityAI import DistributedPartyCogAc
class DistributedPartyWinterCogActivityAI(DistributedPartyCogActivityAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyWinterCogActivityAI")

View file

@ -3,4 +3,3 @@ from toontown.parties.DistributedPartyTrampolineActivityAI import DistributedPar
class DistributedPartyWinterTrampolineActivityAI(DistributedPartyTrampolineActivityAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedPartyWinterTrampolineActivityAI")

View file

@ -46,4 +46,3 @@ class DistributedGagAI(DistributedObjectAI):
def hitSomebody(self, avId, timestamp):
self.requestDelete()

View file

@ -21,4 +21,3 @@ class DistributedProjectileAI(DistributedObjectAI):
def hitSomebody(self, todo0, todo1):
pass

View file

@ -169,4 +169,3 @@ class DistributedRacePadAI(DistributedKartPadAI, FSM):
def b_setTrackInfo(self, trackInfo):
self.setTrackInfo(trackInfo)
self.d_setTrackInfo(trackInfo)

View file

@ -24,4 +24,3 @@ class DistributedViewPadAI(DistributedKartPadAI):
def updateTimer(self):
self.b_setLastEntered(globalClockDelta.getRealNetworkTime())

View file

@ -670,6 +670,3 @@ class DistributedCheckersAI(DistributedNodeAI):
return False
else:
return False

View file

@ -690,5 +690,3 @@ class DistributedChineseCheckersAI(DistributedNodeAI):
self.board.squareList[120].setState(0)
self.board.squareList[104].setState(1)
self.sendGameState([])

View file

@ -634,5 +634,3 @@ class DistributedFindFourAI(DistributedNodeAI):
return False
return False

View file

@ -341,4 +341,3 @@ class DistributedPicnicTableAI(DistributedNodeAI):
def getTableIndex(self):
return self._tableIndex

View file

@ -20,5 +20,3 @@ class MMPlayground(Playground.Playground):
def exitOnPiano(self):
base.localAvatar.b_setParent(ToontownGlobals.SPRender)

View file

@ -22,4 +22,3 @@ class TTSafeZoneLoader(SafeZoneLoader.SafeZoneLoader):
def unload(self):
SafeZoneLoader.SafeZoneLoader.unload(self)
del self.birdSound

View file

@ -6,4 +6,3 @@ class DeleteManagerAI(DistributedObjectAI):
def setInventory(self, todo0):
pass

View file

@ -6,4 +6,3 @@ class DistributedGridGoonAI(DistributedGoonAI):
def setPathPts(self, todo0, todo1, todo2, todo3, todo4, todo5):
pass

View file

@ -51,4 +51,3 @@ suitProperties = {'f': (4.0 / cSize, SuitDNA.corpPolyColor, ['flunky', 'glasses'
'm': (5.75 / aSize, SuitDNA.salesPolyColor, ['twoface'], 'mingler.jpg', 7.61),
'mh': (7.0 / aSize, SuitDNA.salesPolyColor, ['yesman'], '', 8.95),
}

View file

@ -74,4 +74,3 @@ class DistributedSmartNPCAI(DistributedNPCToonBaseAI):
def response(self, response, sendTo):
self.sendUpdate('respond', [self.npcId, response, sendTo])
self.restartTask()

View file

@ -9,4 +9,3 @@ class DDStreet(Street.Street):
def exit(self):
Street.Street.exit(self)
self.loader.hood.setNoFog()

View file

@ -20,4 +20,3 @@ class DDTownLoader(TownLoader.TownLoader):
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(2)

View file

@ -20,4 +20,3 @@ class DGTownLoader(TownLoader.TownLoader):
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(3)

View file

@ -20,4 +20,3 @@ class DLTownLoader(TownLoader.TownLoader):
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(3)

View file

@ -20,4 +20,3 @@ class MMTownLoader(TownLoader.TownLoader):
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(2)

View file

@ -20,4 +20,3 @@ class TTTownLoader(TownLoader.TownLoader):
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(1)

View file

@ -128,4 +128,3 @@ class DistributedPartyManagerUD(DistributedObjectUD):
def mwResponseUdToAllAi(self, todo0, todo1, todo2, todo3):
pass