~ubuntu-branches/ubuntu/trusty/lordsawar/trusty

« back to all changes in this revision

Viewing changes to src/server/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2008-06-17 16:07:00 UTC
  • mto: (5.1.1 lenny) (1.1.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20080617160700-6d8ofoz0qkasxlnw
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "Server.h"
2
 
 
3
 
#include <iostream>
4
 
 
5
 
#ifdef __WIN32__
6
 
#include "../win32.h"
7
 
#endif
8
 
 
9
 
int main(int argc, char **argv)
10
 
{
11
 
        Server *server;
12
 
 
13
 
        std::cout << "LordsAWar Server: started" << std::endl;
14
 
 
15
 
        server = new Server();
16
 
        server->connect(true, false);
17
 
 
18
 
        std::cout << "LordsAWar Server: stopped" << std::endl;
19
 
 
20
 
        return 0;
21
 
}
22