Browse Source

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

that 2-year old "temporary Win32 hack".
master
Sam Hocevar 12 years ago
parent
commit
037ebfd425
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      neercs/neercs.cpp

+ 0
- 10
neercs/neercs.cpp View File

@@ -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);



Loading…
Cancel
Save