source: Daodan/src/flatline/Mariusnet_Public.h@ 891

Last change on this file since 891 was 881, checked in by alloc, 11 years ago

Daodan: Some flatline cleanups

File size: 890 bytes
RevLine 
[881]1#ifndef MARIUSNET_PUBLIC_H
2#define MARIUSNET_PUBLIC_H
3
[876]4extern unsigned char MsNet_Running;
5
6unsigned char MSNet_Login(char* username, char* password);
7void MSNet_SendChat( char* msg );
8void MSNet_RoomExit();
9void MSNet_DrawGames();
10extern char MariusLogin[32];
11
12typedef struct
13{
14 short unknown16;
15 short type;
16 int options;
17 int timelimit;
18 int checksum;
19 short difficulty;
20 short maxplayers;
21 short teamrandomseed;
22 short maxteams; //-1
23 int planningtime;
24 int unusedint;
25 int unusedint_2;
26 short unknown16_2;
27 short pluginflag;
28 char pluginlist[512];
29 int clientversion;//0xc136e436
30 int unknownint;
31 short status;
32 short numplayers;
33 char action;
34 char pad[3];
35 char Buffer[128];
36} m_gamedescription;
37
38typedef struct
39{
40 short port;
41 short zero;
42 m_gamedescription g;
43} m_announcegame;
44
[881]45int MSNet_CreateGame( m_announcegame* Game );
46
47#endif
Note: See TracBrowser for help on using the repository browser.