LambdaHack-0.6.0.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.Frontend.Chosen

Description

Re-export the operations of the chosen raw frontend (determined at compile time with cabal flags).

Synopsis

Documentation

startup :: DebugModeCli -> IO RawFrontend Source #

Set up and start the main loop providing input and output.

It seems, even on Windows, SDL2 doesn't require a bound thread. so we can avoid the communication overhead of bound threads. However, events can only be pumped in the thread that initialized the video subsystem, so we need to enter the event-gathering loop after the initialization and stay there.

frontendName :: String Source #

The name of the frontend.