Marc Zinnschlag
45e7522aa6
Merge remote-tracking branch 'dteviot/ExtractCommonCreatureDraft'
9 years ago
dteviot
300c48329d
Creature::isFlagBitSet() changed to free function.
9 years ago
slothlife
4fd00a75d5
Merge advanceTime and advanceTimeByFrame
9 years ago
slothlife
cd8ec5c11e
Improve checking for older weather records
9 years ago
slothlife
7817c52cbb
Discard old save game weather records
9 years ago
dteviot
95d2d82abf
extracted isFlagBitSet()
9 years ago
slothlife
c907ed517d
Remove C++11 explicit on conversion operator
9 years ago
slothlife
54fa5273dc
Refactor weather transitions to act more like MW
...
Fixed several issues:
* Waiting/jail time/training all now properly skip remaining transitions
* ChangeWeather no longer permanently sets the region's weather
* ChangeWeather being called during a transition now correctly queues up
another transition
* Corrected transition delta and factor calculations
* ModRegion settings are now saved
9 years ago
Marc Zinnschlag
a9f9a8d58e
Merge remote-tracking branch 'dteviot/ExtractCommonCreatureDraft'
9 years ago
dteviot
541d7fb4fb
Fixed assorted issues
...
* destructor is virtual
* renamed class to Actor
* corrected indentation of case statement
9 years ago
Marc Zinnschlag
8f7f29943a
Merge remote-tracking branch 'jordan-ayers/topic/dead-code'
9 years ago
Jordan Ayers
cd5bef958f
Remove dead code from alchemywindow.
...
Also align some braces.
9 years ago
dteviot
bb54bbd273
Pulled duplicated functions into common base class
9 years ago
scrawl
b509a18065
Remove code setting PcRace ( Fixes #2886 )
...
This is already handled by the RaceCheck script.
9 years ago
Marc Zinnschlag
a52b947efe
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
9 years ago
scrawl
542c648e69
Fix incorrect assignment of PcRace, need to sort race IDs ( Fixes #2884 )
9 years ago
Marc Zinnschlag
50ec8b10f5
Merge remote-tracking branch 'dteviot/Bug2871'
10 years ago
scrawl
ba8e4c22aa
Avoid using loops to wrap angle values ( Fixes #2882 )
10 years ago
scrawl
52d8bc555c
Add missing checks to see if spell still exists when loading a savegame (Bug #2883 )
10 years ago
dteviot
5dd0ad6841
Fixed rest of travis errors.
10 years ago
dteviot
3fa5c6a0e7
fixed travis build failure
10 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
85bc41dedb
replaced FLT_MAX with numeric_limits.
10 years ago
scrawl
af3b0cd883
Improve some error messages
10 years ago
dteviot
3b231b85bb
removed incorrect optimization.
...
Now it fixes #2871
10 years ago
Marc Zinnschlag
08325d14ca
Merge remote-tracking branch 'dteviot/Bug2871'
10 years ago
Marc Zinnschlag
d436dc332b
Merge remote-tracking branch 'jeffreyhaines/gametimetracker'
10 years ago
Marc Zinnschlag
5cb0353b5c
Merge remote-tracking branch 'jeffreyhaines/npcsdontscream'
10 years ago
dteviot
c0d3804b4f
Correctly handle disjoint pathgrid ( Fixes #2871 )
...
Bugfix:
When
1. Cell has multiple subgrids (i.e. path grid is disjoint)
2. Distance between destination and pathgrid point 0 is less than distance to points of subgrid closest to start point
Then getClosestReachablePoint() returns pathgrid point 0 as the end point.
This is invalid, this end point cannot be reached from the start point.
10 years ago
dteviot
0ee7407101
extracted common sub-expressions.
10 years ago
dteviot
ff5ef7055e
extracted function CreatureStats::isParalyzed()
10 years ago
Jeffrey Haines
f94d3237fc
Removed unused cmake import
10 years ago
Jeffrey Haines
61bb55aff4
Removed long int parameter
10 years ago
Jeffrey Haines
d91f197119
Time played display setting
10 years ago
Jeffrey Haines
69729046bf
Updated parameter name to reflect units
10 years ago
Jeffrey Haines
e86891d6e1
Time played displayed in save/load menus
10 years ago
Marc Zinnschlag
9918b57341
Merge remote-tracking branch 'origin/master'
10 years ago
Jeffrey Haines
e1baf1ea48
NPCs scream when they die
10 years ago
scrawl
232dfdc07e
Make an error message slightly more helpful
10 years ago
scrawl
681183df31
Restore handling of fog depth == 0 values (Bug #1549 )
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
dca08b0b42
Remove a firing assert ( Fixes #2871 )
10 years ago
Marc Zinnschlag
e888fd7034
Merge remote-tracking branch 'scrawl/delete_noop'
10 years ago
Marc Zinnschlag
3992125b61
Merge remote-tracking branch 'scrawl/master'
10 years ago
Marc Zinnschlag
dc72b24f4e
Merge remote-tracking branch 'dteviot/PathfindingRefactorDraft'
10 years ago
Marc Zinnschlag
b5f3f0522a
Merge remote-tracking branch 'slothlife/weather-settings-fix'
10 years ago
scrawl
b583a2ec33
Make SetDelete a no-op for items in containers ( Fixes #2864 )
10 years ago
Jordan Ayers
be7bd9529d
Classes shouldn't use MWBase::Environment to access their own members.
10 years ago
scrawl
9fad33cd14
Don't reset the item model's sort/filter options in updatePlayer ( Fixes #2863 )
10 years ago
scrawl
c8d6679a25
Remove an unused function
10 years ago
dteviot
4d9d8a060d
Pathing bugfix.
...
When path contains one one point from path grid, point is no longer being discarded.
10 years ago
dteviot
942a987d52
centralize the world/cell coordinate conversion logic.
10 years ago
dteviot
5049c9ab6a
removed unnecessary tests.
10 years ago
slothlife
3d419a612a
Corrected some weather transition calculations
...
Reversed some formulas for Transition Delta and Clouds Maximum Percent
and implemented them. Refactored Weather some to encapsulate those
formulas (to more closely match MoonModel). Did some small cleanup of
WeatherManager.
10 years ago
scrawl
8426d376f0
Use separate touch spell raycasts for actors and objects ( Fixes #2849 )
10 years ago
scrawl
afb3d94ba4
Fix cell names in the save/load menu not being localised ( Fixes #2840 )
10 years ago
scrawl
c25dacb480
Fix "Level" string in the save/load menu not being localised (Bug #2840 )
10 years ago
scrawl
8241976368
Don't attempt to play non-existing hit animations ( Fixes #2856 )
10 years ago
scrawl
7dd09dd637
Fix being able to flip journal pages with the mousewheel when the options overlay is active ( Fixes #2855 )
10 years ago
scrawl
58cd2b1a84
Remove "Tri Bip*" nodes in creature meshes (meant for debugging)? ( Fixes #2148 )
10 years ago
scrawl
c57e72fe03
Adjust the sleep interruption chance ( Fixes #2781 )
10 years ago
scrawl
d76fb2d266
Apply disintegrate only to weapons and armor ( Fixes #2853 )
10 years ago
Marc Zinnschlag
5aeabe22f0
Merge remote-tracking branch 'dteviot/PathfindingRefactor'
10 years ago
scrawl
e8c9d3ea2a
Fix cell names on world map not always being translated ( Fixes #2832 )
10 years ago
scrawl
1e18a73b1c
Don't play magic effect sounds & visual effects for unsuitable targets ( Fixes #2811 )
10 years ago
scrawl
211deeb63e
Don't attempt to lock or unlock unsuitable objects ( Fixes #2826 )
10 years ago
scrawl
0d8f07d563
Properly apply changes when backing out of chargen dialogs ( Fixes #2627 )
10 years ago
scrawl
86f0e505e9
Add a fixPosition for the --start exterior cell ( Fixes #2790 )
10 years ago
Marc Zinnschlag
d511772534
Merge remote-tracking branch 'rohit-n/gamepad'
10 years ago
Rohit Nirmal
d9b11f963a
Gamepad: Slow down simulated mouse with right trigger
...
in menus.
10 years ago
dteviot
55e3aaaa35
made variable const.
10 years ago
dteviot
e42a2478dc
Removed tests that are not necessary.
10 years ago
dteviot
2b9e22f593
extracted function stopAttack().
10 years ago
dteviot
0884a3796f
extracted function isTargetMagicallyHidden().
10 years ago
dteviot
038851420d
Removed unneeded temp variables.
...
Corrected case of function names.
10 years ago
dteviot
50ddcd1953
more attack logic moved into AiCombatStorage.
10 years ago
dteviot
0735e3e06e
move start attack logic to AiCombatStorage.
...
Basically, copied from mrchenko's 1d4be08f6e4c2dbd89cc0c3408a8231ee4497277
10 years ago
dteviot
1676bf917e
CombatMove logic moved into AiCombatStorage.
...
Basically, copied from mrcheko's 1d4be08f6e4c2dbd89cc0c3408a8231ee4497277
10 years ago
Marc Zinnschlag
d29862eac3
Merge remote-tracking branch 'emperorarthur/anim_fail'
10 years ago
Marc Zinnschlag
b74a14211f
Merge remote-tracking branch 'origin/master'
10 years ago
Marc Zinnschlag
1eed1c4d23
Merge remote-tracking branch 'dteviot/AiCombatPerFrameUpdate'
10 years ago
scrawl
56b7196bea
Remove incorrect implementation of "Clouds Maximum Percent" weather setting
10 years ago
slothlife
3235cecddf
Use Glare View for visibility of celestial bodies
...
Fixed memory leak from Sun and Moon objects by pulling Updaters back out
into separate objects. Removed code related to
mCelestialBodyTransparency.
10 years ago
slothlife
238ae419a3
Fix use of incorrect material for Sun
10 years ago
slothlife
f2e51b0579
Use diffuse alpha to fade Sun
10 years ago
slothlife
ea2f88a355
Fix several sky rendering bugs, maybe also #639
...
Added code to hide the moons, sun, and stars for certain weather
effects. Lightly refactored CelestialBody and derived classes. Fixed
moons switching phase at 24:00.
10 years ago
dteviot
58f732ebc9
Update path following checks each frame in AiCombat.
10 years ago
dteviot
ad9bab0b68
Removed redundant if.
10 years ago
dteviot
4256e151b1
Fixed error in deciding type of attack
10 years ago
dteviot
21e249cb92
pass parameters as const &
10 years ago
scrawl
664ae079db
Improve setting of culling mask for the savegame screenshot camera
10 years ago
scrawl
88c61ed2b6
Fix NotifyDrawCompletedCallback in single threaded mode
10 years ago
Marc Zinnschlag
e73c115ff5
Merge remote-tracking branch 'origin/master'
10 years ago
Marc Zinnschlag
529041f6f6
Merge remote-tracking branch 'slothlife/moon-settings'
10 years ago
Marc Zinnschlag
9ee3f1bfe7
Merge remote-tracking branch 'slothlife/moon-settings' into mergetool
10 years ago
slothlife
0244a9b329
Correct moon texture with respect to trajectory
10 years ago
Marc Zinnschlag
9392e426c0
Merge remote-tracking branch 'origin/master' into mergetool
10 years ago
Marc Zinnschlag
15e8275443
Merge remote-tracking branch 'slothlife/moon-settings' into mergetool
10 years ago
Arthur Moore
08d5aaf0fc
Remove more comments
10 years ago
Arthur Moore
6fce49bfb5
Don't warn twice when unable to play an idle animation
10 years ago
Arthur Moore
61c3835637
Don't try to play animations we know are bad
...
Prevents log spam
10 years ago
scrawl
7644a46ded
Creatures with no movement should not attempt to start combat ( Fixes #2786 )
10 years ago
scrawl
f326b8e5d2
Fix weapon animations playing on the lowerbody when swimming
10 years ago
scrawl
e8cbdcfb1e
Play swimming animation fallback on the upper body when possible
10 years ago
scrawl
1f755a2bc0
Don't use a shared Material in AlphaFader
10 years ago
slothlife
67a63cc662
Add some const correctness to MoonModel
10 years ago
Arthur Moore
5ea596f38d
Refactor onChooseActionStatePerFrameActions
...
This prevents playIdle errors from tyring to play idleAnimation 0
10 years ago
Arthur Moore
f69de1f263
Alert the user if trying to play a non-idle animation
...
Continue to propagate success/failure up the call stack.
10 years ago
Arthur Moore
5e6fcc2aef
Alert the user if attempting to play an animation fails
...
This is mostly propogating the error up the stack so the game can do something about it.
Working on avoiding log spam from calling an animation that doesn't exist every frame.
10 years ago
Marc Zinnschlag
26ea3aa1ad
Merge remote-tracking branch 'dteviot/refactoringAiWander'
10 years ago
slothlife
a4e1630ec2
Remove unreferenced member in MoonModel
10 years ago
slothlife
8dc7e158c6
Fix forward declaration of MoonState
10 years ago
slothlife
24ba54f4fe
Implement accurate moon settings ( fixes #672 )
10 years ago
scrawl
7ba399fc92
Change a message to upper case spelling
...
More consistent with other loading messages
10 years ago
Marc Zinnschlag
bafa86d3e9
Merge remote-tracking branch 'scrawl/master'
10 years ago
dteviot
04aee1fe20
extracted function reactionTimeActions().
10 years ago
dteviot
c7aacaee70
extracted function returnToStartLocation().
10 years ago
dteviot
5e519ef550
extract function isPackageFinished().
10 years ago
dteviot
ad0d807103
extracted function reactionTimeActions().
10 years ago
dteviot
9c0e3d6c28
extracted functions doPerFrameActionsForState() and onChooseActionStatePerFrameActions().
10 years ago
dteviot
76f95eafe7
extract function onWalkingStatePerFrameActions().
10 years ago
dteviot
5ec310dfba
extract function onIdleStatePerFrameActions().
10 years ago
dteviot
b3d5b47fea
extracted function UpdateActorsMovement().
10 years ago
scrawl
dff84adf7e
Fix weapon animation priority
10 years ago
dteviot
aba7225817
Removed some duplicated operations.
10 years ago
scrawl
41996b0aad
Don't play turning animations in first person mode
10 years ago
scrawl
e0ee2fc01b
Adjust the movement animation speed every frame ( Fixes #1921 )
10 years ago
scrawl
278076e609
Include cleanup
10 years ago
scrawl
3bca3e73d4
Fix GetWeaponDrawn and GetSpellReadied script functions for creatures
10 years ago
scrawl
b3f5ac5dbb
Include cleanup
10 years ago
scrawl
e6b28d84f0
Outdated comment fix
10 years ago
scrawl
3f3c3d0ad3
Remove an already resolved todo comment
10 years ago
scrawl
4f6e5345cc
Include cleanup
10 years ago
Pawel Kubik
47922f6c35
Changed a settings variable responsible for number of loaded exterior cells.
10 years ago
scrawl
7f66339790
Remove a redundant function
10 years ago
scrawl
71bc22401f
Include cleanup
10 years ago
scrawl
7e4e59efb9
Fix excessive auto-equipping in InventoryStore::removeItem ( Fixes #2792 )
10 years ago
scrawl
7900631d51
Print the missing player cell to error output
10 years ago
scrawl
8286dc6c5a
Player followers don't report crimes ( Fixes #2457 )
10 years ago
Marc Zinnschlag
6e3032efc1
Merge remote-tracking branch 'koncord/fix-gold-beh'
10 years ago
Koncord
6c3c85f0d4
Fix indent
...
Remove misc.hpp in containerstore.cpp
10 years ago
Marc Zinnschlag
f3d3cbc58b
Merge remote-tracking branch 'dteviot/refactoringAiWander'
10 years ago
Marc Zinnschlag
d2cd151f77
Merge remote-tracking branch 'kunesj/master'
10 years ago
dteviot
2a4d35b98c
fixed "comma at end of enumerator list" warning.
10 years ago
Koncord
7a86c8d8b6
Fix OpAddItem, OpGetItemCount and OpRemoveItem.
10 years ago
Koncord
a24df8cb66
Revert addImp() and remove()
...
add isGold() in MWWorld::Class
10 years ago
Koncord
9485aa5e44
Fix "removeitem gold_100" behavior
10 years ago
Koncord
aefcd1ad07
Fix "additem gold_100" behavior
10 years ago
Koncord
75e5023590
fix code duplication
10 years ago
Jiří Kuneš
a14a3c82de
added description of new syntax to the onRetrieveTag function comment
10 years ago
Marc Zinnschlag
9b3d5c958f
Merge remote-tracking branch 'scrawl/music'
10 years ago
dteviot
00eef585af
renamed mPlayedIdle to mIdleAnimation.
10 years ago
dteviot
22f49128cc
replaced multiple booleans with single state variable.
10 years ago
dteviot
1ed6e95c07
Got rid of some radians to degrees to radians conversions.
10 years ago
dteviot
3ebe9fb34f
renamed mRotate to mTurnActorGivingGreetingToFacePlayer
10 years ago
scrawl
b01abe4d19
Stop title music when the game starts ( Fixes #2468 )
10 years ago
scrawl
1156668843
Render certain map markers on top of the player arrow ( Fixes #2559 )
10 years ago
Jiří Kuneš
a5b4e087c5
define owned colours in settings.cfg
10 years ago
Jiří Kuneš
cbc44b33ba
define crosshair owned colour in openmw_hud_box.skin.xml
10 years ago
scrawl
278a078e9d
Unify magic effect tick functions
...
- Removes duplicated code
- Handle some zero-duration instant effects that were not handled before (disintegrate, sun damage, elemental damage)
10 years ago
scrawl
77f1387da8
Include cleanup
10 years ago
Jiří Kuneš
75f5972898
show owned - better settings
10 years ago
Jiří Kuneš
df077f8649
color tooltip red when taking item would result in crime
10 years ago
scrawl
111cf5462b
Merge pull request #666 from scrawl/animation
...
Animation refactoring & fixes
10 years ago
Marc Zinnschlag
b3ad983f1f
Merge remote-tracking branch 'scrawl/version'
...
Conflicts:
apps/openmw/mwgui/windowmanagerimp.cpp
10 years ago
Marc Zinnschlag
edde1fb727
Merge remote-tracking branch 'scrawl/master'
10 years ago
Marc Zinnschlag
964cd44e96
Merge remote-tracking branch 'kunesj/master'
10 years ago
slothlife
f8f0380413
Fix for loading window icon on Windows
10 years ago
scrawl
a33ca75742
Pass AnimPriority by const reference
10 years ago
scrawl
f09e4620b6
Move OpenMW version information to a textfile instead of compiling it in
...
Now we don't need to recompile 3 .cpp files and re-link whenever the current git HEAD changes.
10 years ago
scrawl
6e493500c9
Show custom map markers on the tooltip of the world map marker ( Fixes #2711 )
10 years ago
scrawl
41bed4c7d9
Use multimap to speed up custom map marker code
10 years ago
Jiří Kuneš
4a6d806127
fixed comment, save settings to member variable, removed usless include, changed variable to const
10 years ago
Jiří Kuneš
e68b388d16
removed setCrosshairOwned from windowmanager
10 years ago
Jiří Kuneš
c019f8e23d
use correct mechanics manager
10 years ago
Jiří Kuneš
15107ca5cf
crosshair owned - settings option
10 years ago
Jiří Kuneš
66edae9b93
change collor of crosshair
10 years ago
Jiří Kuneš
72728b9c01
disable cusor when item/container is owned
10 years ago
scrawl
91d71d0fcd
Disable MyGUI's scrollbar autorepeat ( Fixes #2779 )
...
We are currently using a custom implementation so as to support MyGUI version 3.2.1. When compiled with 3.2.2 or later, we need to disable MyGUI's autorepeat so that it doesn't interfere with ours.
10 years ago
scrawl
660e7f5d89
Don't update animation states in skipAnim mode ( Fixes #2782 )
10 years ago
scrawl
cc59493cb2
Don't restart the jump animation when equipping a different weapon ( Fixes #2286 )
10 years ago
scrawl
b5c79738f1
Fix enchantments casting more than once per button press, broken by a1432b0255
10 years ago
scrawl
f6f82d433c
Fix bug with loop key assignment
...
Animations with time of "loop start" == time of "loop stop" were not getting their loop times assigned correctly.
This fixes incorrect playing of the jump animation, one aspect of Bug #2286 .
10 years ago
scrawl
f8d360190d
Remove an unneeded virtual
10 years ago
scrawl
992b770315
Don't set OnPcEquip for items that failed to equip ( Fixes #2776 )
10 years ago
scrawl
17ada63fcb
Don't play turning animations on the upperbody when in first person mode ( Fixes #2287 )
10 years ago
scrawl
3656851750
Remove the now unused changeBlendMask
10 years ago
scrawl
83cceeee72
Use the extended animation priority for Block animations, allow starting attacks during a block animation ( Fixes #2761 )
10 years ago
scrawl
cf14d1748c
Use the extended animation priority for Hit animations
10 years ago
scrawl
50db6ed396
Use the extended animation priority for weapon animations
10 years ago
scrawl
e93a578f23
Extend the animation priority system to one priority value per bone group / distinct blend mask
10 years ago
scrawl
335ef97cf5
Rename Animation::Group to Animation::BlendMask
...
The old naming is problematic, because the term group was being used for another feature (text key groups) already.
10 years ago
scrawl
de6dc21552
Create hardware cursors in advance ( Fixes #2660 )
10 years ago
scrawl
dca4704b4b
Print exceptions in CharacterCreation::spawnDialog
10 years ago
scrawl
f1b52c964a
Select the current resolution in resolution list on game start ( Fixes #2768 )
10 years ago
Marc Zinnschlag
d22f8703e5
Merge remote-tracking branch 'dteviot/refactoringAiWander'
10 years ago
dteviot
ddeabcdfbe
Removed unused field that was giving compiler warning.
10 years ago
dteviot
e294cd95cd
extracted function playIdleDialogueRandomly()
10 years ago
dteviot
22059d68f6
Remove duplicated code.
10 years ago
dteviot
0b089a5564
extracted function evadeObstacles()
10 years ago
dteviot
1ef78b1e56
extracted playGreetingIfPlayerGetsTooClose()
10 years ago
dteviot
df421fce92
extracted function setPathToAnAllowedNode()
10 years ago
dteviot
b508846a64
Renamed mStoredAvailableNodes to mPopulateAvailableNodes.
...
Don't call getAllowedNodes() needlessly.
10 years ago
Marc Zinnschlag
dacb93c57f
Merge remote-tracking branch 'scrawl/coverity_scan'
10 years ago
scrawl
24ae1d5ace
Fix some issues found by coverity
10 years ago
scrawl
667c80fb2a
Add brackets around a correct expression to fix coverity warning
10 years ago
scrawl
ebdd5dc993
Fix code that I forgot to uncomment (thanks coverity)
10 years ago
Alexander "Ace" Olofsson
12f413ba9b
Don't instantiate specialized templates
...
This fixes the VS2012 build issue
10 years ago
Marc Zinnschlag
ba9a9d16bb
Merge remote-tracking branch 'scrawl/master'
10 years ago
Marc Zinnschlag
08d2b196bd
Merge remote-tracking branch 'ace/explicit-instantiation'
10 years ago
scrawl
f12619b86a
Implement fStromWindSpeed ( Fixes #2764 )
10 years ago
Alexander "Ace" Olofsson
b3b55a5842
Explicitly instantiate MWWorld::Store
10 years ago
Alexander "Ace" Olofsson
b1cc74dd9a
Explicity instantiate MWMechanics::Stat
10 years ago
dteviot
f1774ee7c3
Fixed compile failing on OSX and Linux.
10 years ago
dteviot
52cf8541f5
End point tolerance restored to 64 units.
...
Corrected problem pointed out by Scrawl.
Destination needs tolerance of 64 to avoid overcrowding.
10 years ago
Alexander "Ace" Olofsson
3655ef16af
Explicitly instantiate ESM::StatState
10 years ago
dteviot
40a925ad37
Merge branch 'Bug1317MakeExtraWaypoints' into Bug2726
10 years ago
Marc Zinnschlag
e89614a35d
Merge remote-tracking branch 'origin/master'
10 years ago
Marc Zinnschlag
88f1220a77
Merge remote-tracking branch 'dteviot/Bug2726'
10 years ago
scrawl
49c07de773
Merge pull request #643 from ace13/win-build-fix
...
Fix build error and a pair of warnings
10 years ago
Alexander "Ace" Olofsson
aaaee74a4d
Fix the comments
10 years ago
scrawl
531bca1273
Add a threshold for changing aicombat targets ( Fixes #2755 )
10 years ago
Marc Zinnschlag
432384d280
Merge remote-tracking branch 'scrawl/aicombat'
10 years ago
dteviot
1239667cb4
AiWander uses points between PathGrid points ( Fixes #1317 )
...
When there is only on PathGrid point within a NPC's wander distance, expand possible wander destinations by using positions between PathGrid points.
10 years ago
dteviot
eb2aa965b9
Extracted function SetCurrentNodeToClosestAllowedNode()
10 years ago
dteviot
76f20b8b20
fix 'WIN32_LEAN_AND_MEAN' macro redefinition warning.
10 years ago
dteviot
0095737c40
Use correct type of variable. Remove unnecessary casts.
10 years ago
dteviot
f942db2b27
Simplified code.
10 years ago
dteviot
9a02a85a24
Pulled duplicate code into function.
10 years ago
scrawl
c90841d649
Fix head tracking for NPCs
10 years ago
dteviot
fae93e3d82
Bugfix: was not resetting mStuckCount.
10 years ago
dteviot
46a654286b
Remove fix for #1317
...
Expanding the AiWander distance for path grid nodes causes bigger problems than it solved.
10 years ago
dteviot
164994f3d3
Made PathFinder::buildPath() private.
...
Now all paths are built by calling PathFinder::buildSyncedPath().
Also removed useless comment.
10 years ago
scrawl
6bcea21e14
Use fCombatDelayCreature, fCombatDelayNpc for random delays between aicombat attacks (Bug #1876 )
10 years ago
scrawl
a7bd050928
Accurate attack timings in AiCombat
10 years ago
scrawl
741e5db862
Fix for non-bipedal creatures that use weapons, e.g. rieklings
10 years ago
scrawl
82740c1645
Remove completely broken code
10 years ago
scrawl
d07b176b36
Take into account hit recovery, knockdown and other animations for AiCombat attack timing
10 years ago
scrawl
520a832a9a
Remove an already resolved todo comment
10 years ago
scrawl
6724585777
Light magic effect
...
Notable change compared to the old (Ogre) effect: uses the ambient instead of diffuse term (Fixes #2364 )
10 years ago
scrawl
bf9c62fa42
Fix for some coverity scan defects
10 years ago
scrawl
dcb8fbc69c
Accurate handling of fog depth/density ( Fixes #2752 )
10 years ago
scrawl
6691891bee
Include cleanup
10 years ago
scrawl
a1432b0255
Move attackingOrSpell flag to the CharacterController
10 years ago
scrawl
519fb9482a
Minor cleanup
10 years ago
Alexander "Ace" Olofsson
5d24091364
Fix build error and a pair of warnings
...
The error was about casting between osg::Callback* and osg::NodeCallback*
The warnings are both about virtual classes with non-virtual destructors
10 years ago
scrawl
20d03c7e39
Refuse loading save games of unknown format
10 years ago
scrawl
a081d402c5
Use the format field instead of version field
10 years ago
scrawl
4637750601
Savegame loading optimization
10 years ago
scrawl
4eaaa5e855
Increment save file version and mark it as used, will be used in next commit
10 years ago