Commit Graph

115 Commits (a0e89208a0b301666b626a51cdae30e552e50537)

Author SHA1 Message Date
Capostrophic 6b47f72959
Set character preview scene ambient to 0, 0, 0 7 years ago
Capostrophic bfcdf660f2 Utilize inventory character preview lighting rotation fallback settings 7 years ago
Capostrophic b69e812a52 Utilize inventory character preview lighting color fallback settings 7 years ago
scrawl 9bc24ab629 Fix character preview zNear/zFar not being autocomputed as intended (Bug #3955) 8 years ago
scrawl 5c11266a46 Fix character preview item selection 8 years ago
scrawl 7f634514a8 Fix the viewport of the character preview being set a frame ahead due to a threading issue 8 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 8 years ago
Allofich ff3e307059 Pass parameters by const reference 8 years ago
scrawl b064dd29cc Fix reset of blend function (Bug #3811) 8 years ago
scrawl fe439e7bbf Add missing default material state for character preview 8 years ago
scrawl 1692b7f38e Merge pull request #1209 from dhustkoder/master
Added ConstContainerStoreIterator (Task #3092)
8 years ago
Rafael Moura 7fa2703715 Porting more ContainerStoreIterator usage to const version #3 8 years ago
scrawl 00d4fea91c Derive Animation from osg::Referenced to allow the UnrefQueue to delete it 8 years ago
scrawl a5247394dc (Re)set the inventory listener outside of the Animation class 8 years ago
scrawl 0fbd29ccb8 Use additive alpha blending on the character preview 8 years ago
scrawl e38221edc9 Set character preview's simulationTime to 0 to avoid flickering lights 8 years ago
scrawl dd54887783 Fix node mask of CharacterPreview being reset 8 years ago
scrawl c5f8ff6e0e Add names to several nodes for debugging purposes 8 years ago
Allofich 125e94ef0e Fix shadowing warnings 8 years ago
scrawl dda5bfbc9f CharacterPreview no longer depends on osgViewer 8 years ago
scrawl b2ae45f0eb Remove unneeded setGraphicsContext() calls 9 years ago
scrawl 641005b317 Remove Camera's children before removing the Camera
Should work around OSG race condition ( http://forum.openscenegraph.org/viewtopic.php?t=16077 )
9 years ago
scrawl 90a99991d1 Use empty() instead of !size() 9 years ago
scrawl 8bd16e4d5a Don't compute the world matrix multiple times 9 years ago
scrawl 553408949a Fix character preview 9 years ago
scrawl 044e0a829a Add fog 9 years ago
scrawl e8662bea31 Change the way that image origin is converted to OpenGL's lower-left convention
Flip the texture coordinates instead of flipping textures.

This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl f5f3d18b8e Add comment 9 years ago
scrawl 576d5111a5 Prefer Intersector::PROJECTION over Intersector::WINDOW 9 years ago
scrawl 0655abcd8b Fix some character preview raycasting issues (Bug #2769) 9 years ago
scrawl 2e9805fa0e Leak fix 9 years ago
scrawl bd9dc58560 Use the correct scale for actor swim height (Fixes #2833) 9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 10 years ago
scrawl 335ef97cf5 Rename Animation::Group to Animation::BlendMask
The old naming is problematic, because the term group was being used for another feature (text key groups) already.
10 years ago
scrawl d7695f2560 Remove unused NpcAnimation visibilityFlags 10 years ago
scrawl f017fd6860 Reduce includes in animation.hpp 10 years ago
scrawl 988a9cad58 getHitContact Head exception fix 10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl c4452afd89 Inventory item picking 10 years ago
scrawl 72c1f37527 Port CharacterPreview 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 1bd3ab8a2d Fix torch animation playing when torch is hidden (Fixes #2236) 10 years ago
scrawl 2e5e7370ba Adjust default angle, FOV and viewport of character preview (Fixes #2220) 10 years ago
scrawl 8bc7eb5530 PlayGroup: Don't loop animations with no loop keys (Fixes #2223) 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl d034a079e6 Allow equipping twohanded weapon and shield at the same time (Fixes #1785)
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl fee08f97ed Fix crash in character preview for non-existing meshes (Fixes #2128) 10 years ago
Lukasz Gromanowski e1663de7cf Fixes #1887: Equipped items do not emit sounds
Added getSound() method to MWClass class and implementation
into Light class.

Also added additional bool parameter responsible for enabling/disabling
of playing items sounds into NpcAnimation class constructor.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago