Files
Gleb Mazovetskiy a2b94cc03c Lua: Migrate and organize the rest of debug cmds
Fully migrates debug commands to Lua and organizes them into logical
groups.

The CLI `+` syntax now runs Lua, e.g.:

```bash
build/devilutionx '+dev.player.trn.plr("infra")'
```

Chat hotkeys run Lua code if they start with `/lua`, e.g.:

```ini
[NetMsg]
QuickMessage1=/lua message(dev.player.info())
```
2023-11-07 22:27:48 +00:00

11 lines
181 B
C++

#pragma once
#ifdef _DEBUG
#include <sol/sol.hpp>
namespace devilution {
sol::table LuaDevLevelModule(sol::state_view &lua);
} // namespace devilution
#endif // _DEBUG