Angband
Typedefs | Functions | Variables
win-layout.c File Reference

Shape an initial or default display on windows systems. More...

#include <windows.h>
#include <windowsx.h>
#include "ui-term.h"
#include "z-virt.h"
#include "win-term.h"

Typedefs

typedef unsigned int uint

Functions

int default_layout_win (term_data *data, int maxterms)
 Default window layout function.

Variables

int arg_graphics
int arg_graphics_nice

Detailed Description

Shape an initial or default display on windows systems.

Copyright (c) 2012 Brett Reid

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.

Typedef Documentation

typedef unsigned int uint

Function Documentation

int default_layout_win ( term_data data,
int  maxterms 
)

Default window layout function.

Just a big list of what to do for a specific screen resolution.

Note: graphics modes are hardcoded, using info from angband/lib/xtra/graf/graphics.txt at the time of this writing

Return values: 0 - Success -1 - Invalid argument -3 - Out of memory

References arg_graphics, arg_graphics_nice, term_data::cols, i, term_data::rows, string_free(), string_make(), tile_height, tile_width, and void().

Variable Documentation

int arg_graphics

Referenced by default_layout_win(), and main().

int arg_graphics_nice

Referenced by default_layout_win().