ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/flatline/Flatline_Server.h
Revision: 877
Committed: Sun Jun 2 11:25:34 2013 UTC (12 years, 4 months ago) by alloc
Content type: text/x-chdr
File size: 432 byte(s)
Log Message:
Daodan: Moved flatline to subfolder, flatline enabled through patch "flatline"

File Contents

# Content
1 #ifndef FLATLINE_SERVER_H
2 #define FLATLINE_SERVER_H
3
4 #define TOO_MANY_CONNECTIONS -1
5 #include "Flatline.h"
6 #include "winsock.h"
7
8
9 extern uint16_t max_connections;
10 player_info* FLrServer_AddPlayer(int ip, char* name, bool is_server, bool is_bot);
11 int FLsPublic_Event( const unsigned int eventIndex, const int * args);
12
13 void FLrServer_Initialize();
14 void FLsPingAll();
15 void FLsUpdateName( int index, char* name );
16 #endif