Eric Robinson
ebe353f105
Revise how unique cursor graphic is obtained ( #7066 )
2 years ago
Tully
ba529feb3e
Fix infravision monsters flickering when manipulating inventory ( #6687 )
2 years ago
PaintingTs
00c8882c73
Unique items InfoBox now visible at 800X600 and lower resolutions. Stashed unique items show InfoBox near the Stash Panel
2 years ago
staphen
bc4f43490f
Load objcurs when creating starting items
2 years ago
obligaron
2da492d203
Change some functions to Player reference
2 years ago
Gleb Mazovetskiy
f566359e4f
Migrate item data to txtdata/
2 years ago
Gleb Mazovetskiy
a2b94cc03c
Lua: Migrate and organize the rest of debug cmds
...
Fully migrates debug commands to Lua and organizes them into logical
groups.
The CLI `+` syntax now runs Lua, e.g.:
```bash
build/devilutionx '+dev.player.trn.plr("infra")'
```
Chat hotkeys run Lua code if they start with `/lua`, e.g.:
```ini
[NetMsg]
QuickMessage1=/lua message(dev.player.info())
```
2 years ago
Gleb Mazovetskiy
c5a5dc9f5c
Fix a few MSVC warnings
2 years ago
Anders Jenbo
bb2e189327
Convert _sfx_id in to class enum
2 years ago
Gleb Mazovetskiy
17d5f05ada
Fix some compilation warnings
2 years ago
Gleb Mazovetskiy
e5881688f4
`text_render`: Replace optional args with struct
...
4 options args are a bit unwieldy, especially when you want
to pass only the first and the last one.
With a struct, there is no need to specify the default values
for the args in between.
2 years ago
ephphatha
4e6517e54c
load starting loadout dynamically
3 years ago
ephphatha
56a6889225
Use generic code to create starting items for new characters
3 years ago
ephphatha
d13bed2a78
Fix broken test case
3 years ago
ephphatha
24a20ce8e2
Extract uses of MyPlayer to prevent future crashes in tests/game init
3 years ago
ephphatha
5d50b5520d
Add PlayerData lookup helper to avoid manual casts
...
This lets us remove the PlayersData global, and we can use a helper in the player class for convenience.
3 years ago
ephphatha
c1f3dcb705
Use safer versions of random number functions instead of GenerateRnd
3 years ago
Eric Robinson
bc3a421622
Debug: Revise Text ( #6625 )
3 years ago
Gleb Mazovetskiy
e090c8bf31
Extract some player attributes to data files
3 years ago
staphen
4a1da5a777
Fix minlvl when generating translated names for staves
3 years ago
ephphatha
da76e131e4
Add getter/setter for character levels to ensure _pNextExper stays synced
3 years ago
ephphatha
d92d152576
Use unsigned type for character levels
3 years ago
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
3 years ago
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
3 years ago
staphen
470c028c17
Make Bucklers available in shareware
3 years ago
Anders Jenbo
01d2a46a8d
Validate items when unpacking importing
3 years ago
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