#include "stdinc.h"
#include "main.h"
#include "Action.h"
#include "DebugAllocator.h"
#include "error.h"
#include "display.h"
#include <ctime>
#include <cstdlib>
#include <sys/types.h>
#include <unistd.h>
Go to the source code of this file.
◆ frobbyMain()
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 34 of file main.cpp.
◆ frobbyTerminate()
A replacement for the default C++ built-in terminate() function.
Do not call this method or cause it to be called.
Definition at line 53 of file main.cpp.
◆ frobbyUnexpected()
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 65 of file main.cpp.
◆ main()
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 78 of file main.cpp.