Project

General

Profile

« Previous | Next » 

Revision 4c59f37c

Added by danij almost 14 years ago

Implemented a quick solution to allow the "quit" ccmd to shutdown the engine when in "null-game" mode:
  • Relocated the "quit" ccmd into the engine.
  • Added a TryShutdown() method to the game_export_t interface, which when called asks the currently loaded game to soft-shutdown. On game-side we then utilize the existing menu-quit mechanic to ask for conformation.

Todo: Post 1.9.0-beta6.10 we should re-evaluate the high-level API for this kind of interaction.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences