C# Класс NScumm.Sword1.Control

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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