NScumm.Sword1.ResMan.OpenFetchRes C# (CSharp) 메소드

OpenFetchRes() 공개 메소드

public OpenFetchRes ( uint id ) : byte[]
id uint
리턴 byte[]
        public byte[] OpenFetchRes(uint id)
        {
            ResOpen(id);
            return FetchRes(id);
        }

Usage Example

예제 #1
0
파일: Text.cs 프로젝트: scemino/nscumm
        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
        }
All Usage Examples Of NScumm.Sword1.ResMan::OpenFetchRes