]> git.xonotic.org Git - xonotic/netradiant.git/commit
radiant: code to make radiant able to restart itself
authorThomas Debesse <dev@illwieckz.net>
Sun, 14 Jul 2019 00:53:50 +0000 (02:53 +0200)
committerThomas Debesse <dev@illwieckz.net>
Mon, 22 Jul 2019 02:09:24 +0000 (04:09 +0200)
commitf1fdd4e7e3dbb6d7d236912e4a26b3df15c0bd17
tree56a4a65aa1cd24b237d31f9bf508be5ad5c59dd0
parent5887d2c065503465a3c6ef422b0055b4ace485bd
radiant: code to make radiant able to restart itself

- save preferences
- check for map being modified (this asks user for saving if not yet saved)
- check for a map being currently edited
- start a new instance, with the current map as parameter if exists
- quit current instance if new instance started correctly
radiant/mainframe.cpp
radiant/mainframe.h
radiant/preferences.cpp