Commit Graph

8694 Commits (26d972280f7f555855b5782066a830373cee9486)
 

Author SHA1 Message Date
scrawl 07a9b7623a Enable skeleton-based bounding boxes added in Ogre 1.10 11 years ago
mrcheko d6345bce91 added npc hit reactions 11 years ago
scrawl 254eba350e Not handling interpolation type should be an error, since it will fail reading the next record if it hasn't read the previous one completely. 11 years ago
scrawl 94cdc1efd2 Enable mipmap generator for 1.9+ 11 years ago
Lukasz Gromanowski 50b6e828cc Added asserts in Interpreter::installSegmentX methods.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski cb04f43384 Fixes for "Conditional jump or move depends on uninitialised value(s)"
and memleaks reported by valgrind.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 6107d5bad2 Updated ffmpeg decoder fix
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 5c5f87445b Fixes for "Conditional jump or move depends on uninitialised value(s)"
and memleaks reported by valgrind.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl b8ac37347c Code cleanup for Class::canBeEquipped 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
scrawl f3a7321a43 Closes #856: More aggressive supression of skeleton base: only create for keyframe controllers, not any controllers 11 years ago
Scott Howard 2f082ef796 remove unneeded libraries 11 years ago
Lukasz Gromanowski 60fb75b03a Fixed valgrind warning about uninitialized variable:
==16814== Conditional jump or move depends on uninitialised value(s)
==16814==    at 0xA945B8: Terrain::QuadTreeNode::update(Ogre::Vector3 const&, Loading::Listener*) (quadtreenode.cpp:269)
==16814==    by 0xA94A77: Terrain::QuadTreeNode::update(Ogre::Vector3 const&, Loading::Listener*) (quadtreenode.cpp:354)
==16814==    by 0xA77541: Terrain::World::update(Ogre::Vector3 const&) (world.cpp:159)
==16814==    by 0x6EBA17: MWRender::RenderingManager::requestMap(MWWorld::CellStore*) (renderingmanager.cpp:649)
==16814==    by 0x8A25C4: MWWorld::Scene::loadCell(MWWorld::CellStore*, Loading::Listener*) (scene.cpp:157)
==16814==    by 0x8A2CEA: MWWorld::Scene::changeCell(int, int, ESM::Position const&, bool) (scene.cpp:296)
==16814==    by 0x8A2DE0: MWWorld::Scene::changeToExteriorCell(ESM::Position const&) (scene.cpp:440)
==16814==    by 0x85AC17: MWWorld::World::changeToExteriorCell(ESM::Position const&) (worldimp.cpp:761)
==16814==    by 0x927E38: OMW::Engine::prepareEngine(Settings::Manager&) (engine.cpp:436)
==16814==    by 0x92843D: OMW::Engine::go() (engine.cpp:483)
==16814==    by 0x6C6B3F: main (main.cpp:279)
==16814==  Uninitialised value was created by a heap allocation
==16814==    at 0x4C27CC2: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16814==    by 0xA93E60: Terrain::QuadTreeNode::createChild(Terrain::ChildDirection, float, Ogre::Vector2 const&) (quadtreenode.cpp:178)
==16814==    by 0xA7733E: Terrain::World::buildQuadTree(Terrain::QuadTreeNode*) (world.cpp:139)
==16814==    by 0xA76B18: Terrain::World::World(Loading::Listener*, Ogre::SceneManager*, Terrain::Storage*, int, bool, bool) (world.cpp:94)
==16814==    by 0x6EC6EB: MWRender::RenderingManager::enableTerrain(bool) (renderingmanager.cpp:1013)
==16814==    by 0x8A2A00: MWWorld::Scene::changeCell(int, int, ESM::Position const&, bool) (scene.cpp:206)
==16814==    by 0x8A2DE0: MWWorld::Scene::changeToExteriorCell(ESM::Position const&) (scene.cpp:440)
==16814==    by 0x85AC17: MWWorld::World::changeToExteriorCell(ESM::Position const&) (worldimp.cpp:761)
==16814==    by 0x927E38: OMW::Engine::prepareEngine(Settings::Manager&) (engine.cpp:436)
==16814==    by 0x92843D: OMW::Engine::go() (engine.cpp:483)
==16814==    by 0x6C6B3F: main (main.cpp:279)

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski c65f018760 Fixes #417: Apply weather instantly when teleporting
Corrected constant name.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
mrcheko 783c2ec716 Merge remote-tracking branch 'upstream/master' 11 years ago
Marc Zinnschlag 6de39a7329 Merge remote-tracking branch 'lgro/issue845_NPCs_hold_torches_whole_day'
Conflicts:
	apps/openmw/mwmechanics/character.cpp
