Commit Graph

5 Commits

Author SHA1 Message Date
Loic Blot afad90ec41 CSM: add core.after function
* core.after is shared code between client & server
* ModApiUtil get_us_time feature enabled for client
2017-01-22 12:42:36 +01:00
Loïc Blot 22b3e09a97 sound_play & sound_stop support + client_lua_api doc (#5096) 2017-01-22 11:17:41 +01:00
red-001 6e813044dd Add client-sided chat commands (#5092)
CSM: Add client-sided chat commands
2017-01-22 09:05:09 +01:00
Loïc Blot f9680fe507 CSM: Add on_death, on_hp_modification & oh_damage_taken callbacks (#5093)
* Add on_death callback
* Add on_hp_modification & on_damage_taken callbacks
* move preview code to preview.lua
2017-01-22 00:20:55 +01:00
Loic Blot cba1afc8cd Client side modding
* rename GameScripting to ServerScripting
* Make getBuiltinLuaPath static serverside
* Add on_shutdown callback
* Add on_receiving_chat_message & on_sending_chat_message callbacks
* ScriptApiBase: use IGameDef instead of Server
  This permits to share common attribute between client & server
* Enable mod security in client side modding without conditions
2017-01-21 22:50:29 +01:00