Last change
on this file since 6368 was
5822,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged branches/network to the trunk
merged with command:
svn merge -r 5505:HEAD branches/network trunk
conflicts resolved in favor of the trunk (as always
also fixed a typo in the #include "SDL_tread.h"
|
File size:
343 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 | typedef unsigned char byte; |
---|
20 | |
---|
21 | |
---|
22 | typedef enum { |
---|
23 | NET_SERVER, |
---|
24 | NET_CLIENT |
---|
25 | } NodeType; |
---|
26 | |
---|
27 | #endif /* _NETWORK_MANAGER */ |
---|
Note: See
TracBrowser
for help on using the repository browser.