Commit Graph

2250 Commits (coverity_scan)

Author SHA1 Message Date
scrawl 0fbc0d0da7 Attempt to silence warning 9 years ago
scrawl 8c44334409 Merge pull request #1021 from Allofich/weight
Corrections to tooltip displays of zero-weight items
9 years ago
scrawl 2f6075329b Clang warning fixes 9 years ago
Allofich 502a26a7ff Use getWeightString() to avoid casting to int 9 years ago
MiroslavR ddbfe0c944 Fix disabled door markers appearing on the map (Fixes #3348) 9 years ago
Internecine 90735d226d Replaced Store::find usage with Store::search to remove exception handlers. 9 years ago
Internecine 14165352f6 Added exception handlers when trying to retreive enchantment and magic effect data. 9 years ago
MiroslavR 80f2ae0ca7 Apply magic effects while waiting/sleeping 9 years ago
MiroslavR 41484432b4 Player's death now interrupts waiting/sleeping 9 years ago
scrawl b9b73d7b12 Replace "sys::default" with ESM::CellId::sDefaultWorldspace 9 years ago
MiroslavR 7244809c4a Remove redundant part of condition 9 years ago
MiroslavR dfc62c99b4 Show correct class image in level-up dialog (Fixes #3443) 9 years ago
scrawl 844cbc5a14 Add isNullAction() method to fix compiler warning 9 years ago
scrawl f64bc3c7ef Pass the victim to commitCrime on pickpocket detection (Fixes #3424) 9 years ago
scrawl 9eab3b1728 Fix crash in race dialog when no head or hair are available 9 years ago
Ben Shealy 5085afa3d7 Moved mechanics code from MWGui::TradeWindow to MWMechanics::Trading 9 years ago
Ben Shealy 8703609649 Allow +/- buttons in trade window to decrease offer to 0 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 92c2a10de4 Fall back to 'warrior' for not found class images (Fixes #3228) 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 a6e23d03d3 Don't clamp disposition twice, clamping is already done inside getDerivedDisposition 9 years ago
scrawl 12ec90f9e7 Change default argument, fix GetDisposition 9 years ago
scrawl bc5adfa4fe Merge pull request #913 9 years ago
scrawl a0cc9de088 Make the creation of save file directories even more explicit 9 years ago
ae-g-i-s c9791c5c1a Add addTemporaryDispositionChange parameter to MechanicsManager::getDerivedDisposition(), adjust callers that previously added temp disposition changes themselves (fixes #3233) 9 years ago
scrawl 60a12b3dee Use MyGUI's castType function 9 years ago
scrawl 763f647412 Add ItemModel::allowedToInsertItems 9 years ago
scrawl 373c1e7602 Assign the PageDisplay on initialization 9 years ago
scrawl 04d51d5871 Always update the ingredient icons (Fixes #3220) 9 years ago
scrawl 90a99991d1 Use empty() instead of !size() 9 years ago
scrawl 1232607385 Remove pointless widget names in settings layout file 9 years ago
scrawl 3969675afa Remove unused settings 9 years ago
scrawl c4d38bb42d Fix clang analyzer warnings 9 years ago
scrawl eaf3f5a829 Remove unused arguments 9 years ago
scrawl 9e53e12c70 More renaming of TextureManager -> ImageManager 9 years ago
scrawl f99f403dda Rename TextureManager to ImageManager 9 years ago
scrawl 6ef848b7c5 Remove TextureManager::getTexture2D
Instead use getImage and let the caller create the Texture. Sharing of textures is then handled in post by the SharedStateManager.

This is closer to what the OSG serializer does.

Streamlines the TextureManager and will make it easier to multithread.
9 years ago
scrawl e8662bea31 Change the way that image origin is converted to OpenGL's lower-left convention
Flip the texture coordinates instead of flipping textures.

This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl 8e5398d85b Add missing initializations 9 years ago
scrawl 7d647088ab Make the local map cell distance configurable 9 years ago
scrawl bd655c20fd Refactor local map updates
We don't need the delay any more because the rendering itself is part of the normal rendering traversal - so it's delayed anyway.

Don't request maps that we're not actually using (i.e. with cell grid sizes higher than the default 3, we were rendering more maps than the map window could show).
9 years ago
scrawl b9d1d6144a Don't reveal unknown potion effects in alchemy window (Fixes #3146) 9 years ago
scrawl ce9a18fb87 Merge pull request #879 from jordan-ayers/bugfix/1544
Improve Drop Command - Bugfix/1544
9 years ago
Jordan Ayers 5699cf7f09 Barter: Leave unsold projectiles equipped. 9 years ago
scrawl 41c571d4f4 Merge branch 'master' of https://github.com/OpenMW/openmw into lighting
Conflicts:
	apps/opencs/view/render/instancemode.cpp
9 years ago
scrawl 6546c05428 Move Fallback map to components/ 9 years ago
scrawl ef20962fc5 Disable fog of war rendering on the HUD map by default 9 years ago
scrawl ca4e859f61 Remove unused argument 9 years ago
scrawl 190bf15887 SettingsWindow: support auto-updating of slider labels through the layout file 9 years ago
scrawl 745b29a995 Remove a debugging leftover 9 years ago
scrawl d9d6228c94 Implement PageDisplay::_updateView (Fixes #3125) 9 years ago
scrawl 5952498e9e Explicitely cast a size_t to int 9 years ago
scrawl db7b80b503 Revert "Accept a ConstPtr in ItemPtr tooltips"
This reverts commit 41c8ec56e0.

Does not work due to code relying on getting the non-const Ptr from the widget. Further refactoring is needed.
9 years ago
scrawl 41c8ec56e0 Accept a ConstPtr in ItemPtr tooltips 9 years ago
scrawl 5a7bbbd508 Accept a ConstPtr in ToolTips::setFocusObject 9 years ago
scrawl 32d5dece58 Add count argument to getToolTipInfo 9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl d5a2586f38 LoadingScreen: add support for important labels
Used in saveGame so the player can be sure whether or not the game was saved.

Fixes #3074
9 years ago
scrawl 67883feaae LoadingScreen: ensure values are within progress range 9 years ago
scrawl 625644e917 LoadingScreen: documentation updates 9 years ago
scrawl 152f1d625d LoadingScreen: remove unused declarations 9 years ago
scrawl ccbba5e926 LoadingScreen: remove indicateProgress, not used 9 years ago
Chris Robinson 8c364cd818 Remove left over declaration 9 years ago
Chris Robinson b830a413d3 Rename the texture filter options
To avoid compatibility issues with upgrading from or downgrading to older
builds.
9 years ago
Chris Robinson fb6abb53ae Simplify the in-game texture options
This makes it behave like it originally did, although the config options remain
expanded.
9 years ago
Chris Robinson 76bde5ee13 Separate and expand texture filtering options 9 years ago
scrawl 05f1fbf593 WindowManager: explicitely pass the ESMStore
Fixes potential crash when the loading screen layout tries to retrieve a GMST value via #{GMST} syntax before the World has been created.

Possibly related to Bug #2854.
9 years ago
Marc Zinnschlag 071ba3a4df Merge remote-tracking branch 'scrawl/werewolf' 9 years ago
scrawl 07b064f616 Rename to lowerCaseInPlace 9 years ago
scrawl f875597be5 Don't use tolower()
See https://forum.openmw.org/viewtopic.php?f=8&t=3231&p=35968
9 years ago
scrawl 1a654fa451 Reset locale after strftime() call 9 years ago
scrawl 152f415b9a Change texture coordinates when falling back to player_hit_01 9 years ago
scrawl 998ef36837 Setting fix 9 years ago
scrawl 9d4af59860 Don't attempt to create quest log buttons if textures are unavailable (Fixes #3063) 9 years ago
scrawl 5981e1cbb3 Don't create the werewolf overlay if its texture is not available
Avoiding a warning in the log when Bloodmoon is not installed
9 years ago
scrawl 2327a41826 Fix journal freeze 9 years ago
scrawl 8fb328ef4f Fix updating of character preview size in InventoryWindow::setGuiMode 9 years ago
scrawl d5a738bd39 Apply 27e669296e (locale-unaware tolower) to more code
In particular, the one in VFS::normalizeFilename was affecting cell loading performance.
9 years ago
scrawl db71634a2d Allow replacing of interactive message boxes (Fixes #3040) 9 years ago
scrawl 783594033a Optimize MWMechanics::Spells
Use pointers as map keys instead of string IDs. Resolves a nasty performance bottleneck on functions like hasCommonDisease() that previously had to look up all contained spells from the ESM store on every call. hasCommonDisease() is called hundreds of times per frame by the AI target update since it's used to calculate target disposition.

The total cost of hasCommonDisease() was 2.7% of the frame loop, now it's negligible.
9 years ago
scrawl 984c455027 Fix Show Owned option affecting tooltips that are not objects (Fixes #3036) 9 years ago
scrawl edfcb45ad7 Fix crash when onPcEquip script removes the equipped item (Fixes #3016) 9 years ago
cfcohen b507d5da5d One more tooltip fix. This one in the review dialog with Socucius Ergalla. 9 years ago
scrawl 1b1d9a7a9c Fixed another tooltip 9 years ago
cfcohen cf4f3d9ebc Correct tooltip for Magicka in stats window. 9 years ago
scrawl e9e12d396d Merge remote-tracking branch 'upstream/openmw-37' into HEAD 9 years ago
scrawl 0f347eccbf Flip the origin of global map texture
Now it's consistent with the overlay texture.
9 years ago
scrawl 9897400d97 Restore the previous key focus widget after playing video 9 years ago
scrawl b89945804c BookPage: implement hit test with margin for error 9 years ago
scrawl 516f2765a1 Use the ScalingLayer for journal, books and scrolls 9 years ago
scrawl a7ad45e73e WindowBase::center use the layer size instead of render window size 9 years ago
scrawl f9932130da Work around MyGUI bug with mouse event coordinates (fixed in git) 9 years ago
scrawl 6c12c9a467 Layer renaming fix 9 years ago
scrawl d85d74e615 Use AdditiveLayer for the hit fader 9 years ago
scrawl a90ef8afd0 layer renaming 9 years ago
scrawl 57b9eafa0f osgMyGUI: implement AdditiveLayer 9 years ago
scrawl 51f3a8fec6 osgMyGUI: move Platform methods to the .cpp file 9 years ago
scrawl 13c7235b6b Remove old FPS setting code 9 years ago
scrawl 6e69808129 Fix the frameNumber not being incremented in certain frames 9 years ago
scrawl c9d7078b4b Water: add texture quality setting to the settings window 9 years ago
scrawl 944e6d0844 Fix adjustment of inventory preview size when guimode changes (Fixes #2973) 9 years ago
scrawl 7b954e8cc3 Remove unnecessary dependency on MWScrollBar 9 years ago
scrawl 69f234d97b Small delay before the loading screen shows
Kinda irritating to have the loading bar pop up for a fraction of a second.
9 years ago
scrawl f36d463617 Enchantment error handling fix (Fixes #2959)
Catch errors about missing enchantments before they propagate up the stack and interrupt the whole frame update.
9 years ago
scrawl 899e35591c Escape MyGUI markup codes in console output 9 years ago
Alexander "Ace" Olofsson 7d4125d97f Fixes for building with unity build 9 years ago
Marc Zinnschlag 96880b4dfe Merge remote-tracking branch 'scrawl/tabs' 9 years ago
Emmanuel Anne 29a84452ab durations in tooltips : use "show effect duration" setting 9 years ago
scrawl a47617c21f Fix tab indentations in apps/ and components/ 9 years ago
Emmanuel Anne b0d373f7e6 durations in tooltips : water walking effects is seen differently
so move the duration info out of this block...
9 years ago
Emmanuel Anne 1472711583 add duration to spell icons too
and use gmststrings instead of direct strings in tooltips
durations can display minutes and hours
I don't know any effect lasting an hour or more but you never know...
9 years ago
Marc Zinnschlag 353d6973e2 Merge remote-tracking branch 'origin/master' 9 years ago
scrawl 0442bc98f3 Update sleep interruption formula according to wiki, thanks Hrnchamd 9 years ago
scrawl fd48c1d6f4 Make the Equip script function "use" items (drink potion, use alchemy, etc) 9 years ago
scrawl 8aaba0af6f Fix journal page navigation bug introduced by 7dd09dd637 (Fixes #2899) 9 years ago
Jordan Ayers cd5bef958f Remove dead code from alchemywindow.
Also align some braces.
9 years ago
Marc Zinnschlag a52b947efe Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3' 9 years ago
scrawl 52d8bc555c Add missing checks to see if spell still exists when loading a savegame (Bug #2883) 10 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 10 years ago
scrawl af3b0cd883 Improve some error messages 10 years ago
Marc Zinnschlag d436dc332b Merge remote-tracking branch 'jeffreyhaines/gametimetracker' 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
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
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
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 7dd09dd637 Fix being able to flip journal pages with the mousewheel when the options overlay is active (Fixes #2855) 10 years ago
scrawl c57e72fe03 Adjust the sleep interruption chance (Fixes #2781) 10 years ago
scrawl e8c9d3ea2a Fix cell names on world map not always being translated (Fixes #2832) 10 years ago
scrawl 0d8f07d563 Properly apply changes when backing out of chargen dialogs (Fixes #2627) 10 years ago
Marc Zinnschlag d2cd151f77 Merge remote-tracking branch 'kunesj/master' 10 years ago
Jiří Kuneš a14a3c82de added description of new syntax to the onRetrieveTag function comment 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 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
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
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