Eric Robinson
4c7e2edd06
Automap: Transparency ( #6607 )
3 years ago
Eric Robinson
ae926c1e99
Debug: Add DrawVision to automap ( #6649 )
3 years ago
KPhoenix
13cd49b423
Automap: Draw grates as doted line
3 years ago
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.
3 years ago
Eric Robinson
bc3a421622
Debug: Revise Text ( #6625 )
3 years ago
KPhoenix
95d2e9bd42
Update automap.cpp
3 years ago
Anders Jenbo
c9858c3c99
Fix spelling of fallthrough
3 years ago
Eric Robinson
d63fa514ab
Automap: Pentagram ( #6606 )
3 years ago
Gleb Mazovetskiy
92cca421f9
Automap: Minor cleanups
3 years ago
Anders Jenbo
c2766d5da9
Fix warnings in automap.cpp
3 years ago
KPhoenix
ec8a9c8e61
Lava
3 years ago
Eric Robinson
c754d95ecc
Fix various Automap drawing issues ( #6555 )
3 years ago
Eric Robinson
0f3c74af33
Avoid rounding issues in automap and allow an extra zoom out step
3 years ago
Gleb Mazovetskiy
e049bbb7a4
Add `AutomapTile#hasAnyFlag`
...
For use in #6555
3 years ago
Eric Robinson
e3d79ae1c1
Fix automap ( #6513 )
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
Eric Robinson
074a1f2e0c
Rename: Loopback -> Offline ( #6300 )
3 years ago
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.
3 years ago
obligaron
0d2e43daa8
Add search monster/item/object debug commands
3 years ago
obligaron
60d9f35d5a
Make SearchAutomapItem parameterizable
3 years ago
Anders Jenbo
a29fc3a074
Correct casing for Player::isWalking()
3 years ago
qndel
c05c4c0f55
fix typos
4 years ago
Anders Jenbo
e348fa3b1e
Implement town map
4 years ago
Anders Jenbo
f9fae00958
Fix formatting
4 years ago
zaid-ismail031
b0c9a8024e
Refactor missiles.cpp to use Direction enum instead of magic Point/Displacement constants.
4 years ago
Gleb Mazovetskiy
188dc79f6e
Make `Players` a vector
4 years ago
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).
4 years ago
obligaron
2493f06116
ActorPosition: Remove offset, offset2 and velocity
4 years ago
obligaron
a410e989bf
Remove ScrollInfo
4 years ago
Vladimir Olteanu
77353d2db9
Turn AmLine* into inline function
4 years ago
Anders Jenbo
d1189388f5
Use user by reference
4 years ago
Anders Jenbo
f6f05da485
Clean up game name and password variables
4 years ago
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).
4 years ago
Gleb Mazovetskiy
643c707c55
Remove strncmp
4 years ago
Anders Jenbo
3ae834148a
Split event handeling from general miniwin features
4 years ago
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
4 years ago
Anders Jenbo
72656b3011
Move path and palette to the engine folder
4 years ago
Anders Jenbo
6d56058708
Move level generation to subfolder
4 years ago
obligaron
19749420b5
Introduce Player::isOnActiveLevel
4 years ago
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.
4 years ago
Gleb Mazovetskiy
779ccaca17
Overhaul translation fetching
...
1. Do not modify the map after loading. Instead, return string views
(guaranteed to be null-terminated) from look up functions and return
the key directly if not found.
2. Use an `unorded_map` instead of `map` where available (C++20).
Saves a bit of RAM (~50 KiB) and improves lookup performance.
4 years ago
Anders Jenbo
1203514383
Clean up use of currlevel
4 years ago
qndel
354e329644
Players[MyPlayerId] -> MyPlayer
4 years ago
obligaron
bc15bdf3a9
Remove PANEL_ defines and replace them with GetMainPanel()
4 years ago
obligaron
1124dd1bd2
Don't show hostile players in automap
4 years ago
obligaron
70c5cf6cad
Fix item label text with open stash ( #4595 )
...
* Item labels: check if stash is open in IsMouseOverGameArea
* Add IsLeft/RightPanelOpen
4 years ago
Anders Jenbo
0645d9b2a1
Correct missing hellfire level mapping in leveltype
...
Hellfire never added the 2 new dungion types, instead it makes
additional checks on currlevel. This is confusing and mess, so cleaned
it up.
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
KPhoenix
d544a467e6
Show game Difficulty in Automap ( #3867 )
4 years ago