Last change
on this file since 17 was
2,
checked in by Sam Hocevar, 18 years ago
|
- imported original 0.7.0 tarball
|
File size:
633 bytes
|
Rev | Line | |
---|
[2] | 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.