mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 10:29:19 +02:00
stl-based names class replacement, re-enabled cab camera shake, enhanced parser comment support, minor bug fixes.
This commit is contained in:
9
Ground.h
9
Ground.h
@@ -15,6 +15,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "Classes.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "dumb3d.h"
|
||||
#include "Names.h"
|
||||
|
||||
using namespace Math3D;
|
||||
|
||||
@@ -297,7 +298,15 @@ class TGround
|
||||
ssh = 0,
|
||||
ssm = 0; // ustawienia czasu
|
||||
// int tracks,tracksfar; //liczniki torów
|
||||
#ifdef EU07_USE_OLD_TNAMES_CLASS
|
||||
TNames *sTracks = nullptr; // posortowane nazwy torów i eventów
|
||||
#else
|
||||
typedef std::unordered_map<std::string, TEvent *> event_map;
|
||||
// typedef std::unordered_map<std::string, TGroundNode *> groundnode_map;
|
||||
event_map m_eventmap;
|
||||
// groundnode_map m_memcellmap, m_modelmap, m_trackmap;
|
||||
TNames<TGroundNode *> m_trackmap;
|
||||
#endif
|
||||
private: // metody prywatne
|
||||
bool EventConditon(TEvent *e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user