Koncord
536715cf46
Cleanup tes3mp headers
8 years ago
David Cernat
95efb77e53
Implement sending of ID_GAME_SPELLBOOK from client
8 years ago
scrawl
e6619c5306
Rebuild actor animations on resurrection ( Fixes #3124 )
...
A new animation is necessary to set up the correct InventoryStore listener, to get notified of changes like the actor no longer being a werewolf, etc.
9 years ago
scrawl
f052c05018
Move werewolf functions from World to MechanicsManager
9 years ago
scrawl
2bd8d60e9f
Accept a ConstPtr in getPrimaryFaction, getPrimaryFactionRank
9 years ago
scrawl
271fcb80c6
Remove container scripts before deleting container
9 years ago
scrawl
07b064f616
Rename to lowerCaseInPlace
9 years ago
Alexander "Ace" Olofsson
7d4125d97f
Fixes for building with unity build
9 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
0ee7407101
extracted common sub-expressions.
10 years ago
scrawl
4bb3cbf0fb
Remove last remains of Ogre
10 years ago
scrawl
c819180aa1
Minor cleanup
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
Alexander "Ace" Olofsson
fce404acc5
Remove some including of mwbase/world.hpp
...
Since ref.hpp is rather well used in OpenMW-CS this should help compile times there
10 years ago
scrawl
ae77eacd7e
Skill progress refactoring
10 years ago
scrawl
431f540791
ESSImport: fix NPC factions
10 years ago
scrawl
f49fde3d5d
Add support for undeleting references ( Fixes #2193 )
...
Deleted references should be accessible via an explicit reference, and can be undeleted using "setdelete 0". Also the Resurrect function implicitely undeletes the given reference.
10 years ago
scrawl
2952a0e2aa
Make Resurrect function reset most of the runtime state ( Fixes #2181 )
10 years ago
scrawl
d7220cdc2f
Do not allow decrease below zero in modCurrentMagicka and modCurrentHealth ( Fixes #2158 )
10 years ago
scrawl
dab05471be
Reset crime when bounty is reset to 0 by a script ( Fixes #2057 )
10 years ago
Marc Zinnschlag
984b586bb1
fix for implicit references
10 years ago
Marc Zinnschlag
8afdf0f46b
dagoth fix
10 years ago
scrawl
69bbbefc09
setDynamic workaround for broken endgame scripts ( Fixes #2016 )
10 years ago
scrawl
c4fa671381
Don't allow raising faction rank if the next rank has no name ( Fixes #1975 )
10 years ago
Marc Zinnschlag
80d39780ae
same fix for a couple of additional instructions
11 years ago
Marc Zinnschlag
7de49a66e2
fix for PCJoinFaction and for getPcRank without explicit reference
11 years ago
Marc Zinnschlag
0d8bfbfa9b
getpcrank did not read the explicit reference in some cases ( Fixed #1767 )
11 years ago
scrawl
2db50da8dd
Implement magic effect script instructions (Feature #1489 )
11 years ago
scrawl
eb1888a540
Fix GetPcRank and PcExpelled not accepting Faction IDs properly ( Fixes #1709 )
11 years ago
scrawl
205e039a39
Allow modCurrent instructions to decrease below zero (Bug #1589 )
11 years ago
scrawl
2506c16bf5
Add a dummy GetStat function returning 0 ( Fixes #1589 )
11 years ago
scrawl
2451eead8a
Some additional wrapping for faction rank instructions
11 years ago
scrawl
e23a7694f3
Don't throw exception when using ModDisposition on creatures ( Fixes #1548 )
11 years ago
scrawl
c3e4160a0a
Don't crash in StatsWindow for invalid faction rank values
...
PcRaiseRank: don't allow to raise rank beyond max rank
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
scrawl
578adb4ef6
PcJoinFaction and friends: make sure the given faction exists
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
Thomas
c2127845af
Added onKnockdown command
11 years ago
scrawl
f921f2e7db
Make PcRaiseRank, PcLowerRank and PcJoinFaction properly accept references instead of using the actor that the player talked to last.
...
This also solves a potential crash when no actor has been talked to yet, e.g. immediately after loading a savegame.
11 years ago
scrawl
c8c0e5de38
Fixed code issues found with unity build. Missing include guards, duplicated functions, ...
11 years ago
Emanuel Guevel
70d35da116
Unset selected spell when removed
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
d0500e8124
Some unneeded includes cleanup
11 years ago
scrawl
768d9f7237
Scripting: Add an optional 'required' parameter to getReference (default: true). If required=false, it will not throw an exception if there's no reference. Fixes PcExpell not working without a reference like it's supposed to, and makes the code nicer for some others (use required=false instead of catching the exception)
11 years ago
scrawl
19d63f392f
Clean up the NpcStats expelled interface. Show message box when expelled.
11 years ago
scrawl
098f9712f1
Add getPlayerPtr() utility method. Reduces dependencies a lot.
11 years ago
scrawl
55c5d7cee4
Implement Resurrect instruction
11 years ago
scrawl
b4230f716e
Implement RemoveEffects instruction
11 years ago
scrawl
7d8ca91286
Implement RemoveSpellEffects instruction
11 years ago
scrawl
b42240be6d
Implement Damage/restore skill/attribute effects. Use dedicated classes for skill and attribute values (instead of Stat<T>) since there are some important differences.
11 years ago
scrawl
32ff3b530c
Change all instances of skill/attribute values to use an appropriate typedef.
11 years ago
scrawl
b02b966c44
Closes #994 : Don't cap skills to 100 when set via console (except for modX variants)
11 years ago
scrawl
2a8ab932ef
Bug #951 : Only recalculate derived stats when attributes change
11 years ago
Lukasz Gromanowski
8d63f8eea2
Fixes #998 : Setting the max health should also set the current health
...
Added setting current value of dynamic stat in OpSetDynamic class.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
mckibbenta
8998b90e8b
initial do-nothing implementation; registered opcode
12 years ago
Chris Robinson
2353ac1739
Properly implement SetWerewolfAcrobatics
12 years ago
Chris Robinson
db1036e5e5
Handle SetWerewolfAcrobatics
12 years ago
Chris Robinson
75b6515915
Inherit NpcStats from CreatureStats
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
Alex
de1f423bd7
initial move of script opcodes and registerExtensions functions to components/compiler
12 years ago
Emanuel Guevel
c59ad62c57
Fix UndoWerewolf script instruction
12 years ago
Emanuel Guevel
5188a1c2cd
Implement script instructions Become/UndoWerewolf
12 years ago
scrawl
7821610ec6
Make OnDeath work with explicit reference
12 years ago
Chris Robinson
c8606d2f63
Implement IsWerewolf script function
12 years ago
Marc Zinnschlag
e4ed5b836e
added ondeath script function
12 years ago
Marc Zinnschlag
f4ee8e2642
Issue #479 : Added additional magnitude parameter to known spells
12 years ago
Marc Zinnschlag
6e0b86c6f9
Merge remote-tracking branch 'potatoesmaster/getdisposition'
12 years ago
eduard
2dc0064cc2
more string lowercase
12 years ago
Emanuel Guevel
3e41a1118a
GetDisposition: return calculated disposition instead of base disposition
12 years ago
Tom Mason
bed8fb69e6
added bounty related scripting functions
12 years ago
Marc Zinnschlag
8bcd7d8fb1
fixed a type in a script instruction
12 years ago
scrawl
1def60dbe1
PcExpell, PcExpelled, PcClearExpelled, RaiseRank, LowerRank
12 years ago
scrawl
d6dd212ce8
GetWerewolfKills, ModScale, SetDelete, GetSquareRoot
12 years ago
scrawl
0db48b29c7
GetSpellEffects, GetRace
12 years ago
Marc Zinnschlag
9193f3b0ae
implemented getCommon/BlightDisease script instructions
12 years ago
Marc Zinnschlag
fd5671e6db
fixed argument lists for setpcfacrep and modpcfacrep
12 years ago
Marc Zinnschlag
b046687f46
added PCFacRep script instructions
12 years ago
Marc Zinnschlag
c621a9f7e4
added missing disposition script instructions
12 years ago
Marc Zinnschlag
8aa1fd921b
fixed some stats related script instructions
12 years ago
Marc Zinnschlag
79706bf60f
Issue #219 : dialogue manager cleanup
12 years ago
greye
11567663a7
applying new interface vol.4, inconsistent
12 years ago
greye
d205723a17
resolving m prefix/ESMStore movement
12 years ago
greye
2057f5619e
move ESMStore to MWWorld
12 years ago
greye
3c2ce25f5f
m prefix for mwworld/cellstore.hpp
12 years ago
Marc Zinnschlag
453f347ee8
Issue #68 : added getdeadcount script function
12 years ago
Marc Zinnschlag
a8f294c9ae
fixed types of dynamic stats script instructions
12 years ago
Marc Zinnschlag
bdca5aff87
Issue #68 : simplified the dynamic stats interface
12 years ago
greye
18cc435aa1
resolving conflicts
12 years ago
greye
7606ebafd6
resolving conflicts, minor update
12 years ago
scrawl
76b494100e
finished?
12 years ago
Marc Zinnschlag
923109b260
Issue #107 : DialogueManager is accessed only through the interface class from now on
13 years ago
greye
32b1350b63
CreatureStats class
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
a207c86fd1
Issue #324 : added some range checks
13 years ago
Marc Zinnschlag
67c1c5ce18
Issue #324 : adjusted setSkill script instructions according to the recent research
13 years ago
gugus
0a67f60a6e
Clean-up
13 years ago
gugus
feec67094f
Merge branch 'physicsaedra3' of https://github.com/jhooks1/openmw.git into objectRotationScaling
...
Conflicts:
apps/openmw/mwclass/npc.cpp
apps/openmw/mwworld/physicssystem.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
d30ba14a17
Issue #324 : Finished turning NpcStats into a proper class
13 years ago
Marc Zinnschlag
205ed0ce5b
post merge fix
13 years ago