mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
25 lines
914 B
C
25 lines
914 B
C
#ifndef __ENEMY_SOLDIER_SAVE_H
|
|
#define __ENEMY_SOLDIER_SAVE_H
|
|
|
|
#include "FileMan.h"
|
|
|
|
//This funciton load both the enemies AND the civilians, now only used to load old saves
|
|
BOOLEAN LoadEnemySoldiersFromTempFile();
|
|
|
|
//The new way of loading in enemies from the temp file. ONLY the ENEMIES are stored in the e_* temp file
|
|
BOOLEAN NewWayOfLoadingEnemySoldiersFromTempFile();
|
|
|
|
//The new way of loading in CIVILIANS from the temp file. ONLY the CIVILIEANS are stored in the c_* temp file
|
|
BOOLEAN NewWayOfLoadingCiviliansFromTempFile();
|
|
|
|
|
|
BOOLEAN NewWayOfSavingEnemyAndCivliansToTempFile( INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ, BOOLEAN fEnemy, BOOLEAN fValidateOnly );
|
|
|
|
|
|
|
|
|
|
BOOLEAN SaveEnemySoldiersToTempFile( INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ, UINT8 ubFirstIdTeam, UINT8 ubLastIdTeam, BOOLEAN fAppendToFile );
|
|
|
|
extern BOOLEAN gfRestoringEnemySoldiersFromTempFile;
|
|
|
|
#endif |