461 Commits (e9e67b3971fbd2bf243e5232203c5dcd37001642)

Author SHA1 Message Date
Gleb Mazovetskiy ebcd6b222d Optimize `SpellData` size: 40 bytes -> 24 3 years ago
KPhoenix 8955700e67 Refactor enums 3 years ago
KPhoenix a1fbf5253f `enum talk_id` -> `enum class TalkID` 3 years ago
Gleb Mazovetskiy b61dac853b Add `GetSpellData(SpellID)` 3 years ago
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
Gleb Mazovetskiy 1401e130ce Store items: Render 1x1 items at full size 3 years ago
Gleb Mazovetskiy 67bb0e10fd Store items: Draw unusable items in red 3 years ago
Gleb Mazovetskiy c5369f4b2b Store graphics: Scale sprites only once 3 years ago
staphen 3e916d4c1f Align item graphics with the center of the store text 3 years ago
staphen d707f07e8f Make item graphics in stores optional 3 years ago
staphen af5dc9ccb6 Add item graphics to store menus 3 years ago
Gleb Mazovetskiy 38e37e0d53 Fix warnings/errors with `-funsigned-char` 3 years ago
Gleb Mazovetskiy 680ab5ec40 Overhaul backbuffer state handling 3 years ago
qndel 841e743002 fix adria's 'you have nothing to recharge' alignment 4 years ago
Gleb Mazovetskiy 961866e1c4 CLX: A new graphics format 4 years ago
Gleb Mazovetskiy 8ca71272b8 Load all CEL as CL2 4 years ago
Anders Jenbo 2d21fc372e Remove more miniwin code 4 years ago
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
Gleb Mazovetskiy 197e1180b2 Add StrCat and StrAppend 4 years ago
staphen cab75ded6b Check both SPL_NULL and SPL_INVALID to determine spell validity 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
Gleb Mazovetskiy 72660d9189
Migrate snprintf to fmt (#4845) 4 years ago
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
Gleb Mazovetskiy 8ba3387f54 Reduces `stext` stack use (16K -> 4K) 4 years ago
Gleb Mazovetskiy 8e9c9e0238 Reduced the size of `OwnedCelSprite*` by 8 bytes 4 years ago
Andrew James 0add7a8af6
Define sizes using Size type in control.cpp/stash.cpp (#4737) 4 years ago
Vladimir Olteanu 2cc9d70fa6
Use decimal separators for gold and XP (#4722) 4 years ago
Gleb Mazovetskiy 2386fd12a9 Fix a few warnings 4 years ago
Gleb Mazovetskiy 1fc8ecb6f6 Add fmt::runtime annotations for C++20 support 4 years ago
Gleb Mazovetskiy 779ccaca17 Overhaul translation fetching 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
obligaron d86c4e5d84 Introduce GetUIRectangle() to distinguish between UI and main panel 4 years ago
Andrew James df8643ccf5
Use the count of store items instead of repairOk flag (#4576) 4 years ago
DakkJaniels fc1d699bb2 Restore randomization of stores for multiplayer games 4 years ago
ephphatha 64a2c41b2c Set clang-tidy config for MethodCase option 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago
Anders Jenbo 4f0ddf5c17 Remove use of HoldItem from stores.cpp 4 years ago
Gleb Mazovetskiy a66ca44695 Zero-based frame indexing 4 years ago
Gleb Mazovetskiy ade8aba822 Fix some more warnings 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