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/04_texture.cpp

    r2197 r2237  
    22// Lol Engine - Graphing 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
     
    116116int main(int argc, char **argv)
    117117{
     118    System::Init(argc, argv);
     119
    118120    Application app("Tutorial 4: Texture", ivec2(640, 480), 60.0f);
    119121
Note: See TracChangeset for help on using the changeset viewer.