mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
* Fixing upper/lower case for includes types.h, zconf.h and zlib.h were renamed so that global includes like Types.h are not used.
31 lines
850 B
C
31 lines
850 B
C
#include "builddefines.h"
|
|
|
|
#ifdef JA2EDITOR
|
|
#ifndef __EDITOR_UNDO_H
|
|
#define __EDITOR_UNDO_H
|
|
|
|
BOOLEAN AddToUndoList( INT32 iMapIndex );
|
|
void AddLightToUndoList( INT32 iMapIndex, INT32 iLightRadius, UINT8 ubLightID );
|
|
|
|
BOOLEAN RemoveAllFromUndoList();
|
|
BOOLEAN ExecuteUndoList();
|
|
|
|
void EnableUndo();
|
|
void DisableUndo();
|
|
|
|
void DetermineUndoState();
|
|
|
|
// Undo command flags
|
|
#define MAX_UNDO_COMMAND_LENGTH 10
|
|
|
|
//dnl ch86 220214
|
|
BOOLEAN CheckMapIndexInUndoList(INT32 iMapIndex);
|
|
void UpdateItemPoolInUndoList(INT32 iMapIndex, ITEM_POOL *pItemPoolOld, ITEM_POOL *pItemPoolNew);
|
|
void UpdateItemPoolMoveInUndoList(INT32 iMapIndex, INT32 iNewMapIndex);
|
|
void AddItemPoolGraphic(ITEM_POOL *pItemPoolHead);
|
|
void UndoItemPoolGraphicInUndoList(void);
|
|
void MergeItemPoolInUndoList(INT32 iMapIndex, ITEM_POOL *pItemPool);
|
|
|
|
#endif
|
|
#endif
|