Update to irrlicht only, non-irrlicht part should be unchanged.

- Tracks and kart models are now loaded and converted into
  bullet physics. 
- A simple camera is implemented, so a loaded track can be
  displayed (note: the current SVN version does not contain
  a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
  menus atm, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2009-02-10 05:30:59 +00:00
parent 35e6e0ecf8
commit 3b7bfd5367
39 changed files with 578 additions and 82 deletions

View File

@@ -21,15 +21,16 @@
#include <SDL/SDL.h>
#include <assert.h>
#include "history.hpp"
#include "sdldrv.hpp"
#include "material_manager.hpp"
#include "race_manager.hpp"
#include "modes/world.hpp"
#include "user_config.hpp"
#include "history.hpp"
#include "audio/sound_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/scene.hpp"
#include "gui/menu_manager.hpp"
#include "modes/world.hpp"
#include "user_config.hpp"
#include "network/network_manager.hpp"
MainLoop* main_loop = 0;
@@ -204,8 +205,12 @@ void MainLoop::run()
menu_manager->update();
sound_manager->update(dt);
#ifdef HAVE_IRRLICHT
irr_driver->update(dt);
#else
glFlush();
SDL_GL_SwapBuffers();
#endif
} // while !m_exit
} // run