Add scripting API control over unit 'stay'
[freeciv.git] / server / scripting / api_server_notify.h
blob160a602b6b3297aebaef2e306b64f0ad237ee677
1 /*****************************************************************************
2 Freeciv - Copyright (C) 2005 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 *****************************************************************************/
14 #ifndef FC__API_SERVER_NOTIFY_H
15 #define FC__API_SERVER_NOTIFY_H
17 /* common/scriptcore */
18 #include "luascript_types.h"
20 struct lua_State;
22 void api_notify_embassies_msg(lua_State *L, Player *pplayer, Tile *ptile,
23 int event, const char *message);
24 void api_notify_event_msg(lua_State *L, Player *pplayer, Tile *ptile,
25 int event, const char *message);
26 void api_notify_research_msg(lua_State *L, Player *pplayer, bool include_plr,
27 int event, const char *message);
28 void api_notify_research_embassies_msg(lua_State *L, Player *pplayer,
29 int event, const char *message);
31 #endif /* API_SERVER_NOTIFY */