Ignore:
Timestamp:
Jan 21, 2013, 12:28:22 AM (8 years ago)
Author:
sam
Message:

system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/neercs.cpp

    r2000 r2237  
    22// Neercs
    33//
    4 // Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
    55//
    66
     
    7171int main(int argc, char **argv)
    7272{
     73    System::Init(argc, argv);
     74
    7375    Application app("Neercs", ivec2(800, 600), 60.0f);
    7476
Note: See TracChangeset for help on using the changeset viewer.