diff options
author | johndoe123 | 2014-03-11 17:59:59 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 12645cbb8cb90adb5917b554e14142bf33d0f70a (patch) | |
tree | aebaf66b54c0746ee2c991f2bdd68e5123c4c1c8 /engines/illusions/time.cpp | |
parent | e0a3db43c3eed0c5bb7f94f408e5534aff1ea17a (diff) | |
download | scummvm-rg350-12645cbb8cb90adb5917b554e14142bf33d0f70a.tar.gz scummvm-rg350-12645cbb8cb90adb5917b554e14142bf33d0f70a.tar.bz2 scummvm-rg350-12645cbb8cb90adb5917b554e14142bf33d0f70a.zip |
ILLUSIONS: Some work on the Camera class; start with time functions
Diffstat (limited to 'engines/illusions/time.cpp')
-rw-r--r-- | engines/illusions/time.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/engines/illusions/time.cpp b/engines/illusions/time.cpp new file mode 100644 index 0000000000..7873db6ba4 --- /dev/null +++ b/engines/illusions/time.cpp @@ -0,0 +1,33 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#include "illusions/time.h" +#include "common/system.h" + +namespace Illusions { + +uint32 getCurrentTime() { + // TODO, move to own file with other time related code + return g_system->getMillis(); +} + +} // End of namespace Illusions |