public byte[] OpenFetchRes(uint id)
{
ResOpen(id);
return FetchRes(id);
}
public Text(ObjectMan objMan, ResMan resMan, bool czechVersion) { _objMan = objMan; _resMan = resMan; _textCount = 0; _fontId = (uint)(czechVersion ? SwordRes.CZECH_GAME_FONT : SwordRes.GAME_FONT); _font = _resMan.OpenFetchRes(_fontId); _joinWidth = (ushort)(CharWidth((byte)' ') - 2 * Overlap); _charHeight = _resMan.ReadUInt16(new FrameHeader(_resMan.FetchFrame(_font, 0)).height); // all chars have the same height }