pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System file reorganisation


From: Ingo Ruhnke
Subject: Re: System file reorganisation
Date: 27 Oct 2002 14:10:49 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

> System <-- SystemLinux <-- SystemFreeBSD as a class hierachie for
> Strategy if FreeBSD is very similar to Linux and needs only a
> slightly different approach. Doing this with differnt files requires
> to duplicate all the code instead of simply overloading one or two
> virtual functions.

If systems are very similar its probally better to just add a few
#ifdef's and configure.in checks where necessary instead of bloating
the class hierachie even more.

Anyway, the whole concept behind system.cxx, path_finder.cxx and Co.
is not really usable. What we need is a unified resource management
system, that completly abstracts away from the underlying system and
which allows loading of all resouces Pingus uses (sounds, graphics,
levelfiles, savegames, etc.), not just a few.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

[Prev in Thread] Current Thread [Next in Thread]