/** * @brief Sets the Lua planet target GFX. * * @luaparam tex Texture to set for the planet targetting. * @luafunc targetPlanetGFX( tex ) */ static int guiL_targetPilotGFX( lua_State *L ) { LuaTex *lt; lt = luaL_checktex( L, 1 ); gui_targetPilotGFX( lt->tex ); return 0; }
/** * @brief Sets the Lua planet target GFX. * * @luatparam Tex tex Texture to set for the planet targeting. * @luafunc targetPlanetGFX( tex ) */ static int guiL_targetPilotGFX( lua_State *L ) { gui_targetPilotGFX( luaL_checktex( L, 1 ) ); return 0; }