Public Member Functions | |
child (RomRep::HondaEcu *ecu, int filelen, String *filename, ParamPage *ppage) | |
Constructor. | |
~child () | |
Destructor. | |
CheckBox * | CreateCheckBox (int x, int y, String *caption, String *handler) |
Button * | CreateButton (int x, int y, int width, int height, String *caption, String *handler) |
bre20::LabeledText * | CreateText (int x, int y, String *caption, String *handler, String *tooltip, int width, int mode) |
GroupBox * | CreateGroupBox (int x, int y, String *caption, String *fullyQualClass, int width, int height, Control *controls[]) |
SimpleGrid::Grid * | CreateGrid (int x, int y, String *handler, int columns, int rows) |
MenuItem * | AddMenuItem (String *mainMenu, String *caption, String *handler) |
bool | AddControlGroup (GroupBox *con) |
bool | subscribeToEvent (String *event, String *handler) |
void | addLoggerRule (bre20::Rule *r) |
TabPage * | getScriptTabPages ()[] |
returns the array of script tab pages. | |
AutoEdit * | getAutoEdit () |
void | openAutoTuneOptions () |
void | openLogAnalyzer (String *fname) |
void | addLogAnalyzerRule (bre20::Rule *r) |
TabControl * | getTabConrol () |
gets the rom windows tabcontrol | |
int | AddMapPair (String *fuelTabName, RomRep::MapLocs *flocs, String *ignTabName, RomRep::MapLocs *ignlocs, int x, int y, int copyIndex, bool copyContents) |
GridPage * | AddMap (String *tabName, int columns, int rows, String *handler) |
bool | parseByteChanges (String *fname, bool makeChangeOnRight) |
void | changeColHeader (bool vtec, int col, String *header) |
changes a column header for the specified map. 0 for non vtec, 1 for vtec, etc... | |
void | scaleFuelMaps (float multiplier) |
scales the entire fuel maps with the specified multiplier | |
void | setAllColHeaders () |
grabs the col headers from the ROM and resets the grid headers | |
int | setChecksum () |
sets and returns the checksum | |
String * | getFileName () |
gets the filename | |
String * | getRomType () |
gets the ROM type string | |
unsigned char | getFile () __gc[] |
gets clean checksummed file | |
int | getFileLength () |
byte length of the file | |
void | setFileName (String *filename) |
set the file name | |
RomRep::HondaEcu * | getRom () |
gets the ROM object. holy power. | |
void | setRom (RomRep::HondaEcu *romm) |
void | setFuelCell (int x, int y, float value, int index) |
float | getFuelCell (int x, int y, int index) |
index = 0 for non vtec, 1 for vtec | |
void | addByteChange (RomRep::ByteChange *bc) |
void | setRomSaved () |
bool | getWasEdited () |
void | setCellColor (GridPage *page, int x, int y, float val, int mode) |
Public Attributes | |
__event ScriptFunctionCallHandler * | OnFunctionCalled |
event fired when a script function is called | |
__event System::EventHandler * | OnAutotuneOptionsCreated |
__event System::EventHandler * | OnEmulationOptionsCreated |
__event System::EventHandler * | OnLoggerCreated |
__event System::EventHandler * | OnLoggerOpened |
__event System::EventHandler * | OnLogAnalyzerCreated |
__event System::EventHandler * | OnLogAnalyzerOpened |
__event System::EventHandler * | OnExtraTablesCreated |
Static Public Attributes | |
static int | FUELMODE = 0 |
fuel mode | |
static int | IGNMODE = 1 |
ignition mode | |
Protected Member Functions | |
void | Dispose (Boolean disposing) |
|
Constructor.
|
|
Destructor.
|
|
Adds a RomRep.ByteChange object to the emulation queue. Downloads if live edit and enqueues if manual |
|
Adds a groupbox to the scripts tab. Please see Control Creation notes. |
|
|
|
add a Rule to the Logger. I recommend using subscribeToEvent() to subscribe to the OnDataloggerOpened event then call this in the handler function. After the Logger form is opened and closed, the Rule list is deleted, so if you do not use the event, your rule wont work properly. See Datalogger Extension. |
|
Creates a vanilla map with nothing in the headers. Handler happens when user changes a cell in the map Please see Control Creation notes. |
|
Adds a map pair to the romWindow Please see Control Creation notes.
|
|
Adds a menu item to the menu item of choice. You can effectively add a menu under ANY menu item in BRE (including functional items) by using its name in the mainMenu variable. BRE searches left to right and top to bottom on each menu item. So if there are duplicate names, the name to the left or higher at the top of some menu will be picked as the parent. The handler cannot be null even if the caption is "-" (for a separator) or the menu being created is a top level menu. If this is the case you must pass the namespace and classname in. Separators cannot be top level menus. If mainMenu == "" or null, the menu item will be added as a top level menu If the menu item you want to be under has text with an underlined letter then the mainMenu string must have a '&' in front of that letter: &Edit for the edit menu. Please see Control Creation notes. |
|
changes a column header for the specified map. 0 for non vtec, 1 for vtec, etc...
|
|
Returns a button. The handler is called when the button is clicked. Please see Control Creation notes. |
|
Returns a checkbox. The handler is called when the check box is clicked. Please see Control Creation notes. |
|
This creates a grid object. The handler is called when a user changes a value in the grid. Handler event object is SimpleGrid.CellEvent Please see Control Creation notes. |
|
This creates a group box. USE THEM. Its the only object that should be added to BRE directly. These ae to be an alternative to the dialog boxes, which you can create but this is easier. This function adds the controls you have created to the group box then returns the group box to you. Please see Control Creation notes.
|
|
Returns a LabeletText, which is a textbox with a caption. Its really a Panel object. The handler happens when the user changes the text (either presses enter or leaves focus) Specify the proper mode, it has dumb-user handling.
TextBox modes (these ensure the user enters proper input): Please see Control Creation notes. |
|
|
|
|
|
gets clean checksummed file
|
|
byte length of the file
|
|
gets the filename
|
|
index = 0 for non vtec, 1 for vtec Sets the value in the fuel map. Maps indexed from left of tab order. base index = 0 |
|
gets the ROM object. holy power.
|
|
gets the ROM type string
|
|
returns the array of script tab pages.
|
|
gets the rom windows tabcontrol
|
|
|
|
|
|
|
|
this opens and parses a 'byte changes' type text file these can be generated by winhex. BRE will parse generic winhex comparison files. comments can be used in the files where ever the user pleases using the '//!' at the beginning of the comment. All bytes changed from this function will be sent to the ostrich.
|
|
scales the entire fuel maps with the specified multiplier
|
|
grabs the col headers from the ROM and resets the grid headers
|
|
|
|
sets and returns the checksum
|
|
set the file name
|
|
Sets the value in the fuel map. Maps indexed from left of tab order. base index = 0. index = 0 for non vtec, 1 for vtec |
|
|
|
|
|
This will allow you to subscribe to an event in BRE. Events to subscribe to are (the event param string):
Please see Control Creation notes.
|
|
fuel mode
|
|
ignition mode
|
|
event fired when the AutotuneOptions dialog is created. The sender object is the AutotuneOptions object |
|
event fired when the RtpOptions dialog is created. The sender object is the RtpOptions object |
|
event fired when the ExtraTables object is actually created. The sender object is the child object |
|
event fired when a script function is called
|
|
event fired when the LogAnalyzer object is actually created The sender object is the LogAnalyzer object |
|
event fired when the LogAnalyzer object is opened, before being created. The sender object is the child object |
|
event fired when the Logger object is actually created. The sender object is the Logger object |
|
event fired when the Logger object is opened, before being created. The sender object is the child object |