client/Main.cpp File Reference

#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "SDL.h"
#include "regcom/client/Client.h"
#include "regcom/client/MainMenu.h"
#include "regcom/gui/TrueTypeFont.h"

Defines

#define PACKAGE   "regcom"
#define VERSION   "0.0.5"

Functions

void display_help ()
void display_version ()
void report_invalid_option (char *option)
int get_int_argument (char *option)
void parse_options (int argc, char **argv)
int main (int argc, char **argv)

Variables

struct {
   int   video_width
   int   video_height
   int   video_depth
   int   video_flags
options
static const char * help_text []

Define Documentation

#define PACKAGE   "regcom"

#define VERSION   "0.0.5"


Function Documentation

void display_help ( void   ) 

void display_version ( void   ) 

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

void report_invalid_option ( char *  option  ) 

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)
Parameters:
option  (*** add description here ***)

int get_int_argument ( char *  option  ) 

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)
Parameters:
option  (*** add description here ***)

void parse_options ( int  argc,
char **  argv 
)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)
Parameters:
argc  (*** add description here ***)
argv  (*** add description here ***)

int main ( int  argc,
char **  argv 
)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)
Parameters:
argc  (*** add description here ***)
argv  (*** add description here ***)


Variable Documentation

struct { ... } options [static]

const char* help_text[] [static]

Initial value:

{
    "                                                   \n",
    "Usage: regcom [OPTION] ...                         \n",
    "                                                   \n",
    "Options:                                           \n",
    "                                                   \n",
    "  --help      display help information             \n",
    "  --version   display version information          \n",
    "                                                   \n",
    "Video options:                                     \n",
    "                                                   \n",
    "  --width=WIDTH     set screen width               \n",
    "  --height=HEIGHT   set screen height              \n",
    "  --depth=DEPTH     set screen depth               \n",
    "  --fullscreen      enable full screen mode        \n",
    "  --resizable       enable window resizing         \n",
    "                                                   \n",
    "Report bugs to <regcom-bugs@lists.sourceforge.net>.\n",
    "                                                   \n",
    NULL
}
Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)