> On Sat, Mar 02, 2002 at 01:03:27PM +0100, Marcus Lindblom wrote:
> > - [src/gfx]
> > (I would also like to have _all_ graphic related things here.. everything
> > that draws something should be located in this directory, instead of as now
> > having small renderes everywhere.)
> Sure, thats the only sane way to do it..
Yup, will start doing something about it. Most of the external things are
for font-drawing and such simple things. I will try to add some abstract
entry-point into the renderer for these things (as we had originally, if
anyone remembers.. they were never implemented though, and thus not used.)
> > - data/textures is messy too, esp. the outline-textures that serves no
> > purpose should be deleted. I would also be more comfortable with
> > subdirs for terrain/objects/menu/hud or something similiar.
> mhm.. a few subdirs would be nice..
Ok, let's get specific:
terrain - terrain, sky, water (caust01-32), etc..
objects - mesh textures (ship, turret, tree)
menu - logo, background, etc
hud - hud elements
effects - fire_particle, engine_wake, etc
that includes all textures, I think, except the fonts..
put them in menu/ .. a separate subdir is a bit too much, eh?
> > All content-developing should be put in a separate module, where
> > Picon should put the original maya-files for everything too!
> reaper/content-devel ?
> And move everything from data/ which isn't needed at runtime to that directory..
I'd rather have content-devel completely separated from code/runtime
data.. but it doesn't really matter yet..
> > - data/config - perhaps this dir should hold only default settings,
> > and we store user-settings in a new dir config/? Makes more sense to
> > have 'static' gameplay data in one dir, usermodifiable stuff in another.
> > (Should this apply to screenshots and saved games as well?)
> I will do something like this anyway, to allow the data files to be stored
> in a readonly location, and have user settings (etc) in the home directory.
> (think central installation on unix system and multiple users)
How about the data/cache dir? .. it should contain the same data for all
users.. but it is not read-only.. and the data is not guaranteed to be
cross-platform compatible, thus cannot be contained in the cvs-tree.
Write a separate util that build all those things upon installation of
reaper? .. quite a good idea I think.. (currently it's only textures, so
it takes 20 secs to write the program.. :)
> A src/include which contains external interfaces, and splitting the other
> modules appropriately. This can be done quite incrementally, I believe, so
> there's no reason to wait...
Well then, let's get started. :)