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.
Loading...
Searching...
No Matches
Functions
ComputeRainbowTable.cpp File Reference

Functions for computing the algorithm's rainbow table. More...

#include "Constants.h"

Functions

void _FillRainbowTable (unsigned short ButtonID, unsigned short StartingInternalState)
 
void _ComputeRainbowTable ()
 

Detailed Description

Functions for computing the algorithm's rainbow table.

Author
WaluigiBSOD

Function Documentation

◆ _ComputeRainbowTable()

void _ComputeRainbowTable ( )

This is the method for computing the algorithm's rainbow table.

It's done to avoid computing the same things over and over, and to speed up operations in general by caching them in RAM.

Author
WaluigiBSOD

◆ _FillRainbowTable()

void _FillRainbowTable ( unsigned short  ButtonID,
unsigned short  StartingInternalState 
)

This is the main logic behind the method for computing the algorithm's rainbow table.

Parameters
[in]ButtonIDThe Sega Genesis/Mega Drive button ID. Values are defined inside the ButtonCodes array, used also inside it, names inside ButtonNames instead.
[in]StartingInternalStateThe algorithm's internal state to alter using ButtonID's value.
Author
WaluigiBSOD