#include <snesgamegeniecode.hh>
Inheritance diagram for emuWorks::SNESGameGenieCode:
Definition at line 34 of file snesgamegeniecode.hh.
Public Member Functions | |
const char * | getAlphabet () |
Gets the game genie alphabet. | |
QString | getCode () |
Gets the game genie code. | |
void | setCode (QString &code) |
Sets the game genie code. | |
virtual int | getAlphabetCount () |
Gets the number of letters in the game genie alphabet. | |
virtual int | toHex (char letter) |
Gets the corresponding hex value for a particular game genie letter. | |
Static Public Member Functions | |
static SNESGameGenieCode | create (QString &code) |
Creates an SNESGameGenieCode object. | |
static bool | isValidCode (QString &code) |
Checks if the code is a valid game genie code. | |
Static Public Attributes | |
static const char | ALPHABET [] |
The game genie alphabet. | |
Protected Attributes | |
QString | code |
Private Member Functions | |
SNESGameGenieCode (QString &code) | |
Constructor for an SNESGameGenieCode. |
|
Constructor for an SNESGameGenieCode.
Definition at line 69 of file snesgamegeniecode.hh. |
|
Creates an SNESGameGenieCode object.
Definition at line 35 of file snesgamegeniecode.cc. |
|
Gets the game genie alphabet.
Implements emuWorks::GameGenieCode. Definition at line 84 of file snesgamegeniecode.cc. |
|
Gets the number of letters in the game genie alphabet.
Reimplemented in emuWorks::GenesisGameGenieCode. Definition at line 67 of file gamegeniecode.hh. |
|
Gets the game genie code.
Definition at line 46 of file gamegeniecode.hh. |
|
Checks if the code is a valid game genie code.
Definition at line 43 of file snesgamegeniecode.cc. |
|
Sets the game genie code.
Definition at line 53 of file gamegeniecode.hh. |
|
Gets the corresponding hex value for a particular game genie letter.
Definition at line 31 of file gamegeniecode.cc. |
|
Initial value: { 'D', 'F', '4', '7', '0', '9', '1', '5', '6', 'B', 'C', '8', 'A', '2', '3', 'E' }
Definition at line 64 of file snesgamegeniecode.hh. |
|
Definition at line 78 of file gamegeniecode.hh. |