11 years ago
Marc Zinnschlag 56a80da70c Merge remote-tracking branch 'ace/win-fix' 11 years ago
Marc Zinnschlag 456b41f05b Merge remote-tracking branch 'scrawl/master' 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
scrawl c0dba2834b Closes #855: Don't try to look up bone if there's no skeleton 11 years ago
scrawl 04f9f7af56 Closes #990: Add option to unlock mouse cursor when in any menu 11 years ago
scrawl 17ff8165d2 Closes #1065: Don't apply fall damage when landing in water 11 years ago
Alexander "Ace" Olofsson b50151cb38 Quick build fix for windows 11 years ago
scrawl 2a8ab932ef Bug #951: Only recalculate derived stats when attributes change 11 years ago
Marc Zinnschlag f1be4656ec Merge remote-tracking branch 'lgro/issue1042_TES3_header_data_wrong_encoding' 11 years ago
Marc Zinnschlag 60a8a9e684 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 27b45dd3cd Remove unused input 11 years ago
Lukasz Gromanowski 100edda8c0 Fixes #417: Apply weather instantly when teleporting
Change speed of weather transition from blight to other (twice fast as normal)
and from other to blight (four times faster than normal).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
Lukasz Gromanowski 9b73d23139 Fix warning about uninitialized variable inside stream.peak():
openmw/mwgui/bookpage.cpp:394:13: warning: ‘*((void*)& stream +24)’ may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl 6d47d710a0 Reimplement NiGeomMorpherController using Ogre's pose animation system 11 years ago
scrawl 596c9b80a9 Check if threads are joinable before joining (issue with boost 1.52) 11 years ago
scrawl 85ec80100c Bug #1005: Hide torches/shields during spellcasting and hand-to-hand combat 11 years ago
scrawl 7265b427fe Bug #1013: Rewrote fall height detection 11 years ago
scrawl 02277db685 Bug #1052: Don't use set/getOnlyText which discards escape characters 11 years ago
scrawl 686d9efac3 Bug #1060: Fix incorrect spell type checks 11 years ago
scrawl 27092a4494 flagAsModified should be private 11 years ago
scrawl a9526622b1 Particle improvements: particle systems now move with the particle bone, not the scene node. This difference is not noticable if the particle bone is static, but it makes the code *much* nicer and mirrors more closely what NifSkope does. 11 years ago
scrawl 6400f23ab0 Use the material controller manager for effects with overridden texture 11 years ago
scrawl d262d9e6b0 Bug #1054: Set render queue group for effects 11 years ago
scrawl 1c60a781a5 Add header to CMakeLists 11 years ago
scrawl 561c661156 Reset starting angle / position when adding world item to a container 11 years ago
scrawl 608bd0f525 Don't copy the base node pointer when adding a world object to a container. Fixes bug #1028 11 years ago
scrawl 30b1da996b Issue #1029 - Quick keys menu: Select compatible replacement when tool used up 11 years ago
scrawl 5a287a7e01 Remove no longer accurate flagAsModified calls. Container items are now modified via ContainerStore, not RefData. 11 years ago
scrawl d09a86e208 Issue #1018: Don't allow view mode switching while performing an action 11 years ago
scrawl a3017e16d4 Don't allow changing the spell that is being cast mid-animation 11 years ago
scrawl 5054d8e6c1 Bug #1055: Check power use and mana before starting cast animation 11 years ago
scrawl 71d9755ef1 Bug #991: Don't autoequip items with harmful permanent enchantments 11 years ago
scrawl 9877db413c Connect particle systems to the particle node, not the emitter node 11 years ago
scrawl eab2c89346 Issue #983: Fix controllers to affect objects attached to the base node 11 years ago