Alien Storm (Genesis) Credits Select Cheat Tool Version 1.1
A command-line tool that computes some stuff regarding the Genesis Alien Storm game's credits select cheat.
|
Main program file. More...
#include <cmath>
#include <iomanip>
#include "Constants.h"
#include "PrintSplashScreen.h"
#include "ComputeRainbowTable.h"
#include "ComputePruneTables.h"
#include "ComputeMinimumSolutionLengths.h"
#include "ComputeSolutions.h"
Functions | |
void | _InitializeAllThatNeedsToBeInitialized () |
void | _DeallocateAllThatNeedsToBeDeallocated () |
int | main () |
Main program file.
void _DeallocateAllThatNeedsToBeDeallocated | ( | ) |
This method deallocates all the arrays that are put inside the heap.
It's called at the end of the program, just before exiting.
void _InitializeAllThatNeedsToBeInitialized | ( | ) |
This method allocates all the arrays that are put inside the heap.
It's done to avoid memory allocation issues, as in total they weight 64 KB. May sound exaggerate, but usually default stack sizes are limited to a few megabytes. Also, this is approximately 420.1025641 times the RAM that is needed for the internal state of a MT19937 PRNG algorithm instance, as a comparison.
int main | ( | ) |
The main program function.
Handles all the console output, calling functions and memory allocation/initializing/deallocation.