261 Commits
Author SHA1 Message Date
Gleb MazovetskiyandClaude Fable 5 ac2d7fc731 Replace libfmt with std::format
- `fmt::format` with literal format strings -> `std::format`.
- `fmt::format(fmt::runtime(...))` -> `FormatRuntime` in the new
  `utils/format.hpp`, a std::vformat wrapper that is also safe under the
  P2905 lvalue requirement of `std::make_format_args`.
- `fmt::dynamic_format_arg_store` (Lua logging) -> a small hand-rolled
  per-field formatter over `std::variant`, returning `std::expected`.
- `fmt::format_int` -> `std::to_chars`.
- `fmt::join` -> manual joins at the two call sites.
- SDL_audiolib: new patch that rewrites aulib_log.h to use std::format
  and drops the fmt dependency from its CMakeLists.
- The `-static-libstdc++` guard now keys off
  `DEVILUTIONX_STATIC_SDL_AUDIOLIB` instead of `DEVILUTIONX_STATIC_LIBFMT`.
- libfmt removed from CMake, vcpkg, Brewfile, CI workflows,
  Dockerfiles, packaging scripts, UWP project, and docs.
- macOS bumped to 13.3+, iOS to 16.3+ (required for `<format>`)
- Amiga m68k: provide `__cmpdf2`, which is missing from the hard-float
  libgcc multilib but referenced via libstdc++'s long double paths.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-22 00:00:04 +02:00
Anders Jenbo 005e7dcc23 chore: clang-tidy cleanup part 1 2026-04-03 22:57:48 +02:00
Eric Robinson 2e394d0f00 [QOL/UX] Multiplayer Player Colors (#8317) 2026-01-28 17:21:53 -05:00
Trihedraf 4c9bc51ecb don't show debug toggles unless one is active 2026-01-11 13:24:18 +01:00
Eric Robinson d0fb28d544 Cleanup DrawAutomapText (#8345) 2025-12-13 08:36:22 +00:00
Eric Robinson e6032a69a8 Split control.cpp (#8347) 2025-12-13 08:32:02 +00:00
Eric Robinson 714ae37fba Fix Automap Arrow 2025-12-05 14:45:55 +00:00
Trihedraf b8feddb38e Move FPS to top, Adjust Map Text if FPS is on 2025-10-04 18:20:51 +02:00
Anders Jenbo 1c76897f2c Apply simple const rules using clang-tidy 2025-08-16 01:21:36 +02:00
Anders Jenbo 6a4c5e42ec Clean up const and shadow variables 2025-08-15 04:42:15 +02:00
Nick Wicked 922fa6203b BUGFIX: Search Effect not working with Minimap (#7919) 2025-04-14 02:44:36 +02:00
Gleb Mazovetskiy c31836eab8 Split up engine.{h,cpp}
Untangles dependencies by splitting up `engine.{h,cpp}` into 3 files:

1. `primitive_render`
2. `ticks` -- only contains `GetAnimationFrame` for now.
3. `GetWidth2` renamed to `CalculateSpriteTileCenterX` and moved to `levels/dun_tile.hpp`.
2025-01-09 08:51:55 +00:00
Gleb Mazovetskiy a49b1f2d58 Extract Is{Any,None}Of out of engine.hpp
Untangles some of the dependencies
2025-01-08 09:54:56 +09:00
Eric Robinson f1d48d7124 Debug: Insivible (#7543) 2024-11-16 18:26:59 +01:00
KPhoenix fee49ea061 Consolidate walk functions 2024-04-05 09:27:08 +02:00
staphen a99eda1c0b Fix out-of-bounds mini-map ellipse 2024-02-17 15:49:38 -05:00
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