Commit Graph

5582 Commits (f12d5b728ad9462a9f99c5905da9ceef8d86a1ed)

Author SHA1 Message Date
Chris Robinson 180f0d0fe9 Restart from the loop point if replaying the same animation 12 years ago
Chris Robinson 5968165de0 Merge remote-tracking branch 'zini/master' into werewolf
Conflicts:
	apps/openmw/mwgui/windowmanagerimp.cpp
12 years ago
Chris Robinson a28c36de17 Don't count as running if not actually moving along (local) X/Y 12 years ago
Chris Robinson c2d8eb377f Play some appropriate sounds in werewolf form 12 years ago
Marc Zinnschlag f5b06d5d52 basic filter tree structure 12 years ago
Chris Robinson db1036e5e5 Handle SetWerewolfAcrobatics 12 years ago
Chris Robinson ae183cb3e4 Handle werewolf stats 12 years ago
Marc Zinnschlag a95715b61d added description field to filter record 12 years ago
Chris Robinson 72a399054f Don't assume only players activate doors 12 years ago
Chris Robinson 46bc7bd9c8 Some cleanup since NpcStats is now also CreatureStats
This isn't a thorough cleaning, so keep an eye out for more
12 years ago
Marc Zinnschlag fb0b57efaa Merge remote-tracking branch 'vorenon/bug876' 12 years ago
Chris Robinson 75b6515915 Inherit NpcStats from CreatureStats 12 years ago
Chris Robinson 89c7f5bc70 Handle object activation as a werewolf 12 years ago
Chris Robinson 6110a0ee3b Don't allow resting as a werewolf 12 years ago
Chris Robinson 75131e6a48 Rebuild the actor after switching between werewolf forms 12 years ago
Chris Robinson 5fbfce6d1e Don't show WerewolfRobe objects in the inventory
Pretty ugly hard-coding, but this is likely what vanilla does since it
has no option to mark clothes or armor as unplayable like Oblivion does.
12 years ago
Chris Robinson d77d60cbc2 Remove an unneeded forceUpdate method 12 years ago
vorenon a718a62ef5 Fix for bug 876 12 years ago
PLkolek 86020ad94d Added underwater and drowning sounds. 12 years ago
Marc Zinnschlag f6226e4859 added Creator class for filters 12 years ago
Chris Robinson e3d5a1b38d Dialog function 72 is not player-specific
It's used to force any NPC in werewolf form to play the appropriate
growls for combat.
12 years ago
Chris Robinson 960ea3d96c Add/remove a WerewolfRobe when werewolf form is toggled 12 years ago
Chris Robinson 3cff7b1e42 Don't assume icons have a period in their filename 12 years ago
Chris Robinson 1f6055d54b Don't try to apply body skins for werewolves
They instead use a hidden WerewolfRobe object for their body
12 years ago
Chris Robinson 946ca7f931 Return the appropriate name for werewolf NPCs 12 years ago
Chris Robinson dfdd2dc308 Handle swimleft and swimright soundgen keys 12 years ago
Chris Robinson 109df46590 Fix werewolf claw damage multiplier 12 years ago
Chris Robinson 9694b18d1b Update part skeletons immediately when added 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 ceed2e30b8 Handle NPCs being a werewolf in NpcAnimation
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson 5ac82a50b7 Remove unused function 12 years ago
Marc Zinnschlag e9521dc8f1 Merge remote-tracking branch 'potatoesmaster/pinning' 12 years ago
Marc Zinnschlag bf839d19cf Merge branch 'columns' 12 years ago
Marc Zinnschlag 0944338c27 avoid the use of hardcoded column numbers 12 years ago
Emanuel Guevel 1cbfcc3910 Fix HUD weapon icon when turning from werewolf to normal
The werewolf hand icon remained until the inventory menu was opened.
12 years ago
Chris Robinson 2bac4566c0 Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/statsextensions.cpp
12 years ago
Chris Robinson 4985e17865 Fix werewolf claw damage multiplier 12 years ago
Chris Robinson 4641737fc4 Update part skeletons immediately when added 12 years ago
Chris Robinson dc0360b1f6 Remove unnecessary mBodyPrefix field 12 years ago
Chris Robinson 0f52ed9a9b Remove some duplicate code 12 years ago
Chris Robinson deee14ccfd Handle NPCs being a werewolf in NpcAnimation
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson ab44cd63a1 Remove unused function 12 years ago
Emanuel Guevel b2e5e8dd0d Saner inventory window pinning/hiding
Hide inventory window pin button in container, companion and barter mode.
Restore the pinned inventory window position when exiting these modes.
Allow toggling windows visibility in inventory mode only.
12 years ago
Alex b9579e085f cleanup 12 years ago
Alex a0931b01fe Merge branch 'master' of https://github.com/zinnschlag/openmw into compiler-reorg 12 years ago
Alex c3ca5b7c32 mild cleanup 12 years ago
PLkolek 8f4506f5b6 Implemented drowning.
Currently no visual effects on losing health, the breathing sound doesn't change (we don't have one),
the breath bar doesn't turn red when no breath left and it doesn't pulse from black to red.
12 years ago
Emanuel Guevel 48d2554ac3 Auto-equip when items are added to the inventory
We limit that to armor pieces and clothing items.
No auto-equiping for the player nor werewolves.
12 years ago
Emanuel Guevel e0d0cdd18a Do not auto-equip items continuously
This was called every couple of frames.
12 years ago
Chris Robinson 076e7d8e16 Make insertBegin internal 12 years ago
Chris Robinson 2b2101958d Destroy the scene node we create 12 years ago
Chris Robinson 0458fd5531 Remove unused/unneeded parameters 12 years ago
Emanuel Guevel fd0a159a64 MWScript: update first unused opcode number 12 years ago
Emanuel Guevel 47b8a31317 Fixes suggested by KittyCat 12 years ago
Marc Zinnschlag 932fffd1a7 Merge remote-tracking branch 'kcat/light-objects' 12 years ago
Chris Robinson b4b095ca72 Don't try to get the center of a null bounding box 12 years ago
Chris Robinson 80d271aeb1 Remove unused stuff 12 years ago
Marc Zinnschlag 76b9d3dbc1 columns are now identified via an enum instead the name string 12 years ago
Chris Robinson 3555476dfd Use Animation-derived objects for generic objects 12 years ago
Chris Robinson a9dca21d05 Create the Animation SceneNode in the constructor 12 years ago
Chris Robinson 48784c7e2f Use for_each and functors to avoid some for loops 12 years ago
Chris Robinson de95926e9f Use controllers to animate lights in ObjectLists 12 years ago
Chris Robinson 8984d8f8ee Use a map to simplify NPC part referencing 12 years ago
Chris Robinson e976bb16c5 Add a light for torches 12 years ago
Chris Robinson 57fb065a86 Add Ogre::Light objects to the object list
Note that NIFs actually have NiLight-based light records which could be
used to create Ogre::Light objects. However, no Morrowind NIF uses them,
as far as I can tell.
12 years ago
Chris Robinson a9cc3a2844 Ensure a valid CellStore for Ptr::isInCell 12 years ago
Chris Robinson 1f436f9886 Render torches 12 years ago
Chris Robinson 8f69c51b24 Avoid some unnecessary references 12 years ago
Chris Robinson 2c03fec4bb Use the fatigue term for jumping 12 years ago
Chris Robinson eab4e09566 Handle the pick/probe in the character controller 12 years ago
scrawl 3f7daa4884 Forgot to change initTerrainTextures 12 years ago
Alex de1f423bd7 initial move of script opcodes and registerExtensions functions to components/compiler 12 years ago
scrawl 76e538c22a Unused variable fix 12 years ago
scrawl 726c93c365 Terrain fixes to match vanilla better - vertices need to be mapped directly to texels for colormap and blendmap (this also caused seams at cell borders), layer uv scale appears to be 8 not 10 12 years ago
Marc Zinnschlag 03af7175dd Merge remote-tracking branch 'potatoesmaster/bug-839' 12 years ago
Emanuel Guevel c59ad62c57 Fix UndoWerewolf script instruction 12 years ago
Emanuel Guevel 5188a1c2cd Implement script instructions Become/UndoWerewolf 12 years ago
Emanuel Guevel 20d40c4368 Implement MWWorld::World::setWerewolf() 12 years ago
Emanuel Guevel aa563e947e Implement MWWorld::InventoryStore::unequipAll() 12 years ago
Emanuel Guevel ddc92d1fbd Set appropriate weapon icon when player is a werewolf 12 years ago
Emanuel Guevel d054366460 Permit to force hiding GUI windows 12 years ago
scrawl 4caac0d859 Fix idle animations repeating 12 years ago
vorenon 76a1abe9fa Don't allow the use of the "jump" key while sneaking - Update 12 years ago
vorenon 56cb36caf1 Don't allow the use of the "jump" key while sneaking 12 years ago
Emanuel Guevel 71da2f0a12 Do not allow magic/combat stance unless magic/inventory window are accessible 12 years ago
Marc Zinnschlag 41b2fa985b silenced some warnings 12 years ago
Marc Zinnschlag 9123afa863 Merge remote-tracking branch 'gus/MeleeCombat2' 12 years ago
Marc Zinnschlag 3170490a8e silenced some warnings 12 years ago
Marc Zinnschlag 253e00e3a0 Merge remote-tracking branch 'gus/MeleeCombat2' into columns 12 years ago
Marc Zinnschlag 501753c01b Merge remote-tracking branch 'scrawl/master' into columns 12 years ago
gus a23e7fac93 clean up 12 years ago
scrawl 982f743ddd Fix wrong idle animations played 12 years ago
gus c8bb32c40d small maths correction 12 years ago
gus a25ee360dc use angles and GMST. not sure this work as it should 12 years ago
Marc Zinnschlag 8f330e7e3c Merge remote-tracking branch 'potatoesmaster/sneak' 12 years ago
gus 830762722d first attempt: hit detection with a sphere (not finished) 12 years ago
Emanuel Guevel a9483dbdf1 Show sneak indicator when sneaking
Temporary solution, as the indicator should be shown only when the
player is not detected by any other actor.
12 years ago
Emanuel Guevel 8f8362d2c4 Expose sneak indicator widget through WindowManager 12 years ago
Emanuel Guevel 9757694060 Update sneaking indicator position with other widgets 12 years ago
Emanuel Guevel 4685aea2a1 mwiniimport: ignore empty values 12 years ago
vorenon aa45127895 Adjusted swish sounds
Sorry Chris, I was wrong. The game actually uses SwishM for every attack, but at a different pitch depending on the force of the attack. I realized it after testing your changes.
12 years ago
Marc Zinnschlag d2f96deb98 renamed columns.hpp to columimp.hpp 12 years ago
Chris Robinson f57c829cba Play the appropriate swish sound and follow-up animation 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
Marc Zinnschlag ca94d1a2fb Merge remote-tracking branch 'swick/inventorypos'
Conflicts:
	apps/openmw/mwgui/inventorywindow.cpp
