C# Class GfxDecompressor.Form1

Show file Open project: Jdbye/Telefang-2-English-Translation-Project

Public Methods

Method Description
ByteArrayToString ( byte ba ) : string
Form1 ( ) : System
IndexOf ( byte arrayToSearchThrough, byte patternToFind ) : int
LoadPalFile ( string path ) : void

LoadRawPalFile ( int offset ) : void
SaveBitmap ( string path ) : void
Scan ( int sizeMultible ) : void

StringToByteArray ( String hex ) : byte[]

UpdateGraphics ( ) : void
find ( byte pattern, int start = -1 ) : int

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
checkBox2_CheckedChanged ( object sender, EventArgs e ) : void
numericUpDown1_ValueChanged ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

ByteArrayToString() public static method

public static ByteArrayToString ( byte ba ) : string
ba byte
return string

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

IndexOf() public static method

public static IndexOf ( byte arrayToSearchThrough, byte patternToFind ) : int
arrayToSearchThrough byte
patternToFind byte
return int

LoadPalFile() public method

public LoadPalFile ( string path ) : void
path string
return void

LoadRawPalFile() public method

public LoadRawPalFile ( int offset ) : void
offset int
return void

SaveBitmap() public method

public SaveBitmap ( string path ) : void
path string
return void

Scan() public method

public Scan ( int sizeMultible ) : void
sizeMultible int
return void

StringToByteArray() public static method

public static StringToByteArray ( String hex ) : byte[]
hex String
return byte[]

UpdateGraphics() public method

public UpdateGraphics ( ) : void
return void

find() public method

public find ( byte pattern, int start = -1 ) : int
pattern byte
start int
return int