vegastrike
0.5.1.r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
accountserver.cpp
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software
14
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
*/
16
17
/*
18
* Vegastrike Network Server Main - written by Stephane Vaxelaire <svax@free.fr>
19
*/
20
21
#include <iostream>
22
#include <stdlib.h>
23
#include <string>
24
using
std::string;
25
#include "networking/acctserver.h"
26
#include "
lin_time.h
"
27
28
void
VSExit
(
int
code )
29
{
30
exit( code );
31
}
32
33
string
getStarSystemSector
(
const
string
&in )
34
{
35
return
string(
""
);
36
}
37
38
string
GetUnitDir
(
string
filename )
39
{
40
return
string(
""
);
41
}
42
43
char
SERVER
= 2;
44
float
simulation_atom_var
= (float) 1.0/10.0;
45
class
NetClient
46
{};
47
NetClient
*
Network
;
48
49
int
main
(
int
argc,
char
**argv )
50
{
51
InitTime
();
52
setNewTime
( ( (
double
) time( NULL ) )-
VEGA_EPOCH
);
53
AccountServer *Server =
new
AccountServer;
54
55
Server->start();
56
57
delete
Server;
58
return
0;
59
}
60
src
accountserver.cpp
Generated on Fri Feb 14 2014 09:03:08 for vegastrike by
1.8.4