Commit Graph

126 Commits (coverity_scan)

Author SHA1 Message Date
scrawl d2ed77f3f2 Fix shields being visible during spellcasting 11 years ago
scrawl 3452bd2e0b Add glow effect for enchanted items 11 years ago
scrawl 00af6b5617 Use an inventory store listener for animation parts and VFX update instead of updating them directly. Slightly more flexible, reduces InventoryStore dependencies and solves a crash during character creation due to the preview doll's animation not being registered in World. 11 years ago
scrawl 992a8e9c36 Refactor NpcAnimation: get rid of delayed update (no longer required), make sure that the Animation is set up *before* the inventory store is accessed anywhere (which now triggers auto equip and animation update). Allows better tracking of magic VFX for permanent enchantments in InventoryStore. 11 years ago
Alex "rainChu" Haddad ed0c31b485 Refactored, moved logic out of NpcAnimation
The logic is now handled by RenderingManager, and Camera sets its
animation's first person offset height. Due to how NpcAnimation seems to
be updated, it has to be the one to actually set its own nodes, in the
case of the hands. Otherwise, the hands would not move without a messier
hack.
11 years ago
Chris Robinson 75131e6a48 Rebuild the actor after switching between werewolf forms 12 years ago
Chris Robinson d77d60cbc2 Remove an unneeded forceUpdate method 12 years ago
Chris Robinson f73578a832 Remove unnecessary mBodyPrefix field 12 years ago
Chris Robinson 5051544144 Remove some duplicate code 12 years ago
Chris Robinson 8984d8f8ee Use a map to simplify NPC part referencing 12 years ago
gus 766d1efa84 Render weapon and shield. Only shield can be seen right now as weapons need to be drawed out. 12 years ago
Chris Robinson a700c50e84 Add a first-person view mode to NpcAnimation
And use it instead of showing/hiding the player.
12 years ago
Chris Robinson 9f9d978b0f Use an enum to specify the NPC's view mode (normal, head only) 12 years ago
Chris Robinson 08d43fe217 Make the getHeadNode method more general 12 years ago
Chris Robinson 7494f90301 Remove an unneeded function 12 years ago
Chris Robinson 2db72ae607 Rename EntityList to ObjectList 12 years ago
scrawl 66d2d3522f Race selection preview: render only the head, and focus the camera on its node 12 years ago
Chris Robinson a2eaec7878 Avoiding holding the InventoryStore in the NpcAnimation class 12 years ago
Chris Robinson 0148db8ccf Merge remote-tracking branch 'zini/master' into animation2
Conflicts:
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/npcanimation.hpp
12 years ago
greye 9659b4a95e update NpcAnimation inventory reference on cell change 12 years ago
Chris Robinson ecbf1568a1 Fix NPC part attachment 12 years ago
Chris Robinson 7f87c1873b Use an array to store the entity parts 12 years ago
Chris Robinson 9123f4f2af Return the movement vector from runAnimation 12 years ago
Chris Robinson be74859f05 Avoid some unnecessary copying when calling addPartGroup 12 years ago
Chris Robinson 9fedaf18d6 Make some methods private 12 years ago
Chris Robinson 2b1fe7dc44 Add part info for weapons and shields 12 years ago
Chris Robinson 976b042cca Use a list to reduce some repeating code 12 years ago
Chris Robinson efca5ded47 Clean up some header includes to reduce nesting 12 years ago
greye c3f0dc0dfb m prefix for NpcAnimation members 12 years ago
scrawl 2793096b50 Merge branch 'externalrendering' of https://github.com/zinnschlag/openmw into characterpreview
Conflicts:
	apps/openmw/CMakeLists.txt
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwrender/renderingmanager.hpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
12 years ago
scrawl 6ac2a12296 item selection working on the preview 12 years ago
scrawl eef750e6b0 race selection preview 12 years ago
scrawl 4f3eb3c34a character preview WIP 12 years ago
Chris Robinson 6caa39629d Reimplement the skirt part 13 years ago
Chris Robinson 4af1bce659 Restore and fix some missing parts 13 years ago
Chris Robinson 04e496a6ca Store the entity lists for NPC parts 13 years ago
Chris Robinson 02d39080c8 Destroy entities when they're done with. 13 years ago
Chris Robinson 94f3e7a6c0 Store the entity list in the object 13 years ago
Chris Robinson c6cc82a51a Handle multiple entities per NPC part 13 years ago
Chris Robinson 89cfe778f0 Support multiple entities for the NPC base 13 years ago
Chris Robinson 0a4a141f2e Support multiple meshes for creatures 13 years ago
Chris Robinson 6047dc6a0c Merge remote branch 'zini/master' into nif-cleanup
Conflicts:
	apps/openmw/mwrender/animation.cpp
	apps/openmw/mwrender/animation.hpp
	apps/openmw/mwrender/creatureanimation.cpp
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/npcanimation.hpp
	components/nifogre/ogre_nif_loader.hpp