12 years ago
Marc Zinnschlag 24273f338b Merge remote-tracking branch 'scrawl/master' 12 years ago
Sebastian Wick 7ed763262f GUI mode dependent position 12 years ago
scrawl fe51a00112 Fix the initial player inventory being added twice when starting a new game 12 years ago
scrawl f1f6336a4a Fixed screenshot keybinding, and make it bindable 12 years ago
Marc Zinnschlag 5cafe65cd7 Merge remote-tracking branch 'scrawl/cppcheck' 12 years ago
scrawl d106ed3b08 Fixed alchemy 12 years ago
Marc Zinnschlag 4dfd5282ab Merge remote-tracking branch 'kolek/enchantingwindow' 12 years ago
Marc Zinnschlag 25917b00ec Merge remote-tracking branch 'scrawl/master' 12 years ago
scrawl 7dc30a01cd Some changes suggested by cppcheck 12 years ago
scrawl 43e0df479e Make NPCs auto-equip after their inventory is loaded, this fixes NPCs that start as dead not auto-equipping 12 years ago
PLkolek f297c21e4d Old door sound fades out on door open/close. Door sound is synchronised to angle on action. 12 years ago
PLkolek 8bc8c38f2d Spell cost is updatedon every change in enchanting and spellmaking. 12 years ago
PLkolek 7fd7621458 Fixed area slider in self enchantments. 12 years ago
Marc Zinnschlag 6ce2b962e1 Merge remote-tracking branch 'scrawl/inventory' 12 years ago
Marc Zinnschlag eedced729f Merge remote-tracking branch 'scrawl/master' 12 years ago
Marc Zinnschlag 7639506e49 Merge remote-tracking branch 'scrawl/ai' 12 years ago
scrawl 16cacb338a Initialize MWMechanics::AiSequence from ESM::AiPackageList 12 years ago
scrawl 45006ea193 Fix inventory/container content loading so that it's done for dynamically spawned objects as well 12 years ago
scrawl 90a5d8b6f5 Fix uninitialized AL listener position/orientation when the game is paused during the first frame 12 years ago
Marc Zinnschlag 958b0c4915 Merge remote-tracking branch 'scrawl/untilhealed' 12 years ago
scrawl da01ec4f52 Only show the "Rest until healed" button when stats are not full 12 years ago
scrawl 04b90b7d14 Other actors no longer collide with an actor that has collision disabled 12 years ago
scrawl 472a381263 Fix health meter (again) 12 years ago
Marc Zinnschlag adb05737ee Merge branch 'master' into filter
Conflicts:
	apps/opencs/model/world/universalid.cpp
	apps/opencs/view/doc/view.cpp
	apps/opencs/view/world/subviews.cpp
