浏览代码

core: pass the project directory to the binary build and get rid of

that 2-year old "temporary Win32 hack".
master
Sam Hocevar 12 年前
父节点
当前提交
037ebfd425
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. +0
    -10
      neercs/neercs.cpp

+ 0
- 10
neercs/neercs.cpp 查看文件

@@ -8,10 +8,6 @@
# include "config.h"
#endif

#if defined _WIN32
# include <direct.h>
#endif

#if defined _XBOX
# define _USE_MATH_DEFINES /* for M_PI */
# include <xtl.h>
@@ -74,12 +70,6 @@ int main(int argc, char **argv)

Application app("Neercs", ivec2(800, 600), 60.0f);

#if defined _MSC_VER && !defined _XBOX
_chdir("../..");
#elif defined _WIN32 && !defined _XBOX
_chdir("../..");
#endif

new Neercs(argc, argv);
app.ShowPointer(false);



正在加载...
取消
保存