ui-init.c File Reference

UI initialistion. More...

#include "angband.h"
#include "game-input.h"
#include "game-event.h"
#include "ui-display.h"
#include "ui-game.h"
#include "ui-input.h"
#include "ui-keymap.h"
#include "ui-knowledge.h"
#include "ui-output.h"
#include "ui-prefs.h"
#include "ui-term.h"


void textui_init (void)
 Initialise the UI.
void textui_cleanup (void)
 Clean up UI.

Detailed Description

UI initialistion.

Copyright (c) 2015 Nick McConnell

This work is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation, version 2, or

b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.

This file is used to initialize various variables and arrays for the Angband game.

Several of the arrays for Angband are built from "template" files in the "lib/edit" directory.

Function Documentation

void textui_cleanup ( void  )

Clean up UI.

References keymap_free(), and textui_prefs_free().

Referenced by main().

void textui_init ( void  )