Last change
on this file since 57 was
57,
checked in by Sam Hocevar, 15 years ago
|
- Move each header to the same directory as its corresponding source, to
get a better idea of which files are likely to export symbols.
|
File size:
633 bytes
|
Line | |
---|
1 | #ifndef __GCLIENT_HPP_ |
---|
2 | #define __GCLIENT_HPP_ |
---|
3 | |
---|
4 | #include <unistd.h> |
---|
5 | #include "sock.hpp" |
---|
6 | #include "ghandler.hpp" |
---|
7 | |
---|
8 | class game_client : public game_handler |
---|
9 | { |
---|
10 | net_socket *client_sock; // connection to server as a client |
---|
11 | int wait_local_input; |
---|
12 | int process_server_command(); |
---|
13 | net_address *server_data_port; |
---|
14 | public : |
---|
15 | |
---|
16 | game_client(net_socket *client_sock, net_address *server_addr); |
---|
17 | int process_net(); |
---|
18 | int input_missing(); |
---|
19 | void add_engine_input(); |
---|
20 | virtual int start_reload(); |
---|
21 | virtual int end_reload(int disconnect=0); |
---|
22 | virtual int kill_slackers(); |
---|
23 | virtual int quit(); |
---|
24 | virtual ~game_client(); |
---|
25 | } ; |
---|
26 | |
---|
27 | |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.