Exemple #1
0
def GetResources():
    if len(OBB.r_Sounds) == 0:
        sep = bytes(os.sep.encode("ascii"))
        sndFiles = os.listdir(SND_DIR)
        OBB.r_Sounds = [f for f in sndFiles if Util.isSoundFile(f)]
    return (OBB.r_IqmFile, OBB.r_ColPrim, OBB.r_Sounds)
Exemple #2
0
def GetResources():
	if (len(AABB.r_Sounds) == 0):
		sep = bytes(os.sep.encode('ascii'))
		sndFiles = os.listdir(SND_DIR)
		AABB.r_Sounds = [f for f in sndFiles if Util.isSoundFile(f)]
	return (AABB.r_IqmFile, AABB.r_ColPrim, AABB.r_Sounds)