Commit Graph

9045 Commits (10ac432a8ca36a42f7b661960298b8e57bc9fce9)

Author SHA1 Message Date
scrawl 5edfe8c41c Reduce the wander fast forward overcrowding offset (Fixes #3370) 9 years ago
scrawl c64b8ab297 Merge pull request #928 from Salgat/bug-1320
AiWander - Creatures in cells without pathgrids do not wander (Bug #1320)
9 years ago
Austin Salgat be16857f96 Fix wrong height being used for water detection 9 years ago
Austin Salgat e9157e9200 Fix idle animation and Fix water creature manual wandering 9 years ago
Austin Salgat 3dec10c686 Update variable to prevent underflowing
While not an issue presently, the variable may be used in the future in a way that could create issues if it underflows.
9 years ago
Austin Salgat 84179c262f Update manual wandering to prevent actor from leaving/entering water
Water creatures will stay in the water, while land creatures will stay on land when wandering.
9 years ago
Austin Salgat fc03216d48 Refactor to reuse existing obstacle detection 9 years ago
Austin Salgat 34726c24d9 Fix mDistance being reset prematurely
This was causing wandering without pathgrids to become disabled for most wandering units. Additionally, wandering now behaves the same for both NPCs and creatures.
9 years ago
scrawl d784a77f4c Set the default player cell in the StateManager (Fixes #3269) 9 years ago
Austin Salgat 92b352989a Add logic for NPC wandering without pathgrids 9 years ago
Austin Salgat c02881a4f8 Fix creatures not wandering 9 years ago
scrawl ba3f4f122a Account for the stack count in HasSoulGem (Bug #3340) 9 years ago
scrawl 4854d6b093 Set the TalkedToPc flag for voiced dialogue (Fixes #3346) 9 years ago
scrawl d15901b454 Merge pull request #927 from Salgat/bug-2981
When waiting, NPCs can go where they wouldn't go normally (Bug #2981)
9 years ago
Austin Salgat 38f5a225ea Refactor PathFinder functions to be useable by AiWander
This avoids having to duplicate the distanceSquared and getClosestPoint functions.
9 years ago
Austin Salgat 96231e17f0 Fix wandering NPCs going off pathgrid
If multiple pathgrids exist in the same cell, sometimes an NPC would port to a different pathgrid that was nearby. This is an issue since it allowed them to do things like travel through walls to inaccessible areas. Now they will only wander along the closest connected pathgrid.
9 years ago
scrawl b2dc18e1aa Merge pull request #926 from bentsherman/master
Allow +/- buttons in trade window to decrease offer to 0
9 years ago
Ben Shealy 8703609649 Allow +/- buttons in trade window to decrease offer to 0 9 years ago
Bret Curtis 2c90b0b78d fix a few spelling mistakes 9 years ago
scrawl 79c8f69b24 Clear the class selected / race selected flags when starting a new game (Fixes #3326) 9 years ago
scrawl cf62d860b2 Fix the adjustPlayerPos parameter not being respected in all cases 9 years ago
scrawl e1dda9675d Add "preload instances" setting, disabling this may help if you are low on memory. 9 years ago
scrawl 2162d9ed02 Restore key focus to the save list when the deletion confirmation messagebox is accepted
Gives me an idea for a new MyGUI feature - per-window widget focus as it is usually the case in other GUI toolkits.
9 years ago
scrawl 02016f4c56 Don't reset the save list when deleting a save (Fixes #3279) 9 years ago
scrawl 7a962fd8c5 Properly escape the keybinding labels (Bug #3281)
A certain key name ("#") was being interpreted as a MyGUI markup code.
9 years ago
scrawl 5cda89c15d Don't attempt to preload more exterior cells than the cache can hold (Bug #3273) 9 years ago
scrawl 83f1ab6d25 Add a time threshold to the removing of preloaded cells when the maximum cache size is reached (Bug #3273) 9 years ago
scrawl 4ac276b06c Update the resource cache every frame (Bug #3273)
Not much of a point in limiting this to cell loadings, since the update is done from a background thread and should be fairly cheap anyway if there's nothing to unload.
9 years ago
scrawl 2f8be401cc Add the unref work items to the front of the workqueue (Bug #3273)
Ensures that memory still gets freed even if the workqueue is overloaded.
9 years ago
scrawl e71aa53574 Don't allow playing a sound/soundgen key more than once at the same time on the same object (Fixes #2689) 9 years ago
scrawl 5bd8ef247d Do not adjust the player position when loading a savegame (Fixes #2089) 9 years ago
scrawl 92c2a10de4 Fall back to 'warrior' for not found class images (Fixes #3228) 9 years ago
scrawl 157c11398d Add terrain parallax mapping 9 years ago
scrawl e381957105 Don't assume that class ID and name are equal 9 years ago
scrawl 90cc1de46c Do not list custom made classes in the pick class dialog 9 years ago
scrawl b332704df7 Switch hand-to-hand attack types randomly when "always use best attack" is turned on (Fixes #3259) 9 years ago
scrawl a6e23d03d3 Don't clamp disposition twice, clamping is already done inside getDerivedDisposition 9 years ago
scrawl 102f9719f7 Remove some garbage 9 years ago
scrawl 79eb2d20e0 Cleanup 9 years ago
scrawl 12ec90f9e7 Change default argument, fix GetDisposition 9 years ago
scrawl bc5adfa4fe Merge pull request #913 9 years ago
scrawl 30402f75e3 Use xbase_anim_female as the base skeleton for female NPCs (Fixes #3258) 9 years ago
scrawl 2b38d10449 Always add xbase_anim 9 years ago
scrawl 50acdf3e47 Move createCharacter inside the try block 9 years ago
scrawl a0cc9de088 Make the creation of save file directories even more explicit 9 years ago
scrawl b7b7c0612d Make getCurrentCharacter create argument explicit 9 years ago
scrawl 7463c0c353 Addition to last commit, don't create a save directory on death 9 years ago
scrawl 426a6fdcc2 Don't create the save directory on loading a game
This prevents empty directories being created when loading a save file outside of the saves directory with the --load-savegame switch.
9 years ago
scrawl d7c7bb850b ToggleAI cleanup 9 years ago
scrawl d840c7d5eb Slightly tweak the spawn point heuristics
Fixes an issue with hlaalu building exits
9 years ago