12 years ago
Marc Zinnschlag 2e667f1d94 Merge branch 'bottombar' 12 years ago
Marc Zinnschlag 434f97c95c fixed two missing icons 12 years ago
Marc Zinnschlag 102700a498 added specialised Creator for references 12 years ago
Marc Zinnschlag 57be764cce added specialised Creator for referenceable records 12 years ago
Marc Zinnschlag 3642562959 Merge remote-tracking branch 'scrawl/master' 12 years ago
scrawl 426e3ec6c6 Fix enemy health meter for creatures 12 years ago
scrawl 3961c276b8 Added enemy health meter 12 years ago
Marc Zinnschlag e27ba55541 Merge remote-tracking branch 'swick/countdialog' 12 years ago
Sebastian Wick 40d3efc671 use cancel methid 12 years ago
Sebastian Wick 7b40e57ba1 Allow the 'Activate' key to close the countdialog window; cleanups 12 years ago
Marc Zinnschlag 90ab7b2bf5 Merge remote-tracking branch 'swick/viewmodetransission' 12 years ago
Sebastian Wick 7c24c0a64e fix uninitialized variables 12 years ago
Sebastian Wick d2b7cb5bb2 First/Third person transitions with mouse wheel 12 years ago
Marc Zinnschlag 34c825ce52 added icons and type listing to UniversalId class 12 years ago
Marc Zinnschlag 661b290c49 automatically scroll table to the position of a newly created record 12 years ago
Sebastian Wick 1b310c5c5b use SDL resolutions in the ingame settings 12 years ago
Marc Zinnschlag 3fa4a194a7 Merge remote-tracking branch 'scrawl/master' 12 years ago
scrawl 6164e5bae6 Restored window resizing 12 years ago
Chris Robinson 3744850545 Fix hand-to-hand health damage reduction 12 years ago
Chris Robinson 39507e3f0f Decrease armor condition on successful hits 12 years ago
Chris Robinson 1af48ab6e0 Decrease weapon condition on successful hits 12 years ago
Chris Robinson 465f4d2063 Properly handle starting an animation at the end 12 years ago
Marc Zinnschlag 82958e6514 added custom creator for cell records 12 years ago
Chris Robinson 54f91d4b3a Implement hand-to-hand attacks 12 years ago
Marc Zinnschlag 899e18b2cf report ID errors also via input field tool tips 12 years ago
Marc Zinnschlag 5ec9d370cb check if ID is already in use when creating new IDs 12 years ago
Marc Zinnschlag 124a70906f added creator edit lock 12 years ago
Marc Zinnschlag 32c697abc6 validate IDs entered by the user 12 years ago
Marc Zinnschlag 4f6e99c391 more compact layout for the bottom box 12 years ago
Marc Zinnschlag 00fcb79f08 moved record creation to GenericCreator class (now taking ID from user instead of using a procedurally generated one) 12 years ago
Marc Zinnschlag 2d46a1db2f changed CreateCommand to work directly on the model instead of the proxy 12 years ago
Chris Robinson a34f0de3e1 Play the correct medium armor foot sounds 12 years ago
Chris Robinson db4f34b332 Play hit sounds when hitting creatures and NPCs 12 years ago
Chris Robinson 1a40d01afa Fix NPC armor rating calculation and reduce redundant lookups 12 years ago
Chris Robinson f73008546f Keep a sound updated with its object's position 12 years ago
Chris Robinson c94653dc49 Implement the ModRegion script function 12 years ago
Marc Zinnschlag f93af52486 handling down a reference to Data and the undo stack to the creators 12 years ago
Chris Robinson 1174b85ac8 Implement Disable/EnableTeleporting script functions 12 years ago
Marc Zinnschlag fee748d4b5 added creator bar UI and cancel button 12 years ago
Chris Robinson 3298eb1b37 Implement HitOnMe script function 12 years ago
Chris Robinson 5379e607cb Handle the OnPCHitMe script variable 12 years ago
Chris Robinson f215d2cc30 Only raise weapon skills for the player 12 years ago
Chris Robinson bec420c69b Add Class::onHit for creatures 12 years ago
Chris Robinson dd6edd21f8 Add a separate on-hit method to handle objects being hit 12 years ago
Marc Zinnschlag b8ac45defe added creator to bottom box layout and re-routed add record event to bottom box 12 years ago
Marc Zinnschlag d899cbb449 removed some junk 12 years ago
Marc Zinnschlag ed83e2e70a added creator to bottom box; more cleanup 12 years ago
Marc Zinnschlag 6c4bdc0101 minor cleanup; less pointer usage 12 years ago
Marc Zinnschlag ba5ca5beed replaced createAndDelete flag with a new class hierarhy (Creator) 12 years ago
Emanuel Guevel aa14656ff2 esmtool: fix swapped comparison operators 12 years ago
Marc Zinnschlag 3fbbbdc64b Merge remote-tracking branch 'scrawl/master' 12 years ago
Chris Robinson a569ae367e Fix hit chance calculation 12 years ago
Chris Robinson 6195062d72 Try to figure out what gets hit
This isn't the greatest. The distance multiplier is a guess, and a sphere cast
may be better.
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
Marc Zinnschlag 4327b81bc3 fixed column handling in table (had problems with filtered out columns before) 12 years ago
Marc Zinnschlag 55e7e71c11 added optional per-subview status bar 12 years ago
Chris Robinson 1dcc893703 Merge remote-tracking branch 'zini/master' into combat 12 years ago
Chris Robinson 4ad28ed369 Don't play a weapon-down sound when unreadying a spell 12 years ago
Chris Robinson 92cc566fdc Rename the Class::attack method to Class::hit 12 years ago
Chris Robinson 0db02af807 Set up the weapon state in the CharacterController constructor 12 years ago
Chris Robinson d9a9c3d6bd Handle the "land" soundgen type 12 years ago
Chris Robinson 705498ec24 Play a swish sound when attacking 12 years ago
Chris Robinson d8ec813939 Say something from the "hit" dialog topic when losing health 12 years ago
Chris Robinson 59f1bc7542 Use time values for the aniamtion's start, stop, and loop points
This seems to be closer to the expected behavior. This more cleanly handles 0-
length animations, especially where the start marker comes after the stop
marker while still being on the same time key.
12 years ago
Chris Robinson bf1d907d07 Don't play casting animations for enchantments 12 years ago
Chris Robinson cc8e8c1272 Use the attack strength as determined by how long the attack was held 12 years ago
Chris Robinson 0c8d4d9be2 Add beginnings of melee hits 12 years ago
Chris Robinson 45302f9e25 Handle controllers in the NPC's bound object parts 12 years ago
Marc Zinnschlag a80e80dd94 added layout to table sub view 12 years ago