Procházet zdrojové kódy

system: try to autodetect the data directory from the executable path;

currently works for images (SDL and GDI+ loaders) and sound samples.
master
Sam Hocevar před 13 roky
rodič
revize
27e5ce7bef
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +3
    -1
      neercs/neercs.cpp

+ 3
- 1
neercs/neercs.cpp Zobrazit soubor

@@ -1,7 +1,7 @@
//
// Neercs
//
// Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
// Copyright: (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
//

#if defined HAVE_CONFIG_H
@@ -70,6 +70,8 @@ Neercs::~Neercs()

int main(int argc, char **argv)
{
System::Init(argc, argv);

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

#if defined _MSC_VER && !defined _XBOX


Načítá se…
Zrušit
Uložit