C# Class Battle_Script_Pro.Form1

Show file Open project: Jambo51/Battle_Script_Pro

Public Methods

Method Description
ChangeCommentString ( string s ) : void
ChangeDecompileMode ( string s ) : void
ChangeNumberDecompileMode ( string s ) : void
Form1 ( ) : System
Form1 ( int offset, string fileName ) : System
Form1 ( string fileName ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CalculateDamageSuperCommand ( ) : byte[]
CalculateNumberInNumberSystem ( int value ) : string
CloseScript ( ) : void
CompileStrings ( string filePath ) : CompiledStrings
Copy ( ) : void
CreateNewTab ( string name ) : void
CreateRTBAndNumbersList ( FixedRichTextBox &richTextBox1, LineNumbersControlForRichTextBox &lineNumbersForRichText1 ) : void
Cut ( ) : void
DebugCommands ( ) : bool
DebugDynamicPointerNames ( ) : bool
DebugNumberOfParameters ( ) : bool
DebugParameters ( ) : bool
DebugWrittenScript ( ) : bool
DecimalToThornal ( int value ) : string
DecompileByteParameter ( int offset, byte rom ) : byte
DecompileHalfWordParameter ( int offset, byte rom ) : ushort
DecompileScript ( int offset, byte rom ) : string[]
DecompileWordParameter ( int offset, byte rom ) : int
DownloadCommandDatabase ( ) : void
DownloadFile ( string fileName, string fileType ) : void
DownloadINI ( ) : void
DryRunCompileCommand ( Command c, List theScript, bool compile, bool &newCompile ) : void
DryRunForLength ( string name ) : int
Find ( ) : void
FindAndReplace ( ) : void
FindFreeSpace ( int dataSize, int startLocation, byte rom ) : int
FindHashOrgs ( ) : string[]
FindMyText ( string txtToSearch, int searchStart, int searchEnd ) : int
FindStrings ( ) : void
ForceTypeSuperCommand ( byte type ) : byte[]
Form1_FormClosing ( Object sender, FormClosingEventArgs e ) : void
Form4_FormClosing ( Object sender, FormClosingEventArgs e ) : void
Form5_FormClosing ( Object sender, FormClosingEventArgs e ) : void
Form_KeyDown ( object sender, KeyEventArgs e ) : void
GetCommand ( SQLiteDataReader reader, SQLiteConnection con ) : Command
GetEffectID ( byte rom ) : void
GetFromClipboard ( ) : string
GetROMCode ( ) : string
GetStringFromType ( string s, uint value ) : string
Goto ( ) : void
HashOrgAddCommand ( List compiledHashOrg, int>.Dictionary compiledHashOrgLocations, Command c, bool compile, string info, int>.Dictionary lengths, int lineNumber, bool &newCompile ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadCustomCommands ( ) : void
LoadSuperCommands ( ) : void
NewPressedFind ( bool &search, int start, int &newStart ) : void
OpenDataLocation ( ) : void
OpenSettingsForm ( ) : void
OpenWebsite ( ) : void
ParseByteParameter ( string input, int lineNumber, int parameterNumber ) : ReturnWorked
ParseHalfWordParameter ( string input, int lineNumber, int parameterNumber ) : ReturnWorked
ParseHeaderFile ( string rbhFile ) : void
ParseHeaderFileToDecompileDictionaries ( string rbhFile, string>.Dictionary tempDict ) : void
ParseHeaderFileToDecompileDictionaries ( string rbhFile, string>.Dictionary tempDict, string>.Dictionary tempDict2, string>.Dictionary tempDict3 ) : void
ParseINI ( string iniFile, string romCode ) : void
ParseINIPersonalSettings ( ) : void
ParseWordParameter ( string input, int lineNumber, int parameterNumber, bool dynamicPointersAllowed ) : ReturnWorked
Paste ( ) : void
PressedFind ( object sender, EventArgs e ) : void
PressedFindNew ( bool &search ) : void
PressedNewFind ( object sender, EventArgs e ) : void
PressedReplace ( object sender, EventArgs e ) : void
PressedReplaceAll ( object sender, EventArgs e ) : void
PrintMessageSuperCommand ( byte slotID, uint romPointer, ushort messageWait ) : byte[]
QuickSave ( string filePath ) : void
ReadTableFile ( string iniLocation ) : char>.Dictionary
SetDecompileModeByString ( string s ) : void
SetHalfWordSuperCommand ( ushort value, uint memoryAddress ) : byte[]
SetNumberDecompileModeByString ( string s ) : void
SetWordSuperCommand ( uint value, uint memoryAddress ) : byte[]
SetupTool ( ) : void
ThornalToDecimal ( string input ) : string
ToDecimal ( string input ) : string
TryGetSuperCommand ( int offset, byte rom, string &name, int &newOffset ) : bool
WriteToClipboard ( string stringToWrite ) : void
backgroundColourToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnChangeMoveScriptPointer_Click ( object sender, EventArgs e ) : void
btnCompile_Click ( object sender, EventArgs e ) : void
btnDebug_Click ( object sender, EventArgs e ) : void
btnDecompile2_Click ( object sender, EventArgs e ) : void
btnDecompile_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
checkForUpdateToolStripMenuItem_Click ( object sender, EventArgs e ) : void
closeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
commandGuideToolStripMenuItem_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dataLocationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
decompileCommandOffsetsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
downloadCleanINIToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
findAndReplaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
findToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fontToolStripMenuItem_Click ( object sender, EventArgs e ) : void
gotoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
guideToolStripMenuItem_Click ( object sender, EventArgs e ) : void
infoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newtoolStripMenuItem_Click ( object sender, EventArgs e ) : void
numericUpDown1_ValueChanged ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
richTextBox1_TextChanged ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
settingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
textColourToolStripMenuItem_Click ( object sender, EventArgs e ) : void
updateDatabaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

ChangeCommentString() public method

public ChangeCommentString ( string s ) : void
s string
return void

ChangeDecompileMode() public method

public ChangeDecompileMode ( string s ) : void
s string
return void

ChangeNumberDecompileMode() public method

public ChangeNumberDecompileMode ( string s ) : void
s string
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form1() public method

public Form1 ( ) : System
return System

Form1() public method

public Form1 ( int offset, string fileName ) : System
offset int
fileName string
return System

Form1() public method

public Form1 ( string fileName ) : System
fileName string
return System