LambdaHack- A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone



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



startup :: ClientOptions -> IO RawFrontend Source #

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

Apparently some SDL backends are not thread-safe (; "this should only be run in the thread that initialized the video subsystem, and for extra safety, you should consider only doing those things on the main thread in any case") so we stick to a single bound thread (but not to the main thread; enough is enough and at least in the case of OpenGL all bound threads are supposed to be as good as the main thread).

frontendName :: String Source #

The name of the frontend.