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
Lukasz Gromanowski
bfd79bfbe6
Various fixes for CppCheck warnings.
...
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
c8e31725dc
Fix weather sounds persisting on a new game
12 years ago
scrawl
6164e5bae6
Restored window resizing
12 years ago
Chris Robinson
c94653dc49
Implement the ModRegion script function
12 years ago
Chris Robinson
14e0c182f3
Allow specifying the sound type to playSound and playSound3D
12 years ago
Marc Zinnschlag
cd538538b5
fixed weather code
12 years ago
Marc Zinnschlag
8b909ff838
killed a stray srand
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
26a6bdb27d
Correction of sigsegv.
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
f01aa8f55e
Simpler statistical calculation of next weather; minus before parens.
12 years ago
Miroslav Puda
04d90b4c47
Type of weather changed from string to enum.
12 years ago
Glorf
9fa2dd5277
Playing with moons part 2
12 years ago
Glorf
6aaa8d6dc0
Fixed fading problem
12 years ago
Glorf
9cc85cbe81
Playing with moons part 1
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
Marc Zinnschlag
738a54337d
removed redundant case smashing
12 years ago
scrawl
fdf80c1c4f
Fix unused variable
12 years ago
scrawl
db78d15fc4
Fix changeWeather
12 years ago
scrawl
2509b34ace
Enabled bloodmoon weather
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
Glorf
5922637c58
Unblocked Solstheim weather that should work now.
12 years ago
Glorf
f3fd3a7691
Much more moons fallbacks
12 years ago
Glorf
1369090a80
More moons fallbacks, minor weather fixes
12 years ago
Marc Zinnschlag
66a2df68db
some cleanup
12 years ago
Glorf
727a598cbe
Last tabulator died
12 years ago
Glorf
542c1bcc53
Some other tabulators deleted
12 years ago
Glorf
e1c6c3fe02
Tabulators deleted
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
15e51b76de
Experimental: Directional shading on local map, separated out refraction render, no longer uses screen depth
12 years ago
eduard
2dc0064cc2
more string lowercase
12 years ago
Chris Robinson
7b2c3e6cd3
Pass a proper PlayMode enum to playSound and playSound3D
12 years ago
greye
ff8da265ed
applying new interface vol.9, inconsistent
12 years ago
greye
d205723a17
resolving m prefix/ESMStore movement
12 years ago
greye
2057f5619e
move ESMStore to MWWorld
12 years ago
greye
3c2ce25f5f
m prefix for mwworld/cellstore.hpp
12 years ago
greye
2fa4ac177a
initial resolving
12 years ago
scrawl
caef570c8a
fix the weather not changing when sleeping/waiting
12 years ago
greye
7606ebafd6
resolving conflicts, minor update
12 years ago
Marc Zinnschlag
6bd48d12af
Issue #107 : SoundManager is accessed only through the interface class from now on
13 years ago
scrawl
7731e9a6fa
finished cleaning up sky
13 years ago
Marc Zinnschlag
5a7b95bf7a
Issue #107 : cleaned up includes in apps/openmw/mwworld/class.hpp
13 years ago
Marc Zinnschlag
4c39fefd1e
Issue #107 : World is accessed only through the interface class from now on; some include cleanup
13 years ago
scrawl
c85c794c86
fixed some cppcheck issues
13 years ago
scrawl
375c198ebd
WeatherManager: fix for cells that have no region.
13 years ago
scrawl
4ce83badc9
flickering lights
13 years ago
Marc Zinnschlag
35f478071e
Issue #255 : deleted the old environment class and using the new one instead
13 years ago
scrawl
c748252d33
weather fix again
13 years ago
scrawl
cdea19206c
Revert "more accurate fog, TODO: apply this to the terrain"
...
This reverts commit 96c37d3e7c
.
13 years ago
scrawl
96c37d3e7c
more accurate fog, TODO: apply this to the terrain
13 years ago
scrawl
dbf7547003
fixed first weather transition being instant
13 years ago
scrawl
f008ca166b
restored moons like they were
13 years ago
scrawl
456eb95209
reversed sun and moon paths (sunrise at east)
13 years ago
scrawl
e718d4b6f0
another sky fix
13 years ago
scrawl
b36c0d95b8
night transition fix
13 years ago
Alexander "Ace" Olofsson
cec9562282
Fixing an ambigous symbol
13 years ago
scrawl
04c6f23a2b
disabled solstheim weather (we can't travel there anyway)
...
also, there was a bug that could cause this weather to show up on
morrowind, which is fixed now
13 years ago
gugus
11569819db
compilation fix
13 years ago
gugus
7ca0503205
Merge branch 'master' of https://github.com/zinnschlag/openmw.git into DialogueSystem
13 years ago
scrawl
1840401172
weather transitions (e.g. from clear to cloudy) use timescale
13 years ago
scrawl
3ae69f792a
no light-"jumps" during night
13 years ago
scrawl
5ea2122f79
sun gradually disappears
13 years ago
scrawl
d18b3271b1
transition tweak 2
13 years ago
scrawl
460b584934
transition tweaks
13 years ago
gugus
10321ff51a
Merge branch 'master' of https://github.com/zinnschlag/openmw.git into DialogueSystem
13 years ago
scrawl
f46d9b094b
fix weather sounds sometimes playing in interiors
13 years ago
scrawl
2196e1321b
added weather sounds
13 years ago
gugus
39415f0b4a
fix compilation bug with Visual C++
13 years ago
scrawl
3ea2a9f05d
changeWeather bugfix
13 years ago
scrawl
c9ceb74e5c
transition fix
13 years ago
scrawl
8b0ef8f98c
improvements to sun glare
13 years ago
scrawl
932983c2fa
fix toggleSky
13 years ago
scrawl
c1d39bb35f
tweaked cloud color
13 years ago
scrawl
f79bf1f300
fog
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
67c7b965f0
calculate a sun position depending on time of day
13 years ago
scrawl
811c4a41b7
fade in/out for sunrise and sunset
13 years ago
scrawl
af83742e6f
- disable the sky renderer completely in interior cells
...
- SkyManager update (initial sun glare effect, no raycast)
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
90af78e3b8
attempt to fix openmw's lighting (restored the sun, set proper ambient value outside)
...
- the fix should remain in this branch since the main branch still has the lighting by caelum
13 years ago
scrawl
a5720e9a4f
set sky colors according to time of day
13 years ago
scrawl
ce98397565
adding ini values for 'cloudy' and 'clear'
13 years ago
scrawl
1badb5d04f
some restructurings
13 years ago
scrawl
41a8b22ebd
implemented weather transitions (currently only blends the clouds)
13 years ago
scrawl
4efc5bc1f2
forgot to add file
13 years ago