aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_hud_atc.png
Commit message (Collapse)AuthorAge
* Use graphical indication for more elements; improve 7-segment displayrelease-2.2.1ywang2021-01-20
|
* Improved HUD texturesywang2020-12-23
|
* HUD improvementsywang2020-12-22
|
* Use PNG textures for the indication of reverser, lever, control mode, shunt ↵ywang2020-12-19
mode, and doors
pc">#define UTIL_TIMETAKER_HEADER #include "../irrlichttypes.h" #include "../gettime.h" /* TimeTaker */ class TimeTaker { public: TimeTaker(const char *name, u32 *result=NULL, TimePrecision=PRECISION_MILLI); ~TimeTaker() { stop(); } u32 stop(bool quiet=false); u32 getTimerTime(); private: const char *m_name; u32 m_time1; bool m_running; TimePrecision m_precision; u32 *m_result; }; #endif