Commit Graph

222 Commits (master)

Author SHA1 Message Date
scrawl 3c98f8dde3 Accept a ConstPtr in isPersistent 9 years ago
scrawl 3fe3091275 Accept a ConstPtr in isEssential 9 years ago
scrawl 4a47fc32fa Accept a ConstPtr in getBloodTexture 9 years ago
scrawl 2bd8d60e9f Accept a ConstPtr in getPrimaryFaction, getPrimaryFactionRank 9 years ago
scrawl 2ac92012e8 Accept a ConstPtr in isClass 9 years ago
scrawl 5b082be79f Accept a ConstPtr in getBaseGold 9 years ago
scrawl da7ebfde99 Accept a ConstPtr in copyToCell 9 years ago
scrawl 954186fe1e Accept a ConstPtr in canFly, canSwim & canWalk 9 years ago
scrawl b09bdd6af5 Accept a ConstPtr in isBipedal 9 years ago
scrawl 92a3acfa56 Accept a ConstPtr in getBaseFightRating 9 years ago
scrawl d120f76031 Accept a ConstPtr in getSound 9 years ago
scrawl d77f785cbc Accept a ConstPtr in get*SoundId 9 years ago
scrawl dc92fefd2b Accept a ConstPtr in canBeEquipped, getEquipmentSlots & hasItemHealth 9 years ago
scrawl e0bb284804 Accept a ConstPtr in getWeight 9 years ago
scrawl 0047a2d330 Accept a ConstPtr in canSell 9 years ago
scrawl 2bc851c7d3 Accept a ConstPtr in getEnchantment 9 years ago
scrawl beb8805a12 Accept a ConstPtr in getInventoryIcon 9 years ago
scrawl f258c5c508 Accept a ConstPtr in getModel 9 years ago
scrawl d9bbd83b09 Accept a ConstPtr in getToolTipInfo
Accept a ConstPtr in functions used by getToolTipInfo
9 years ago
scrawl ed3486e816 Improve const-correctness in writeAdditionalState 9 years ago
scrawl b48445dea7 Accept a ConstPtr in getScript 9 years ago
scrawl bd9dc58560 Use the correct scale for actor swim height (Fixes #2833) 9 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 211deeb63e Don't attempt to lock or unlock unsuitable objects (Fixes #2826) 10 years ago
scrawl 7f66339790 Remove a redundant function 10 years ago
scrawl 882e359008 Move attackStrength to the CharacterController, where it should have been to begin with
Only relevant for actors in active cells, so doesn't belong in CreatureStats. This change should slightly reduce the game's memory usage.
10 years ago
scrawl 4bb3cbf0fb Remove last remains of Ogre 10 years ago
scrawl 7bacb9418d Various math code ported to osg 10 years ago
scrawl 375b736e74 Use SDL to create the window
No input nor event loop handling yet, so the window will "stop responding" after a few seconds.

Thanks to KittyCat for the GraphicsWindowSDL2 code.
10 years ago
scrawl c31b416ba1 Move physicssystem to a new mwphysics module 10 years ago
scrawl 9f12e53956 Scale NPCs by their Weight property (Fixes #814) 10 years ago
scrawl 239c0071f5 Armor tooltip should show the effective armor rating 10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago
dteviot 7fe2f86d06 Slaughter fish attacks when player only knee deep in water (Fixes #2076) 10 years ago
Alexander "Ace" Olofsson 462b41a3a8 Missing files, aka; Why you shouldn't stresscommit 10 years ago
scrawl 2b78e9795d Implement Calm effect removing combat packages (Fixes #1985) 10 years ago
scrawl 3c747195ae Add fall damage for creatures (Fixes #2201) 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 a6a3eca930 Fixes #1887: Equipped items do not emit sounds
Corrected wrong return type of Class::getSound() method.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski e1663de7cf Fixes #1887: Equipped items do not emit sounds
Added getSound() method to MWClass class and implementation
into Light class.

Also added additional bool parameter responsible for enabling/disabling
of playing items sounds into NpcAnimation class constructor.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 40587f984d Implement price-based mercantile skill progress (Fixes #1947), thanks Hrnchamd
Correct barter formula (removed erroneous clamping)
10 years ago
scrawl fde6cad24b Reset RefNum when copying a reference to a new cell 10 years ago
scrawl b58b8c6f8f Adjust player position to ground when using a door marker, even if the player is levitating (Fixes #1737) 11 years ago
scrawl 395f98e476 Fix triggering changed flag for all references when cell is visited
The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
11 years ago
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 a76e391ad0 Savegame: store door movement state (Closes #747) 11 years ago
Thomas f6deca7c80 Fixed various issues caused by late-night coding. Also added "unlock" message to unlocked doors 11 years ago
Thomas cac8e52154 Seperated locked and lock level, to allow for relocking doors to previous lock level.
The data is stored in the esm as -lockLevel if unlocked; lockLevel if locked. While not tested, it should not present any problems.
11 years ago
Jeffrey Haines 4037f3705e Feature 1154 & 73: NPCs react to crime 11 years ago
Jeffrey Haines 9efef31bb8 Feature #953 Trader Gold - Unused code/warning resolved
Removed unused code
getBaseGold throws proper error
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 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 56893a097d Don't stack used torches 11 years ago
Marc Zinnschlag 19bd0f90b9 Merge remote-tracking branch 'rainChu/torches' 11 years ago
Alex "rainChu" Haddad 65818155d8 Fixed punctuation consistency 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 6fd4cdb5fb Play randomized werewolf sounds 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
scrawl 1a2daa3bc1 Merge branch 'master' of git://github.com/zinnschlag/openmw into companion 12 years ago
Chris Robinson 7b02ec411b Apply the rotation when updating the character controller 12 years ago
scrawl 13be61812a Made the "Unknown class key" exception slightly more helpful 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