home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwwin
/
xettings.h_
/
xettings.bin
Wrap
Text File
|
1995-11-14
|
3KB
|
96 lines
#if !defined(_SETTINGS_H)
#define _SETTINGS_H
/**********************************************************************
*
* File : settings.h
*
* Abstract : The interface to some functions which handle the
* persistent settings of the viewer.
*
* This application had been written to be compatible with
* both the fixed and floating-point versions of the
* RenderWare library, i.e., it uses the macros CREAL,
* INT2REAL, RAdd, RDiv, RSub etc. If your application is
* intended for the floating-point version of the library
* only these macros are not necessary.
*
* Please note that this application is intended for
* demonstration purposes only. No support will be
* provided for this code and it comes with no warranty.
*
**********************************************************************
*
* This file is a product of Criterion Software Ltd.
*
* This file is provided as is with no warranties of any kind and is
* provided without any obligation on Criterion Software Ltd. or
* Canon Inc. to assist in its use or modification.
*
* Criterion Software Ltd. will not, under any
* circumstances, be liable for any lost revenue or other damages arising
* from the use of this file.
*
* Copyright (c) 1994, 1995 Criterion Software Ltd.
* All Rights Reserved.
*
* RenderWare is a trademark of Canon Inc.
*
**********************************************************************/
/**********************************************************************
*
* Constant definitions.
*
**********************************************************************/
/*
* Number of MRU files we store.
*/
#define MAXMRUFILES 4
/**********************************************************************
*
* Exported Data.
*
**********************************************************************/
/*
* This flag is set if the user has modified the settings in this
* session.
*/
extern RwBool SettingsChanged;
/*
* Basic options.
*/
extern COLORREF BackgroundColor;
extern RwBool CenterBackdrop;
extern char BackdropFileName[_MAX_PATH];
extern RwBool ShowHighlight;
extern RwBool ShowLights;
extern RwBool PlayMovies;
extern RwBool Momentum;
/*
* MRU file names.
*/
extern int NumMRUFiles;
extern char *MRUFiles[MAXMRUFILES];
/**********************************************************************
*
* Functions.
*
**********************************************************************/
extern void ReadSettings(void);
extern void WriteSettings(BOOL writeAll);
extern void AppendMRUFileMenuItems(HWND window);
extern void DeleteMRUFileMenuItems(HWND window);
extern void AddFileToMRUFileList(char *fileName);
/**********************************************************************/
#endif /* !defined(_SETTINGS_H) */