convert line ends
[canaan.git] / prj / cam / src / editor / brundo.h
blobb785a107ad5a71e5d707cf7a295d6a0577481847
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/editor/brundo.h,v 1.5 2000/01/29 13:11:19 adurant Exp $
7 // brush specific undo and redo
8 #pragma once
10 #ifndef __BRUNDO_H
11 #define __BRUNDO_H
13 #include <editbrs.h>
15 // start saves off current brush state
16 EXTERN void editUndoStoreStart(editBrush *us);
17 EXTERN void editUndoStoreBrush(editBrush *us);
18 EXTERN void editUndoStoreDelete(editBrush *us);
19 EXTERN void editUndoStoreCreate(editBrush *us);
21 // this is used to store off block starts and stops
22 // so that you can treat a set of undo's as a block
23 // and a single call to undo/redo will do all of them
24 EXTERN void editUndoStoreBlock(BOOL start_of_block);
26 // as we get more specific and hateful
27 EXTERN void editUndoStoreGroup(int old_group, int new_group);
29 // if you want to do stuff undo/redo cant see/deal with
30 EXTERN void editUndoSuspend(BOOL suspend);
32 // actually go do the undo and redo
33 EXTERN bool editUndoDoUndo(void);
34 EXTERN bool editUndoDoRedo(void);
36 #ifdef DBG_ON
37 EXTERN void editUndoStackPrint(void);
38 #endif
40 #endif // __BRUNDO_H