Commit Graph

8311 Commits (sceneinput)

Author SHA1 Message Date
dteviot 96e3933ee9 Fixed bug in smoothTurn()
Now correctly handles changing direction from 178 to -178 degrees.
9 years ago
scrawl acbea2461b Fix a typo 9 years ago
scrawl d11952c48a Stop rendering when the window is minimized 9 years ago
Marc Zinnschlag 69b9eadb52 refactored loading of land data 9 years ago
Marc Zinnschlag b3fdf92d2b more const-ness fixes 9 years ago
Marc Zinnschlag febf611c82 made return type of ESMTerrain::Storage::getLand const 9 years ago
Marc Zinnschlag 7a96a04b75 Merge remote-tracking branch 'origin/master' 9 years ago
Marc Zinnschlag a8bee25757 Merge remote-tracking branch 'dteviot/FixStuckDraft' 9 years ago
Marc Zinnschlag 4b7a034cf9 Merge remote-tracking branch 'slothlife/weather-transition-fix' 9 years ago
scrawl 8aaba0af6f Fix journal page navigation bug introduced by 7dd09dd637 (Fixes #2899) 9 years ago
dteviot 1dfe438a5d reduce "reset if stuck" AiWander timeout.
Now is about 14 seconds, instead of 300.
9 years ago
dteviot 39c2ba8efe Pathfinding bugfix.
Observed at Ebonheart (coe 1, -13).  Especially at the western tower. Guards try to walk though tower door.
Cause: buildPath() adds destination (even when unreachable) when only using single node from pathgrid.
9 years ago
dteviot f2c9b9351f Try going right and left to "unstick" actor. 9 years ago
dteviot 31d82b6b0c Unifiy evadeObstacles() logic between AiWander and AiPackage
Can't use same code, but logic is now same.
9 years ago
dteviot f59e918a3b removed useless code.
zTurn ignores turns < 0.0087 radians.
9 years ago
dteviot 0677799839 movement logic in AiPackage uses ObstacleCheck. 9 years ago
slothlife 2b48a20b76 Fix weather transition bugs 9 years ago
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.
10 years ago
Marc Zinnschlag a52b947efe Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3' 10 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