mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
16 lines
214 B
C++
16 lines
214 B
C++
#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();
|
|
}
|