Project:
omgwheel
Code Location:
http://omgwheel.googlecode.com/svn/trunk//trunk
/
Outline
Util.h
#ifndef UTIL_H #define UTIL_H /* This header contains some commonly used functions throught the project */ #include <string> #include <OIS/OIS.h> // generates a unique string name based on a given prefix // Ogre uses names a lot, so this becomes useful if you don't want to // name things. std::string generateName(std::string prefix="unnamed"); void writelog(std::string text); bool isKeyDown(OIS::KeyCode keycode); #endif
