DakkJaniels
64d5a328e7
modify SpawnOnePremium in items.dat for readability ( #4095 )
3 years ago
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
3 years ago
obligaron
b87711bc08
Reintroduce Player::spellFrom to seperate teleport cursor from queued spell
3 years ago
obligaron
e9e959cc7c
Improve debug drop(u) command (multiplayer compatible, support quest uniques and don't drop items on failure)
3 years ago
obligaron
be82cff1ef
Ensure we don't load graphics for players that aren't on our level
3 years ago
obligaron
1522dc7031
Multiplayer: Add arena potions
3 years ago
obligaron
eeca953615
Introduce UpdateHellfireFlag to set missing CF_HELLFIRE flag
3 years ago
obligaron
2f5a236c4c
Store only none translated names in Item::_iName/_iIName
3 years ago
obligaron
0426908988
Introduce GetTranslatedItemName/GetTranslatedItemNameMagical
3 years ago
obligaron
8c49524aa3
GenerateMagicItemName make translation configurable
3 years ago
obligaron
6f9453c00e
Introduce GenerateStaffName/GenerateStaffNameMagical
3 years ago
obligaron
590c990c80
Introduce Item::getName
3 years ago
obligaron
f65152c556
Introduce GetItemBLevel
3 years ago
obligaron
f154bad1bd
IsPrefixValidForItemType/IsSuffixValidForItemType doesn't rely on gbIsHellfire
3 years ago
obligaron
0d7711ee63
Introduce GetItemPowerPrefixAndSuffix
3 years ago
obligaron
085f98c9a1
Introduce GetStaffPrefixId
3 years ago
Łukasz Łapiński
243c3ffcd4
items.cpp: fix inconsistent localization for miscellanous items ( #5890 )
...
* Update line 'Right-click to read, then left-click to target'
* Update line 'Select from spell book, then\n cast spell to read' across languages
3 years ago
Gleb Mazovetskiy
957bd03b98
Remove `FMT_COMPILE` in "cold" places
...
Removes most `FMT_COMPILE` calls.
`FMT_COMPILE` results in better performance but larger code size.
Removes `FMT_COMPILE` calls for places that are called infrequently,
i.e. not on every frame.
RG-99 binary size reduced by ~4 KiB.
3 years ago
Gleb Mazovetskiy
c858ab4d2c
Fix some compilation warnings
...
also removes a couple of unused filesystem includes
3 years ago
staphen
695949d901
Sync staff charges after recharging
3 years ago
obligaron
a629aa9153
Disable corner stone of the world in multiplayer
3 years ago
obligaron
44de539afb
Introduce CronerStoneStruct::isAvailable()
3 years ago
obligaron
6a5210e14a
Multiplayer: Enable Lachdanan Quest
3 years ago
obligaron
8b64546b21
Move spectral elixir special logic from Player::CanUseItem to Item::isUsable
3 years ago
obligaron
715e689ecb
Introduce Item::isUsable()
3 years ago
obligaron
0267a11db2
Fix item levels for set/quest-maps
3 years ago
Eric Robinson
f75f66d54b
Add `playerdat` ( #5763 )
3 years ago
Gleb Mazovetskiy
ebcd6b222d
Optimize `SpellData` size: 40 bytes -> 24
3 years ago
obligaron
34d5aeb853
In multiplayer drop the brain as extra item to ensure that all clients see the brain drop
3 years ago
obligaron
12ffc855e5
Fix quest items can't get picked up after dropping
3 years ago
obligaron
475f1d67fb
Spawn Fungal Tome during level generation to avoid desyncs
3 years ago
KPhoenix
30e815f835
Change ground color of Potion of Rejuevenation
3 years ago
Gleb Mazovetskiy
b61dac853b
Add `GetSpellData(SpellID)`
3 years ago
KPhoenix
d813f13700
`enum spell_id` -> `enum class SpellID`
3 years ago
KPhoenix
fa889625b3
Fix wrong flip sound: Tavern Sign
3 years ago
KPhoenix
c534e0e93c
Refactor
3 years ago
Eric Robinson
ef3a57b7d9
`enum spell_type` -> `enum class SpellType` ( #5674 )
3 years ago
KPhoenix
f52b2cb71f
Enum Class: MagicType
...
Changes enum magic_type to enum class MagicType
3 years ago
qndel
efaf334965
typos and code cleanup
3 years ago
obligaron
b3a9968c90
Timedemo: Support switching player equipment
3 years ago
obligaron
79f423191c
Introduce GetItemIndexForDroppableItem
3 years ago
obligaron
75a81c6f11
Change RndVendorItem to ItemData
3 years ago
staphen
99a1230ee6
Reintroduce code to burn random number when spawning pinned books in Adria's shop
3 years ago
Andrew James
7d618aac9c
simplify monk damage calculation
...
clang format wants the if conditions all on one line -_-. Not as nice as I was hoping.
3 years ago
obligaron
c18380c2e7
Sync SpawnUnique
3 years ago
obligaron
1b1ea50cba
Refactor SpawnItem
3 years ago
obligaron
0711e6af4d
Sync SpawnQuestItem (multiplayer quest items)
3 years ago
Gleb Mazovetskiy
680ab5ec40
Overhaul backbuffer state handling
...
When rendering directly to the output buffer, we need to maintain the
state of what has been drawn and what needs redrawing per-buffer.
We previously tried to do it implicitly by checking `SDL_DOUBLEBUF` and
other flags. The previous implementation was broken in several
ways, resulting in rendering issues on devices that support 8-bit output
directly.
Changes this mechanism to explicitly maintain buffer state per output
buffer. The new mechanism doesn't require knowledge of the number of
buffers, and thus also works correctly with triple-buffering.
Fixes #5447
3 years ago
staphen
21bd760bfa
Bypass CMD_PUTITEM when triggering CMD_OPENHIVE or CMD_OPENGRAVE
3 years ago
staphen
e67e4934cc
Add padmapper for gamepad customization
3 years ago