Commit Graph

11486 Commits (fff6b5fde1014714ebde324b81a1a0a9bab42156)

Author SHA1 Message Date
Nikolay Kasyanov 014a2fc0e9 OS X: do not override Qt plugin path 9 years ago
Nikolay Kasyanov 4dcb1a1b17 OS X: remove QPlastiqueStyle usage 9 years ago
Nikolay Kasyanov 4e3bbe01b6 OS X: disable `glTexStorage2D` because of OSG/driver issue
See http://forum.openscenegraph.org/viewtopic.php?p=65276#65276 for the details.
9 years ago
Bret Curtis 3ea3d07d44 really purge libav 9 years ago
scrawl 19cd987208 Fix Ptr updates in PositionCell
This was not the proper way to get the updated Ptr, it will only work for the player which isn't owned by any cell. For other objects, moving between cells makes the object owned by that cell and thus the getBase() pointer will change.
9 years ago
scrawl 9e3eb8291f Rotations: fix the rotation order for doors 9 years ago
scrawl 90b6fa5ef1 PlaceItem, PlaceItemCell angle should be treated as degrees (Fixes #3007) 9 years ago
scrawl 3647af8d73 Rotations: use different rotation order when object is rotated via script (Fixes #2062) 9 years ago
scrawl b4ce73f179 Rotations: remove LocalRotation
This never existed in vanilla MW in the first place. The reason we got confused was because of a strange behaviour where the order of applying rotations changes as soon as a script touches the object's rotation.
9 years ago
scrawl 666fbba1e0 Rotations: World::rotateObject takes radians instead of degrees
Cuts down on the amount of redundant degree<->radians conversions in the codebase.
9 years ago
scrawl 6405049add Rotations: move doors via Rotation rather than LocalRotation
Now LocalRotation is unneeded, will remove in next commit.
9 years ago
scrawl 8aacbc398f Rotations: don't wrap the angle values for non-actors
It's not really necessary, and just complicates logic elsewhere. Neither does vanilla MW do it. As well, the question is if wrapping to [-PI, PI] or [0, 2*PI] would be the desired range.
9 years ago
scrawl a68fd791c8 Remove a stray method declaration 9 years ago
scrawl 79c44d0bfe Style fix 9 years ago
scrawl 02148a43f5 Node mask fix 9 years ago
scrawl 0a52ee17c3 Fix Drawable removal issues 9 years ago
scrawl afa590bddb Leak fix 9 years ago
scrawl c62c1693e9 Disable copy constructor and operator= in PartHolder 9 years ago
scrawl 2e9805fa0e Leak fix 9 years ago
scrawl b840c68f0c Do not create a depth buffer for the global map 2d rendering 9 years ago
scrawl 8e3bc981a2 Fix self-referencing camera 9 years ago
scrawl 0409e5a043 Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change) 9 years ago
scrawl f1ac408f35 Place Drawables directly in the scene graph when built with OSG 3.4
OSG 3.4 adds the ability to place Drawables directly in the scene graph, without a Geode decorating them. Leveraging this should give a small performance boost, because the redundant Geodes increase culling overhead.

There is still an oustanding issue with the RemoveDrawableVisitor no longer working correctly, because Drawables can have multiple parents.
9 years ago
scrawl 35459f20d5 Refactor lighting mask 9 years ago
scrawl 91583fc027 Fix MWRender::Mask_ParticleSystem 9 years ago
scrawl 637cd3a628 Adjust the FirstPersonNeckController to follow the camera with a reduced factor (Fixes #1784) 9 years ago
scrawl 3c338b9da9 ObstacleCheck: tweak the stuck detection parameters
The netch_betty wander animation starts up so slowly that the creature thought it was stuck, even though it's not.
9 years ago
scrawl d233bc483d ObstacleCheck: fix evasion issue
The check if (samePosition... would not work as intended because actors do not move in every frame when the framerate is higher than the physics framerate. In that case the actor would change its evasion direction almost every frame.
9 years ago
scrawl caa523a959 ObstacleCheck: fix the framerate not being taken into account 9 years ago
scrawl 801dc8eee3 ObstacleCheck: fix weird distance calculation 9 years ago
scrawl 1b52749ae1 Adjust third person camera height based on character height 9 years ago
scrawl b89945804c BookPage: implement hit test with margin for error 9 years ago
scrawl 055841e721 Improve cloud lighting 9 years ago
scrawl f0a1434578 Dead actors underwater will float to the surface 9 years ago
scrawl 66925be440 Partially revert 682f30ef9c
This change made dead netch fall through the floor, because the animation moves the creature *below* its external collision box.
9 years ago
scrawl 516f2765a1 Use the ScalingLayer for journal, books and scrolls 9 years ago
scrawl a7ad45e73e WindowBase::center use the layer size instead of render window size 9 years ago
scrawl f9932130da Work around MyGUI bug with mouse event coordinates (fixed in git) 9 years ago
scrawl 6c12c9a467 Layer renaming fix 9 years ago
scrawl d85d74e615 Use AdditiveLayer for the hit fader 9 years ago
scrawl a90ef8afd0 layer renaming 9 years ago
scrawl 57b9eafa0f osgMyGUI: implement AdditiveLayer 9 years ago
scrawl 51f3a8fec6 osgMyGUI: move Platform methods to the .cpp file 9 years ago
scrawl 13c7235b6b Remove old FPS setting code 9 years ago
scrawl 2407f393ce Fix double update traversal in screenshot function 9 years ago
scrawl 6e69808129 Fix the frameNumber not being incremented in certain frames 9 years ago
scrawl 8e4e4e5e38 Fix infinite loop in addToLevList 9 years ago
scrawl c996702b56 Fix some uninitialised variables found by static analysis 9 years ago
scrawl 1cf1c944b7 Don't attempt to render weather particles on the refraction and reflection textures 9 years ago
scrawl 209fa52883 Hide weather particles underwater (Fixes #2701) 9 years ago