[TuxKart-devel] Handling of tracks
Status: Alpha
Brought to you by:
sjbaker
From: Pascal G. <pa...@gu...> - 2004-07-25 21:37:30
|
Hi there guys, i'm trying to get to understand more about why tuxkart currently loads tracks this way in order to add support for ~/tuxkart/tracks/{*.{loc,drv,ac},levels.dat} (like listed at http://netpanzer.berlios.de/tuxkart/index.php/Tasks). Firstly, that perhaps only Steve can answer: i'm wondering what is the purpose of the constant MAX_TRACKS ? can't we just look for a \0 or ' ' in levels.dat ? I'm also seeking for ideas in order to cleanly support two tracks directories. I know some ugly ways to implement it, but would definitly appreciate to find/learn-about better solutions. -Pascal -- Projet MoviXMaker (http://sv.gnu.org/projects/movixmaker) Projet [e]MoviX[2] (http://movix.sf.net) Debian Project (http://www.debian.org) TuxKart (Wiki (GOTM): http://netpanzer.berlios.de/tuxkart/index.php) |