Added read/write template functions for save data, small Load/Save arguments unification
This commit is contained in:
@@ -49,12 +49,12 @@ public:
|
||||
bool PhoneAtThisPosition(CVector);
|
||||
bool HasMessageBeenDisplayed(int);
|
||||
bool IsMessageBeingDisplayed(int);
|
||||
void Load(CPhoneInfo *source, uint8 buffer);
|
||||
void Load(uint8 *buf, uint32 size);
|
||||
void Save(uint8 *buf, uint32 *size);
|
||||
void SetPhoneMessage_JustOnce(int phoneId, wchar *msg1, wchar *msg2, wchar *msg3, wchar *msg4, wchar *msg5, wchar *msg6);
|
||||
void SetPhoneMessage_Repeatedly(int phoneId, wchar *msg1, wchar *msg2, wchar *msg3, wchar *msg4, wchar *msg5, wchar *msg6);
|
||||
int GrabPhone(float, float);
|
||||
void Initialise(void);
|
||||
void Save(CPhoneInfo*, uint32*);
|
||||
void Shutdown(void);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user