diff options
| author | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
|---|---|---|
| committer | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
| commit | b0c18ef9dfe4703484e03a836e44366294afa4ac (patch) | |
| tree | 5a4ec90bbfdff47de224abc1eaaf4efd8095a763 /src/proto.c | |
| parent | aec5ba5ca31f3d7c895beb658a93c353b2b8d5c1 (diff) | |
- 'BUBLIC_SERVER' replaced with 'PUBLIC_SERVER'
- small changes in Makefile
git-svn-id: http://opensvn.csie.org/tuxanci_ng@34 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/proto.c')
| -rw-r--r-- | src/proto.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/proto.c b/src/proto.c index 0707c72..07a496d 100644 --- a/src/proto.c +++ b/src/proto.c @@ -15,7 +15,7 @@ #include "proto.h" #include "net_multiplayer.h" -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER #include "network.h" #include "screen_world.h" #include "screen_setting.h" @@ -24,7 +24,7 @@ #include "term.h" #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER #include "publicServer.h" #endif @@ -70,7 +70,7 @@ void proto_send_error_server(int type, client_t *client, int errorcode) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_error_client(char *msg) { @@ -87,7 +87,7 @@ void proto_recv_error_client(char *msg) #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_send_hello_client(char *name) { @@ -158,7 +158,7 @@ void proto_send_init_server(int type, client_t *client, client_t *client2) assert( client2 != NULL ); -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER getSettingCountRound(&n); #endif @@ -169,7 +169,7 @@ void proto_send_init_server(int type, client_t *client, client_t *client2) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_init_client(char *msg) { @@ -211,7 +211,7 @@ void proto_send_event_server(int type, client_t *client, tux_t *tux, int action) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_event_client(char *msg) { @@ -233,7 +233,7 @@ void proto_recv_event_client(char *msg) #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_send_event_client(int action) { @@ -278,7 +278,7 @@ void proto_send_newtux_server(int type, client_t *client, tux_t *tux) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_newtux_client(char *msg) { @@ -343,7 +343,7 @@ void proto_send_kill_server(int type, client_t *client, tux_t *tux) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_kill_client(char *msg) { @@ -376,7 +376,7 @@ void proto_send_score_server(int type, client_t *client, tux_t *tux) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_score_client(char *msg) { @@ -415,7 +415,7 @@ void proto_send_deltux_server(int type, client_t *client, client_t *client2) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_deltux_client(char *msg) { @@ -462,7 +462,7 @@ void proto_send_additem_server(int type, client_t *client, item_t *p) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_additem_client(char *msg) { @@ -514,7 +514,7 @@ void proto_send_item_server(int type, client_t *client, tux_t *tux, item_t *item proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_item_client(char *msg) { @@ -569,7 +569,7 @@ void proto_send_shot_server(int type, client_t *client, shot_t *p) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_shot_client(char *msg) { @@ -598,7 +598,7 @@ void proto_recv_shot_client(char *msg) #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_send_ping_client() { @@ -613,7 +613,7 @@ void proto_recv_ping_server(client_t *client, char *msg) { } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_send_end_client() { @@ -639,7 +639,7 @@ void proto_send_ping_server(int type, client_t *client) proto_send(type, client, msg); } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_ping_client(char *msg) { @@ -655,7 +655,7 @@ void proto_send_end_server(int type, client_t *client) } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void proto_recv_end_client(char *msg) { |