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/tutorial/01_triangle.cpp

    r2183 r2237  
    22// Lol Engine - Triangle tutorial
    33//
    4 // Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
    55//   This program is free software; you can redistribute it and/or
    66//   modify it under the terms of the Do What The Fuck You Want To
     
    7575int main(int argc, char **argv)
    7676{
     77    System::Init(argc, argv);
     78
    7779    Application app("Tutorial 1: Triangle", ivec2(640, 480), 60.0f);
    7880
Note: See TracChangeset for help on using the changeset viewer.