Andrei Kortunov
b8fd530ee1
Do not speak with unconscious creatures
7 years ago
scrawl
84657271c7
Improve WindowManager API with a generic way of passing a Ptr to the opened GUI window
7 years ago
David Cernat
4468e6ec4a
Merge pull request #280 from OpenMW/master while resolving conflicts
...
# Conflicts:
# .gitignore
# apps/openmw/mwmechanics/actors.hpp
# apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
7 years ago
Andrei Kortunov
dd919b9f2c
Do not allow to loot fighting actors during death animation (bug #3528 )
8 years ago
Koncord
6222c20e82
[Client] Convert MechanicsHelper to namespace
8 years ago
David Cernat
fa3baac0f3
Merge pull request #228 from OpenMW/master while resolving conflicts
...
# Conflicts:
# .travis.yml
# CMakeLists.txt
# apps/openmw/main.cpp
8 years ago
Bret Curtis
d785344fad
purge all instances of <boost/shared_ptr.hpp>, clean up unused headers
8 years ago
Ewan Higgs
38a2de3c51
convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis
8 years ago
David Cernat
1c6e359fe9
[Client] Set and clear hitAttemptActorId for DedicatedPlayers
...
This allows a DedicatedPlayer's follower NPCs to target enemies attacking the DedicatedPlayer.
8 years ago
David Cernat
809b4d78ba
[Client] Split off DedicatedPlayer and PlayerList into different files
8 years ago
David Cernat
ea7c3f2dc7
[Client] Make tes3mp combat code work with Creatures, not just NPCs
8 years ago
Andrei Kortunov
14b59e0e4b
Vanilla-like tgm ( fixes #3798 )
8 years ago
Allofich
5282556ae0
Show names on combat actors when RMB GUI is active
...
Fixes (#3797 )
8 years ago
Rafael Moura
05cc69f6f1
Porting more ContainerStoreIterator usage to const version
8 years ago
Allofich
6b53541571
Prevent AI actors from hitting unintended targets
...
(Fixes #3254 )
8 years ago
Allofich
e047679595
Fix trying to access stats on non-actors
8 years ago
Allofich
5d2090684a
Store mHitAttemptActorId in save files
8 years ago
Allofich
25c64dbb0f
Make combat engagement logic more like vanilla
...
(Fixes #2678 , Fixes #3705 )
8 years ago
MiroslavR
f1f9209814
Creatures now auto-equip shields ( Fixes #3704 )
8 years ago
Allofich
34851349de
Pass hitPosition by const reference
8 years ago
Allofich
bce0166931
Don't play blood effects for resisted hits
8 years ago
scrawl
a825882c6b
Process death events at the end of the death animation ( Fixes #1873 )
9 years ago
scrawl
8fcc1911d9
Use fCombatDistance as the creature attack range
9 years ago
scrawl
c3ef387208
Vanilla-compatible creature/NPC respawning ( Fixes #2369 , Fixes #2467 )
9 years ago
scrawl
d05603c7fe
Directly apply On Target 'When Strikes' enchantments instead of launching a projectile ( Fixes #3212 )
9 years ago
scrawl
fb219fea17
Fix respawning of NPCs/creatures when they were moved to a different cell
9 years ago
scrawl
effe022bb2
Move preload model list to MWClass, preload NPC head/hair
9 years ago
scrawl
32d5dece58
Add count argument to getToolTipInfo
9 years ago
scrawl
0d4729dcd5
Use the const version of CustomData::as*
9 years ago
scrawl
b0894ea20d
Accept a ConstPtr in hasToolTip
9 years ago
scrawl
04f7a8f8eb
Remove redundant getId function
9 years ago
scrawl
303521002d
Accept a ConstPtr in adjustScale
9 years ago
scrawl
09bdb0ad4b
Accept a ConstPtr in getServices
9 years ago
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
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
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
eb51e2838f
Utilize the mHasCustomData flag in writeAdditionalState
9 years ago
scrawl
271fcb80c6
Remove container scripts before deleting container
9 years ago
scrawl
fc449233be
Restore support for inserting objects into a cell
9 years ago
scrawl
0975f60d59
Stub out CellStore::get<T> accessors in preparation of reference movement between cells
9 years ago
scrawl
cd4a1ffd16
Fast version of dynamic_cast for MWClass
9 years ago
scrawl
bd9dc58560
Use the correct scale for actor swim height ( Fixes #2833 )
9 years ago
dteviot
300c48329d
Creature::isFlagBitSet() changed to free function.
9 years ago
dteviot
95d2d82abf
extracted isFlagBitSet()
9 years ago
dteviot
bb54bbd273
Pulled duplicated functions into common base class
10 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
0ee7407101
extracted common sub-expressions.
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
7f66339790
Remove a redundant function
10 years ago
scrawl
4637750601
Savegame loading optimization
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
04010b8a1a
Set OnPcHitMe even for missed hits
10 years ago
scrawl
7bacb9418d
Various math code ported to osg
10 years ago
scrawl
de8e5f0db1
Restore projectiles
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
scrawl
85345e663a
Restore getHitContact
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
e8ec4387d6
Creature collision fix
10 years ago
scrawl
5abeab21ed
Various integer/floating point roll adjustments based on wiki
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
8c810e3620
Move rng to components
10 years ago
scrawl
68f93294da
Port EffectManager
10 years ago
scrawl
c92592493e
OpenMW: create a window and render the starting cell(s)
10 years ago
scrawl
4e69e7cc0f
OpenMW compiles and runs w/o render window
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
767624f518
Combat mechanic fixes
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
dteviot
45b6538820
fixed MSVC 2013 warning C4800
...
forcing value to bool 'true' or 'false'
10 years ago
scrawl
bea88c3643
Stolen item tracking overhaul part 2 ( Fixes #2338 )
10 years ago
scrawl
7e33471edb
Fix code duplication
10 years ago
scrawl
9014dc48ee
Don't require the object type id for reading references from savegames
...
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl
41b3a9dba9
Rewrite animated collision shape support ( Fixes #2123 )
10 years ago
dteviot
7aa0f887c0
Minor changes to ESM::RefNum
...
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
dteviot
7fe2f86d06
Slaughter fish attacks when player only knee deep in water ( Fixes #2076 )
10 years ago
scrawl
e0d083f702
Add hand-to-hand combat mechanics for bipedal creatures
...
You can now have a fistfight with vivec, if you so desire.
10 years ago
scrawl
377b79d5ba
Use SoundGen fallback for type Land only ( Fixes #2228 )
10 years ago
scrawl
3912ee2b1d
Fix faction rank not being set on items in faction-owned containers
10 years ago
scrawl
1b9209df4a
Allow blocking of hand-to-hand attacks
10 years ago
scrawl
d642512f71
Error message fix
10 years ago
scrawl
4e0d16da8c
Take Scale field in creature record into account ( Fixes #2214 )
10 years ago
scrawl
2b78e9795d
Implement Calm effect removing combat packages ( Fixes #1985 )
10 years ago
scrawl
4acc25f59c
Use SoundGen with no creature field as fallback
...
This fixes the adorable "thump" sounds in the Scrib's idle animation not playing.
10 years ago
scrawl
192626c6f5
SoundGen fix: use Original Creature field only if non-empty
10 years ago
scrawl
88a2e4c043
Graceful error handling for missing spells/factions ( Fixes #1825 , Bug #2176 , Bug #2203 )
10 years ago
scrawl
f42420bc19
Use the Original Creature field for SoundGen lookups
10 years ago
scrawl
886903d70e
Implement HitAttemptOnMe function (Bug #2078 )
10 years ago
scrawl
e48dc45ede
Fix creatures not being able to move with 0/0 encumbrance
10 years ago
scrawl
d9165593d9
Fix footstep sounds played during water-walking
10 years ago
scrawl
5c3bc6563b
Fix divisions by zero in normalizedEncumbrance
10 years ago