mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged New Inventory Project into main branch
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
#include "Soldier Init List.h"
|
||||
|
||||
//Merc scheduling actions
|
||||
//NOTE: Any modifications to this enumeration also require updating the text in EditorMercs.c used
|
||||
// in the editor for merc schedule purposes.
|
||||
//NOTE: Any modifications to this enumeration also require updating the text in EditorMercs.c used
|
||||
// in the editor for merc schedule purposes.
|
||||
enum
|
||||
{
|
||||
SCHEDULE_ACTION_NONE,
|
||||
@@ -79,19 +79,19 @@ void PostNextSchedule( SOLDIERTYPE *pSoldier );
|
||||
//we then need to post the events and process schedules for the time that we have been gone.
|
||||
void PostSchedules();
|
||||
|
||||
//Sorts the schedule in chronological order. Returns TRUE if any sorting took place.
|
||||
//Sorts the schedule in chronological order. Returns TRUE if any sorting took place.
|
||||
BOOLEAN SortSchedule( SCHEDULENODE *pSchedule );
|
||||
//Adds a schedule to the list. COPIES THE DATA OVER (ALLOCATES NEW NODE!)
|
||||
//Adds a schedule to the list. COPIES THE DATA OVER (ALLOCATES NEW NODE!)
|
||||
void CopyScheduleToList( SCHEDULENODE *pSchedule, SOLDIERINITNODE *pNode );
|
||||
//Entering the editor automatically removes all events posted.
|
||||
void PrepareSchedulesForEditorEntry();
|
||||
//Leaving the editor and entering the game posts the events.
|
||||
void PrepareSchedulesForEditorExit();
|
||||
//Packs all of the scheduleIDs, and updates the links. This is done whenever necessary and
|
||||
//Packs all of the scheduleIDs, and updates the links. This is done whenever necessary and
|
||||
//before saving the map, as this forces the IDs to align with the SOLDIERINITNODE->ubScheduleID's.
|
||||
void OptimizeSchedules();
|
||||
|
||||
void PerformActionOnDoorAdjacentToGridNo( UINT8 ubScheduleAction, UINT16 usMapIndex );
|
||||
void PerformActionOnDoorAdjacentToGridNo( UINT8 ubScheduleAction, INT16 sMapIndex );
|
||||
|
||||
BOOLEAN ExtractScheduleEntryAndExitInfo( SOLDIERTYPE * pSoldier, UINT32 * puiEntryTime, UINT32 * puiExitTime );
|
||||
BOOLEAN ExtractScheduleDoorLockAndUnlockInfo( SOLDIERTYPE * pSoldier, UINT32 * puiOpeningTime, UINT32 * puiClosingTime );
|
||||
|
||||
Reference in New Issue
Block a user