2 fegdk: FE Game Development Kit
3 Copyright (C) 2001-2008 Alexey "waker" Yakovenko
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the Free
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 waker@users.sourceforge.net
24 #include "f_application.h"
27 #include "f_baserenderer.h"
29 #include "f_console.h"
34 application::application(void)
38 application::~application(void)
42 void application::configure (void)
45 charParser
p (g_engine
->getFileSystem (), "autoexec.cfg");
52 strcpy (s
, p
.token());
58 strcat (s
, p
.token ());
60 fprintf (stderr
, "%s\n", s
);
61 g_engine
->getConsole ()->command (s
);
65 void application::init( void ) {}
67 void application::free( void ) {}
69 const char* application::getTitle( void ) const { return "FE application"; }
71 const char* application::dataPath( void ) const { return "data"; }
73 void application::keyDown( int keycode
) {}
75 void application::keyUp( int keycode
) {}
77 void application::mouseMove( int x
, int y
) {}
79 void application::mouseDown( int keycode
) {}
81 void application::mouseUp( int keycode
) {}
83 void application::mouseWheel(int delta
) {}
85 void application::update( void )
89 void application::render( void ) const