1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-26 04:12:41 +01:00
openrw/rwgame/main.cpp
2014-09-16 19:22:43 +01:00

19 lines
242 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());
return game.run();
}