UCC Code Repository

Contents of /projects/roguelike/port.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.8 - (show annotations) (download)
Mon Apr 10 10:47:39 2006 UTC (15 years, 1 month ago) by banana
Branch: MAIN
Changes since 1.7: +3 -1 lines
File MIME type: text/plain
Changed title to "Warlike" and added inter-keypress display

1 #pragma once
3 //Includes
4 #include <wchar.h>
5 #include "core.h"
7 //Misc hooks
8 void port_quit(); //Perform cleanup, save preferences, and exit
9 void port_display(raw_screen);
11 //IO hooks
12 // It is assumed that the user files and data files may have to be in different
13 // places, because on some platforms installed application areas are not writable
14 wchar_t *port_open_data(const char *path); //Open a file from the data directory
15 wchar_t *port_open_user(const char *path); //Open a file from the user directory
16 void port_save_user(const char *path, wchar_t *data); //Save a file to the user directory

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26