C# Class NScumm.Sword1.Control

ファイルを表示 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AskForCd() public method

public AskForCd ( ) : void
return void

Control() public method

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
return System

DoRestore() public method

public DoRestore ( ) : void
return void

ReadSavegameDescriptions() public method

public ReadSavegameDescriptions ( ) : void
return void

RestoreGameFromFile() public method

public RestoreGameFromFile ( byte slot ) : bool
slot byte
return bool

RunPanel() public method

public RunPanel ( ) : byte
return byte

SavegamesExist() public method

public SavegamesExist ( ) : bool
return bool