added forcing user to restart program after adding level collection
authorHolger Schemel <info@artsoft.org>
Tue, 5 Dec 2023 18:05:08 +0000 (19:05 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 5 Dec 2023 18:05:29 +0000 (19:05 +0100)
commit375d84a0da3b1254915bd034fe327f094e87a4a1
tree58944e9702f07ab61d1dea2aa9be39fdc2caa90f
parenta42320dc0f3af61bee63a8d81508e6ff5b44c41b
added forcing user to restart program after adding level collection

When adding a level group or an artwork group by dropping a zip file
into the program window, show a request dialog that the program has to
be restarted to activate the new content.

Unfortunately, this is currently required to rebuild the internal
level and artwork set structures (and should be improved to be rebuild
them on-the-fly without a program restart).

Before, the program was just stopped with a user-unfriendly message
reporting a fatal error.
src/events.c
src/libgame/setup.c