Last change
on this file since 8317 was
6822,
checked in by bensch, 19 years ago
|
trunk: ParticleEmitters now splitted into SubClasses.
Also fixed a little Boeg in the ClassID
|
File size:
936 bytes
|
Line | |
---|
1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | ### File Specific: |
---|
12 | main-programmer: Patrick Boenzli |
---|
13 | */ |
---|
14 | |
---|
15 | |
---|
16 | #define DEBUG_MODULE_NETWORK |
---|
17 | |
---|
18 | #include "shared_network_data.h" |
---|
19 | #include "netdefs.h" |
---|
20 | |
---|
21 | |
---|
22 | using namespace std; |
---|
23 | |
---|
24 | |
---|
25 | SharedNetworkData* SharedNetworkData::singletonRef = NULL; |
---|
26 | |
---|
27 | /** |
---|
28 | * Standard constructor |
---|
29 | */ |
---|
30 | SharedNetworkData::SharedNetworkData() |
---|
31 | { |
---|
32 | /* set the class id for the base object */ |
---|
33 | this->setClassID(CL_SHARED_NETWORK_DATA, "SharedNetworkData"); |
---|
34 | |
---|
35 | this->hostID = -1; |
---|
36 | this->defaultSyncStream = NULL; |
---|
37 | this->newUniqueID = MAX_CONNECTIONS + 2; |
---|
38 | this->bGameServer = false; |
---|
39 | } |
---|
40 | |
---|
41 | |
---|
42 | /** |
---|
43 | * Standard destructor |
---|
44 | */ |
---|
45 | SharedNetworkData::~SharedNetworkData() |
---|
46 | {} |
---|
Note: See
TracBrowser
for help on using the repository browser.