Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
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
28namespace RoR {
29
32
34{
35public:
36
37 Landusemap(Ogre::String cfgfilename);
39
41 int loadConfig(const Ogre::String& filename);
42
43protected:
44
47
48 Ogre::Vector3 mapsize;
49};
50
52
53} // namespace RoR
Central state/object manager and communications hub.
Core data structures for simulation; Everything affected by by either physics, network or user intera...
ground_model_t ** data
Definition Landusemap.h:45
ground_model_t * default_ground_model
Definition Landusemap.h:46
Ogre::Vector3 mapsize
Definition Landusemap.h:48
ground_model_t * getGroundModelAt(int x, int z)
int loadConfig(const Ogre::String &filename)
Surface friction properties.
Definition SimData.h:704