From 493e4317e19725e2de2d51753e5c1906bf9c64ba Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Dec 2014 23:27:31 +0000 Subject: Implemented messageboxes and the ability for the game module to send them to remote clients, send a messagebox if the player's ship is destroyed, this fixes having to press the respawn button twice. added messageboxes on network connection failures. --- src/core/application.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/application.h') diff --git a/src/core/application.h b/src/core/application.h index 3f99187..da722db 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -82,6 +82,12 @@ public: /// loading message notification virtual void notify_loader(const std::string &message); + + /// messagebox notifications + virtual void notify_messagebox(const std::string & text, const std::string &label1, const std::string command1, const std::string &label2, const std::string command2); + + /// messagebox notifications + void messagebox(const char *text, const char *label1 = 0, const char *command1 = 0, const char *label2 = 0, const char *command2 = 0); /// connect notification virtual void notify_connect(); -- cgit v1.2.3