blob: c8dbb8e25dc3274530de7241bff76a8a7a4d5415 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef _FILES_H_
#define _FILES_H_
#include <iostream>
#include <fstream>
#include "Support.h"
#define FILE_STRINGS 130
#define Pstr unsigned char *
#define Cstr char *
#define FILE_NAME_SIZE 32
/**> Files Opening <**/
class Files
{
public:
char szSavedGameName[FILE_NAME_SIZE + 1];
short sSavedGameVolume;
int sFile;
int OpenFile(Str255 Name);
Files() : sFile(-1) { }
short OpenSavedGame(Str255 Name);
short OpenFileDialog();
void LoadNamedMap(Str255 Name);
void LoadGame(Str255 Name, int animnum);
void LoadMap();
void StartSave();
void EndSave();
void StartLoad();
void EndLoad();
};
#endif
|