mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 02:29:17 +02:00
continued refactoring: traction, events, event launchers, sounds; additional diagnostics timers, minor performance enhancements and bug fixes
This commit is contained in:
6
Ground.h
6
Ground.h
@@ -277,15 +277,13 @@ class TGround
|
||||
TGround();
|
||||
~TGround();
|
||||
void Free();
|
||||
#ifdef EU07_USE_OLD_GROUNDCODE
|
||||
bool Init( std::string File );
|
||||
void FirstInit();
|
||||
#ifdef EU07_USE_OLD_GROUNDCODE
|
||||
void InitTracks();
|
||||
void InitTraction();
|
||||
bool InitEvents();
|
||||
#endif
|
||||
bool InitLaunchers();
|
||||
#ifdef EU07_USE_OLD_GROUNDCODE
|
||||
TTrack * FindTrack(vector3 Point, int &iConnection, TGroundNode *Exclude);
|
||||
TTraction * FindTraction(glm::dvec3 const &Point, int &iConnection, TGroundNode *Exclude);
|
||||
TTraction * TractionNearestFind(glm::dvec3 &p, int dir, TGroundNode *n);
|
||||
@@ -295,9 +293,7 @@ class TGround
|
||||
void UpdatePhys(double dt, int iter); // aktualizacja fizyki stałym krokiem
|
||||
bool Update(double dt, int iter); // aktualizacja przesunięć zgodna z FPS
|
||||
void Update_Hidden(); // updates invisible elements of the scene
|
||||
#endif
|
||||
bool GetTraction(TDynamicObject *model);
|
||||
#ifdef EU07_USE_OLD_GROUNDCODE
|
||||
bool AddToQuery( TEvent *Event, TDynamicObject *Node );
|
||||
bool CheckQuery();
|
||||
TGroundNode * DynamicFindAny(std::string const &Name);
|
||||
|
||||
Reference in New Issue
Block a user