RigsofRods
Soft-body Physics Simulation
source
main
gameplay
Landusemap.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2005-2012 Pierre-Michel Ricordel
4
Copyright 2007-2012 Thomas Fischer
5
6
For more information, see http://www.rigsofrods.org/
7
8
Rigs of Rods is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License version 3, as
10
published by the Free Software Foundation.
11
12
Rigs of Rods is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
//created by thomas fischer 23 February 2009
22
23
#pragma once
24
25
#include "
Application.h
"
26
#include "
SimData.h
"
27
28
namespace
RoR
{
29
32
33
class
Landusemap
34
{
35
public
:
36
37
Landusemap
(Ogre::String cfgfilename);
38
~Landusemap
();
39
40
ground_model_t
*
getGroundModelAt
(
int
x
,
int
z
);
41
int
loadConfig
(
const
Ogre::String& filename);
42
43
protected
:
44
45
ground_model_t
**
data
;
46
ground_model_t
*
default_ground_model
;
47
48
Ogre::Vector3
mapsize
;
49
};
50
52
53
}
// namespace RoR
RoR::Landusemap::default_ground_model
ground_model_t * default_ground_model
Definition:
Landusemap.h:46
z
float z
Definition:
(ValueTypes) quaternion.h:7
RoR::Landusemap::Landusemap
Landusemap(Ogre::String cfgfilename)
Definition:
Landusemap.cpp:40
RoR::Landusemap::getGroundModelAt
ground_model_t * getGroundModelAt(int x, int z)
Definition:
Landusemap.cpp:57
SimData.h
Core data structures for simulation; Everything affected by by either physics, network or user intera...
Application.h
Central state/object manager and communications hub.
RoR::Landusemap::~Landusemap
~Landusemap()
Definition:
Landusemap.cpp:51
RoR::Landusemap::loadConfig
int loadConfig(const Ogre::String &filename)
Definition:
Landusemap.cpp:72
RoR::Landusemap::mapsize
Ogre::Vector3 mapsize
Definition:
Landusemap.h:48
RoR::ground_model_t
Surface friction properties.
Definition:
SimData.h:739
RoR::Landusemap::data
ground_model_t ** data
Definition:
Landusemap.h:45
RoR
Definition:
AppContext.h:36
x
float x
Definition:
(ValueTypes) quaternion.h:5
RoR::Landusemap
Definition:
Landusemap.h:33
Generated by
1.8.17