#include "stdinc.h"
#include "main.h"
#include "Action.h"
#include "DebugAllocator.h"
#include "error.h"
#include "display.h"
#include <ctime>
#include <cstdlib>
#include <unistd.h>
Go to the source code of this file.
int frobbyMain |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
This function runs the Frobby console interface.
the main function calls this function after having set up DEBUG-specific things, catching exceptions, setting the random seed and so on.
Definition at line 33 of file main.cpp.
A replacement for the default C++ built-in terminate() function.
Do not call this method or cause it to be called.
Definition at line 52 of file main.cpp.
void frobbyUnexpected |
( |
| ) |
|
A replacement for the default C++ built-in unexpected() function.
Do not call this method or cause it to be called.
Definition at line 64 of file main.cpp.
int main |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
This function is the entry point for Frobby as a console program.
It does some DEBUG-specific things, sets the random seed and so on before calling frobbyMain.
Definition at line 77 of file main.cpp.