1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

backing up some stuff

This commit is contained in:
Perttu Ahola 2011-01-26 17:13:19 +02:00
parent adb7f248da
commit bd100c5483
6 changed files with 172 additions and 43 deletions

View file

@ -54,6 +54,13 @@ u32 TimeTaker::stop(bool quiet)
return 0;
}
u32 TimeTaker::getTime()
{
u32 time2 = getTimeMs();
u32 dtime = time2 - m_time1;
return dtime;
}
const v3s16 g_26dirs[26] =
{
// +right, +top, +back