mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Move some more sources to shared target
This commit is contained in:
parent
4e9aa7dc77
commit
b61c83a19d
12 changed files with 33 additions and 45 deletions
|
@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "clientdynamicinfo.h"
|
||||
#include "client/client.h"
|
||||
#include "client/renderingengine.h"
|
||||
#include "client/texturepaths.h"
|
||||
#include "network/networkprotocol.h"
|
||||
#include "content/mod_configuration.h"
|
||||
#include "threading/mutex_auto_lock.h"
|
||||
|
@ -330,8 +331,9 @@ int ModApiMainMenu::l_get_games(lua_State *L)
|
|||
lua_pushinteger(L, game.release);
|
||||
lua_settable(L, top_lvl2);
|
||||
|
||||
auto menuicon = getImagePath(game.path + DIR_DELIM "menu" DIR_DELIM "icon.png");
|
||||
lua_pushstring(L, "menuicon_path");
|
||||
lua_pushstring(L, game.menuicon_path.c_str());
|
||||
lua_pushstring(L, menuicon.c_str());
|
||||
lua_settable(L, top_lvl2);
|
||||
|
||||
lua_pushstring(L, "addon_mods_paths");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue