Last change
on this file since 8076 was
8068,
checked in by patrick, 18 years ago
|
trunk: merged the network branche back to trunk
|
File size:
1.0 KB
|
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: ... |
---|
13 | co-programmer: ... |
---|
14 | */ |
---|
15 | |
---|
16 | //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ |
---|
17 | |
---|
18 | #include "network_game_rules.h" |
---|
19 | |
---|
20 | using namespace std; |
---|
21 | |
---|
22 | |
---|
23 | /** |
---|
24 | * standard constructor |
---|
25 | */ |
---|
26 | NetworkGameRules::NetworkGameRules ( const TiXmlElement* root ) |
---|
27 | : GameRules( root ) |
---|
28 | { |
---|
29 | this->setClassID( CL_NETWORK_GAME_RULES, "NetworkGameRules"); |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | /** |
---|
34 | * standard deconstructor |
---|
35 | */ |
---|
36 | NetworkGameRules::~NetworkGameRules () |
---|
37 | { |
---|
38 | } |
---|
39 | |
---|
40 | std::string NetworkGameRules::getPlayableModelFileName( int team, ClassID classId ) |
---|
41 | { |
---|
42 | return "models/ships/reap_#.obj"; |
---|
43 | } |
---|
44 | |
---|
45 | ClassID NetworkGameRules::getPlayableClassId( int team ) |
---|
46 | { |
---|
47 | return CL_SPACE_SHIP; |
---|
48 | } |
---|
49 | |
---|
50 | int NetworkGameRules::getTeamForNewUser( ) |
---|
51 | { |
---|
52 | return 0; |
---|
53 | } |
---|
54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.