Original Source for 1.13 Mod High Resolution version from 12/06/05

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-04-19 11:32:51 +00:00
commit e54aeb96aa
790 changed files with 741287 additions and 0 deletions
+83
View File
@@ -0,0 +1,83 @@
#ifndef __FILES_H
#define __FILES_H
#define FILES_DAT_FILE "TEMP\\files.dat"
void GameInitFiles();
void EnterFiles();
void ExitFiles();
void HandleFiles();
void RenderFiles();
struct files{
UINT8 ubCode; // the code index in the files code table
UINT8 ubFormat; // layout format
UINT32 uiIdNumber; // unique id number
UINT32 uiDate; // time in the world in global time (resolution, minutes)
BOOLEAN fRead;
STR8 pPicFileNameList[2];
struct files *Next; // next unit in the list
};
struct filestring{
STR16 pString;
struct filestring *Next;
};
typedef struct filestring FileString;
typedef struct filestring *FileStringPtr;
// files codes
enum{
FILES_WELCOME_NOTICE,
};
// special codes for special files
enum{
ENRICO_BACKGROUND = 0,
SLAY_BACKGROUND,
MATRON_BACKGROUND,
IMPOSTER_BACKGROUND,
TIFFANY_BACKGROUND,
REXALL_BACKGROUND,
ELGIN_BACKGROUND,
};
extern UINT8 ubFileRecordsLength[];
extern BOOLEAN fEnteredFileViewerFromNewFileIcon;
extern BOOLEAN fNewFilesInFileViewer;
typedef struct files FilesUnit;
typedef struct files *FilesUnitPtr;
extern FilesUnitPtr pFilesListHead;
struct filerecordwidth{
INT32 iRecordNumber;
INT32 iRecordWidth;
INT32 iRecordHeightAdjustment;
UINT8 ubFlags;
struct filerecordwidth *Next;
};
typedef struct filerecordwidth FileRecordWidth;
typedef struct filerecordwidth *FileRecordWidthPtr;
UINT32 AddFilesToPlayersLog(UINT8 ubCode, UINT32 uiDate , UINT8 ubFormat, STR8 pFirstPicFile, STR8 pSecondPicFile );
// add a file about this terrorist
BOOLEAN AddFileAboutTerrorist( INT32 iProfileId );
#endif