00001 /*************************************************************************** 00002 * world.h 00003 * 00004 * Tue Sep 7 14:32:34 2004 00005 * Copyright 2004 thierry schartz 00006 * thierry.schartz@bluebottle.com 00007 ****************************************************************************/ 00008 00009 /* 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Library General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 */ 00024 00025 #ifndef _WORLD_H 00026 #define _WORLD_H 00027 00028 #ifdef WIN32 00029 #include <windows.h> 00030 #endif 00031 00032 00033 namespace ngn { 00034 00035 class Camera; 00036 00037 namespace core { 00038 00039 class World 00040 { 00041 00042 public: 00043 World() {}; 00044 virtual ~World() {}; 00045 // loads a world and returns status 00046 virtual bool load( const char* file ) = 0; 00047 // render the world 00048 virtual void render( const Camera& cam ) = 0; 00049 00050 }; 00051 00052 00053 }//core 00054 }//ngn 00055 #endif /* _WORLD_H */