00001 // $Id: construo_main.hxx,v 1.9 2002/12/26 01:43:12 grumbel Exp $ 00002 // 00003 // Construo - A wire-frame construction game 00004 // Copyright (C) 2002 Ingo Ruhnke <grumbel@gmx.de> 00005 // 00006 // This program is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU General Public License 00008 // as published by the Free Software Foundation; either version 2 00009 // of the License, or (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, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 00020 #ifndef CONSTRUO_HH 00021 #define CONSTRUO_HH 00022 00023 #include <vector> 00024 #include <iostream> 00025 #include <list> 00026 #include "config.hxx" 00027 00028 class World; 00029 00030 class ConstruoMain 00031 { 00032 private: 00033 bool do_quit; 00034 Config config; 00035 00036 public: 00037 ConstruoMain (); 00038 virtual ~ConstruoMain (); 00039 00040 char* get_title (); 00041 int main (int argc, char* argv[]); 00042 00045 void on_exit(); 00046 private: 00047 void process_events (); 00048 }; 00049 00050 #endif 00051 00052 /* EOF */