|
Alien Storm (Genesis) Credits Select Cheat Tool Version 1.2
A command-line tool that computes some stuff regarding the Genesis Alien Storm game's credits select cheat.
|
Functions for for computing prune tables. More...
Functions | |
| bool | _WritePruneTablesHeader () |
| bool | _WritePruneTablesContent (bool OnlySafeSolutions, unsigned short InternalState, short CurrentRecursiveDepth, short MaximumRecursiveDepth) |
| bool | _FindPruneTables (bool OnlySafeSolutions, unsigned short InternalState, unsigned short MaximumRecursiveDepth, unsigned short CurrentRecursiveDepth=0) |
| bool | _ComputePruneTables (bool OnlySafeSolutions) |
Variables | |
| unsigned short * | PruneTableSolutionBuffer |
| fstream | PruneTablesFileCSV |
Functions for for computing prune tables.
| bool _ComputePruneTables | ( | bool | OnlySafeSolutions | ) |
Computes all the prune tables used inside ComputeSolutions.cpp to prune their recursive search.
Are only saved inside a CSV file.
| [in] | OnlySafeSolutions | If true, solutions with left/right button presses are discarded, if false nothing happens. main() invokes this function twice, once with this parameter as false, once as true. |
| bool _FindPruneTables | ( | bool | OnlySafeSolutions, |
| unsigned short | InternalState, | ||
| unsigned short | MaximumRecursiveDepth, | ||
| unsigned short | CurrentRecursiveDepth = 0 ) |
The main logic behind computing all the all the prune tables used inside ComputeSolutions.cpp.
Search is still pruned using the result of ComputeMinimumSolutionLengths.cpp. Tables are saved inside a CSV file.
| [in] | OnlySafeSolutions | If true, solutions with left/right button presses are discarded, if false nothing happens. |
| [in] | InternalState | The starting internal state. |
| [in] | MaximumRecursiveDepth | The maximum recursive depth allowed to be reached. It's equal to the minimum solution length considered by _ComputeSolutions(). |
| [in] | CurrentRecursiveDepth | The current recursive depth. It's automatically set to zero in the function's declaration. |
| bool _WritePruneTablesContent | ( | bool | OnlySafeSolutions, |
| unsigned short | InternalState, | ||
| short | CurrentRecursiveDepth, | ||
| short | MaximumRecursiveDepth ) |
Writes all the content of all the prune tables used inside ComputeSolutions.cpp, inside a CSV file.
| [in] | OnlySafeSolutions | If true, solutions with left/right button presses are discarded, if false nothing happens. |
| [in] | InternalState | The starting internal state. |
| [in] | CurrentRecursiveDepth | The current recursive depth. |
| [in] | MaximumRecursiveDepth | The maximum recursive depth allowed to be reached. It's equal to the minimum solution length considered by _ComputeSolutions(). |
| bool _WritePruneTablesHeader | ( | ) |
Writes the header of all the prune tables used inside ComputeSolutions.cpp, inside a CSV file.