Gleb Mazovetskiy
703f3c2e6b
Clean up `IsAreaOk`
...
Follow-up to #6403
3 years ago
Anders Jenbo
28b26da7fa
Fix spawning shrines on custom levels
3 years ago
qndel
384a303afa
add IsAreaOk function instead of multiple manual checks
3 years ago
KPhoenix
9dcf264d65
Fix Book requirements not updating from Objects #2
3 years ago
Eric Robinson
5ebedafd83
Fix Book requirements not updating from Objects ( #6316 )
3 years ago
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
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
qndel
5e47dd57db
refresh staff after using stone shrine
3 years ago
obligaron
d2cf2083a2
Sync Na-Krul Quest
3 years ago
obligaron
d055aa5cbd
Sync break crux correctly
3 years ago
ephphatha
3bbb80d849
Introduce temporary function to advance the global rng state and discard results
3 years ago
staphen
9c3b005c2c
Sync multiplayer door state in ObjChangeMap
3 years ago
Stephen C. Wills
acae4d0ee9
Fix state of doors after ObjChangeMapResync ( #6085 )
3 years ago
staphen
defc52f9a4
Fixes for book lever synchronization
3 years ago
obligaron
bf86114ec3
Sync learned/changed spells
3 years ago
Anders Jenbo
124cc71800
Update realtime lighting when static lights are changed
3 years ago
Anders Jenbo
c3fafa1aff
Move list of lightemitting objects to AddObjectLight()
3 years ago
Anders Jenbo
2f908277a8
Apply pre calculated lighting for quest levels
3 years ago
Anders Jenbo
d8b5c3a970
Fix light brightness pop on load
3 years ago
Anders Jenbo
0f7713bad8
Fix lighting when debugging
3 years ago
Anders Jenbo
828a52dc6d
Clean up ProcessLightsList()
3 years ago
Anders Jenbo
e969a8ad01
Invert player to vision relation
3 years ago
Anders Jenbo
382212b98c
Remove DisableLighting from release builds
3 years ago
obligaron
2e7125fe65
Multiplayer: Sync Lazarus stand
3 years ago
Anders Jenbo
ec9d1b5550
Rename _oLight to applyLighting
3 years ago
obligaron
40bb3aeb45
Replace earflag with DeathReason
3 years ago
obligaron
0e663a8d64
Multiplayer: Sync circles in Lazarus' Lair
3 years ago
obligaron
cb5e2b252c
Multiplayer: Enable Slain Hero
3 years ago
Łukasz
2ec0603896
use `Point`s instead of `x, y`s in GetRndObjLoc (objects.cpp) and portal-related functions (portal.cpp) ( #5897 )
...
Nice cleanup, thanks.
3 years ago
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.
3 years ago
staphen
9af5bf84ba
Arkaine's Valor: Don't check player inventory when processing CMD_OPERATEOBJ
3 years ago
obligaron
55bf5348c4
Multiplayer: Prevent trapped doors to fire twice
3 years ago
obligaron
cd89372512
Introduce Object::name()
3 years ago
staphen
f6fd519561
Remove references to Bard-specific speech IDs
3 years ago
obligaron
3a31539c7e
Multiplayer: Enable Warlord of Blood Quest
...
Update Source/quests.h
Co-authored-by: qndel <stefan551@o2.pl>
3 years ago
Gleb Mazovetskiy
e67ea9b006
Make `MissilesData` const
...
Instead of temporarily modifying `MissileData` around certain calls,
pass the arguments from the outside.
3 years ago
obligaron
023134ef91
Multiplayer: Enable The Chamber of Bone Quest
3 years ago
obligaron
2d4e84c561
Multiplayer: Enable Black Mushroom Quest
3 years ago
KPhoenix
d813f13700
`enum spell_id` -> `enum class SpellID`
3 years ago
Gleb Mazovetskiy
7c53a5d5b3
Reduce `ObjectData` size: 24 bytes -> 11 bytes
...
1. Reduces sizes of integral fields.
2. Merges boolean flags into a single field.
3 years ago
Anders Jenbo
c99f7cf644
Floating numbers ( #5639 )
...
Co-authored-by: qndel <stefan551@o2.pl>
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
KPhoenix
8db521727d
`enum missile_id` -> `enum class MissileID`
...
Changes `enum missile_id` to `enum class MissileID`
3 years ago
obligaron
a935066180
Multiplayer: Enable Halls of the Blind Quest
3 years ago
obligaron
600cb656fb
Multiplayer: Enable Arkaine's Valor Quest
3 years ago
obligaron
f34cfeb565
Sync sign chest
3 years ago
obligaron
610e80f098
Sync break crux
3 years ago
obligaron
0711e6af4d
Sync SpawnQuestItem (multiplayer quest items)
3 years ago
obligaron
5fe20e3d32
Make Lazarus quest map multiplayer compatible
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
Gleb Mazovetskiy
759ca7f055
`WorldTileRectangle/Size`
...
Adds a custom sized type for the world tile rectagle.
This allows us to better express intent.
It also allows us to make certain globals smaller, e.g. `THEME_LOC`.
3 years ago