Rigs of Rods
2023.09
Soft-body Physics Simulation
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
};
33
class
Landusemap
{
…
};
50
52
53
}
// namespace RoR
x
float x
Definition
(ValueTypes) quaternion.h:3
z
float z
Definition
(ValueTypes) quaternion.h:5
Application.h
Central state/object manager and communications hub.
SimData.h
Core data structures for simulation; Everything affected by by either physics, network or user intera...
RoR::Landusemap
Definition
Landusemap.h:34
RoR::Landusemap::data
ground_model_t ** data
Definition
Landusemap.h:45
RoR::Landusemap::default_ground_model
ground_model_t * default_ground_model
Definition
Landusemap.h:46
RoR::Landusemap::~Landusemap
~Landusemap()
Definition
Landusemap.cpp:51
RoR::Landusemap::mapsize
Ogre::Vector3 mapsize
Definition
Landusemap.h:48
RoR::Landusemap::getGroundModelAt
ground_model_t * getGroundModelAt(int x, int z)
Definition
Landusemap.cpp:57
RoR::Landusemap::loadConfig
int loadConfig(const Ogre::String &filename)
Definition
Landusemap.cpp:72
RoR
Definition
AppContext.h:36
RoR::ground_model_t
Surface friction properties.
Definition
SimData.h:704
Generated on Fri Jan 2 2026 09:37:02 for Rigs of Rods by
1.9.8