Anders Jenbo
a76e24d386
Clean ups
4 years ago
Anders Jenbo
1ba817ca53
Unify gold handling (withdraw any amount from stash)
4 years ago
Andrew James
308ac7d7ad
Use PointsInRectangleRange with a starting position ( #4202 )
4 years ago
obligaron
3e9ca60460
Update _iStatFlag for stash items
4 years ago
obligaron
481f15ded5
Introduce StashStruct.GetPage/SetPage
4 years ago
Anders Jenbo
6d28810dc7
Change infostr from char[128] to std::string
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Andrew James
4ff83431d2
Remove the use of HoldItem in AutoGetItem ( #4178 )
4 years ago
obligaron
92993ad039
Ctrl+click stash item swap: if there is no room left, don't drop the item on the ground
4 years ago
obligaron
e52fa46687
Disable scrolls in UseStashItem
4 years ago
Anders Jenbo
d0014b0414
Fix untranlsatable strings
4 years ago
obligaron
b495cabeb5
Allow to swap items with ctrl+click between inventory and stash
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
obligaron
2617332a41
Allow only one gold input panel to be open
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
qndel
b8fc442210
fix chatlog translation entry ( #4140 )
4 years ago
Gleb Mazovetskiy
7fede6c4cb
Clean up owned/unowned CelSprite ambiguity
...
Makes `CelSprite` unowned and adds a new `OwnedCelSprite` class for
owned sprites.
This clarifies ownership and makes the code cleaner in a number of
places.
Additionally, because the `CelSprite` class is now tiny (1 less
pointer), we can pass it by-value instead of by-reference, removing a
pointer indirection in the rendering functions.
4 years ago
qndel
48f102eff1
Chat log
4 years ago
qndel
81800e64bb
MAXCHARLEVEL cleanup
4 years ago
obligaron
9e6aa7c8d6
Add OptionEntries for Poition Pickup
4 years ago
Joerg Wissen
f9bc40e8e0
Optional functionality to auto-pickup potions
4 years ago
obligaron
d17c689077
Item highlighting: don't change cursor when a repeated action is requested (LastMouseButtonAction != None)
4 years ago
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
4 years ago
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
obligaron
635f378722
Add OptionEntry Experience Bar
4 years ago
obligaron
677303cba9
Reduce use of view globals in game menu
4 years ago
NiteKat
3f85fdae37
Add mWhoHit Indicators
...
Adds mWhoHit indicator graphics to the monster health bar.
4 years ago
Bernd Stellwag
fcc0266703
Add new option to enable/disable item pickup sounds
4 years ago
Alex
6df826eb02
Fix compiler warnings
5 years ago
Anders Jenbo
7771a08d03
Translatable mainpanel
5 years ago
Anders Jenbo
3b0858cdac
Don't show xp bar when chat is open
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
cd79f0204d
🚨 Fix compiler warnings
5 years ago
Anders Jenbo
7169882b1f
✨ Implement new font rendering
5 years ago
Juliano Leal Goncalves
d225202c34
🚚 Rename 'MonsterClass' members for consistency
5 years ago
Juliano Leal Goncalves
21b481bb46
♻️ Convert 'MonsterClass' enum to enum class
5 years ago
Juliano Leal Goncalves
eac08bd05f
♻️ Extract health bar border color by monster type logic into local function
...
This eliminates direct array indexing by an enum which allows us to move into enum class without casting.
5 years ago
Juliano Leal Goncalves
20db8d1a11
🚚 Rename 'MonsterStruct' to 'Monster'
5 years ago
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
Juliano Leal Goncalves
01823e1324
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
5 years ago
Juliano Leal Goncalves
3251171a5c
♻️ Leverage 'Point' in 'xpbar.DrawBar' function
5 years ago
Juliano Leal Goncalves
20d356a6eb
♻️ Leverage 'Point' in art_draw functions
5 years ago
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
5 years ago
ephphatha
8f2e94ae4d
Use unsigned types for player experience and related values
5 years ago
Aaron Sun
3ee90ca629
Add options for sub-panel alignment
5 years ago
4aron5un
4c8210df21
Center the sub-panels (Quest, Character, Spell and Inventory) ( #2498 )
5 years ago
Vladimir Olteanu
b17ff04ee2
Use string_view in DrawString and friends
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
77b72da276
♻️ Use monster by reference when possible
5 years ago