mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 04:41:10 +00:00
8805a48058
- fixed bug with disposing a Vertex
333 lines
7.7 KiB
INI
333 lines
7.7 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.
|
|
//
|
|
|
|
testaction
|
|
{
|
|
title = "Developer: Test";
|
|
description = "Does whatever the developer wants to test.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
newmap
|
|
{
|
|
title = "File: New Map";
|
|
description = "Starts with a new, empty workspace to begin drawing a map from scratch.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
openmap
|
|
{
|
|
title = "File: Open Map";
|
|
description = "Opens an existing map from WAD file for viewing or modifying.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
closemap
|
|
{
|
|
title = "File: Close Map";
|
|
description = "Closes the current map and the WAD file in which it exists.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
savemap
|
|
{
|
|
title = "File: Save Map";
|
|
description = "Saves the current map to the opened source WAD file.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
savemapas
|
|
{
|
|
title = "File: Save Map As";
|
|
description = "Saves the current map and all resources from the source WAD file to a new WAD file.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
savemapinto
|
|
{
|
|
title = "File: Save Map Into";
|
|
description = "Saves the current map without any other resources into an existing or new WAD file.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
mapoptions
|
|
{
|
|
title = "Edit: Map Options";
|
|
description = "Shows the Map Options dialog which allows changing the map lump name, game configuration and custom resources.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
configuration
|
|
{
|
|
title = "Tools: Game Configurations";
|
|
description = "Shows the Game Configurations dialog which allows you to configure settings such as nodebuilder, testing program and resources.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
preferences
|
|
{
|
|
title = "Tools: Preferences";
|
|
description = "Shows this Preferences dialog.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
reloadresources
|
|
{
|
|
title = "Tools: Reload Resources";
|
|
description = "Reloads all data resources such as game configuration, textures and flats. Useful when resource files have been changed outside of Doom Builder.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
cancelmode
|
|
{
|
|
title = "Edit: Cancel Action";
|
|
description = "Cancels the current action and switches back to normal editing mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
acceptmode
|
|
{
|
|
title = "Edit: Accept Action";
|
|
description = "Accepts the changes in the current action and switches back to normal editing mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
classicselect
|
|
{
|
|
title = "2D: Select";
|
|
description = "Selects the highlighted item. Also allows selection by drawing a rectangle.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = false;
|
|
disregardshift = true;
|
|
}
|
|
|
|
classicedit
|
|
{
|
|
title = "2D: Edit";
|
|
description = "Edits the properties of the selected items or drags the selected items. Also initiates drawing or inserts new things when no selection is made.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = false;
|
|
disregardshift = true;
|
|
}
|
|
|
|
scrollwest
|
|
{
|
|
title = "2D: Scroll West";
|
|
description = "Scrolls the 2D map view to the left.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
scrolleast
|
|
{
|
|
title = "2D: Scroll East";
|
|
description = "Scrolls the 2D map view to the right.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
scrollnorth
|
|
{
|
|
title = "2D: Scroll North";
|
|
description = "Scrolls the 2D map view up.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
scrollsouth
|
|
{
|
|
title = "2D: Scroll South";
|
|
description = "Scrolls the 2D map view down.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
zoomin
|
|
{
|
|
title = "2D: Zoom In";
|
|
description = "Zooms in on the map at the current mouse location.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
zoomout
|
|
{
|
|
title = "2D: Zoom Out";
|
|
description = "Zooms out on the map from the current mouse location.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
repeat = true;
|
|
}
|
|
|
|
centerinscreen
|
|
{
|
|
title = "2D: Fit To Screen";
|
|
description = "Zooms out the map and centers it to make it completely fit in the screen, giving a high overview of the map.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
insertvertex
|
|
{
|
|
title = "2D: Insert Vertex";
|
|
description = "Creates a new vertex at the current mouse position.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
deleteitem
|
|
{
|
|
title = "2D: Delete Item";
|
|
description = "Deletes the highlighted or selected items.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
gridsetup
|
|
{
|
|
title = "View: Grid Setup";
|
|
description = "Shows the Custom Grid Setup dialog which allows you to set custom grid sizes and a background image.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
undo
|
|
{
|
|
title = "Edit: Undo";
|
|
description = "Restores the current map as it was before last action(s) performed.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
redo
|
|
{
|
|
title = "Edit: Redo";
|
|
description = "Repeats the action(s) performed before Undo was used.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
togglesnap
|
|
{
|
|
title = "Edit: Snap to Grid";
|
|
description = "Toggles snapping to the grid for things and vertices that are being dragged.";
|
|
allowkeys = true;
|
|
allowmouse = false;
|
|
allowscroll = false;
|
|
}
|
|
|
|
toggleautomerge
|
|
{
|
|
title = "Edit: Merge Geometry";
|
|
description = "Toggles automatic merging of geometry for vertices and structures that are being dragged.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
clearselection
|
|
{
|
|
title = "Edit: Clear Selection";
|
|
description = "Deselects all selected elements.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
moveforward
|
|
{
|
|
title = "3D: Move Forward";
|
|
description = "Moves the camera forward in 3D Visual Mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
movebackward
|
|
{
|
|
title = "3D: Move Backward";
|
|
description = "Moves the camera backward in 3D Visual Mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
moveleft
|
|
{
|
|
title = "3D: Move Left (strafe)";
|
|
description = "Strafes the camera left in 3D Visual Mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|
|
|
|
moveright
|
|
{
|
|
title = "3D: Move Right (strafe)";
|
|
description = "Strafes the camera right in 3D Visual Mode.";
|
|
allowkeys = true;
|
|
allowmouse = true;
|
|
allowscroll = true;
|
|
}
|