1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00
openrw/rwgame/main.cpp
2015-01-30 10:04:25 +00:00

19 lines
256 B
C++

#define GLEW_STATIC
#include <GL/glew.h>
#include "RWGame.hpp"
std::string getGamePath()
{
auto v = getenv(ENV_GAME_PATH_NAME);
return v ? v : "";
}
int main(int argc, char *argv[])
{
RWGame game( getGamePath(), argc, argv );
return game.run();
}