Beispiel #1
0
 public PaletteData GetDefaultPalette()
 {
     if (_gameInfo.ScummVersion == 5)
     {
         return((PaletteData)Childrens.Single(p => p.BlockType == "CLUT"));
     }
     else
     {
         return(GetPALS().GetWRAP().GetAPALs()[0]);
     }
 }
Beispiel #2
0
 public ObjectImageHeader GetIMHD()
 {
     return((ObjectImageHeader)Childrens.Single(x => x.GetType() == typeof(ObjectImageHeader)));
 }
Beispiel #3
0
 public ImageData GetIM00()
 {
     return((ImageData)Childrens.Single(x => x.GetType() == typeof(ImageData)));
 }
Beispiel #4
0
 public RoomImageHeader GetRMIH()
 {
     return((RoomImageHeader)Childrens.Single(x => x.GetType() == typeof(RoomImageHeader)));
 }
Beispiel #5
0
 public RoomBlock GetROOM()
 {
     return((RoomBlock)Childrens.Single(x => x.GetType() == typeof(RoomBlock)));
 }
Beispiel #6
0
 public ValuePaddingBlock GetTRNS()
 {
     return((ValuePaddingBlock)Childrens.Single(x => x.BlockType == "TRNS"));
 }
Beispiel #7
0
 public RoomImage GetRMIM()
 {
     return((RoomImage)Childrens.Single(x => x.GetType() == typeof(RoomImage)));
 }