glob2-devel
[Top][All Lists]
Advanced

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

Re: [glob2-devel] new fog


From: Stéphane Magnenat
Subject: Re: [glob2-devel] new fog
Date: Mon, 5 Feb 2007 08:43:07 +0100
User-agent: KMail/1.9.6

> I'd like to have a clouds-slider in the settings where you can set max
> alpha. there is a DynamicClouds::maxAlpha that is set to 130 now. Also even
> if we don't put a slider and some more for the other params in the settings
> screen, i'd like to not leave these settings in the class but read them
> from a settings.txt. How do i do this?

Just add the settings you need into Settings class (Settings.h/.cpp) and add 
it to the constructor (default value) and in Settings::load and 
Settings::save

Steph

-- 
http://nct.ysagoon.com




reply via email to

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