DakkJaniels
3c623426a6
Restore randomization of stores for multiplayer games
4 years ago
staphen
af9ab6d9e2
Restore durability to items in stores
4 years ago
Gleb Mazovetskiy
3488b2225c
Split up store title from "Your gold"
4 years ago
staphen
95329fa72b
Remove calls to NewCursor() from store functions
4 years ago
obligaron
84f19e6b29
Wirt: Ensure _iStatFlag is updated before getTextColorWithStatCheck is called ( #4258 )
4 years ago
Anders Jenbo
8a3cfb5acf
Enable buying with gold from stash ( #4218 )
4 years ago
Anders Jenbo
1ba817ca53
Unify gold handling (withdraw any amount from stash)
4 years ago
obligaron
3e9ca60460
Update _iStatFlag for stash items
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
Anders Jenbo
770727b5a0
Correct Leave Pepin menu posision
4 years ago
Gleb Mazovetskiy
bd5647fb06
Fix premium items reroll on level change
...
Bug introduced a few commits ago in 1519e995cf
Fixes #4036
4 years ago
Gleb Mazovetskiy
1519e995cf
Move store graphics out of `stores.cpp`
...
These graphics are used in various places outside of `stores.cpp`.
4 years ago
Anders Jenbo
6d346c7e18
Use std::string in PrintItemPower
4 years ago
Anders Jenbo
af08a99691
Perform item requirement check when entering vendors
4 years ago
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
4 years ago
Gleb Mazovetskiy
dbdae7b389
Fix the divider line position in the help menu
...
Fixes #3552
4 years ago
Gleb Mazovetskiy
e29c1d05a2
Improve Help screen layout + fix CJ
4 years ago
Gleb Mazovetskiy
4f64b87330
Fix talk/store text overlap for Chinese and Japanese
...
We ensure that selectable lines are placed at the same vertical
coordinates but space out unselectable text lines at the cost
of reduced heigh of empty space between the store items.
We also have to move the back button in scrollable lists to the
lower right.
This can definitely be improved further but at least it solves
the problem for now.
Refs #3162
4 years ago
Anders Jenbo
6bb0c4db07
Mark store owner names for translation
4 years ago
Anders Jenbo
b21e92baae
Mark store owner names for translation
4 years ago
obligaron
98ecd0ecc5
Introduce CloseGoldDrop
4 years ago
qndel
eba6d827bf
fix typos ( #3238 )
4 years ago
qndel
70d04916cd
fix empty griswold shop
4 years ago
Anders Jenbo
7771a08d03
Translatable mainpanel
5 years ago
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
5 years ago
Anders Jenbo
7169882b1f
✨ Implement new font rendering
5 years ago
Juliano Leal Goncalves
ce23cd6bce
🚚 Rename 'QuestData' global array to 'QuestsData'
...
This will allow us to disambiguate from the 'QuestDataStruct' after the 'Struct' suffix is removed.
5 years ago
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
Juliano Leal Goncalves
a469f7906e
♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize'
5 years ago
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
5 years ago
Anders Jenbo
4044fadeb5
Clean up some players references
5 years ago
qndel
9aee0360a0
stop shops reroll on load ( #2693 )
5 years ago
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
5 years ago
BC Ko
e5434e03b3
2602 Use range-based for-loop for Quests ( #2612 )
5 years ago
BC Ko
2a7712794e
cleanup manual value clamping: stores.cpp 2 ( #2583 )
5 years ago
BC Ko
ff7891d66a
cleanup manual value clamping: stores.cpp
5 years ago
Anders Jenbo
d523fc1e81
Cleanups
5 years ago
ephphatha
0575716eac
Rename UiFlags members to group related options
5 years ago
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
5 years ago
Anders Jenbo
de0b3a38b8
Apply code style
5 years ago
Anders Jenbo
e5fc7fd17c
Move remaning symbols in to anonymous namespaces
5 years ago
Anders Jenbo
903d4bd2e1
Scope all for loops
...
This caused 7 of the loops to be rewriteen using range by clang-tidy
5 years ago
Anders Jenbo
9ebdb6db69
General clean up
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Gleb Mazovetskiy
55464eec78
Fix `-Wmissing-braces`
...
Fixes warnings such as this one:
```
../../../../../../Source/engine/render/text_render.hpp:83:33: warning: suggest braces around initialization of subobject [-Wmissing-braces]
return DrawString(out, text, { position.x, position.y, out.w() - position.x, 0 }, flags, spacing, lineHeight, drawTextCursor);
^~~~~~~~~~~~~~~~~~~~~~
```
5 years ago
Anders Jenbo
fc353fc799
Clang-tidy: FunctionCase
5 years ago
Gleb Mazovetskiy
cb0dae8590
🚚 Rename `CelOutputBuf` to `Surface` and extract
5 years ago