|
Dr. Mario 64 Password Tool Version 1.1
A command-line tool written in C++ that allows to generate and decode the passwords of Dr. Mario 64.
|
Functions that validate command-line arguments, as strings. More...
#include <cstring>#include "Constants.h"#include "PlayerName.h"#include "PrintError.h"#include "StringFunctions.h"Functions | |
| bool | _ValidateCommandLineGameMode (char *CommandLineArgument) |
| bool | _ValidateCommandLineLevel (char *CommandLineArgument) |
| bool | _ValidateCommandLineSpeed (char *CommandLineArgument) |
| bool | _ValidateCommandLineScore (char *CommandLineArgument, bool InGameInformation) |
| bool | _ValidateCommandLineTime (char *CommandLineArgument, bool InGameInformation) |
| bool | _ValidateCommandLinePlayerName (char *CommandLineArgument) |
| bool | _ValidateCommandLineFrameCount (char *CommandLineArgument) |
| unsigned char | _CheckCommandLineArguments (char **CommandLineArgumentsArray, bool InGameInformation=false) |
Functions that validate command-line arguments, as strings.
| unsigned char _CheckCommandLineArguments | ( | char ** | CommandLineArgumentsArray, |
| bool | InGameInformation = false ) |
Checks if all the entered command-line arguments are valid or not, as a string.
| [in] | CommandLineArgumentsArray | All the command-line arguments to check. |
| [in] | InGameInformation | Specifies if the data to be validated comes directly from the game's screen (true) or is entered as internal data (false). |
| bool _ValidateCommandLineFrameCount | ( | char * | CommandLineArgument | ) |
Checks if the frame count entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| bool _ValidateCommandLineGameMode | ( | char * | CommandLineArgument | ) |
Checks if the game mode entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| bool _ValidateCommandLineLevel | ( | char * | CommandLineArgument | ) |
Checks if the level entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| bool _ValidateCommandLinePlayerName | ( | char * | CommandLineArgument | ) |
Checks if the player name entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| bool _ValidateCommandLineScore | ( | char * | CommandLineArgument, |
| bool | InGameInformation ) |
Checks if the score entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| [in] | InGameInformation | Specifies if the score to be validated comes directly from the game's screen (true) or is entered as internal data (false). |
| bool _ValidateCommandLineSpeed | ( | char * | CommandLineArgument | ) |
Checks if the speed entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| bool _ValidateCommandLineTime | ( | char * | CommandLineArgument, |
| bool | InGameInformation ) |
Checks if the time entered as a command-line argument is valid or not, as a string.
| [in] | CommandLineArgument | Command-line argument to check. |
| [in] | InGameInformation | Specifies if the time to be validated comes directly from the game's screen (true) or is entered as internal data (false). |