ephphatha
da76e131e4
Add getter/setter for character levels to ensure _pNextExper stays synced
2023-08-24 05:46:44 +02:00
ephphatha
d92d152576
Use unsigned type for character levels
2023-08-24 05:46:44 +02:00
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
2023-08-14 09:59:14 +01:00
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
2023-08-14 01:54:29 +01:00
staphen
470c028c17
Make Bucklers available in shareware
2023-07-21 04:19:34 +02:00
Anders Jenbo
01d2a46a8d
Validate items when unpacking importing
2023-07-10 17:12:34 +02:00
KPhoenix
3354689a5d
Fix Book requirements not updating
2023-07-05 23:54:45 +02:00
Gleb Mazovetskiy
1167b92692
Remove uses of std::tolower
...
`std::tolower` relies on the C locale, which we try to avoid.
2023-06-18 04:55:47 +01:00
staphen
81a034132a
Find valid target when casting scroll from inventory
2023-06-18 04:52:22 +02:00
staphen
26bf9be89d
Fix Item::getName() for Doppelganger's prefix
2023-06-07 15:48:06 +02:00
Anders Jenbo
e707bd0c4a
Drop quest item based on difficulty
2023-06-02 20:48:07 +02:00
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
2023-06-02 20:12:39 +02:00
obligaron
571e770e68
In multiplayer randomly drop unique quest reward or magic item of same type
2023-05-31 22:55:38 +02:00
obligaron
4ce6413db1
Spawn butcher's cleaver and undead crown
2023-05-30 23:17:41 +02:00
obligaron
bac8535564
Sync Little Girl Quest
2023-05-28 01:51:56 +02:00
obligaron
31fe55a161
Prevent hellfire quests from disapearing from quest log
2023-05-28 01:51:56 +02:00
obligaron
3f195ae29b
Use CMD_SPAWNITEM to spawn Ghardbards first item
2023-05-24 00:57:12 +02:00
obligaron
e1082126a3
Use CMD_SPAWNITEM to spawn Zhars first book
2023-05-24 00:57:12 +02:00
ephphatha
9987bb6be2
Avoid unnecessary item initialisation and copy
2023-05-12 06:27:12 +02:00
ephphatha
4f3c70aa95
Move PlaceItemInWorld to items.h/cpp
...
Seems like a more appropriate home
2023-05-12 06:27:12 +02:00
ephphatha
3bbb80d849
Introduce temporary function to advance the global rng state and discard results
2023-05-07 16:35:03 +02:00
ephphatha
3a7ae732cd
use unsigned types for item seeds
2023-05-06 18:02:54 +02:00
obligaron
bf86114ec3
Sync learned/changed spells
2023-04-24 18:19:27 +02:00
Anders Jenbo
e969a8ad01
Invert player to vision relation
2023-04-21 21:25:19 +02:00
Anders Jenbo
13c5c09990
Clean up Light related naming
...
A few are left unchanged as they will be removed in a later commit
2023-04-21 21:25:19 +02:00
Anders Jenbo
6c893e4977
Remove unused code
2023-04-18 21:21:53 +02:00
DakkJaniels
64d5a328e7
modify SpawnOnePremium in items.dat for readability ( #4095 )
2023-04-18 03:12:21 +02:00
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
2023-04-17 03:22:50 +02:00
obligaron
b87711bc08
Reintroduce Player::spellFrom to seperate teleport cursor from queued spell
2023-04-17 03:22:50 +02:00
obligaron
e9e959cc7c
Improve debug drop(u) command (multiplayer compatible, support quest uniques and don't drop items on failure)
2023-04-15 13:13:13 +02:00
obligaron
be82cff1ef
Ensure we don't load graphics for players that aren't on our level
2023-04-14 23:40:08 +02:00
obligaron
1522dc7031
Multiplayer: Add arena potions
2023-04-13 21:20:53 +02:00
obligaron
eeca953615
Introduce UpdateHellfireFlag to set missing CF_HELLFIRE flag
2023-04-13 00:07:00 +02:00
obligaron
2f5a236c4c
Store only none translated names in Item::_iName/_iIName
2023-04-13 00:07:00 +02:00
obligaron
0426908988
Introduce GetTranslatedItemName/GetTranslatedItemNameMagical
2023-04-13 00:07:00 +02:00
obligaron
8c49524aa3
GenerateMagicItemName make translation configurable
2023-04-13 00:07:00 +02:00
obligaron
6f9453c00e
Introduce GenerateStaffName/GenerateStaffNameMagical
2023-04-13 00:07:00 +02:00
obligaron
590c990c80
Introduce Item::getName
2023-04-13 00:07:00 +02:00
obligaron
f65152c556
Introduce GetItemBLevel
2023-04-13 00:07:00 +02:00
obligaron
f154bad1bd
IsPrefixValidForItemType/IsSuffixValidForItemType doesn't rely on gbIsHellfire
2023-04-13 00:07:00 +02:00
obligaron
0d7711ee63
Introduce GetItemPowerPrefixAndSuffix
2023-04-13 00:07:00 +02:00
obligaron
085f98c9a1
Introduce GetStaffPrefixId
2023-04-13 00:07:00 +02:00
Ł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
2023-03-17 04:07:52 +01:00
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.
2023-03-12 19:29:35 +01:00
Gleb Mazovetskiy
c858ab4d2c
Fix some compilation warnings
...
also removes a couple of unused filesystem includes
2023-03-12 13:21:40 +00:00
staphen
695949d901
Sync staff charges after recharging
2023-03-05 23:59:21 +01:00
obligaron
a629aa9153
Disable corner stone of the world in multiplayer
2023-03-02 01:23:59 +01:00
obligaron
44de539afb
Introduce CronerStoneStruct::isAvailable()
2023-03-02 01:23:59 +01:00
obligaron
6a5210e14a
Multiplayer: Enable Lachdanan Quest
2023-02-25 02:48:58 +01:00
obligaron
8b64546b21
Move spectral elixir special logic from Player::CanUseItem to Item::isUsable
2023-02-10 22:28:52 +01:00