C# 클래스 NScumm.Sword1.Control

파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
AskForCd ( ) : void
Control ( ISaveFileManager saveFileMan, ResMan resMan, ObjectMan objMan, ISystem system, Mouse mouse, Sound sound, Music music ) : System
DoRestore ( ) : void
ReadSavegameDescriptions ( ) : void
RestoreGameFromFile ( byte slot ) : bool
RunPanel ( ) : byte
SavegamesExist ( ) : bool

비공개 메소드들

메소드 설명
ChangeVolume ( byte id, byte action ) : void
CreateButtons ( ButtonInfo buttons, byte num ) : void
CreateThumbnail ( Surface input ) : Surface
CreateThumbnailFromScreen ( ) : Surface
Delay ( int msecs ) : void
DeselectSaveslots ( ) : void
DestroyButtons ( ) : void
GetClicks ( ButtonIds mode, byte &retVal ) : ButtonIds
GetConfirm ( string title ) : bool
GetTextWidth ( string str ) : ushort
GrabScreen565 ( ) : Surface
HandleButtonClick ( ButtonIds id, ButtonIds mode, byte &retVal ) : ButtonIds
HandleSaveKey ( ScummInputState kbd ) : void
HandleVolumeClicks ( ) : void
IsPanelShown ( ) : bool
LoadHeader ( BinaryReader reader ) : ThumbnailHeader
RenderText ( string str, int x, int y, TextModes mode ) : void
RenderVolumeBar ( byte id, byte volL, byte volR ) : void
RestoreFromFile ( ) : bool
SaveGameToFile ( byte slot ) : void
SaveNameScroll ( ButtonIds scroll, bool saving ) : void
SaveNameSelect ( ButtonIds id, bool saving ) : void
SaveThumbnail ( BinaryWriter output ) : void
SaveThumbnail ( BinaryWriter output, Surface thumb ) : void
SaveToFile ( ) : bool
ScaleThumbnail ( Surface input, Surface output ) : void
SetupMainPanel ( ) : void
SetupSaveRestorePanel ( bool saving ) : void
SetupVolumePanel ( ) : void
ShowSavegameNames ( ) : void
SkipThumbnail ( BinaryReader reader ) : bool
StrToBytes ( string text, int length ) : byte[]
keyAccepted ( char ascii ) : bool

메소드 상세

AskForCd() 공개 메소드

public AskForCd ( ) : void
리턴 void

Control() 공개 메소드

public Control ( ISaveFileManager saveFileMan, ResMan resMan, ObjectMan objMan, ISystem system, Mouse mouse, Sound sound, Music music ) : System
saveFileMan ISaveFileManager
resMan ResMan
objMan ObjectMan
system ISystem
mouse Mouse
sound Sound
music Music
리턴 System

DoRestore() 공개 메소드

public DoRestore ( ) : void
리턴 void

ReadSavegameDescriptions() 공개 메소드

public ReadSavegameDescriptions ( ) : void
리턴 void

RestoreGameFromFile() 공개 메소드

public RestoreGameFromFile ( byte slot ) : bool
slot byte
리턴 bool

RunPanel() 공개 메소드

public RunPanel ( ) : byte
리턴 byte

SavegamesExist() 공개 메소드

public SavegamesExist ( ) : bool
리턴 bool