# Path: Ecstatica/Event.py
# class NextSceneEvent(Event):
#     '''
#     The ev_NEXT_SCENE-event is a special case.
#     It has additional data attached to it.
#     That's why we introduced a new class for that purpose
#     '''
#     def __init__(self, index, value1, value2, value3, uk_data):
#         Event.__init__(self, index, ev_NEXT_SCENE, value1, value2, value3)
#         self.uk_data = uk_data
#         
#     def __str__(self):
#         return Event.__str__(self) + ", extra data:\"" + self.uk_data + "\""


import struct
import itertools
import os
import unittest
from . import Sound
from . import Code
from . import Event
from . import MapArea
from . import SectorSection
from . import Camera
from . import Fixpoint
from .Event import NextSceneEvent
from . import FantFile    
# coding: utf-8

#Created on 08.03.2012

#Copyright (C) 2013 Fabian Hachenberg
#This file is part of EcstaticaLib. 
#EcstaticaLib is free software: you can redistribute it and/or modify 
#it under the terms of the GNU General Public License as published by 
#the Free Software Foundation, either version 3 of the License, or 
#(at your option) any later version. 
#More information about the license is provided in the LICENSE file.




def readNames(fileobj):    
    names = []
        
    char = fileobj.read(1)
    #if the first char is 0 right away, the list of strings is empty!
    while ord(char) != 0:

# Path: Ecstatica/Event.py
# class NextSceneEvent(Event):
#     '''
#     The ev_NEXT_SCENE-event is a special case.
#     It has additional data attached to it.
#     That's why we introduced a new class for that purpose
#     '''
#     def __init__(self, index, value1, value2, value3, uk_data):
#         Event.__init__(self, index, ev_NEXT_SCENE, value1, value2, value3)
#         self.uk_data = uk_data
#         
#     def __str__(self):
#         return Event.__str__(self) + ", extra data:\"" + self.uk_data + "\""


# Path: Ecstatica/FANTLoad.py
import struct
import itertools
import os
import unittest
from . import Sound
from . import Code
from . import Event
from . import MapArea
from . import SectorSection
from . import Camera
from . import Fixpoint
from .Event import NextSceneEvent
from . import FantFile    

# coding: utf-8

#Created on 08.03.2012

#Copyright (C) 2013 Fabian Hachenberg
#This file is part of EcstaticaLib. 
#EcstaticaLib is free software: you can redistribute it and/or modify 
#it under the terms of the GNU General Public License as published by 
#the Free Software Foundation, either version 3 of the License, or 
#(at your option) any later version. 
#More information about the license is provided in the LICENSE file.




def readNames(fileobj):    
    names = []
        
    char = fileobj.read(1)
    #if the first char is 0 right away, the list of strings is empty!
    while ord(char) != 0:

        count = 0