ephphatha
64a2c41b2c
Set clang-tidy config for MethodCase option
...
Previously this was falling back to FunctionCase, leading to inconsistent casing of class methods throughout the codebase. Applied to Item as an example.
2022-04-20 13:50:57 +02:00
ephphatha
7e7798fd2b
Add function to mark an item as empty
2022-04-18 19:25:55 +02:00
Anders Jenbo
4f0ddf5c17
Remove use of HoldItem from stores.cpp
2022-04-18 09:50:23 +02:00
Gleb Mazovetskiy
a66ca44695
Zero-based frame indexing
...
Index frames starting at 0 instead of 1.
2022-04-14 04:39:26 +01:00
Gleb Mazovetskiy
ade8aba822
Fix some more warnings
2022-04-14 01:26:29 +02:00
staphen
af9ab6d9e2
Restore durability to items in stores
2022-04-13 04:23:33 +02:00
Gleb Mazovetskiy
3488b2225c
Split up store title from "Your gold"
2022-04-11 22:44:32 +01:00
staphen
95329fa72b
Remove calls to NewCursor() from store functions
2022-03-31 05:03:13 +02:00
obligaron
84f19e6b29
Wirt: Ensure _iStatFlag is updated before getTextColorWithStatCheck is called ( #4258 )
2022-03-29 19:48:17 +02:00
Anders Jenbo
8a3cfb5acf
Enable buying with gold from stash ( #4218 )
2022-03-23 07:22:50 +01:00
Anders Jenbo
1ba817ca53
Unify gold handling (withdraw any amount from stash)
2022-03-22 21:38:51 +01:00
obligaron
3e9ca60460
Update _iStatFlag for stash items
2022-03-20 23:42:55 +01:00
Anders Jenbo
1409e604f5
Reduce string conversions
2022-03-20 11:04:15 +01:00
Anders Jenbo
718c46e7fe
Remove use of tempstr
2022-03-19 06:03:19 +01:00
Anders Jenbo
a48f89007d
Implement stash
2022-03-18 06:01:53 +01:00
Anders Jenbo
770727b5a0
Correct Leave Pepin menu posision
2022-03-16 21:06:14 +01:00
Gleb Mazovetskiy
bd5647fb06
Fix premium items reroll on level change
...
Bug introduced a few commits ago in 1519e995cf
Fixes #4036
2022-02-06 18:45:07 +01:00
Gleb Mazovetskiy
1519e995cf
Move store graphics out of stores.cpp
...
These graphics are used in various places outside of `stores.cpp`.
2022-01-30 14:56:04 +01:00
Anders Jenbo
6d346c7e18
Use std::string in PrintItemPower
2021-12-13 01:02:07 +01:00
Anders Jenbo
af08a99691
Perform item requirement check when entering vendors
2021-12-13 00:56:38 +01:00
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
2021-11-26 23:43:46 +01:00
Gleb Mazovetskiy
dbdae7b389
Fix the divider line position in the help menu
...
Fixes #3552
2021-11-20 14:45:31 +00:00
Gleb Mazovetskiy
e29c1d05a2
Improve Help screen layout + fix CJ
2021-11-20 02:31:21 +00:00
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
2021-11-20 02:31:21 +00:00
Anders Jenbo
b21e92baae
Mark store owner names for translation
2021-10-31 23:18:38 +01:00
obligaron
98ecd0ecc5
Introduce CloseGoldDrop
2021-10-27 00:06:30 +02:00
qndel
eba6d827bf
fix typos ( #3238 )
2021-10-24 18:03:29 +02:00
qndel
70d04916cd
fix empty griswold shop
2021-10-20 18:22:31 +02:00
Anders Jenbo
7771a08d03
Translatable mainpanel
2021-09-19 07:21:52 +02:00
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
2021-09-13 00:25:49 +02:00
Anders Jenbo
7169882b1f
✨ Implement new font rendering
2021-09-12 01:37:28 +02:00
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.
2021-09-06 12:54:40 +02:00
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
2021-08-30 13:40:08 +02:00
Juliano Leal Goncalves
a469f7906e
♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize'
2021-08-30 06:45:51 +02:00
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
2021-08-30 06:44:18 +02:00
Anders Jenbo
4044fadeb5
Clean up some players references
2021-08-30 03:26:17 +02:00
qndel
9aee0360a0
stop shops reroll on load ( #2693 )
2021-08-27 14:28:13 +02:00
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
2021-08-26 08:06:48 +02:00
BC Ko
e5434e03b3
2602 Use range-based for-loop for Quests ( #2612 )
2021-08-19 01:42:49 +02:00
BC Ko
2a7712794e
cleanup manual value clamping: stores.cpp 2 ( #2583 )
2021-08-12 12:22:34 +02:00
BC Ko
ff7891d66a
cleanup manual value clamping: stores.cpp
2021-08-11 13:09:49 +02:00
Anders Jenbo
d523fc1e81
Cleanups
2021-08-02 10:12:40 +02:00
ephphatha
0575716eac
Rename UiFlags members to group related options
2021-07-31 20:22:40 +02:00
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
2021-07-31 20:22:40 +02:00
Anders Jenbo
de0b3a38b8
Apply code style
2021-07-20 02:51:39 +02:00
Anders Jenbo
e5fc7fd17c
Move remaning symbols in to anonymous namespaces
2021-07-20 02:51:39 +02:00
Anders Jenbo
903d4bd2e1
Scope all for loops
...
This caused 7 of the loops to be rewriteen using range by clang-tidy
2021-07-08 08:14:03 -07:00
Anders Jenbo
9ebdb6db69
General clean up
2021-07-08 03:30:25 -07:00
Anders Jenbo
9b8bf92575
Rename quest globals
2021-07-08 02:01:14 -07:00
Anders Jenbo
96bf75b502
Rename player globals
2021-07-08 02:01:14 -07:00