In file src/CarWorldClient.h:

class CarWorldClient: public HglApplication


Inheritance:


Public Fields

[more]map<H_KEY,string> KeyBindings

Public Methods

[more] CarWorldClient(bool full_screen)
[more]virtual ~CarWorldClient()
[more]const char* name()
[more]void draw_init()
[more]void draw_shutdown()
[more]void key_down(H_KEY AHKey, char c)
[more]void resize(unsigned int width, unsigned int height)
[more]void on_idle(unsigned int elapsed_time)
[more]void draw()
[more]void toggleconsole()
[more]void set_r_mode(int mode)
screen mode manipulation (not 100% yet...)
[more]int get_r_mode()
[more]void set_joystick(bool use_joystick)
[more]bool get_joystick()
[more]void execute_cfg(const char *FileName)
[more]void pars_command(const char *value)
[more]void bind(H_KEY key, const char *command)
[more]void print_help()
[more]void print_version()
[more]void join(const char *host, short port)
[more]void write_cfg(ostream &out)

Private Fields

[more]Hgl_ostream hout
[more]Hgl* m_Hgl
[more]bool IsPromptMode
[more]map<string,HExecutable*> m_Executables
[more]HJoystick* RealJoystick
[more]KeyJoystick* FakeJoystick
[more]HJoystick* CurrentJoystick
[more]HSocClient* m_socket
[more]int ID
[more]map<int,CWVehicle*> m_Opponents
[more]CWVehicle* m_Vehicle
[more]CarWorld* m_CarWorld

Private Methods

[more]void SendState()
[more]bool RecieveState()


Inherited from HglApplication:

Public Fields

oHWindow* m_window

Public Methods

ounsigned int GetScreenMode()
obool SetScreenMode(unsigned int ScreenMode, ostream &out)
ovoid PrintScreenMode(unsigned int ScreenMode, ostream &out)
ovoid PrintAllScreenModes(ostream &out)


Inherited from HApplication:

Public Fields

oHAppData* m_data

Public Methods

ostatic int TimeRefreshRate()


Documentation

o CarWorldClient(bool full_screen)

ovirtual ~CarWorldClient()

oconst char* name()

ovoid draw_init()

ovoid draw_shutdown()

ovoid key_down(H_KEY AHKey, char c)

ovoid resize(unsigned int width, unsigned int height)

ovoid on_idle(unsigned int elapsed_time)

ovoid draw()

ovoid toggleconsole()

ovoid set_r_mode(int mode)
screen mode manipulation (not 100% yet...)

oint get_r_mode()

ovoid set_joystick(bool use_joystick)

obool get_joystick()

ovoid execute_cfg(const char *FileName)

ovoid pars_command(const char *value)

ovoid bind(H_KEY key, const char *command)

ovoid print_help()

ovoid print_version()

ovoid join(const char *host, short port)

ovoid write_cfg(ostream &out)

omap<H_KEY,string> KeyBindings

oHgl_ostream hout

oHgl* m_Hgl

obool IsPromptMode

omap<string,HExecutable*> m_Executables

oHJoystick* RealJoystick

oKeyJoystick* FakeJoystick

oHJoystick* CurrentJoystick

oHSocClient* m_socket

oint ID

ovoid SendState()

obool RecieveState()

omap<int,CWVehicle*> m_Opponents

oCWVehicle* m_Vehicle

oCarWorld* m_CarWorld


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.