Capostrophic
56539fee4f
Partially revert "Get rid of redundant setKeyFocusWidget() method"
6 years ago
Alexei Dobrohotov
7c46102f0c
Merge pull request #2389 from akortunov/fmt
...
Introduce a custom format() function
6 years ago
Andrei Kortunov
e679190f31
Introduce a custom format() function to get rid of boost::format() and hackish replace()
6 years ago
Alexei Dobrohotov
0ee73d89f0
Correct selling prices of creature merchants
6 years ago
Andrei Kortunov
faf940546b
Get rid of redundant setKeyFocusWidget() method
6 years ago
Andrei Kortunov
675be20a0f
Get rid of redundant ControllerRepeatClick class
6 years ago
Alexei Dobrohotov
d37cb871d6
Fix last-minute typo
6 years ago
Capostrophic
9d191055bf
Make offered price caps barter-specific (bug #5028 )
6 years ago
Andrei Kortunov
8df8bd3f37
Use C++11-style loops in the GUI instead of iterators
6 years ago
Capostrophic
8ecd0b82a4
Replace Boost format and replace_all where possible
6 years ago
Capostrophic
c3e8d536cd
Implement getNormalizedEnchantmentCharge() method and use it
6 years ago
Capostrophic
54bd7b2dcf
Implement getItemNormalizedHealth() method and use it
6 years ago
Capostrophic
67de61e1fb
Avoid item condition and charge zero divisions
6 years ago
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
6 years ago
Andrei Kortunov
bdd9eba2b8
Use C++ limits instead of C ones
6 years ago
Andrei Kortunov
269ef7a559
Disable repeating for ENTER key in GUI
6 years ago
Capostrophic
7ef6fa9f61
Remove deprecated GMST get* functions
6 years ago
Capostrophic
ab29f9e13f
Add permanent barter disposition change option (feature #3103 )
7 years ago
Capostrophic
191cc76378
Consider faction ownerships in item stolen checks ( fixes #4293 )
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
b7752ec52d
Make TradeWindow not depend on DialogueWindow
7 years ago
scrawl
67dc4e019a
Make Enter on trade window price attempt the trade
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
Andrei Kortunov
f84eb68b3d
Confiscate an item when you try to sell it to its owner (bug #3944 )
7 years ago
Andrei Kortunov
35beede065
Restock items after trade deal instead of trade window opening
8 years ago
Andrei Kortunov
487e72fd23
Play Up sounds instead of Down ones in trade window (bug #3982 )
8 years ago
Andrei Kortunov
54b4d93f79
Added a special function for GUI sounds playing
8 years ago
Bret Curtis
154d7cffa2
replace and purge boost::function
8 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
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
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
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
scrawl
77f1387da8
Include cleanup
10 years ago
scrawl
e66e9916db
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/doc/document.cpp
apps/opencs/model/doc/document.hpp
10 years ago
Stanislav Bas
c40987338d
Scrollbars don't save their positions between openings
10 years ago
scrawl
e23775e338
Fix -Woverloaded-virtual clang warnings
10 years ago
scrawl
e1f4a7f647
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/openmw/engine.cpp
apps/openmw/mwgui/mainmenu.cpp
apps/openmw/mwgui/windowmanagerimp.cpp
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwrender/animation.cpp
apps/openmw/mwrender/debugging.cpp
apps/openmw/mwrender/npcanimation.cpp
apps/openmw/mwrender/renderingmanager.cpp
apps/openmw/mwrender/sky.cpp
components/nif/nifkey.hpp
components/nif/nifstream.hpp
components/nifbullet/bulletnifloader.cpp
components/nifogre/ogrenifloader.hpp
libs/openengine/bullet/physic.cpp
libs/openengine/gui/manager.cpp
10 years ago
Rohit Nirmal
997347b01e
Silence -Wreorder warnings.
10 years ago
scrawl
8c810e3620
Move rng to components
10 years ago
Marc Zinnschlag
86d39cede9
Merge remote-tracking branch 'dteviot/Rng'
10 years ago
dteviot
3f28634d1f
consolidate random number logic
...
Note, I suspect Rng::rollClosedProbability() is not needed. The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
dteviot
1d7f3474fa
Fixed more MSVC 2013 warnings.
10 years ago
dteviot
e6cd8484a2
fixing MSVC 2013 warning C4244: & C4305
...
fixes for mistakes in last commit.
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
Alexander "Ace" Olofsson
df5a08b6de
Move manualref code out of header
10 years ago