C# Class AGS.Editor.Tasks

Mostra file Open project: adventuregamestudio/ags Class Usage Examples

Public Methods

Method Description
CreateNewGameFromTemplate ( string templateFileName, string newGameDirectory ) : void
CreateTemplateFromCurrentGame ( string templateFileName ) : void
LoadGameFromDisk ( string gameToLoad, bool interactive ) : bool
RegenerateScriptHeader ( Game game, Room currentRoom ) : Script
RunGameSetup ( ) : void
TestGame ( bool withDebugger ) : void

Private Methods

Method Description
AddFontIfNotAlreadyThere ( int fontNumber ) : void
AppendAudioClipTypesToHeader ( StringBuilder sb, IList clipTypes ) : void
AppendAudioClipsToHeader ( StringBuilder sb, AudioClipFolder clips ) : void
AppendCharactersToHeader ( StringBuilder sb, CharacterFolder characters, Game game ) : void
AppendCursorsToHeader ( StringBuilder sb, IList cursors ) : void
AppendDialogsToHeader ( StringBuilder sb, IList dialogs ) : void
AppendFontsToHeader ( StringBuilder sb, IList fonts ) : void
AppendGUIsToHeader ( StringBuilder sb, IList guis ) : void
AppendInventoryToHeader ( StringBuilder sb, IList items ) : void
AppendRoomObjectsAndHotspotsToHeader ( StringBuilder sb, Room room ) : void
AppendViewsToHeader ( StringBuilder sb, ViewFolder viewFolder ) : void
ConstructBasicFileListForTemplate ( List filesToInclude, List filesToDeleteAfterwards ) : void
RemoveAllLeadingSpacesFromLines ( string script ) : string
RunEXEFile ( string exeName, string parameter, bool raiseEventOnExit ) : void
RunGameEXE ( string parameter, bool raiseEventOnExit ) : void
SetDefaultValuesForNewFeatures ( Game game ) : void
_testGameProcess_Exited ( object sender, EventArgs e ) : void

Method Details

CreateNewGameFromTemplate() public method

public CreateNewGameFromTemplate ( string templateFileName, string newGameDirectory ) : void
templateFileName string
newGameDirectory string
return void

CreateTemplateFromCurrentGame() public method

public CreateTemplateFromCurrentGame ( string templateFileName ) : void
templateFileName string
return void

LoadGameFromDisk() public method

public LoadGameFromDisk ( string gameToLoad, bool interactive ) : bool
gameToLoad string
interactive bool
return bool

RegenerateScriptHeader() public method

public RegenerateScriptHeader ( Game game, Room currentRoom ) : Script
game AGS.Types.Game
currentRoom AGS.Types.Room
return Script

RunGameSetup() public method

public RunGameSetup ( ) : void
return void

TestGame() public method

public TestGame ( bool withDebugger ) : void
withDebugger bool
return void