KPhoenix
3354689a5d
Fix Book requirements not updating
3 years ago
Gleb Mazovetskiy
1167b92692
Remove uses of `std::tolower`
...
`std::tolower` relies on the C locale, which we try to avoid.
3 years ago
staphen
81a034132a
Find valid target when casting scroll from inventory
3 years ago
staphen
26bf9be89d
Fix Item::getName() for Doppelganger's prefix
3 years ago
Anders Jenbo
e707bd0c4a
Drop quest item based on difficulty
3 years ago
obligaron
c8f1804d04
Spawn Optic Amulet and Arkaine's Valor always at the same tile ( #6167 )
...
* Spawn Optic Amulet and Arkaine's Valor always at the same tile
* Multiplayer: To complete Halls of Blind and Arkaine's Valor also check drop position, because quest rewards items can be randomized
3 years ago
obligaron
571e770e68
In multiplayer randomly drop unique quest reward or magic item of same type
3 years ago
obligaron
4ce6413db1
Spawn butcher's cleaver and undead crown
3 years ago
obligaron
bac8535564
Sync Little Girl Quest
3 years ago
obligaron
31fe55a161
Prevent hellfire quests from disapearing from quest log
3 years ago
obligaron
3f195ae29b
Use CMD_SPAWNITEM to spawn Ghardbards first item
3 years ago
obligaron
e1082126a3
Use CMD_SPAWNITEM to spawn Zhars first book
3 years ago
ephphatha
9987bb6be2
Avoid unnecessary item initialisation and copy
3 years ago
ephphatha
4f3c70aa95
Move PlaceItemInWorld to items.h/cpp
...
Seems like a more appropriate home
3 years ago
ephphatha
3bbb80d849
Introduce temporary function to advance the global rng state and discard results
3 years ago
ephphatha
3a7ae732cd
use unsigned types for item seeds
3 years ago
obligaron
bf86114ec3
Sync learned/changed spells
3 years ago
Anders Jenbo
e969a8ad01
Invert player to vision relation
3 years ago
Anders Jenbo
13c5c09990
Clean up Light related naming
...
A few are left unchanged as they will be removed in a later commit
3 years ago
Anders Jenbo
6c893e4977
Remove unused code
3 years ago
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