UltimateZoneBuilder/Source/BuilderModes/Resources/Actions.cfg
codeimp 4ae985d630 - changed a lot around the actions
- no more mousebutton-specific code in the editing modes (now all bound by actions)
- some progress on the drawing editing mode
2008-04-27 12:07:26 +00:00

120 lines
2.9 KiB
INI

/******************************************\
Doom Builder Actions Configuration
\******************************************/
// This just defines which actions there are, what description they have and
// some behaviour options. The Doom Builder core will bind to these actions
// with delegates (function pointers) where you use the BeginAction and
// EndAction attributes.
// Behaviour options:
//
// allowkeys: Allows the user to bind standard keys to this action.
// allowmouse: Allows the user to bind mouse buttons to this action.
// allowscroll: Allows the user to bind the scrollwheel to this action.
// disregardshift: This action will be triggered regardless if Shift or Control are used.
// repeat: BeginAction will be called for automatic key repetition.
//
// allowkeys and allowmouse are true by default, the others are false by default.
//
verticesmode
{
title = "Edit: Vertices Mode";
description = "Switches to vertices editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
linedefsmode
{
title = "Edit: Linedefs Mode";
description = "Switches to linedefs editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
sectorsmode
{
title = "Edit: Sectors Mode";
description = "Switches to sectors editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
thingsmode
{
title = "Edit: Things Mode";
description = "Switches to things editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
drawlinesmode
{
title = "2D: Draw Lines";
description = "Starts drawing lines. See the Drawing category for actions available during drawing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
drawpoint
{
title = "Drawing: Draws Vertex";
description = "Draws a vertex at the mousecursor position.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
disregardshift = true;
}
removepoint
{
title = "Drawing: Remove Previous Vertex";
description = "Removes the previously drawn vertex from the drawing session.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
finishdraw
{
title = "Drawing: Finish Drawing";
description = "Finishes the drawing and creates the geometry.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
visualmode
{
title = "Edit: Visual Mode";
description = "Switches to visual editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
wauthormode
{
title = "Edit: WadAuthor Mode";
description = "Switches to Wad Author editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
triangulatormode
{
title = "Edit: Triangulator Mode";
description = "Switches to Triangulator testing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
debugonly = true;
}