Project

General

Profile

Bug #840 ยป 0033-Lua-Move-tile-known-and-seen-to-Tile-module.patch

Marko Lindqvist, 09/09/2024 06:34 AM

View differences:

common/scriptcore/tolua_game.pkg
@ link_text(lua_State *L, City *self);
const char *api_methods_city_tile_link
@ tile_link_text(lua_State *L, City *self);
bool api_methods_tile_known
@ known(lua_State *L, Tile *self, Player *watcher);
bool api_methods_tile_seen
@ seen(lua_State *L, Tile *self, Player *watcher);
}
$[
......
@ sq_distance (lua_State *L, Tile *self, Tile *other);
const char *api_methods_tile_link
@ link_text(lua_State *L, Tile *self);
bool api_methods_tile_known
@ known(lua_State *L, Tile *self, Player *watcher);
bool api_methods_tile_seen
@ seen(lua_State *L, Tile *self, Player *watcher);
}
$[
    (1-1/1)