ephphatha
a592683f74
Use player references when drawing player markers on the automap
2023-11-09 17:40:50 +01:00
Gleb Mazovetskiy
c5a5dc9f5c
Fix a few MSVC warnings
2023-11-05 12:57:59 +00:00
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.
2023-10-25 09:19:14 +01:00
qndel
fe52258fb1
fix line between doors in lazarus' level
2023-10-22 10:07:20 +02:00
qndel
41ae45d96b
fix part of vertical door getting overdrawn
2023-10-22 10:07:20 +02:00
qndel
632b4797f6
fix drawing corners
2023-10-22 10:07:20 +02:00
KPhoenix
e18b37a7df
Bugfix: Automap Grates not rendering correctly
2023-10-03 03:49:30 +02:00
Eric Robinson
ffc7190898
Automap: Add minimap display option ( #6612 )
2023-09-26 03:37:35 +02:00
Eric Robinson
4c7e2edd06
Automap: Transparency ( #6607 )
2023-09-24 21:30:44 +00:00
Eric Robinson
ae926c1e99
Debug: Add DrawVision to automap ( #6649 )
2023-09-23 04:10:16 +02:00
KPhoenix
13cd49b423
Automap: Draw grates as doted line
2023-09-20 06:22:52 +02:00
Gleb Mazovetskiy
848f234aed
Add automap type cycling controls
...
Makes cycling the automap type separate from toggling it on/off.
The TAB key can still be used for quick on/off as usual, while
the new Cycle key ("m" by default) can be used to switch between available
display types.
`Get/NextDebugMonster` debug keybind changed to "v" to avoid a conflict.
2023-09-20 04:50:52 +01:00
Eric Robinson
bc3a421622
Debug: Revise Text ( #6625 )
2023-09-19 00:43:30 +00:00
KPhoenix
95d2e9bd42
Update automap.cpp
2023-09-17 05:39:29 +01:00
Anders Jenbo
c9858c3c99
Fix spelling of fallthrough
2023-09-16 04:15:51 +02:00
Eric Robinson
d63fa514ab
Automap: Pentagram ( #6606 )
2023-09-16 01:12:03 +02:00
Gleb Mazovetskiy
92cca421f9
Automap: Minor cleanups
2023-09-15 22:07:18 +01:00
Anders Jenbo
c2766d5da9
Fix warnings in automap.cpp
2023-09-15 19:59:27 +02:00
KPhoenix
ec8a9c8e61
Lava
2023-09-15 19:20:49 +02:00
Eric Robinson
c754d95ecc
Fix various Automap drawing issues ( #6555 )
2023-09-15 17:01:09 +02:00
Eric Robinson
0f3c74af33
Avoid rounding issues in automap and allow an extra zoom out step
2023-09-13 19:33:59 +02:00
Gleb Mazovetskiy
e049bbb7a4
Add AutomapTile#hasAnyFlag
...
For use in #6555
2023-09-13 13:48:23 +01:00
Gleb Mazovetskiy
af869ac732
Merge branch 'master' into dev-merged
2023-09-01 20:49:34 +01:00
Eric Robinson
e3d79ae1c1
Fix automap ( #6513 )
2023-08-29 13:43:13 +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
Eric Robinson
074a1f2e0c
Rename: Loopback -> Offline ( #6300 )
2023-07-03 06:37:53 +02:00
Gleb Mazovetskiy
5bf0b8bc96
Add more missing <cstdint> includes
...
https://github.com/diasurgical/devilutionX/pull/6095 only added includes
for `uint32_t`, this PR also adds the includes for the remaining
integral types.
2023-05-10 16:29:27 +01:00
obligaron
0d2e43daa8
Add search monster/item/object debug commands
2023-02-26 04:40:31 +01:00
obligaron
60d9f35d5a
Make SearchAutomapItem parameterizable
2023-02-26 04:40:31 +01:00
Anders Jenbo
a29fc3a074
Correct casing for Player::isWalking()
2023-01-12 09:42:49 +01:00
qndel
c05c4c0f55
fix typos
2022-09-17 20:19:05 +02:00
Anders Jenbo
e348fa3b1e
Implement town map
2022-09-12 08:09:17 +02:00
Anders Jenbo
f9fae00958
Fix formatting
2022-08-31 02:29:02 +02:00
zaid-ismail031
b0c9a8024e
Refactor missiles.cpp to use Direction enum instead of magic Point/Displacement constants.
2022-08-30 21:25:44 +02:00
Gleb Mazovetskiy
188dc79f6e
Make Players a vector
2022-08-26 13:22:04 +09:00
Gleb Mazovetskiy
6327e713e0
Lowercase all file paths
...
We want to be able to use unpacked MPQs on low-end platforms
(PS2/rg99/etc).
This is tricky on case-sensitive filesystems. Avoids case issues by
lowercasing all paths in the code (then we'll just need lowercased
listfiles).
2022-08-20 23:49:23 +01:00
obligaron
2493f06116
ActorPosition: Remove offset, offset2 and velocity
2022-08-03 21:25:21 +02:00
obligaron
a410e989bf
Remove ScrollInfo
2022-08-03 21:25:21 +02:00
Vladimir Olteanu
77353d2db9
Turn AmLine* into inline function
2022-08-02 21:12:40 +02:00
Anders Jenbo
d1189388f5
Use user by reference
2022-07-17 18:41:05 +02:00
Anders Jenbo
f6f05da485
Clean up game name and password variables
2022-07-16 20:15:07 +02:00
Gleb Mazovetskiy
04c3d85179
Remove MAX_PATH
...
Rather than using the Windows-like `MAX_PATH`, what we really want is 2
things:
1. Maximum path of a file in an MPQ. This is now `MaxMpqPathSize`.
2. Max size for the known monster paths. This is now 64 for sounds and
TRNs, which is more than enough (picked arbitrarily).
2022-07-16 11:14:16 +01:00
Gleb Mazovetskiy
643c707c55
Remove strncmp
2022-07-16 10:59:40 +01:00
Anders Jenbo
3ae834148a
Split event handeling from general miniwin features
2022-07-10 21:13:39 +02:00
Cesar Canassa
6579aa53c5
Normalise the player and monster walking function naming ( #4877 )
...
Both player and monster walking functions are not named WalkNorthwards, WalkSouthwards and WalkSideways.
Also renames the PLT_MODE enum to follow the same pattern and removes the comments that are now unnecessary
2022-07-03 20:28:06 +02:00
Anders Jenbo
72656b3011
Move path and palette to the engine folder
2022-06-24 16:34:20 +02:00
Anders Jenbo
6d56058708
Move level generation to subfolder
2022-06-23 09:21:58 +02:00
obligaron
19749420b5
Introduce Player::isOnActiveLevel
2022-06-18 17:05:30 +02:00
Gleb Mazovetskiy
1fc8ecb6f6
Add fmt::runtime annotations for C++20 support
...
`fmt` requires non-contexpr format string arguments to be wrapped in
`fmt::runtime` in C++20.
2022-06-14 12:46:36 +01:00