Example #1
0
 public ObjectData()
 {
     ScriptOffsets = new Dictionary <int, int>();
     Script        = new ScriptData();
     Images        = new List <ImageData>();
     Hotspots      = new List <Point>();
 }
Example #2
0
 public ObjectData()
 {
     ScriptOffsets = new Dictionary<int, int>();
     Script = new ScriptData();
     Images = new List<ImageData>();
     Hotspots = new List<Point>();
 }
Example #3
0
 public ObjectData(ushort id)
 {
     Number        = id;
     ScriptOffsets = new Dictionary <int, int>();
     Script        = new ScriptData();
     Images        = new List <ImageData>();
     Hotspots      = new List <Point>();
 }
Example #4
0
 public ObjectData(ushort id)
 {
     Number = id;
     ScriptOffsets = new Dictionary<int, int>();
     Script = new ScriptData();
     Images = new List<ImageData>();
     Hotspots = new List<Point>();
 }
Example #5
0
 public Room()
 {
     Boxes            = new List <Box>();
     Objects          = new List <ObjectData>();
     BoxMatrix        = new List <byte>();
     EntryScript      = new ScriptData();
     ExitScript       = new ScriptData();
     LocalScripts     = new ScriptData[1024];
     TransparentColor = 255;
     Scales           = new ScaleSlot[0];
     ColorCycle       = new ColorCycle[16];
     for (int i = 0; i < ColorCycle.Length; i++)
     {
         ColorCycle[i] = new ColorCycle();
     }
     Image    = new ImageData();
     Palettes = new List <Palette>();
     Palettes.Add(new Palette());
 }
Example #6
0
 public Room()
 {
     Boxes = new List<Box>();
     Objects = new List<ObjectData>();
     BoxMatrix = new List<byte>();
     EntryScript = new ScriptData();
     ExitScript = new ScriptData();
     LocalScripts = new ScriptData[1024];
     TransparentColor = 255;
     Scales = new ScaleSlot[0];
     ColorCycle = new ColorCycle[16];
     for (int i = 0; i < ColorCycle.Length; i++)
     {
         ColorCycle[i] = new ColorCycle();
     }
     Image = new ImageData();
     Palettes = new List<Palette>();
     Palettes.Add(new Palette());
 }