Angband
Macros
main-win.c File Reference

Pseudo-UI for end-to-end testing. More...

#include "angband.h"
#include "buildid.h"
#include "cmds.h"
#include "cave.h"
#include "game-world.h"
#include "grafmode.h"
#include "init.h"
#include "savefile.h"
#include "ui-command.h"
#include "ui-display.h"
#include "ui-game.h"
#include "ui-init.h"
#include "ui-input.h"
#include "ui-map.h"
#include "ui-output.h"
#include "ui-prefs.h"
#include "win/win-menu.h"
#include <locale.h>

Macros

#define WINVER   0x0500
 
#define uint   unsigned int
 

Detailed Description

Pseudo-UI for end-to-end testing.

Copyright (c) 1997 Ben Harrison, Skirmantas Kligys, Robert Ruehlmann, and others

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 helps Angband work with Windows computers.

To use this file, use an appropriate "Makefile" or "Project File", make sure that "WINDOWS" and/or "WIN32" are defined somewhere, and make sure to obtain various extra files as described below.

The Windows version has been tested to compile with Visual C++ 5.0 and 6.0, Cygwin 1.0, Borland C++ 5.5 command line tools, and lcc-win32.

The "lib/customize/font-win.prf" contains attr/char mappings for use with the normal "*.fon" font files in the "lib/fonts/" directory.

The "lib/customize/graf-win.prf" contains attr/char mappings for use with the special "*.png" graphics files in the "lib/tiles/" directory, which are activated by a menu item.

The "Term_xtra_win_clear()" function should probably do a low-level clear of the current window, and redraw the borders and other things, if only for efficiency. XXX XXX XXX

A simpler method is needed for selecting the "tile size" for windows. XXX XXX XXX

ToDo: The screensaver mode should implement ScreenSaverConfigureDialog, DefScreenSaverProc, and ScreenSaverProc.

Initial framework (and most code) by Ben Harrison (benh@.nosp@m.phia.nosp@m.l.com).

Original code by Skirmantas Kligys (kligy.nosp@m.s@sc.nosp@m.f.usc.nosp@m..edu).

Additional code by Ross E Becker (becke.nosp@m.rr@c.nosp@m.is.oh.nosp@m.io-s.nosp@m.tate..nosp@m.edu), and Chris R. Martin (crm74.nosp@m.79@t.nosp@m.am200.nosp@m.0.ta.nosp@m.mu.ed.nosp@m.u).

Additional code by Robert Ruehlmann rr9@t.nosp@m.hang.nosp@m.orodr.nosp@m.im.n.nosp@m.et.

Macro Definition Documentation

◆ uint

#define uint   unsigned int

◆ WINVER

#define WINVER   0x0500