thebigMuh
8e19ef5460
- Fixed outline drawing for item on cursor to match rest of game
...
- Made GetOutlineColor const
- Made gold outline golden again... because the white outline made me sad
5 years ago
Gleb Mazovetskiy
8e634ff02c
♻️ Remove `_iAnimWidth`
...
No longer needed as of #1796
We could probably go further and not expose `ItemAnimWidth`,
but it'd be dangerous because sometimes `_iAnimData` is null.
5 years ago
Gleb Mazovetskiy
1b8b62a8c2
♻️ Store CEL width with the sprite itself
...
Instead of passing the CEL sprite width when drawing, store the CEL
width at load time in the new `CelSprite` struct.
Implemented for most sprites except towners, missiles, or monsters.
5 years ago
Anders Jenbo
f884ba5340
🔥 Remove more miniwin dependencies
5 years ago
Anders Jenbo
bd515ac75d
♻️ Apply Point equality operator
5 years ago
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
a5f062b747
🎨 Use stdint instead of SDL types
5 years ago
Anders Jenbo
f004c78824
🧹 performance-unnecessary-value-param
5 years ago
Anders Jenbo
d024f79b0e
🧹 performance-unnecessary-value-param
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
qndel
d8444ed695
Clean DrawInvBelt + outline colors
...
* fix right hand items
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
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
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Gleb Mazovetskiy
461da3cda0
Optimize ItemStruct sizeof: 360 -> 296
...
Can likely be optimized further
5 years ago
Anders Jenbo
af96de4038
♻️ Move a large part of enums to there respective headers
5 years ago
Juliano Leal Goncalves
3b015085de
♻️ Pass ItemStruct on item RespawnItem function
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
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
331a540fc3
🔥 Remove the auricGold variable
5 years ago
Anders Jenbo
839940df68
🏷️ Add enum as the type for power in SaveItemPower
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Juliano Leal Goncalves
eef97eaabb
🚩 Add ini toggle for auto-equipping jewelry. Disabled by default.
5 years ago
Juliano Leal Goncalves
8bf5ef131e
🚩 Add ini toggle for auto-equipping shields. Disabled by default.
5 years ago
Juliano Leal Goncalves
08eff92412
🚩 Add ini toggle for auto-equipping helms. Disabled by default.
5 years ago
Juliano Leal Goncalves
70db53644e
🚩 Add ini toggle for auto-equipping armor. Disabled by default.
5 years ago
Juliano Leal Goncalves
b8a6e0ebfe
🚩 Add ini toggle for auto-equipping weapons. Enabled by default.
5 years ago
Juliano Leal Goncalves
08ffaa978c
♻️ Extract 'ItemStruct.isEquipment' method
5 years ago
Anders Jenbo
1284333765
♻️ Use explicit types and remove globals from save file logic
5 years ago
Anders Jenbo
783e4a70b1
♻️ Strongly type items structures
5 years ago
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
5 years ago
Juliano Leal Goncalves
2c14908cf4
🚚 Move 'ItemStruct' to 'items.h'
5 years ago
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
5 years ago
Anders Jenbo
d46daa5a00
♻️ Remove unused return value from SpawnUnique
...
Introduced erroneously in f87bc0ca8b
5 years ago
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
5 years ago
Anders Jenbo
5035ac8062
Strip Hellfire items in Diablo sessions
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
c08a10e44b
Unify calculation of gold icon
5 years ago
Anders Jenbo
adf5f8f504
Clean up hellfire related code
5 years ago
Anders Jenbo
06b7c78406
Notes of untimly header cleanups
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago