Re: [TuxKart-devel] Some notes
Status: Alpha
Brought to you by:
sjbaker
From: James G. <jam...@bt...> - 2004-08-02 01:02:52
|
On Mon, 2004-08-02 at 01:41, Matze Braun wrote: > On Sun, 1 Aug 2004, James Gregory wrote: > > > 1. The new loading code means that the game only works if the exe is run > > from the game's root directory. I've changed some of the loading stuff > > to use the Loader class to fix this, but not all of it. > Huh? I added several searchpaths in start_tuxkart.cxx, so tuxkart should > also run from other directories. I'm planing to do add some code that > determines the directory of the executable (/proc/self...) so that it is > even more smart than just adding . and TUXKART_DATADIR. It can't find the image files. > > 2. In tuxkart.cxx there are lines like "loader -> > > setCreateStateCallback ( getAppState ) ;", which made sense before but > > I don't think it does now that "loader" is something entirely different? > No, the loader is still a subclass of ssgLoaderOptions, so the plib > related stuff is still valid and correct. Oh, OK, sorry. > > > > 3. there's no chance it will compile now as I don't know how to change > > the autoconf stuff to make it make a makefile that includes my new > > files. It also now needs to link to SDLimage and SDL_ttf > > Are you talking about the GUI code? > Yup, though grumbel changed the make stuff so it will compile now (and has done for some hours)...if you have the right libraries installed. James |