main.cpp

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but without any warranty; without even the implied warranty of
00013     merchantability or fitness for a particular purpose.  See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 #include "RacerEditorApp.h"
00020 #include "Debug.h"
00021 #include <iostream>
00022 
00023 #include <SDL.h>
00024 
00026 int main(int argc, char **argv)
00027 {
00028 #ifdef NDEBUG
00029     std::cout << "Starting release build...\n";
00030 #else
00031     std::cout << "Starting debug build...\n";
00032 #endif
00033     SDL_Init(SDL_INIT_NOPARACHUTE);
00034     RacerEditorApp(argc, argv);
00035     DEBUG_MESSAGE("RacerEditorApp constructor returned.");
00036     SDL_Quit();
00037     return 0;
00038 }

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:13 2010 by Doxygen version 1.4.7 for Racer version svn335.