Commit Graph

54 Commits (openmw-36)

Author SHA1 Message Date
scrawl 72f7c2e555 Move weather reset to clear() method 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl fadbb5ad21 Add particle and sound fading for weather transitions (Fixes #2130) 10 years ago
Internecine 470d375177 Removed duplicate functions and moved pause check in weather.cpp 10 years ago
Internecine 782e851eb1 Better fix, now allows for teleporting to change weather while still paused. 10 years ago
scrawl 8b340ddd5e Implement slower movement against storms (Closes #41) 11 years ago
scrawl 07d0f4458d Rotate clouds/particles to come from red mountain (Fixes #245) 11 years ago
scrawl f6a568c995 Implement rain (Feature #41) 11 years ago
scrawl 693a097b21 Implement idlestorm animation (Feature #41) 11 years ago
scrawl 36132e054a Implement ashstorm, blightstorm, snow and blizzard effects (Feature #41) 11 years ago
scrawl 27a05027f4 Fixes #1172: Added basic loading/saving progress bar
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
slothlife 6dce3e5186 Fixed include to use C99 header, not C++11 header 11 years ago
slothlife 1acd1bd913 Feature #1173: Saved Game: include weather state
Removed some unused state in and changed Ogre::String to std::string in
WeatherManager.
11 years ago
Marc Zinnschlag 5fa9aa5d1e Merge remote-tracking branch 'lgro/issue417_apply_weather_instantly_when_teleporting'
Conflicts:
	apps/openmw/mwworld/weather.cpp
	apps/openmw/mwworld/worldimp.cpp
11 years ago
scrawl 79a440e94a Many additions to 900bc06d2c236b:
- Fix indentation
 - Consider any kind of light, not just torch_infinite_time
 - Hostile NPCs should also wear lights, if they have nothing else that could use the slot (or a twohanded weapon)
 - Remove redundant code and don't add additional lights to the inventory
 - World::isDark returns false for interiors which are unaffected by weather
11 years ago
Lukasz Gromanowski faf8011c48 Fixes #417: Apply weather instantly when teleporting
Removed changing speed of weather transition introduced in previous
commit. Instead try to detect player "teleporting" (ie. coc),
and then switch instantly to the next weather type.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 91a4d9a2eb Fixes #845: NPCs hold torches during the day
Added method in WeatherManger and World which returns true if it is night.
This method is used later in character controller to show torches
(or other sources of light) at night and hide them at day.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl c8e31725dc Fix weather sounds persisting on a new game 12 years ago
Chris Robinson c94653dc49 Implement the ModRegion script function 12 years ago
Miroslav Puda 8da3494d74 Revert "Type of weather changed from string to enum."
This reverts commit 04d90b4c47.

Conflicts:
	apps/openmw/mwworld/weather.cpp
	apps/openmw/mwworld/weather.hpp
12 years ago
Miroslav Puda f9940413fd Static for nextWeather() 12 years ago
Miroslav Puda bf31e5385c Removal of duplicit exterior checking and unneded string copiing. 12 years ago
Miroslav Puda 8a45686e0a WeatherResult added as member variable. 12 years ago
Miroslav Puda 04d90b4c47 Type of weather changed from string to enum. 12 years ago
Glorf 6417fa504e Fixed constness 12 years ago
Glorf c605f15a15 Another weather cleanup 12 years ago
Glorf 68f249e8f4 Small weather cleanup 12 years ago
scrawl 67422c397c GetWindSpeed 12 years ago
scrawl 6c1ff8caca Merge branch 'master' into next
Conflicts:
	apps/openmw/mwworld/weather.cpp
	components/fileorderlist/model/datafilesmodel.cpp
12 years ago
scrawl 21cc7483e4 Fix broken weather transitions 12 years ago
Marc Zinnschlag 66a2df68db some cleanup 12 years ago
Glorf 521bebd2f4 Fallback system rewritten, added light fallbacks 12 years ago
Marc Zinnschlag bdec87e51b some cleanup 12 years ago
Glorf d5ca00c927 Another fix 12 years ago
Glorf 81338d3b23 Weather code fixes 12 years ago
Glorf aebd9a3700 Weather to pull 12 years ago
scrawl caef570c8a fix the weather not changing when sleeping/waiting 12 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
gugus 10321ff51a Merge branch 'master' of https://github.com/zinnschlag/openmw.git into DialogueSystem 13 years ago
scrawl 2196e1321b added weather sounds 13 years ago
gugus 39415f0b4a fix compilation bug with Visual C++ 13 years ago
scrawl 528cff5a59 implemented ChangeWeather script function 13 years ago
scrawl a05ba97382 choose a random weather depending on region's weather probabilities 13 years ago
scrawl d77d5080bd implemented GetCurrentWeather script function 13 years ago
scrawl 8d5783d75d - set moon phase using (day%32)/4 (not really correct, but good for now)
- added all weather patterns from morrowind.ini
13 years ago
scrawl e31ad90802 moon positions and fading 13 years ago
scrawl 4650672bb1 thunderstorm 13 years ago
scrawl 0ebdce543a - added night sky rendering with stars, nebulas, and fading in/out to sunset / sunrise
- changed WeatherGlobals members to static
13 years ago
scrawl d9c02ca526 - added isCellExterior / isCellQuasiExterior methods to World
- interior now have the sun disabled properly (and ambient managed by cell, not sky)
13 years ago
scrawl a5720e9a4f set sky colors according to time of day 13 years ago