Commit Graph

36 Commits (coverity_scan)

Author SHA1 Message Date
Ben Shealy 5085afa3d7 Moved mechanics code from MWGui::TradeWindow to MWMechanics::Trading 9 years ago
scrawl eecea4131f Reduce MyGUI includes 10 years ago
scrawl 4b704f665f Reduce includes, move DragAndDrop to separate file 10 years ago
scrawl fb542a64ec Merchant items should be restocked instantly 10 years ago
scrawl 0bc840aadd Add NumericEditBox widget 10 years ago
scrawl 0f99a959eb Update barter offer for all items when another item is added (Fixes #1935) 10 years ago
scrawl 7fa3100993 Refactor TradeWindow balance buttons to use ControllerRepeatClick 10 years ago
scrawl c6d3b0b70b Moved merchant restock from trade start to dialogue start, since other services also interact with it. 11 years ago
scrawl f2799ea1d9 Reset item model when reference is reset (Fixes #1628)
This caused crashes when the window was resized after the reference no longer exists (e.g. when a savegame is loaded)
11 years ago
scrawl a1bdf20958 Make trade balance label editable 11 years ago
Digmaster e3e51324a4 Esc button exits all non-modal GUI windows 11 years ago
scrawl b4ed828e21 Feature #1323: Implement restocking items (does not handle levelled lists yet) 11 years ago
Jeffrey Haines 2a8bf46607 Trader Gold Reset Delay
Implemented traded gold reset delay.

Note:
Traders gold pool is still in inventory.
11 years ago
scrawl 0f5dc59176 Remove useless dependencies on InventoryWindow for getting player gold. Don't use string literals for gold_001 id, just to be sure. 11 years ago
scrawl b6c22ad5d9 Add starting gold for NPCs and creatures. Refactor gold removal in some gui windows (use containerstore method instead of a dependency on TradeWindow). Use real gold amount in trade window, not refill amount. 11 years ago
scrawl 0c4a963132 Container UI rewrite 12 years ago
Britt Mathis 6128b9276f Removed non-essential includes from all MWGui header files. 12 years ago
Britt Mathis f7383905b7 Finally eliminated calls to MWBase::WindowManager in constructors 12 years ago
Britt Mathis ce9bc6d9ba MwGui windowManager calls fixed to use MWBase::Environment::get().getWindowManager, filenames in MwGui now comply with naming conventions 12 years ago
scrawl 0ee0dbdb97 Added "dispose corpse" button, added stealing (all items visible and no penalty yet) 12 years ago
Emanuel Guevel 8e07638699 Update the trading offer on "max sale" button click 12 years ago
Sergey Shambir a3adcf752d TradeWindow: fixed coding style
Mentioned here: https://github.com/zinnschlag/openmw/pull/554
12 years ago
Sergey Shambir 725bfe6372 TradeWindow: balance now changes per time if user holds +/- button
pressed
12 years ago
lazydev 04cca2a1ce fix for http://bugs.openmw.org/issues/517 12 years ago
gugus 0a883f4492 The player can now barter with merchants 12 years ago
Adam Hogan ebf80943a9 Added spell buying window 12 years ago
Marc Zinnschlag 6534c2a55a Issue #107: WindowManager is accessed only through the interface class from now on 13 years ago
scrawl f1d3978897 Issue #290: Auto-Close MW-reference related GUI windows 13 years ago
scrawl c004f5d570 adjust the "total cost"/"total sold" value when trading items, added some checks with respective user notifications 13 years ago
scrawl fb47681fbd fix a bug, some cleanup 13 years ago
scrawl 50a8eb05d9 transfering items between player and merchant works and shows a red frame for bought/sold items. 13 years ago
scrawl e2400ca7b2 only show items in the trade window that the NPC actually trades (services enum) 13 years ago
scrawl 41efea4c1d in the trade window, don't show items that the merchant has equipped. 13 years ago
scrawl 6ae642aa06 complete trade window layout 13 years ago
scrawl 5da4da820e beginnings of trade window layout. 13 years ago
scrawl 0c1d06d9f7 added some trade window stuff, which does nothing yet. 13 years ago