Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/network/netdefs.h @ 7392

Last change on this file since 7392 was 6695, checked in by patrick, 19 years ago

merged the network branche to the trunk

File size: 447 bytes
Line 
1
2
3/*!
4 * @file network_manager.h
5 *  Main interface for the network module. Manages all the modules
6
7 */
8
9#ifndef _NETDEFS
10#define _NETDEFS
11
12#ifdef HAVE_SDL_NET_H
13  #include <SDL_net.h>
14#else
15  #include <SDL/SDL_net.h>
16#endif
17
18
19#define MAX_CONNECTIONS 1000
20
21
22typedef unsigned char byte;
23
24
25typedef enum {
26  NET_SERVER,
27  NET_CLIENT
28} NodeType;
29
30
31typedef enum {
32  NET_UID_UNASSIGNED = -1,
33
34  NET_UID_NUMBER
35} UidType;
36
37#endif /* _NETWORK_MANAGER */
Note: See TracBrowser for help on using the repository browser.