David Cernat
3bd8aa82fe
[General] Reduce inventory-sending hooks to just 2 in ContainerStore
...
Whenever an item is added to or removed from the player's ContainerStore, that player sends a PlayerInventory packet with just that addition or removal.
This eliminates all the unnecessary packet spam related to oversized PlayerInventory packets that had existed in one form or another since the initial implementation of inventory sync in 1b259e2d33
Additionally, move booleans from BasePlayer to LocalPlayer when they are only needed on the client, and make the usage of the isReceivingQuickKeys boolean consistent with the new isReceivingInventory boolean by having them both in the processors of their associated packets.
6 years ago
David Cernat
03832f933b
[Client] Send only individual items in PlayerInventory packets
...
For a long time, whenever a PlayerInventory packet was sent, it contained all the items in the player's inventory, because that's how Koncord originally implemented it and I always had too many other priorities to go back and rework it.
From now on, clients only send PlayerInventory packet with the one item added or removed, with the single exception being trading with merchants, where the entire inventory is still sent for the time being.
6 years ago
David Cernat
a083439139
Merge pull request #469 from davidcernat/master while resolving conflicts
...
# Conflicts:
# apps/openmw/main.cpp
# apps/openmw/mwbase/world.hpp
# apps/openmw/mwdialogue/dialoguemanagerimp.cpp
# apps/openmw/mwmechanics/actors.cpp
# apps/openmw/mwscript/dialogueextensions.cpp
# apps/openmw/mwworld/worldimp.hpp
6 years ago
Capostrophic
cac2bc768e
Fix NPC "can't teach more" message (bug #4494 )
7 years ago
David Cernat
6cb5ac6e63
Merge pull request #457 from OpenMW/master while resolving conflicts
...
Conflicts:
CMakeLists.txt
apps/openmw/engine.cpp
apps/openmw/main.cpp
apps/openmw/mwgui/windowmanagerimp.cpp
apps/openmw/mwmechanics/character.cpp
components/CMakeLists.txt
7 years ago
terrabyte25
48296a7452
Update trainingwindow.cpp
7 years ago
David Cernat
031a80ed5a
[Client] Don't advance time when waiting, traveling, training or jailed
7 years ago
David Cernat
cac2c6c1e8
Merge pull request #360 from TES3MP/0.6.1-openmw-updates while resolving conflicts
7 years ago
David Cernat
ebf88d12a3
[Client] Send PlayerInventory packet after buying skill training
7 years ago
scrawl
479f9535b4
Allow training window exit()
7 years ago
scrawl
8964fc93d6
Fix dialogue window not being exited properly
7 years ago
scrawl
2ce79e07a4
Refactor dialogue GUI to talk to the dialogue manager, not the other way around and not both ways.
...
- Fix memory leaks in DialogueWindow
- Fix Link objects being deleted from their own event handler
7 years ago
scrawl
d78e822833
Add 'delay' argument for screen fading operations
7 years ago
scrawl
843106fc61
Handle the wait progress bar as part of the GUI mode
7 years ago
scrawl
2b03bc0c56
Call WindowBase::onFrame() for every active window
7 years ago
scrawl
4fff2e2e34
Refactor exitCurrentGuiMode
7 years ago
scrawl
84657271c7
Improve WindowManager API with a generic way of passing a Ptr to the opened GUI window
7 years ago
scrawl
01391b7eed
Rename WindowBase's open/close to onOpen/onClose
7 years ago
MiroslavR
80f2ae0ca7
Apply magic effects while waiting/sleeping
9 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
e197f5318b
fixing MSVC 2013 warning C4244: & C4305
...
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
MiroslavR
1d9e973573
Add training progress bar, implement jail screen, tweak wait dialog ( Fixes #1714 )
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
Alexander "Ace" Olofsson
462b41a3a8
Missing files, aka; Why you shouldn't stresscommit
10 years ago
scrawl
5f11ccc298
Show tooltip for non-affordable list items ( Fixes #2025 )
10 years ago
scrawl
0b1e997bdd
Make sure dialogue is ended properly when closing it by using a service ( Fixes #1755 )
11 years ago
scrawl
a18cec7c8e
Use a MyGUI widget to render the screen fader ( Fixes #1741 , Fixes #1719 )
11 years ago
scrawl
315b022d2d
Add transfer gold from all services to NPC trade gold pool
11 years ago
scrawl
5488fe1ab3
Change npc training skills to prefer skills with lowest ID if skill values are the same ( Fixes #1445 )
11 years ago
Digmaster
e3e51324a4
Esc button exits all non-modal GUI windows
11 years ago
Emanuel Guevel
1e4a854433
Remove static method MWWorld::Class::get(&Ptr)
...
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
scrawl
0d0005c433
Fix fatigue not restoring when waiting
11 years ago
scrawl
627dcddb33
Do not allow training skills above their governing attribute
11 years ago
scrawl
d7f69205f6
Don't play "Menu Click" sound for disabled (= cannot receive input) buttons, plus some redundancy fixes
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
098f9712f1
Add getPlayerPtr() utility method. Reduces dependencies a lot.
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
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
e7af718b55
Remove unnecessary WindowManager::messageBox arguments
12 years ago
scrawl
d53a7ade1e
method names, disposition uint->int
12 years ago
scrawl
ae78eaeb28
fixed training, fixed todo comments
12 years ago
scrawl
b2afb1fd5c
Merge branch 'next' of git://github.com/zinnschlag/openmw into MercantilImprovement
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwclass/npc.cpp
apps/openmw/mwdialogue/dialoguemanagerimp.cpp
apps/openmw/mwgui/spellbuyingwindow.cpp
apps/openmw/mwgui/trainingwindow.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
12 years ago
greye
b3ad872845
new interface in manualref, fix various typos
12 years ago
greye
a9c1ce412a
applying new interface vol.7, inconsistent
12 years ago
gugus
aaf1b66c7e
BarterOffer is used in other trading services too
12 years ago
greye
3c2ce25f5f
m prefix for mwworld/cellstore.hpp
12 years ago
scrawl
e80394c0b5
fix training limit
12 years ago