Commit Graph

223 Commits (master)

Author SHA1 Message Date
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
scrawl a05c8fd3ce Make applyEnchantment return the record ID instead of modifying Ptr 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 b4ed828e21 Feature #1323: Implement restocking items (does not handle levelled lists yet) 11 years ago
scrawl ae66d28c87 Feature #32: Implement respawn for containers, creatures and NPCs 11 years ago
scrawl a76e391ad0 Savegame: store door movement state (Closes #747) 11 years ago
Jeffrey Haines 4037f3705e Feature 1154 & 73: NPCs react to crime 11 years ago
Jeffrey Haines 401d21b4ee getBaseGold implemented in MWWorld::Class for NPC and Creature
Implemented a getBaseGold() to get the vendor gold base
NPC gold base now can come from mNpdt12 and mNpdt52
11 years ago
cc9cii 43757efdc4 Feature #1030 - partial fix to stop creatures unable to walk/fly to come out of water. Does not necessarily handle situations where they are already out of water, however. 11 years ago
Marc Zinnschlag 1b5301eec0 Merge branch 'savedgame'
Conflicts:
	apps/openmw/mwbase/mechanicsmanager.hpp
	apps/openmw/mwbase/soundmanager.hpp
	apps/openmw/mwgui/mapwindow.hpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
	apps/openmw/mwsound/soundmanagerimp.hpp
	components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag ec7cb90ca4 added support for serialisation of CustomData state 11 years ago
scrawl 190512156d Use some more GMSTs for enchanting 11 years ago
scrawl 16f5f5862d Feature #956: Implement blocking melee attacks 11 years ago
scrawl 589fbbd871 Issue #777: Create InventoryStore for creatures with weapons/shields 11 years ago
scrawl 805843d7ff Closes #1086: Implement blood effects 11 years ago
scrawl d544551f61 Added getSkill to Class interface, since creatures also have skills (which are provided by generalized Combat, Magic and Stealth attributes which substitute for the specific skills, in the same way as specialization)
Information provided by Hrnchamd.
11 years ago
scrawl da3295d69c Closes #1106: Move stance to CreatureStats, since creatures also have separate run/walk animations. 11 years ago
scrawl 03b2e99802 Remove unused Combat stance 11 years ago
scrawl 3a1b6dd354 Handle fCombatKODamageMult and fCombatCriticalStrikeMult. Fix SelectWrapper Function_Detected. 11 years ago
scrawl ce013315ba Nothing to see here, move along.
Fine... it's flying cliff racers. But did you really want to know?
11 years ago
scrawl 5729672262 Show marked position on map. Implement Detect X magic effects. 11 years ago
scrawl 56893a097d Don't stack used torches 11 years ago
Marc Zinnschlag 19bd0f90b9 Merge remote-tracking branch 'rainChu/torches' 11 years ago
Alex "rainChu" Haddad 30ee3c5cf6 Equipped torches and lights run out of fuel 11 years ago
Emanuel Guevel b8c60dabb3 Reintroduce Acrobatics changes made by Glorf
Advance Acrobatics skill on jump and on landing,
apply fall damage on landing.
11 years ago
Chris Robinson 21121d5ba5 Store the object class in the LiveCellRef 12 years ago
Chris Robinson 0f2b2ff1ce Small header cleanup 12 years ago
Chris Robinson 89c7f5bc70 Handle object activation as a werewolf 12 years ago
Chris Robinson b70975a74d Move getEvasion to CreatureStats 12 years ago
Chris Robinson 9e7d670745 Inline Class::get(const Ptr& ptr) 12 years ago
Chris Robinson 54f91d4b3a Implement hand-to-hand attacks 12 years ago
Chris Robinson dd6edd21f8 Add a separate on-hit method to handle objects being hit 12 years ago
Chris Robinson b3a057d679 Handle hit chance and damage calculation
Math is based on what the UESP describes, with some tweaks (using
fatigue term, and the fCombatCriticalStrikeMult GMST):
http://www.uesp.net/wiki/Morrowind:Combat
12 years ago
Chris Robinson 92cc566fdc Rename the Class::attack method to Class::hit 12 years ago
Chris Robinson 0c8d4d9be2 Add beginnings of melee hits 12 years ago
Chris Robinson 9ea6b22a83 Handle soundgen animation keys 12 years ago
scrawl 8a3d3f954b NPC/creature persistence flag 12 years ago
scrawl 0c4a963132 Container UI rewrite 12 years ago
scrawl 78596cad83 Fix enchantment points value 12 years ago
scrawl 2693b78536 Add initial player inventory when new game is started 12 years ago
Marc Zinnschlag beb1858a57 Merge remote-tracking branch 'glorf/bugfix' 12 years ago
Glorf ad49d1ecab Sixth minor fix 12 years ago
Glorf 7c22e123f4 Bugfix #691 changes 12 years ago
scrawl f3c8cd2065 Don't buy/sell keys which are set to open a lock 12 years ago
Glorf 48d9885554 Started bugfix #691 12 years ago
scrawl ebaf80d539 Trace actors onto the ground after load, when moved to a different cell by the console or on player cell change. 12 years ago
Marc Zinnschlag 751c679255 Merge remote-tracking branch 'glorf/enchanting' 12 years ago
Glorf d29a42dcbe Fixed enchanting mechanics 12 years ago
Chris Robinson 7b02ec411b Apply the rotation when updating the character controller 12 years ago
Marc Zinnschlag 573368849b Merge remote-tracking branch 'glorf/enchanting'
Conflicts:
	apps/openmw/CMakeLists.txt
12 years ago
Glorf 86275e5bd4 Some enchanting fixes 12 years ago
Glorf eb88463b94 Some enchanting fixes 12 years ago
Glorf 6643fe789c Enchanting system 12 years ago
scrawl 95e1cdc07d Move getArmorRating to MWWorld::Class. 12 years ago
scrawl c0b0227e8a enchanting 12 years ago
Chris Robinson 89d4c245e9 Better calculate jump velocity
The fatigue term isn't currently used correctly
12 years ago
Marc Zinnschlag 9669eed083 Issue #219: added last missing function filters 12 years ago
Marc Zinnschlag ed3641b214 Issue #68: check for essential actors 12 years ago
Michael Mc Donnell b373d0ec7b Correct struct to class in forward declarations
Fixes http://bugs.openmw.org/issues/362
13 years ago
greye d6150b7482 high-level implementation, unstable 13 years ago
greye 26595f22f6 float* -> Vector3, moveToCell -> copyToCell, fixed placeObject() 13 years ago
greye e7666d3a7f move responsibility for cell changing from CellStore::insertObject to Class::moveToCell 13 years ago
greye 6a3a728a56 Class::getModel implementation 13 years ago
greye 87050e48c8 physics getObjectHeight(), MWWorld::Class::getModel() definition 13 years ago
Marc Zinnschlag 2c70a93553 Merge branch 'master' into potions
Conflicts:
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwclass/npc.hpp
13 years ago
Marc Zinnschlag 805b81bf6e Issue #314: added skillUsageSucceeded function to Class 13 years ago
Marc Zinnschlag 7a2d613043 Issue #314: extended Class::apply function to cover the actor 13 years ago
Marc Zinnschlag ec9ebe6b58 Merge branch 'skillgain' into potions
Conflicts:
	apps/openmw/mwmechanics/activespells.cpp
13 years ago
gugus 03f7740474 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into objectRotationScaling
Conflicts:
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwscript/docs/vmformat.txt
	apps/openmw/mwworld/worldimp.hpp
13 years ago
Marc Zinnschlag 10723a149b Issue #324: Change a forward declartion to avoid potential problems with pesky MSVC 13 years ago
Marc Zinnschlag 5a7b95bf7a Issue #107: cleaned up includes in apps/openmw/mwworld/class.hpp 13 years ago
Marc Zinnschlag 83c3972a89 Issue #314: added return value to addSpell function 13 years ago
gugus 0012d7eb58 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into objectRotationScaling
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
13 years ago
gugus 51b6d5cae0 Scale *should* work. (no script instruction yet) 13 years ago
Marc Zinnschlag 0131c53005 Issue #176: removed enable/disable functions from MWWorld::Class 13 years ago
gugus dac98b2213 Merge branch 'master' of https://github.com/zinnschlag/openmw.git into objectRotationScaling 13 years ago
gugus ca9224ed7f starting scale function 13 years ago
scrawl e9ea1fba4e fixed typo getCapacity method 13 years ago
scrawl 0063387979 Merge branch 'master' into inventoryGUI 13 years ago
Marc Zinnschlag 7e00fea18b added getEncumbrance function 13 years ago
Marc Zinnschlag c6493fb133 added getCapacity function 13 years ago
scrawl 6ee4e8fb5a Merge branch 'itemstacking' into inventoryGUI
Conflicts:
	apps/openmw/mwclass/armor.hpp
	apps/openmw/mwclass/clothing.hpp
	apps/openmw/mwclass/weapon.hpp
	apps/openmw/mwworld/class.hpp
13 years ago
scrawl 5b0251b09f item stacking 13 years ago
gugus 8e8f80807e Merge branch 'master' of https://github.com/zinnschlag/openmw.git into inventoryGUI
Conflicts:
	apps/openmw/CMakeLists.txt
	apps/openmw/mwclass/apparatus.cpp
	apps/openmw/mwclass/armor.cpp
	apps/openmw/mwclass/book.cpp
	apps/openmw/mwclass/clothing.cpp
	apps/openmw/mwclass/container.cpp
	apps/openmw/mwclass/ingredient.cpp
	apps/openmw/mwclass/light.cpp
	apps/openmw/mwclass/lockpick.cpp
	apps/openmw/mwclass/misc.cpp
	apps/openmw/mwclass/potion.cpp
	apps/openmw/mwclass/probe.cpp
	apps/openmw/mwclass/repair.cpp
	apps/openmw/mwclass/weapon.cpp
	apps/openmw/mwgui/window_manager.cpp
	apps/openmw/mwgui/window_manager.hpp
	apps/openmw/mwworld/class.cpp
13 years ago
scrawl 1b5bfc52a1 Merge branch 'next' of https://github.com/zinnschlag/openmw into tooltips
Conflicts:
	apps/openmw/engine.cpp
	apps/openmw/mwclass/apparatus.cpp
	apps/openmw/mwclass/book.cpp
	apps/openmw/mwclass/container.cpp
	apps/openmw/mwclass/ingredient.cpp
	apps/openmw/mwclass/misc.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwclass/potion.cpp
	apps/openmw/mwclass/repair.cpp
	apps/openmw/mwgui/window_manager.cpp
13 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
scrawl cdd4d83d9e moved the tooltip info to the appropriate MWWorld::Class classes 13 years ago
scrawl 53b48196f9 add interface for tooltips to MWWorld::Class 13 years ago
gugus 58d05fa503 more clean-up. Container window shows up! But there is no working close button. 13 years ago
Marc Zinnschlag d5a7d418dd added getValue function to Class hierarchy 13 years ago
Marc Zinnschlag c616d005e8 fixed a spelling mistake 13 years ago
Michael Papageorgiou 947288e13a Merge master and rewrite around the new detection function 13 years ago
Michael Papageorgiou 6dddf8a3d5 Pickup sounds for armors 13 years ago
Marc Zinnschlag c314cddb1c added getEquipmentSkill function to Class hierarchy 13 years ago
Marc Zinnschlag 4b73116b9d added getEquipmentSlots function to MWWorld::Class hierarchy 13 years ago
Marc Zinnschlag 79158b9325 NPCs are using InventoryStore instead of ContainerStore from now on 13 years ago
Marc Zinnschlag 699246e54b removed insertIntoContainer function from MWWorld::Class hierarchy 13 years ago
Marc Zinnschlag 4a16553acc replaced an include with a forward declaration 13 years ago
Marc Zinnschlag f2972b1ca0 turned ContainerStore from a template into a simple struct 13 years ago
Jason Hooks bc58ef28cd Made corrections 13 years ago
Jason Hooks 0b3bb2719f Fixing some errors 13 years ago
Jason Hooks f4e7bd6dfd Made some recommended changes 13 years ago
Jason Hooks 042bceb547 Changes to insertObjectRendering; Proposed insertObject 13 years ago
Jason Hooks 1faa07b279 insertObjectRendering proposed 13 years ago
Marc Zinnschlag 4468a2b6a8 added movement data to MW references; added movement interface to MWWorld::Class 14 years ago
Marc Zinnschlag b48a5084be added NPC stances 14 years ago
Marc Zinnschlag 459dd82896 implemented locking/unlocking for doors (can not be invoked by user interaction yet) 15 years ago
Marc Zinnschlag 3b49d6c826 added NPC stats 15 years ago
Marc Zinnschlag 2cfe5f0697 Merge branch 'master' into dialogue
Conflicts:
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/creature.hpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwclass/npc.hpp
	apps/openmw/mwworld/class.cpp
	apps/openmw/mwworld/class.hpp
15 years ago
Marc Zinnschlag d57c984517 added enable and disable functions to class hierarchy; fixed a bug regarding actors in cellings being actived 15 years ago
Marc Zinnschlag de2eeb4cde integrated insertObject function into class hierarchy 15 years ago
Marc Zinnschlag 2acfe22975 added test for actor ID 15 years ago
Marc Zinnschlag 0a60bde834 added insertIntoContainer function to class hierarchy 15 years ago
Marc Zinnschlag 10a63b10b5 Merge branch 'master' into container
Conflicts:
	apps/openmw/mwclass/container.cpp
	apps/openmw/mwclass/container.hpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/creature.hpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwclass/npc.hpp
	apps/openmw/mwworld/class.cpp
	apps/openmw/mwworld/class.hpp
15 years ago
Marc Zinnschlag 7a313f24ab integrated activation into script system 15 years ago
Marc Zinnschlag ee7570f7e7 added containerstore 15 years ago
Marc Zinnschlag 002345270b implemented teleport doors (only for the player for now) 15 years ago
Marc Zinnschlag 7e5ddae3b3 modified action interface to allow other actors besides the player 15 years ago
Marc Zinnschlag c38b02bd5c added action interface 15 years ago
Marc Zinnschlag 239498bcd4 added getName function 15 years ago
Marc Zinnschlag bfc282779b added item health interface 15 years ago
Marc Zinnschlag ca842d1b4d reimplemented access to creature stats via new class interface 15 years ago
Marc Zinnschlag a70c3876a2 added foundation for esm record class hierarchy 15 years ago