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
38 lines
860 B
C
38 lines
860 B
C
#include "BuildDefines.h"
|
|
|
|
#ifdef JA2EDITOR
|
|
#ifndef __CURSOR_MODES_H
|
|
#define __CURSOR_MODES_H
|
|
|
|
enum
|
|
{
|
|
SMALLSELECTION, // 1x1
|
|
MEDIUMSELECTION, // 3x3
|
|
LARGESELECTION, // 5x5
|
|
XLARGESELECTION, // 7x7
|
|
LINESELECTION, // v or h line with a specified width
|
|
AREASELECTION, // user controlled area
|
|
NUMSELECTIONTYPES
|
|
};
|
|
|
|
extern UINT16 gusSelectionType;
|
|
extern UINT16 gusSelectionWidth;
|
|
extern UINT16 gusPreserveSelectionWidth;
|
|
extern UINT16 gusSelectionDensity;
|
|
extern UINT16 gusSavedSelectionType;
|
|
extern UINT16 gusSavedBuildingSelectionType;
|
|
|
|
BOOLEAN PerformDensityTest();
|
|
void SetDrawingMode( INT32 iMode );
|
|
void UpdateCursorAreas();
|
|
void IncreaseSelectionDensity();
|
|
void DecreaseSelectionDensity();
|
|
void RemoveCursors();
|
|
|
|
extern UINT16 *wszSelType[6];
|
|
|
|
extern BOOLEAN gfCurrentSelectionWithRightButton;
|
|
|
|
#endif
|
|
|
|
#endif |