Commit Graph

8344 Commits (e13eb625d38a13b47d1b6680608c69c20de6842a)

Author SHA1 Message Date
slothlife d9a7986b3a Remove redundant fast forward check 9 years ago
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) 10 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