home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2000 May / maximum-cd-2000-05.iso / Invictus / data1.cab / Game_Files / Assets / Scripts / modules / tigerSound.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2000-02-25  |  955 b   |  24 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 1.5)
  3.  
  4. import string
  5. import sys
  6. import environ
  7. soundNameDict = { }
  8. soundNamesFile = open('./dagame/common/soundnums.h', 'r')
  9. soundNamesFile.readlines()
  10. soundNamesFile.readlines()
  11. for line in soundNamesFile.readlines():
  12.     pass
  13.  
  14. soundNamesFile.close()
  15.  
  16. def getSoundID(name):
  17.     return soundNameDict[name]
  18.  
  19.  
  20. def playSound(name):
  21.     id = getSoundID(name)
  22.     environ.sPlaySound(id)
  23.  
  24.