Commit Graph

129 Commits (move)

Author SHA1 Message Date
scrawl c403a6b113 Don't apply constant magic effects to dead actors (Fixes #3174) 9 years ago
Jordan Ayers c82d9a1e87 Adjust ContainerStore / InventoryStore to allow partial unequip of items. 9 years ago
Jordan Ayers 2ce2e8a1e7 Add missing OOB slot check to InventoryStore. 9 years ago
scrawl f35ab12979 Accept a ConstPtr in InventoryStore::isEquipped 9 years ago
scrawl edde5bd065 Accept a ConstPtr in ContainerStore::stacks 9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl ed3486e816 Improve const-correctness in writeAdditionalState 9 years ago
scrawl 689dea4cb3 Add instant spell effects to the actor's magic effect list
Via http://forum.openmw.org/viewtopic.php?f=2&t=3212&start=20#p36208
9 years ago
scrawl f36d463617 Enchantment error handling fix (Fixes #2959)
Catch errors about missing enchantments before they propagate up the stack and interrupt the whole frame update.
9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 10 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 7e4e59efb9 Fix excessive auto-equipping in InventoryStore::removeItem (Fixes #2792) 10 years ago
Alexander "Ace" Olofsson b3b55a5842 Explicitly instantiate MWWorld::Store 10 years ago
scrawl b33fe8fb62 Fix the inventory listener bug 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
Rohit Nirmal 396fba7fa9 Silence -Wreorder warnings, and remove -Wno-reorder. 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 27cfe8fb58 Crash fix 10 years ago
dteviot 0a5de33a1a fireEquipmentChangedEvent() updates the InventoryWindow. (Fixes #2424) 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
scrawl 3879ce6ac1 Get rid of "player" string checks (Fixes #2216) 10 years ago
dteviot ca8c8c6aa4 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 8087a7d920 Add possibility to dress up corpses (Fixes #2221) 10 years ago
scrawl 79d2eebe54 Store selected enchant item in savegame (Fixes #1702) 10 years ago
scrawl d13335ba40 Ensure the item can be equipped in the given slot when loading inventory 10 years ago
scrawl c65f9cb3c0 Revert "Change save format to store relative equipment index"
This reverts commit 89d9649b50.
10 years ago
scrawl 89d9649b50 Change save format to store relative equipment index
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl f267497c03 Allow separate summoned creature instances for each spell ID (Fixes #2194) 10 years ago
scrawl e2346d7c37 Store permanent magic effects in savegame (Fixes #1648) 10 years ago
scrawl 25954a80f5 Fix recharging of items in player inventory 10 years ago
scrawl 4d5adfb5dd Fix being able to use enchantments of items that failed to equip (Fixes #2215) 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
Marc Zinnschlag aefe8cd4ae Merge remote-tracking branch 'lgro/issue1887_equipped_items_doesnt_emit_sound'
Conflicts:
	apps/openmw/mwworld/class.cpp
10 years ago
Lukasz Gromanowski fa65c8981a Issue #1887: Equipped items do not emit sounds
Played sound items are based on parts not inserted items.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl 04614651fa Fix recharging items not being updated for actor's initial inventory 10 years ago
Lukasz Gromanowski bcb38c3eba Issue #1887: Equipped items do not emit sounds
Added handling of autoEquip and unequipAll cases.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski e566e4abf2 Issue #1887: Equipped items do not emit sounds
Added playing of sounds for equipped items (at this moment only for lights).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
Rohit Nirmal b5eb16b663 Silence some scan-build warnings. 10 years ago
scrawl 1c222a0154 Fix mSelectedEnchantItem cleanup not working for non-player actors 11 years ago
scrawl f1d72419de Don't equip weapons in autoEquip, AiCombat does that now (Fixes #1451) 11 years ago
scrawl 2db50da8dd Implement magic effect script instructions (Feature #1489) 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl 08ce6ed7fb Attempt to restack item after repair or recharge (Fixes #1656) 11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
Emanuel Guevel 1e4a854433 Remove static method MWWorld::Class::get(&Ptr)
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
scrawl dfacf8c044 Change ActiveSpells to use ActorId 11 years ago
scrawl 1444cd9051 Fix AiCombat exception when actor has a lockpick/probe equipped.
Don't make NPCs autoEquip lockpicks/probes, since they can't use them.
11 years ago
scrawl 04964595ef Fixes #1270, Fixes #1201: Update active weapon/spell icons every frame 11 years ago
scrawl ffe19e7a52 Feature #50: Handle attach & release of projectiles 11 years ago