13 years ago
Marc Zinnschlag 0d3a7d482e Merge remote branch 'modred11/master' 13 years ago
guidoj 0549e949ba Mostly removal of unnecessary #include's and a little clean up 13 years ago
Carl Maxwell e4d046f69c Prepending m to the name of every member variable.
I made a bunch of changes in apps/openmw/mwrender/animation.cpp
because the scope brackets didn't line up in a bunch of places
    npcanimations.cpp & creatureanimations.cpp were the same kind of
thing
13 years ago
Chris Robinson 386ac56bda Remove the NIF loader and code to manually transform the vertices
This currently breaks just about everything. They should come back as it's all
reimplemented, though.
13 years ago
scrawl c85c794c86 fixed some cppcheck issues 13 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
Jason Hooks 0c9c253778 Fix for some types of boots 13 years ago
Jason Hooks 65c9cf565c Skirt and robe part blanking 13 years ago
Jason Hooks 5e1ac0cca1 Gloves, Gauntlets, Boots, Shoes 13 years ago
Jason Hooks 940a90e3ba Pauldrons 13 years ago
Jason Hooks e5becb1f50 Group add function;Greaves 13 years ago
Jason Hooks 5d4ad4cd81 Shirts and Cuirasses 13 years ago
Jason Hooks 7551926afd Adding helmets 13 years ago
Jason Hooks e869433b07 Add or replace individual parts 13 years ago
Jason Hooks 1f566fc93a Another remove function 13 years ago
Jason Hooks a885f3e942 Remove part function 13 years ago
Jason Hooks 7fce57f335 Getting started with a new branch 13 years ago
Jason Hooks 74deb5588d Post merge 13 years ago
Jason Hooks 6bdfdf379b Trying iterators 13 years ago
Jason Hooks ebab98a8a0 Restructuring things 13 years ago
Jason Hooks ca4de0606e Some planning 13 years ago
Alexander "Ace" Olofsson e8eea03b4c Fixed a few more non-virtual destructor warnings 13 years ago
Jason Hooks 595d0b1192 Cleanup; warnings 13 years ago
Jason Hooks 42e7ff9b13 Introducing loops; SkipAnim; Skeleton reset bug fixed 13 years ago
Jason Hooks 8c3127367a Npc Optimization 13 years ago
Jason Hooks cef2f5e927 Trying to get code to conform with older c++ 13 years ago
Jason Hooks a6b88b48ec A different way 13 years ago
Jason Hooks 653d999ac4 Animation creatures 13 years ago
Jason Hooks 88c427543b Deleting animations; Empty Functions/Planning 13 years ago
Jason Hooks 6d10c76b06 Unique Identifiers for Creatures and NPC Free Parts 13 years ago
Jason Hooks 47112ad7f9 Changing a lot of things 13 years ago
Jason Hooks 509009e5c1 Putting the actors in a list 13 years ago
Jason Hooks 0902a3db89 Filled out NpcAnimation and CreatureAnimation classes 13 years ago
Jason Hooks 16ff2a7a1b Changing to Actors;NPCAnimation;CreatureAnimation 13 years ago