105 Commits (cpp20-using-enum)

Author SHA1 Message Date
Gleb Mazovetskiy 5355146d51 Use structured bindings 3 years ago
ephphatha e6890cc5cc Move MaxCharacterLevel to playerdat and add helpers for the various uses 3 years ago
ephphatha 14639cd096 Replace _pNextExper with getter method 3 years ago
ephphatha da76e131e4 Add getter/setter for character levels to ensure _pNextExper stays synced 3 years ago
Gleb Mazovetskiy 9e8465e152 Clean up spell book rendering 3 years ago
KPhoenix ba6cc56ae8 None to Empty 3 years ago
KPhoenix 6dde0f8a23 Add enum class for spell icons 3 years ago
Gleb Mazovetskiy d262589021 Support `const` inventory iterators 3 years ago
Gleb Mazovetskiy d5446f2f01 Use `std::variant` in `StringOrView` 3 years ago
Gleb Mazovetskiy 8c1a847f41 Remove utils/stdcompat/string_view.hpp 3 years ago
Gleb Mazovetskiy 14540164a7 Remove utils/stdcompat/optional.hpp 3 years ago
Gleb Mazovetskiy 8101e2c0ba Add `c_any_of` and friends 3 years ago
Gleb Mazovetskiy fee948b9c5 Fix character panel label for CJK 3 years ago
Gleb Mazovetskiy 5bf0b8bc96 Add more missing <cstdint> includes 3 years ago
ephphatha 829d6b0d4a address clang-format violations 3 years ago
ephphatha 2ce420425e Remake talkbutton.clx as a sheet of two sprites 3 years ago
ephphatha a9f9e2b451 Unroll loop for building alt button states to allow optimising talkbutton.clx 3 years ago
staphen 6bcb4d70e4 Use padmapper bindings on spell icons 3 years ago
qndel ce2ce86070 inspect players command 3 years ago
obligaron c945dc8a46 Make SpellPages const 3 years ago
Eric Robinson f75f66d54b
Add `playerdat` (#5763) 3 years ago
Gleb Mazovetskiy ebcd6b222d Optimize `SpellData` size: 40 bytes -> 24 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 1788d2f8ec Remove miniwin 3 years ago
DakkJaniels 0c1c8d0aa0
fix speedbook crash (#5730) 3 years ago
Eric Robinson 049f75515b
Fix bug in ef3a57b7 (#5732) 3 years ago
Eric Robinson ef3a57b7d9
`enum spell_type` -> `enum class SpellType` (#5674) 3 years ago
Anders Jenbo e50e21e0e4 Use outline for spell icon texts 3 years ago
Gleb Mazovetskiy 46e755f680 Simplify spell icon handling 3 years ago
Gleb Mazovetskiy 74ca2ab0db Use no-background spell icons with UNPACKED_MPQS 3 years ago
Gleb Mazovetskiy 6dca019de2 Use `function_ref` instead of `function` 3 years ago
KPhoenix 8c3ced3cb6
Display correct Armor Class in Char Panel (#5443) 3 years ago
Gleb Mazovetskiy 680ab5ec40 Overhaul backbuffer state handling 3 years ago
Gleb Mazovetskiy 41f43ea3f5 Support unpacked MPQs from devilutionx-mpq-tools 3 years ago
staphen 8b6db3a678 Get rid of panelstr, pnumlines, and ClearPanel() 4 years ago
KPhoenix a1822bca8e Remove sSkillText from spelldat.cpp 4 years ago
Gleb Mazovetskiy 6327e713e0 Lowercase all file paths 4 years ago
Gleb Mazovetskiy 4cf0053ece Set underlying type for all the enums 4 years ago
Gleb Mazovetskiy c351acbf7e Remove redundant devilutionx.mpq check 4 years ago
Gleb Mazovetskiy d71a54dba8 Render main panel buttons as CLX 4 years ago
Gleb Mazovetskiy 609b711d32 Render char panel as CLX 4 years ago
Gleb Mazovetskiy 17a97450bc Convert assets to CLX 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
Gleb Mazovetskiy e5e8ba07c2 Hellfire spell book: Set button widths correctly 4 years ago
Anders Jenbo 3ae834148a Split event handeling from general miniwin features 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