Commit Graph

7613 Commits (e2ef8c402233d84f670c82d6cc6e848075c07a03)

Author SHA1 Message Date
scrawl 5a9b30a8ca Don't show VFX on the map (Fixes #2324) 10 years ago
scrawl 417f60f467 Use the mooncircle textures (Fixes #1624, Fixes #1743) 10 years ago
scrawl dac1290597 Reduce size of water plane and increase subdivisions (Fixes #969) 10 years ago
Marc Zinnschlag c02c72e134 Merge remote-tracking branch 'jordan-ayers/topic/dialogue-set' 10 years ago
Jordan Ayers 419046e121 Dialogue: Use std::set for known topics in the manager.
There were three different data structures being used for topic lists
in this code.  (map< string, true >, list< string >, and vector< string >)
Switch the local topic lists to set< string >.  This supports everything
the list and map were doing, reduces the variety of data structures, and
makes count (a more efficient search) available.

The vector has not changed, since it's tied to the ESM modules, and must
meet other requirements.
10 years ago
scrawl e712b0353b Terrain refactoring, reduce game startup time and memory usage 10 years ago
scrawl 62a32220ff Use low-LOD heightmap for world map rendering
Add vanilla-accurate colour palette (thanks Hrnchamd)
10 years ago
scrawl c0a88161b2 Get rid of unneeded setSize/setCoord overrides 10 years ago
scrawl f4c8064d39 Fix camera not being attached properly when player becomes vampire (Fixes #2319) 10 years ago
scrawl 9bcc84ceec Add option to stretch menu backgrounds/cutscenes to the whole screen 10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl 6367b4dc0b Improve INFO struct naming 10 years ago
scrawl 4cbb79191f Don't put duplicate lines in the console history 10 years ago
scrawl 6f41e0d12e Reapply quest index when loading quest from savegame (Bug #2260) 10 years ago
scrawl f35c9b7a69 Clang warning fixes (thanks hemite) 10 years ago
scrawl d34c8526f6 Enchanted arrows should not be added to victim (Fixes #2306) 10 years ago
scrawl 67491c7164 Fix leveled item argument issue (Fixes #2302) 10 years ago
scrawl 9d3f0b2ed5 Remove some unused code, include cleanup 10 years ago
scrawl 4921c6ef9e Split window caption bars so that the caption can be transparent (Fixes #531)
Fix transparent window background not applying to the header bar (Fixes #2294)
10 years ago
scrawl 697ab16ec5 Fix for coverity defects 10 years ago
Jordan Ayers 1410819e20 Dialog fix for line breaks in the middle of words.
Issue 1049
Adjust the TypesetBookImpl::Typesetter to not assume a word break
at the end of write() calls.
A word break is assumed if any of the other content insertion methods
are used (section break, add/select content, etc).
10 years ago
scrawl 72f7c2e555 Move weather reset to clear() method 10 years ago
scrawl b1bd236345 ESSImport: convert script local variables
Had to add special reading code to openmw, because the variable names are not stored.
10 years ago
scrawl b0c2aec374 Add warning for missing body parts 10 years ago
scrawl 79d2eebe54 Store selected enchant item in savegame (Fixes #1702) 10 years ago
scrawl a619cff615 Implement EnableLevelupMenu to trigger level-up 10 years ago
scrawl c883a73d30 Several warning fixes 10 years ago
scrawl 8b5effe3e0 Fix wrong magic number for JOUR in openmw savegames 10 years ago
scrawl 378e91545d Fix Tribunal/BM summon effects not working 10 years ago
scrawl 0fd5575efe Improve warning message in ContainerStore::readState 10 years ago
scrawl cc7be1600d Make missing hair/head in NpcAnimation non-fatal for consistency with addOrReplaceIndividualPart 10 years ago
scrawl 69676906ae Don't clear known spells when reading from the savegame
This is needed because the .ess format doesn't include the racial spells in the player's spell list.
10 years ago
scrawl c7d15e6f74 Revert "Revert "Light charge handling fix""
This reverts commit b95748d044.
10 years ago
scrawl d13335ba40 Ensure the item can be equipped in the given slot when loading inventory 10 years ago
scrawl c65f9cb3c0 Revert "Change save format to store relative equipment index"
This reverts commit 89d9649b50.
10 years ago
scrawl b95748d044 Revert "Light charge handling fix"
This reverts commit 5e0428243b.
10 years ago
Marc Zinnschlag cd62dbc5b7 Merge remote-tracking branch 'scrawl/essimporter' 10 years ago
scrawl 5e0428243b Light charge handling fix 10 years ago
scrawl 89d9649b50 Change save format to store relative equipment index
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl eede2c8e55 ESSImport: convert breath meter and skill increases 10 years ago
Alexander "Ace" Olofsson 3a88f4ebd5 Fix windows build, MessageBox is a defined symbol
Windows and its stupid defines...
10 years ago
scrawl 5104a5a023 Add missing setFactionReaction instruction, use absolute storage instead of difference
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).

This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
scrawl 9014dc48ee Don't require the object type id for reading references from savegames
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl 235683e449 Remove LightState from openmw save format to streamline inventory loading 10 years ago
scrawl f9cf31fcd5 ESSImport: convert custom map markers, not working for interiors yet 10 years ago
scrawl 14aacf9a72 Add comment 10 years ago
scrawl 1869d37cfc Remove unused mLastDrowningHit 10 years ago
scrawl 714b19015c Fix unknown record error message 10 years ago
scrawl fc6aa256bf Add comment 10 years ago
scrawl bf915d929a Update idle voices according to research 10 years ago
scrawl 6b2df95167 Fix for some coverity defects 10 years ago
scrawl edbac30a57 Change another dynamic_cast to static_cast (coverity) 10 years ago
scrawl cef72385d4 Fix extreme frame drop when running into certain corners (Fixes #2023) 10 years ago
scrawl 52ed3d92a8 Fix btCompoundShape scaling (Fixes #1683) 10 years ago
scrawl a3c861b7fa Idle voice fix 10 years ago
scrawl 2ac4a74a34 Fix running AI for dead actors 10 years ago
scrawl 883f7ec7ce Move workaround for hiding markers from NIF loader to Scene 10 years ago
scrawl 3ce22d31d8 Fix cursor issue when loading savegame from within mouselook-mode and a warning pops up 10 years ago
scrawl fafc14d5a0 Add proper air movement mechanics (Fixes #2077) 10 years ago
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago
scrawl 4ed3e7bbb7 Enchanting code cleanup 10 years ago
scrawl bb718f216d Initialize ENAMstruct in SpellCreationDialog (Coverity) 10 years ago
scrawl 08d8dd287c I think this was committed by accident 10 years ago
scrawl de23ad5c8d Change dynamic_cast to static_cast to make coverity happy 10 years ago
scrawl cda2eea906 Enchanting: use fEnchantmentConstantDurationMult and fEffectCostMult 10 years ago
scrawl 871d59de6c Reduce Idle voice chance (Fixes #1964) 10 years ago
scrawl 82eaa9f1bc Fix loading crash (don't apply viewmode before player is set up) (Fixes #2272) 10 years ago
scrawl c3f3f8b3d0 Use only Cell records for saving progress bar (Fixes #2259) 10 years ago
scrawl 0ec018f7f1 More accurate savegame loading progress bar, uses position in the file (Bug #2259) 10 years ago
scrawl 1780bcc238 Print RefNum in BetaComment 10 years ago
scrawl 4d4f2fc475 Add maximum distance for teleporting followers on using a door 10 years ago
scrawl b108fbe986 Remove incorrect implementation of fGreetDistanceReset
This can't be right. A reset distance of 512 is smaller than the maximum greeting distance for certain NPCs, which would then say greetings non-stop.
10 years ago
scrawl 716e14a37a Print missing savegame dependencies on the console 10 years ago
Marc Zinnschlag 289a912817 Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 458b82c308 Centralized "fish can't attack non-swimmer" logic. 10 years ago
dteviot 7aa0f887c0 Minor changes to ESM::RefNum
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
scrawl f9227beedd Add warning when loading a savegame that depends on non-existing content files (Fixes #2261) 10 years ago
scrawl 579f5d232f Move interactive messageBox to separate function 10 years ago
scrawl 91571f51be Ogre crash workaround (Fixes #1745) 10 years ago
Marc Zinnschlag 595c08817f Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 37bea9d4dc Fix exception for empty dialog topics (Fixes #2267) 10 years ago
Marc Zinnschlag e439065897 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 5b9d10f851 Reduce includes in MWGui 10 years ago
scrawl 728b842e72 Use MyGUI::utility in favor of boost lexical_cast 10 years ago
scrawl eecea4131f Reduce MyGUI includes 10 years ago
scrawl 4b704f665f Reduce includes, move DragAndDrop to separate file 10 years ago
scrawl eb99ed697b Reduce includes 10 years ago
scrawl 2ac23008f5 Remove an old workaround (Fixes #2263)
The workaround was added when we were still using OIS for input. It doesn't seem to be needed with SDL.
10 years ago
scrawl dfdf26e95e Add assertion to Store 10 years ago
scrawl ce2cbab402 Dialogue: improve conflict resolution for chains of overlapping keywords (unit test for such a case will follow) 10 years ago
Marc Zinnschlag 4e7f7baf8b Merge remote-tracking branch 'dteviot/Bug2076' 10 years ago
dteviot 64cd1396ac Fixed minor issues.
1. Renamed "hightRatio" to "heightRatio".
2. Replaced magic numbers with named constants.
10 years ago
dteviot 7fe2f86d06 Slaughter fish attacks when player only knee deep in water (Fixes #2076) 10 years ago
scrawl 65ab31eae6 Remove now redundant Store::setUp implementation 10 years ago
scrawl ddd6e682bc Dialogue: add conflict resolution for overlapping keywords (Fixes #2245) 10 years ago
scrawl c77660ba20 Remove some nonsense code 10 years ago
scrawl 2ddbe22da3 Fix for NPC store clearDynamic bug
It was clearing the whole mShared vector, instead of only the dynamic part. Actually, that whole overload was pointless to begin with. All it does is making sure the Player record isn't cleared, but ESMStore::clearDynamic re-inserts the player record anyway after clearing.
10 years ago
Marc Zinnschlag f8a3ec3ee3 Merge remote-tracking branch 'scrawl/cmdline-savegame' 10 years ago
scrawl d31ae2b345 Fix mIds mapping for dynamic records being lost on save/reload 10 years ago
scrawl 928b9ee41b Fix missing GUI mode update when showing soulgem dialog 10 years ago
scrawl ef7e0070a6 Don't right-shift signed integers which is implementation-defined 10 years ago
Marc Zinnschlag 38a413a483 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 4684014a83 Use .omwsave extension for save game files 10 years ago
scrawl 13c5bd5cc2 Enchanting: fix skill-based cast cost bonus being applied twice 10 years ago
scrawl ef1b0a191b Revert "Enchanting: fix inverted self-enchant success chance"
It wasn't inverted to begin with. The author of this commit is an idiot.
10 years ago
scrawl 4e92f6ab48 Add commandline option to load a save game on startup 10 years ago
scrawl 157438460b Fix being able to activate objects when paralyzed 10 years ago
scrawl dc5ed5b861 Remove weather particles underwater (Fixes #2010) 10 years ago
scrawl d02e075bab Add setting for exterior cell grid size (Fixes #1537) 10 years ago
scrawl a17252eab3 Remove unused checkWaypoint function
It was an almost exact copy of the checkPathCompleted function anyway.
10 years ago
scrawl 4d9100091d Reduce default pathing arrival tolerance to 32 units (Fixes #1605) 10 years ago
scrawl e19ab77d00 Store camera first person state in savegame (Fixes #2255) 10 years ago
scrawl 992b87ea44 Reset existing summons when the spell is re-casted (Fixes #2135) 10 years ago
scrawl f267497c03 Allow separate summoned creature instances for each spell ID (Fixes #2194) 10 years ago
Marc Zinnschlag 31f6ccdf4d Merge remote-tracking branch 'internecine/bug2031' 10 years ago
Internecine e1fdcb608e Fixed incorrect index 10 years ago
scrawl 464f8abb3f List exterior cell names in tab completion (Fixes #2252) 10 years ago
scrawl 708dbc2518 Crime fix 10 years ago
scrawl c343a5c803 stopCombat fix 10 years ago
scrawl c1955ef7fa Fix enchanting dialog effect labels showing a duration for constant effects 10 years ago
scrawl 5e7e40aac9 Fix being able to switch weapons while knocked out 10 years ago
scrawl de12c96a46 Fix crash on exit if the window wasn't created (Fixes #2249) 10 years ago
scrawl bc686c93b5 Potential fix for thrown weapons being regarded as broken 10 years ago
scrawl 398fe6e780 Thrown weapon fix (Fixes #2248) 10 years ago
scrawl d56906acf7 Fix the creature position glitch 10 years ago
scrawl 6f747df713 Remove an unused constructor 10 years ago
scrawl 593ca6bd48 Fix for framerate-dependent maximum stepping distance (Bug #1638) 10 years ago
Marc Zinnschlag 9f6a2d00e8 Merge remote-tracking branch 'thoronador/fix-uninitialized-members' 10 years ago
Marc Zinnschlag ec1df719fe Merge remote-tracking branch 'mrcheko/master' 10 years ago
mrcheko a8621e6230 defaults are set to 1.0; remove contrast setting
(can be changed in config though); disable gamma control for not Windows
OSs
10 years ago
Thoronador 526fb1b37b fix uninitialized value in BillboardObject 10 years ago
scrawl 326d0d3ebf Add default values for fNPCHealthBarTime and fNPCHealthBarFade (Fixes #2243)
These GMSTs are missing in unpatched versions of the game.
10 years ago
scrawl 92e4a0669c Fix for AiWander state loading 10 years ago
scrawl 559ddbb480 Quick fix for Ai fast-forward crash in exteriors (Fixes #2241) 10 years ago
Internecine a7a3ab0c78 Fixed instant negative dynamic stat changes being applied as positive 10 years ago
scrawl dc1c52bda7 Add some todo comments 10 years ago
scrawl e0d083f702 Add hand-to-hand combat mechanics for bipedal creatures
You can now have a fistfight with vivec, if you so desire.
10 years ago
scrawl 70d3bfc6ed Fix idle animation not restarting immediately for creatures 10 years ago
scrawl 01652bbcc5 Store original actor position in AiWander package (Fixes #2200) 10 years ago
scrawl 5d7eb11596 Fix lights being rendered on the map (broken by d55fe43fc9) 10 years ago
scrawl 99ae0f901b Implement AiTravel fast-forward (Fixes #1125) 10 years ago
scrawl a8ae0dec52 Implement AiWander fast-forward (Feature #1125) 10 years ago
scrawl d26d5f6c26 Fix outdated bone locations when camera view is changed while paralyzed 10 years ago
scrawl d1a29300f0 Handle bipedal creatures not using weapons (Fixes #2238) 10 years ago
mrcheko 60a74d5eb8 increase robustness for gamma to persist in the system;
use GMST strings for gamma interface
10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
mrcheko 04d95810d1 gamma/contrast system reworked 10 years ago
scrawl 9c693d078b Fix equipment update removing ammunition (Fixes #2144) 10 years ago
scrawl 18fb3f831a Make the maximum horizontal stepping distance independent of movement speed (Fixes #1638) 10 years ago
scrawl e2346d7c37 Store permanent magic effects in savegame (Fixes #1648) 10 years ago
scrawl 6c9875969a Stop idle animations for non-biped creatures when attacking/moving
The idle animation wouldn't be visible anyway, since these creatures don't have animation layers. However sounds tagged in the animation would still play.
10 years ago
scrawl a58bc9f2f7 Remove sneaking effect on combat AI (Fixes #2237) 10 years ago
scrawl 1bd3ab8a2d Fix torch animation playing when torch is hidden (Fixes #2236) 10 years ago
scrawl 377b79d5ba Use SoundGen fallback for type Land only (Fixes #2228) 10 years ago
scrawl de9d347018 Fix on touch area effect spells (Fixes #2233) 10 years ago
scrawl 25954a80f5 Fix recharging of items in player inventory 10 years ago
scrawl 0a2dd4c6cb Fix unsafe use of BaseNode in Move script instruction 10 years ago
scrawl a62fe38a1b Fix unsafe use of BaseNode 10 years ago
scrawl 50e31877ab Fix crash when northmarker has been disabled (Bug #2230) 10 years ago
Internecine 5f9540318a Fixed incorrect indexes 10 years ago
Internecine a87fe71ddf Added a helper function to handle dynamic stat changes 10 years ago
scrawl 2f0793390f Fix cut off text for some widgets in the stats window 10 years ago
Marc Zinnschlag 2fa0764c89 Merge remote-tracking branch 'swick/master' 10 years ago
Marc Zinnschlag 5f8b8b127c Merge remote-tracking branch 'psi29a/clang_lintian' 10 years ago
Marc Zinnschlag da722a5cf1 Merge remote-tracking branch 'miroslavr/master' 10 years ago
Sebastian Wick 764cd9ca16 disable "window border" setting in the ingame settings UI if fullscreen is enabled 10 years ago
scrawl 6f72989cb1 SpellModel, SortFilterItemModel: case insensitive sorting 10 years ago
scrawl 2e5e7370ba Adjust default angle, FOV and viewport of character preview (Fixes #2220) 10 years ago
scrawl 9a1bde684f Sort class list in select class dialog 10 years ago
scrawl 768c4a5757 Update crime response to pickpocket attempts (thanks Hrnchamd) 10 years ago
scrawl b8fa73dfa9 Preserve record ordering in Store
This fixes the default head/hair used for some races in the chargen UI.
10 years ago
scrawl 5d7dcafa53 Make local map widget size configurable 10 years ago
scrawl a47de06492 Make local map resolution configurable and use lower default value
This seems to be the resolution the original engine is using. The change also significantly reduces cell loading time.
10 years ago
scrawl 7f0d71f8f4 Swap use of iDispAttackMod/fDispAttacking (thanks Hrnchamd) 10 years ago
scrawl 59f21c6105 Use "hair" as filter for PRT_Hair parts (Fixes #2218) 10 years ago
scrawl d55fe43fc9 Support animation groups for Light and Door objects (Fixes #2039) 10 years ago
scrawl 019cd96719 Stop AiPursue when target has invisibility or chameleon>=75 10 years ago
scrawl e5de253169 Use maximum step size of 62 units for stepping down (Fixes #1809) 10 years ago
scrawl edc128572d Add MWMechanics::Actor class for temporary actor state, move AiState there 10 years ago
scrawl 42d63a4eb2 Fix position flicker after an animation ends 10 years ago
scrawl 8bc7eb5530 PlayGroup: Don't loop animations with no loop keys (Fixes #2223) 10 years ago
scrawl 9e5dfb6e98 Update crime system according to research wiki for more accurate attack responses 10 years ago
scrawl 2410d79410 Fix iFightAttack and iFightAttacking being swapped
Looks like the research wiki page was incorrect, the higher value (iFightAttack) being for the victim makes more sense, is consistent with iDispAttackMod/fDispAttacking, and seems to be how the original game behaves as well.
10 years ago
scrawl e73e975291 Fix player being able to activate objects when knocked out 10 years ago
scrawl 3912ee2b1d Fix faction rank not being set on items in faction-owned containers 10 years ago
scrawl 0081a68376 Use fMagicStartIconBlink for spell effect indicator fading 10 years ago
scrawl 877e07823d Fix incorrect sound for spell creation success 10 years ago
scrawl fb542a64ec Merchant items should be restocked instantly 10 years ago
scrawl 1bcc4430e0 Fix owner not getting set on restocked items 10 years ago
scrawl 9ed71765a9 Fix deleted containers showing in merchant inventories 10 years ago
scrawl f3738e9a98 Say an "intruder" voice dialogue for trespassing crimes (Fixes #1082)
Seems to be broken in the original engine, but according to the TES-CS help this is how the intruder voices should be used. There are legitimate entries for "intruder" in the game's files, so we might as well use them.
10 years ago
scrawl 37e11b7272 Adjust loading box size for large captions 10 years ago
scrawl 866fdfe8bd Crime system improvements
- If someone saw the crime, they will notify everyone else in range, even if the Alarm rating of the witness is 0.
- Pickpocket and selling stolen items now works properly, i.e. honors the victim's Alarm rating instead of always being reported.
10 years ago
scrawl 307b84e9f6 Add enemy health bar fading and use relevant GMSTs 10 years ago
scrawl 1910327469 Implement disposition changes due to crimes 10 years ago
scrawl cc9af9562b Function_CreatureTargetted should return '2' for werewolfs
This makes NPCs say the correct attack voice files when fighting a werewolf.
10 years ago
scrawl efa9ff3a76 Fix incorrect implementation of iWerewolfBounty 10 years ago
scrawl 35d2bfabca Adjust NPC response to pickpocket attempts (Fixes #2219) 10 years ago
scrawl 4aed5158cc Support region names in cell dialogue filter (Fixes #2113) 10 years ago
scrawl 105f0f8716 Head tracking: don't look at dead actors 10 years ago