Commit Graph

16 Commits (652c7e43e23652fb8bf05b4b57e6db36b0eb765c)

Author SHA1 Message Date
Maikel de Vries e9b076f6d3 remove celestial environment object in favor of scenario callback 2015-05-14 12:30:21 +02:00
Maikel de Vries 871873b9bc use ambient brightness for time of day 2015-05-14 12:29:53 +02:00
Maikel de Vries 041532505b reduce lag when night by removing gamma change
The cool effect is then gone, but it has to be replaced anyways by shader effects.
2015-01-29 18:04:46 +01:00
Mark 850bf1b9d4 CreateObject/CreateObjectAbove (#1214)
Renamed CreateObject() to CreateObjectAbove() and replaced all occurrences in script files.
Added CreateObject(), the function may need a rewrite though, see comment in code.
Updated documentation
2015-01-11 19:02:03 +01:00
Sven Eberhardt 5094cc5c1b Reworked "Save as scenario" option in editor to write a script file instead of Game.txt. 2013-12-27 17:10:09 +01:00
Tobias Zwick d1be5d109c adjust gamma calculation of time 2013-05-25 22:26:41 +02:00
Pyrit 6b8b386658 Added SetGamma() to the time object, so that the whole game gets dark at night, not just the sky.
Signed-off-by: Tobias Zwick <newton@westnordost.de>
2013-05-25 20:55:20 +02:00
Maikel de Vries 7613277191 Never do this again
This really is the last warning, after this I'll just revert!
2012-11-04 15:03:41 +01:00
Tobias Zwick 2335abcc23 fix hide stars and moon during day 2012-10-30 22:01:57 +01:00
Tobias Zwick 095645a7bb dont draw stars and moon at all during the day, only fade all celestial objects and cloud on dawn and dusk (performance optimization) 2012-10-30 00:48:50 +01:00
Tobias Zwick bf7742760d made the night sky more beautiful with stars 2012-10-30 00:10:00 +01:00
Tobias Zwick 117e9ec90f make day->night->day fading smoother,
add sunset/dawn fade in between,
clouds don't turn invisible in the night
2012-10-28 18:48:02 +01:00
Tobias Zwick f22fe90484 Nachtfalter's new moon 2012-10-14 01:38:09 +02:00
Charles Spurrill e1c511311e Clouds darken at night; variable 'blueness' of night relative to moon phase 2012-05-22 13:16:48 -07:00
Felix Wagner eb6b7be7ee Fixed various unused vars 2012-02-20 11:58:58 +00:00
Armin Burgmeier 675c077ed2 Change .c4d extension to .ocd 2011-03-13 16:55:00 +01:00