text: using CadEditor;
  using System;
  //css_include shared_settings/BlockUtils.cs;
  
  public class Data 
  { 
    public OffsetRec getScreensOffset()  { return new OffsetRec(0xe4ee, 1 , 16*252, 16, 252);   }
    
    public bool isBigBlockEditorEnabled() { return false; }
    public bool isBlockEditorEnabled()    { return true; }
    public bool isEnemyEditorEnabled()    { return false; }
    
    public GetVideoPageAddrFunc getVideoPageAddrFunc() { return getVideoAddress; }
    public GetVideoChunkFunc    getVideoChunkFunc()    { return getVideoChunk;   }
    public SetVideoChunkFunc    setVideoChunkFunc()    { return null; }
    
    public bool isBuildScreenFromSmallBlocks() { return true; }
    
    public OffsetRec getBlocksOffset()    { return new OffsetRec(0xe010, 1  , 0x1000);  }
    public int getBlocksCount()           { return 256; }
    public int getBigBlocksCount()        { return 256; }
    public int getPalBytesAddr()          { return 0xe274; }
    
    public GetBlocksFunc        getBlocksFunc() { return BlockUtils.getBlocksLinear2x2Masked;}
    public SetBlocksFunc        setBlocksFunc() { return BlockUtils.setBlocksLinear2x2Masked;}
    public GetPalFunc           getPalFunc()           { return getPallete;}
    public SetPalFunc           setPalFunc()           { return null;}
    //----------------------------------------------------------------------------
    
    public byte[] getPallete(int palId)
    {
        return Utils.readBinFile("pal7(b).bin");
    }
    
    public int getVideoAddress(int id)
    {
      return -1;
    }
    
    public byte[] getVideoChunk(int videoPageId)
    {
       return Utils.readVideoBankFromFile("chr7(b).bin", videoPageId);
    }
  }