From 0fceb1cf1ab9887040f08f0abf646ef318a65ae3 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 5 Aug 2008 21:37:33 +0000 Subject: added documentation --- docs/output/files2/e_if_modc-h.html | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 docs/output/files2/e_if_modc-h.html (limited to 'docs/output/files2/e_if_modc-h.html') diff --git a/docs/output/files2/e_if_modc-h.html b/docs/output/files2/e_if_modc-h.html new file mode 100644 index 00000000..f75e3aee --- /dev/null +++ b/docs/output/files2/e_if_modc-h.html @@ -0,0 +1,69 @@ + + +Client Hooks + + + + + + + + + +

Client Hooks

Summary
Client Hooks
Functions
modc_console_initTODO
modc_rcon_lineTODO
modc_save_configTODO
modc_initCalled when the client starts.
modc_newsnapshotCalled when the client progressed to a new snapshot.
modc_entergameCalled when the client has successfully connect to a server and loaded a map.
modc_shutdownCalled when the client closes down.
modc_renderCalled every frame to let the game render it self.
modc_statechangeCalled every time client changes state.
modc_connectedTODO
modc_messageTODO
modc_predictTODO
modc_snap_inputTODO
modc_net_versionTODO
+ +

Functions

+ +

modc_console_init

void modc_console_init()

TODO

+ +

modc_rcon_line

void modc_rcon_line(const char *line)

TODO

+ +

modc_save_config

void modc_save_config()

TODO

+ +

modc_init

void modc_init()

Called when the client starts.

Remarks

The game should load resources that are used during the entire time of the game.  No map is loaded.

+ +

modc_newsnapshot

void modc_newsnapshot()

Called when the client progressed to a new snapshot.

Remarks

The client can check for items in the snapshot and perform one time events like playing sounds, spawning client side effects etc.

+ +

modc_entergame

void modc_entergame()

Called when the client has successfully connect to a server and loaded a map.

Remarks

The client can check for items in the map and load them.

+ +

modc_shutdown

void modc_shutdown()

Called when the client closes down.

+ +

modc_render

void modc_render()

Called every frame to let the game render it self.

+ +

modc_statechange

void modc_statechange(int new_state,
int old_state)

Called every time client changes state.

+ +

modc_connected

void modc_connected()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

+ +

modc_message

void modc_message(int msg)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

+ +

modc_predict

void modc_predict()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

+ +

modc_snap_input

int modc_snap_input(int *data)

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

+ +

modc_net_version

const char *modc_net_version()

TODO

Arguments

arg1desc

Returns

See Also

<other_func>

+ +
+ + + + + + + + + + +
void modc_console_init()
TODO
void modc_rcon_line(const char *line)
TODO
void modc_save_config()
TODO
void modc_init()
Called when the client starts.
void modc_newsnapshot()
Called when the client progressed to a new snapshot.
void modc_entergame()
Called when the client has successfully connect to a server and loaded a map.
void modc_shutdown()
Called when the client closes down.
void modc_render()
Called every frame to let the game render it self.
void modc_statechange(int new_state,
int old_state)
Called every time client changes state.
void modc_connected()
TODO
void modc_message(int msg)
TODO
void modc_predict()
TODO
int modc_snap_input(int *data)
TODO
const char *modc_net_version()
TODO
+ + + + +
Close
+ + + \ No newline at end of file -- cgit 1.4.1