blob: 9cc36eda02126c72d712488e637b966e76fa25a8 (
plain)
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
|
#ifndef T2DLL_T2STOPINFOARRAY_H
#define T2DLL_T2STOPINFOARRAY_H
#include "../common.h"
#include "LArray.h"
class AFX_CLASS_EXPORT T2StopInfoArray : private LArray {
public:
T2StopInfoArray();
virtual ~T2StopInfoArray();
void Init(int count);
void AllClear();
void Expand(EEquipPos pos, int count);
BOOL IsStopPos(int i, ERequestUpDown upDown);
BOOL IsOnStopPos(int i, ERequestUpDown upDown);
BOOL IsOffStopPos(int i, ERequestUpDown upDown);
void SetOnStop(int i, ERequestUpDown upDown);
void SetOffStop(int i, ERequestUpDown upDown);
void ClearOnStop(int i, ERequestUpDown upDown);
void ClearOffStop(int i, ERequestUpDown upDown);
char GetStopAt(int i, ERequestUpDown upDown);
void SetStopAt(int i, ERequestUpDown upDown, char);
int GetIndex(int i, ERequestUpDown upDown) const;
static T2StopInfoArray* ReadStopInfoArray(T2Archive& archive);
static void WriteStopInfoArray(T2StopInfoArray* array, T2Archive& archive);
};
#endif
|