Last change
on this file since 1353 was
1293,
checked in by scheusso, 17 years ago
|
merged changes from input & camera & network branch into trunk
|
File size:
482 bytes
|
Line | |
---|
1 | #include <iostream> |
---|
2 | #include <string> |
---|
3 | #include <enet/enet.h> |
---|
4 | #include <network/PacketManager.h> |
---|
5 | #include <network/PacketTypes.h> |
---|
6 | #include <network/Server.h> |
---|
7 | #include "core/Tickable.h" |
---|
8 | #include "core/BaseObject.h" |
---|
9 | #include "Synchronisable.h" |
---|
10 | #include "core/CoreIncludes.h" |
---|
11 | #include "objects/SpaceShip.h" |
---|
12 | #include "util/Sleep.h" |
---|
13 | |
---|
14 | int main() { |
---|
15 | network::Server *server = new network::Server(); |
---|
16 | server->open(); |
---|
17 | while(true){ |
---|
18 | usleep( 1000 ); |
---|
19 | } |
---|
20 | server->close(); |
---|
21 | return 0; |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.