Commit Graph

143 Commits (coverity_scan)

Author SHA1 Message Date
scrawl 762460f042 Use negative count when restocking item to ensure that its properly tracked (Fixes #3635) 8 years ago
Allofich 1c54f54ab8 Fix shadowing warnings 8 years ago
scrawl 3dce155d96 Fix uninitialized variable 8 years ago
MiroslavR 11565b5966 Make actors with non-portable lights in inventory glow (Closes #2042, #3338) 8 years ago
Allofich 53e94b7c3f Fix shadowing warnings 8 years ago
scrawl ce9a18fb87 Merge pull request #879 from jordan-ayers/bugfix/1544
Improve Drop Command - Bugfix/1544
9 years ago
Jordan Ayers c82d9a1e87 Adjust ContainerStore / InventoryStore to allow partial unequip of items. 9 years ago
scrawl 4f2a031f4e Improve error message 9 years ago
scrawl ef1a1125e0 Fix an error in restocking logic (Fixes #3131) 9 years ago
scrawl 3856f931db Accept a ConstPtr in ContainerStore::addNewStack 9 years ago
scrawl e1c6261fee Accept a ConstPtr in ContainerStore::getType 9 years ago
scrawl edde5bd065 Accept a ConstPtr in ContainerStore::stacks 9 years ago
scrawl ed3486e816 Improve const-correctness in writeAdditionalState 9 years ago
MatthewRock ddd4004c95 Fix: remove space 9 years ago
MatthewRock 3b254ad631 Allows the same item to have multiple ancestors 9 years ago
MatthewRock b0e6a52595 Replace ancestor with parent 9 years ago
MatthewRock aa721fe1f6 Fix bug 2952 with merchant and levelled items 9 years ago
MatthewRock a662a00c62 Fixing bug for merchant 9 years ago
scrawl 91bf5ae237 Add new script instance when a container item is unstacked (Bug #2962) 9 years ago
Emmanuel Anne 2fff6b06cc removed items by mods do not break cell loading
like fortify intelligence potions removed by sris_alchemy which break the
loading of the firewatch mages guild
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
Koncord 6c3c85f0d4 Fix indent
Remove misc.hpp in containerstore.cpp
10 years ago
Koncord a24df8cb66 Revert addImp() and remove()
add isGold() in MWWorld::Class
10 years ago
Koncord 9485aa5e44 Fix "removeitem gold_100" behavior 10 years ago
Koncord aefcd1ad07 Fix "additem gold_100" behavior 10 years ago
Koncord 75e5023590 fix code duplication 10 years ago
scrawl 7a3bc69df7 Readded sound listener 10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl 3879ce6ac1 Get rid of "player" string checks (Fixes #2216) 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 bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 10 years ago
scrawl 79d2eebe54 Store selected enchant item in savegame (Fixes #1702) 10 years ago
scrawl 0fd5575efe Improve warning message in ContainerStore::readState 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 235683e449 Remove LightState from openmw save format to streamline inventory loading 10 years ago
scrawl 3912ee2b1d Fix faction rank not being set on items in faction-owned containers 10 years ago
scrawl 1bcc4430e0 Fix owner not getting set on restocked items 10 years ago
MiroslavR ed3a3f717f Handle getdistance on objects inside a container (Fixes #2046) 10 years ago
scrawl 0f8a10f468 Savegame: Set equipment slot for lights (Fixes #1761) 11 years ago
scrawl 9e48d56244 Reset RefNum when copying an object (Fixes #1723) 11 years ago
scrawl 08ce6ed7fb Attempt to restack item after repair or recharge (Fixes #1656) 11 years ago
scrawl 4e71db7081 Savegame: Don't load/save deleted container items. This is currently pointless, and also causes new garbage being added on each load/save cycle: Container stores are first filled from ESM records, then cleared and filled from the savegame. The items from ESM records remain as deleted refs. 11 years ago
scrawl 42ea43c3d1 Fix container scripts not getting removed properly on cell change
Broken by f99eda1a54
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 a872c9f83a Feature #1323: handle restocking levelled items 11 years ago
scrawl b4ed828e21 Feature #1323: Implement restocking items (does not handle levelled lists yet) 11 years ago