Commit Graph
848 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 88bbf4f913 Improve DiabloMsg handling
1. Simplified implementation.
2. Now adjusts the box size to fit the content (e.g. when wrapping
   failed or when there are too many lines).
2023-10-14 09:45:24 +01:00
Gleb Mazovetskiy d1d27c8368 Rename error -> diablo_msg 2023-10-14 09:45:24 +01:00
Vinícius Ferrão 2644ec73af Add Crippling Shrines from Hellfire (#6273) 2023-09-03 01:42:59 +02:00
Gleb Mazovetskiy 5355146d51 Use structured bindings 2023-08-29 12:56:49 +01:00
Anders Jenbo 15ed246239 Merge branch 'master' of github.com:diasurgical/devilutionX into development 2023-08-26 01:09:03 +02:00
ephphatha 8ed451b051 Move AddPlrExperience to class member function of Player 2023-08-24 05:46:44 +02:00
ephphatha da76e131e4 Add getter/setter for character levels to ensure _pNextExper stays synced 2023-08-24 05:46:44 +02:00
Gleb Mazovetskiy 9ae72f0269 Remove PointsInRectangle factory functions
These are no longer needed in C++17 thanks to CTAD.
2023-08-20 15:37:28 +09:00
Gleb Mazovetskiy ba4def9382 Use utils/algorithm/container.hpp in more places 2023-08-19 19:57:11 +09:00
Gleb Mazovetskiy 8c1a847f41 Remove utils/stdcompat/string_view.hpp 2023-08-14 09:59:14 +01:00
Gleb Mazovetskiy 62d067b653 Remove utils/stdcompat/abs.hpp 2023-08-14 01:54:29 +01:00
Gleb Mazovetskiy 703f3c2e6b Clean up IsAreaOk
Follow-up to #6403
2023-08-13 19:28:00 +01:00
staphen 98927e7a6e Sync potion drops from Divine shrine 2023-08-12 20:17:14 +02:00
Anders Jenbo 28b26da7fa Fix spawning shrines on custom levels 2023-08-12 17:44:52 +02:00
qndel 384a303afa add IsAreaOk function instead of multiple manual checks 2023-08-12 17:25:34 +02:00
KPhoenix 9dcf264d65 Fix Book requirements not updating from Objects #2 2023-07-08 19:38:39 +02:00
Eric Robinson 5ebedafd83 Fix Book requirements not updating from Objects (#6316) 2023-07-07 01:46:17 +02:00
Anders Jenbo 13e3217578 Only play the dialogs for the initating player (#6173)
* Only play the The Chamber of Bone lore for the reader

* Only play dialog for the player who is having the conversation

* Allow rock quest when skipping to level 5
2023-06-03 01:37:37 +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
qndel 5e47dd57db refresh staff after using stone shrine 2023-05-28 12:32:52 +02:00
obligaron d2cf2083a2 Sync Na-Krul Quest 2023-05-28 01:51:56 +02:00
obligaron d055aa5cbd Sync break crux correctly 2023-05-22 22:41:43 +02:00
ephphatha 3bbb80d849 Introduce temporary function to advance the global rng state and discard results 2023-05-07 16:35:03 +02:00
staphen 9c3b005c2c Sync multiplayer door state in ObjChangeMap 2023-05-07 05:20:47 +02:00
Stephen C. Wills acae4d0ee9 Fix state of doors after ObjChangeMapResync (#6085) 2023-05-07 01:01:08 +02:00
staphen defc52f9a4 Fixes for book lever synchronization 2023-05-04 04:55:01 +02:00
obligaron bf86114ec3 Sync learned/changed spells 2023-04-24 18:19:27 +02:00
Anders Jenbo 124cc71800 Update realtime lighting when static lights are changed 2023-04-24 17:20:17 +02:00
Anders Jenbo c3fafa1aff Move list of lightemitting objects to AddObjectLight() 2023-04-24 17:20:17 +02:00
Anders Jenbo 2f908277a8 Apply pre calculated lighting for quest levels 2023-04-24 17:20:17 +02:00
Anders Jenbo d8b5c3a970 Fix light brightness pop on load 2023-04-22 11:32:26 -04:00
Anders Jenbo 0f7713bad8 Fix lighting when debugging 2023-04-22 11:32:26 -04:00
Anders Jenbo 828a52dc6d Clean up ProcessLightsList() 2023-04-22 17:14:19 +02:00
Anders Jenbo e969a8ad01 Invert player to vision relation 2023-04-21 21:25:19 +02:00
Anders Jenbo 382212b98c Remove DisableLighting from release builds 2023-04-21 21:25:19 +02:00
obligaron 2e7125fe65 Multiplayer: Sync Lazarus stand 2023-04-20 22:34:49 +02:00
Anders Jenbo ec9d1b5550 Rename _oLight to applyLighting 2023-04-19 19:41:10 +02:00
obligaron 40bb3aeb45 Replace earflag with DeathReason 2023-04-14 23:34:54 +02:00
obligaron 0e663a8d64 Multiplayer: Sync circles in Lazarus' Lair 2023-04-10 15:07:43 +02:00
obligaron cb5e2b252c Multiplayer: Enable Slain Hero 2023-04-08 12:46:13 +02:00
Łukasz 2ec0603896 use Points instead of x, ys in GetRndObjLoc (objects.cpp) and portal-related functions (portal.cpp) (#5897)
Nice cleanup, thanks.
2023-03-18 21:46:00 +01:00
Gleb Mazovetskiy f34dbf2aa9 Fix a libfmt compilation error on master
`InfoString` is a `StringOrView` and libfmt does not know how to print
that. Pass it a `string_view` instead.
2023-03-12 14:54:14 +00:00
staphen 9af5bf84ba Arkaine's Valor: Don't check player inventory when processing CMD_OPERATEOBJ 2023-03-05 17:55:26 +01:00
obligaron 55bf5348c4 Multiplayer: Prevent trapped doors to fire twice 2023-02-27 05:03:57 +01:00
obligaron cd89372512 Introduce Object::name() 2023-02-26 04:40:31 +01:00
staphen f6fd519561 Remove references to Bard-specific speech IDs 2023-02-25 07:54:11 +01:00
obligaronandqndel 3a31539c7e Multiplayer: Enable Warlord of Blood Quest
Update Source/quests.h

Co-authored-by: qndel <[email protected]>
2023-02-20 21:30:50 +01:00
Gleb Mazovetskiy e67ea9b006 Make MissilesData const
Instead of temporarily modifying `MissileData` around certain calls,
pass the arguments from the outside.
2023-02-15 10:47:08 +00:00
obligaron 023134ef91 Multiplayer: Enable The Chamber of Bone Quest 2023-02-11 18:22:05 +01:00
obligaron 2d4e84c561 Multiplayer: Enable Black Mushroom Quest 2023-02-07 08:02:38 +01:00