scrawl
90a99991d1
Use empty() instead of !size()
9 years ago
scrawl
044e0a829a
Add fog
9 years ago
scrawl
7d647088ab
Make the local map cell distance configurable
9 years ago
scrawl
bd655c20fd
Refactor local map updates
...
We don't need the delay any more because the rendering itself is part of the normal rendering traversal - so it's delayed anyway.
Don't request maps that we're not actually using (i.e. with cell grid sizes higher than the default 3, we were rendering more maps than the map window could show).
9 years ago
scrawl
ca4e859f61
Remove unused argument
9 years ago
scrawl
4690fd3f22
Change the local map exploration radius to better match the original engine
9 years ago
Paul Cercueil
0765ff3ba2
mwrender: Add missing includes
...
Those missing includes were causing the build to fail when compiled with
USE_GLES set.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
9 years ago
scrawl
8e3bc981a2
Fix self-referencing camera
9 years ago
scrawl
6ba9f561ea
Use simple water for the local map
9 years ago
Alexander "Ace" Olofsson
7d4125d97f
Fixes for building with unity build
9 years ago
scrawl
af3b0cd883
Improve some error messages
10 years ago
scrawl
278076e609
Include cleanup
10 years ago
scrawl
ce0d93caed
Fix for "GlobalMap trying to erase an inactive camera" spam in main menu
10 years ago
scrawl
24551c7bab
Fix for savegame incompatibility with master branch
10 years ago
scrawl
cdd0623009
Terrain rendering
10 years ago
scrawl
01944c33f5
Basic water rendering
10 years ago
scrawl
6d3528af70
Port global map exploration
10 years ago
scrawl
5f7a82e0da
Fog of war fix
10 years ago
scrawl
c811ac6afe
Port fog of war
...
Not optimized yet, need to work on fog texture's DataVariance.
10 years ago
scrawl
c4951d1e73
Map rotation fix
10 years ago
scrawl
3dcb167066
Map rendering
10 years ago
scrawl
152d690a7a
Minor cleanup
10 years ago
Rohit Nirmal
997347b01e
Silence -Wreorder warnings.
10 years ago
dteviot
e197f5318b
fixing MSVC 2013 warning C4244: & C4305
...
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl
08d8dd287c
I think this was committed by accident
10 years ago
scrawl
de23ad5c8d
Change dynamic_cast to static_cast to make coverity happy
10 years ago
scrawl
a47de06492
Make local map resolution configurable and use lower default value
...
This seems to be the resolution the original engine is using. The change also significantly reduces cell loading time.
10 years ago
scrawl
f931ba2efc
Fix some static analysis issues (coverity)
10 years ago
scrawl
7d36a202a8
Implement cell loading threshold ( Fixes #1874 )
...
The cell loading threshold (default: 1024 units) prevents exterior cell loading until the player has travelled part-way into the next cell. This gets rid of excessive cell loadings when walking along an exterior cell border.
Lower the maximum allowed view distance in options menu to accomodate. Change setting name so that old settings files are upgraded.
10 years ago
scrawl
4f92044d71
Allow user-created markers on local map ( Fixes #1571 )
11 years ago
scrawl
c065a4b203
Add ManualResourceLoader for global map overlay ( Fixes #1736 )
11 years ago
scrawl
cd8287da16
Make sure fog texture is loaded before trying to convertToImage
11 years ago
scrawl
89af49f669
Make sure fog of war texture is loaded before accessing its buffer
11 years ago
scrawl
4ec51b386a
Add ManualResourceLoader for fog of war textures ( Fixes #1675 )
11 years ago
slothlife
9ea22324f7
Fix some MSVC warnings.
...
Several fixes are warnings about truncations on 64-bit, while others are
complaints about mixed signed / unsigned integer operations.
11 years ago
scrawl
1d8da95756
Warning fix
11 years ago
scrawl
6cc691115b
Savegame: store most of CreatureStats
11 years ago
scrawl
2bc2684a66
Fixes #275 : force updating exterior cell maps even if already in cache
11 years ago
scrawl
ac8abd3398
assert -> exception to gracefully handle corrupted savegames
11 years ago
scrawl
c39a0368cf
Bug #618 : Make local map textures static in an attempt to fix the disappearing maps with D3D.
...
Also removed problematic DISCARDABLE flag for fog of war textures.
11 years ago
scrawl
c98bea2a88
Moved local map update to LocalMap::updatePlayer to fix a brief desync on cell transitions due to sFogOfWarSkip
11 years ago
scrawl
a4a9794417
Savegame: store fog of war ( Closes #1177 )
11 years ago
megaton
50af9bc0d3
General perfomance optimizations.
11 years ago
scrawl
edb5a54092
Include some more required Ogre headers explicitely.
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
Marc Zinnschlag
7693f712bc
started making CellStore into a proper class; encapsulated mCell member
11 years ago
scrawl
62774fcc4a
Merge branch 'master' into HEAD
...
Conflicts:
apps/openmw/mwbase/world.hpp
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
apps/openmw/mwworld/worldimp.hpp
components/esm/loadtes3.cpp
11 years ago
scrawl
5729672262
Show marked position on map. Implement Detect X magic effects.
11 years ago
Marc Zinnschlag
e818d43bc3
removed an outdated typedef and some dead code
11 years ago
scrawl
3ddeb075fb
Fix a cell border seam on the map
12 years ago