Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
3 years ago
obligaron
1522dc7031
Multiplayer: Add arena potions
3 years ago
Gleb Mazovetskiy
ebcd6b222d
Optimize `SpellData` size: 40 bytes -> 24
3 years ago
obligaron
6edae7cf6c
Ensure Spectral Elixir is only usable after black mushroom quest is finished
3 years ago
KPhoenix
d813f13700
`enum spell_id` -> `enum class SpellID`
3 years ago
ephphatha
6c32945571
Use _item_indexes enum values instead of magic numbers
3 years ago
Gleb Mazovetskiy
ac26f3a23b
Item: Optimize to save 16 bytes (312->288)
3 years ago
Gleb Mazovetskiy
4cf0053ece
Set underlying type for all the enums
...
Reduces rg99 binary size by 3 KiB.
4 years ago
Vladimir Olteanu
58ae9169f1
Item effect cleanup ( #5229 )
4 years ago
Vladimir Olteanu
75ea31e89c
Remove unused misc items
4 years ago
DakkJaniels
dad46e1905
Item special effect enum ( #4129 )
4 years ago
ephphatha
3f5a697086
Add tests for GetInventorySize
4 years ago
DakkJaniels
0bae1ea3a1
switch affix_item_type bit flag enum to class format ( #4123 )
4 years ago
Gleb Mazovetskiy
e12adf689e
Fix windows build
4 years ago
KPhoenix
bb9a20f5e9
Implement unused Long War Bow graphic
4 years ago
Anders Jenbo
a0009b0ff8
Correct name of IPL_LASTDIABLO
5 years ago
Anders Jenbo
0c5bdf5dbf
🐛 Reject items that would cause an OOB to
5 years ago
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
5 years ago
Juliano Leal Goncalves
6323539fcc
🚚 Rename 'item_type' enum to 'ItemType'
5 years ago
Juliano Leal Goncalves
4431e3a823
🚚 Rename 'UItemStruct' struct to 'UniqueItem' ( #2806 )
...
* 🚚 Rename 'UItemStruct' struct to 'UniqueItem'
* 🚚 Rename 'UniqueItemList' global array to 'UniqueItems'
New name is more concise and follows the standard of pluralizing the base name for collections.
5 years ago
Juliano Leal Goncalves
528d703616
🚚 Rename 'ItemDataStruct' to 'ItemData'
5 years ago
Anders Jenbo
90960f0c14
Remove dead code
5 years ago
Anders Jenbo
f29d270055
💚 Make UINumPL unsigned
5 years ago
Anders Jenbo
996cadf972
♻️ Unique powers cleanup
...
- Mark unused unique item powers as invalid
- Split to hit and value calculations from SaveItemPowers
5 years ago
matheusgomes28
42e2c174ac
Refactored parameters of "StartItemPower(...)" and code around calls to it. ( #2345 )
...
Co-authored-by: Matheus Gomes <mgomes1@jaguarlandrover.com>
5 years ago
Anders Jenbo
c8870dbd1f
Rename item globals
5 years ago
Anders Jenbo
235b0ee06c
💚 Fix remaning compiler warnings for GCC and CLang
5 years ago
Anders Jenbo
a7c7fa0030
Fully apply clang-tidy/format to all files
5 years ago
Juliano Leal Goncalves
1cb2de47c4
🏷️ Expand underlying type of '_item_indexes' to 'uint16'
...
This matches existing usages which rely on constant value 0xFFFF when unpacking items.
5 years ago
Anders Jenbo
913546ba92
Mark unused item_effect_type enums
5 years ago
Anders Jenbo
4a7ba94702
🎨 Run clang-format
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
5fdb9ce459
🎨 Format code
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
6e1a106a38
🚚 Move header we implement into the project
5 years ago
Anders Jenbo
819fd40376
🎨 Consistent enum value style ( #1458 )
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Gleb Mazovetskiy
b22265277d
Optimize ItemDataStruct layout: sizeof 96 -> 48
...
Also specifies enum storage types
5 years ago
Anders Jenbo
433edc63ea
♻️ Consistently use pragma once to guard the headers
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Anders Jenbo
83e783a796
🔥 Remove ITYPE_FOOD (unused)
5 years ago
Anders Jenbo
e8fb559e53
🐛 Correct saving/loading of enums
5 years ago
Anders Jenbo
783e4a70b1
♻️ Strongly type items structures
5 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago