Pārlūkot izejas kodu

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

that 2-year old "temporary Win32 hack".
master
Sam Hocevar pirms 12 gadiem
vecāks
revīzija
037ebfd425
1 mainītis faili ar 0 papildinājumiem un 10 dzēšanām
  1. +0
    -10
      neercs/neercs.cpp

+ 0
- 10
neercs/neercs.cpp Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt