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