Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/session/input.js
Show All 12 Lines | |||||
// case any other code wants to use them too. | // case any other code wants to use them too. | ||||
const ACTION_NONE = 0; | const ACTION_NONE = 0; | ||||
const ACTION_GARRISON = 1; | const ACTION_GARRISON = 1; | ||||
const ACTION_REPAIR = 2; | const ACTION_REPAIR = 2; | ||||
const ACTION_GUARD = 3; | const ACTION_GUARD = 3; | ||||
const ACTION_PATROL = 4; | const ACTION_PATROL = 4; | ||||
const ACTION_OCCUPY_TURRET = 5; | const ACTION_OCCUPY_TURRET = 5; | ||||
const ACTION_CALLTOARMS = 6; | |||||
var preSelectedAction = ACTION_NONE; | var preSelectedAction = ACTION_NONE; | ||||
const INPUT_NORMAL = 0; | const INPUT_NORMAL = 0; | ||||
const INPUT_SELECTING = 1; | const INPUT_SELECTING = 1; | ||||
const INPUT_BANDBOXING = 2; | const INPUT_BANDBOXING = 2; | ||||
const INPUT_BUILDING_PLACEMENT = 3; | const INPUT_BUILDING_PLACEMENT = 3; | ||||
const INPUT_BUILDING_CLICK = 4; | const INPUT_BUILDING_CLICK = 4; | ||||
const INPUT_BUILDING_DRAG = 5; | const INPUT_BUILDING_DRAG = 5; | ||||
▲ Show 20 Lines • Show All 1,683 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator