mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Major refactor of the Python API: moved modules into subdirectories, replaced app.py with api.py, and added new audio and utility modules. Backend C++ code now tracks command execution results, exposes them via the API, and improves command result handling. Also includes updates to the SRS audio handler, random string generation, and VSCode launch configurations.
14 lines
620 B
C
14 lines
620 B
C
#pragma once
|
|
#include "framework.h"
|
|
#include "luatools.h"
|
|
|
|
void DllExport LogInfo(lua_State* L, string message);
|
|
void DllExport LogWarning(lua_State* L, string message);
|
|
void DllExport LogError(lua_State* L, string message);
|
|
void DllExport Log(lua_State* L, string message, unsigned int level);
|
|
int DllExport dostring_in(lua_State* L, string target, string command);
|
|
int DllExport dostring_in(lua_State* L, string target, string command, string& result);
|
|
void DllExport getAllUnits(lua_State* L, map<unsigned int, json::value>& unitJSONs);
|
|
unsigned int DllExport TACANChannelToFrequency(unsigned int channel, char XY);
|
|
|