/******************************************\
	Doom Builder Actions Configuration
\******************************************/

// Categories for the Controls preferences
categories
{
	file = "File";
	edit = "Edit";
	view = "View";
	modes = "Modes";
	tools = "Tools";
	prefabs = "Prefabs";
	classic = "Classic Modes";
	visual = "Visual Modes";
	selecting = "Selecting";
	gzdoombuilder = "Rendering";
}

// 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.

// 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 trigger regardless if Shift is used.
// disregardcontrol: This action will be triggered regardless if Control is used.
// disregardalt:    This action will be triggered regardless if Alt is used (mxd).
// repeat:          BeginAction will be called for automatic key repetition.
// default:         Default key is only used when the action is loaded for the first
//                  time and the default key is not used by any other action.
//
// allowkeys and allowmouse are true by default, the others are false by default.
//

/*
testaction
{
	title = "Developer Test";
	category = "tools";
	description = "Does whatever the developer wants to test.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}
*/

newmap
{
	title = "New Map";
	category = "file";
	description = "Starts with a new, empty workspace to begin drawing a map from scratch.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

openmap
{
	title = "Open Map";
	category = "file";
	description = "Opens an existing map from WAD file for viewing or modifying.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

//mxd
openmapincurrentwad
{
	title = "Open Map in current WAD";
	category = "file";
	description = "Opens an existing map from already loaded WAD file for viewing or modifying.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 196687; //Ctrl-Shift-O
}

closemap
{
	title = "Close Map";
	category = "file";
	description = "Closes the current map and the WAD file in which it exists.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

savemap
{
	title = "Save Map";
	category = "file";
	description = "Saves the current map to the opened source WAD file.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

savemapas
{
	title = "Save Map As";
	category = "file";
	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 = "Save Map Into";
	category = "file";
	description = "Saves the current map without any other resources into an existing or new WAD file.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

mapoptions
{
	title = "Map Options";
	category = "edit";
	description = "Shows the Map Options dialog which allows changing the map lump name, game configuration and custom resources.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

//mxd
snapvertstogrid
{
	title = "Snap Selected Map Elements to Grid";
	category = "edit";
	description = "Snaps selected map elements to grid.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

configuration
{
	title = "Game Configurations";
	category = "tools";
	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 = "Preferences";
	category = "tools";
	description = "Shows the Preferences dialog.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

reloadresources
{
	title = "Reload Resources";
	category = "tools";
	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;
}

//mxd
savescreenshot
{
	title = "Save Screenshot";
	category = "tools";
	description = "Saves a screenshot of editor's window into 'Screenshots' folder.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 123; //F12
}

//mxd
saveeditareascreenshot
{
	title = "Save Screenshot (active window)";
	category = "tools";
	description = "Saves a screenshot of currently active window, or editing area if no windows are open into 'Screenshots' folder.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 131195; //Ctrl-F12
}

//mxd
viewusedtags
{
	title = "View Used Tags";
	category = "edit";
	description = "Opens Tag Statistics form, which shows all tags, which are used in current map, and allows to create and edit tag labels.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

//mxd
viewthingtypes
{
	title = "View Thing Types";
	category = "edit";
	description = "Opens Thing Statistics form, which shows all thing types available in current game configuration.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

cancelmode
{
	title = "Cancel Action";
	category = "classic";
	description = "Cancels the current action and switches back to normal editing mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

acceptmode
{
	title = "Accept Action";
	category = "classic";
	description = "Accepts the changes in the current action and switches back to normal editing mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

classicselect
{
	title = "Select";
	category = "classic";
	description = "Selects the highlighted item. Also allows selection by dragging a rectangle. Hold shift while dragging a rectangle to toggle additive or normal selection. Hold Ctrl to enable subtractive selection. Hold Ctrl-Shift to intersect with current selection.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	disregardshift = true;
	disregardcontrol = true;
	disregardalt = true; //mxd
}

classicedit
{
	title = "Edit";
	category = "classic";
	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. Can be used in combination with Control and Shift for the first drawn vertex.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	disregardshift = true;
	disregardcontrol = true;
	disregardalt = true; //mxd
}

scrollwest
{
	title = "Scroll West";
	category = "classic";
	description = "Scrolls the 2D map view to the left.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

scrolleast
{
	title = "Scroll East";
	category = "classic";
	description = "Scrolls the 2D map view to the right.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

scrollnorth
{
	title = "Scroll North";
	category = "classic";
	description = "Scrolls the 2D map view up.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

scrollsouth
{
	title = "Scroll South";
	category = "classic";
	description = "Scrolls the 2D map view down.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

pan_view
{
	title = "Pan View";
	category = "classic";
	description = "Pans the map in the direction of the mouse while held down.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

zoomin
{
	title = "Zoom In";
	category = "classic";
	description = "Zooms in on the map at the current mouse location.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

zoomout
{
	title = "Zoom Out";
	category = "classic";
	description = "Zooms out on the map from the current mouse location.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

centerinscreen
{
	title = "Fit To Screen";
	category = "classic";
	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;
}

insertitem
{
	title = "Insert Item";
	category = "edit";
	description = "Creates a new item depending on the editing mode you are in.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

deleteitem
{
	title = "Delete Item";
	category = "edit";
	description = "Deletes the highlighted or selected items, depending on the editing mode you are in.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

//mxd
dissolveitem
{
	title = "Dissolve Item";
	category = "edit";
	description = "Deletes the highlighted or selected items in classic modes, trying to preserve the rest of the map geometry intact.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	default = 131118; //Ctrl-Del
}

//mxd
togglegrid
{
	title = "Toggle Grid";
	category = "classic";
	description = "Toggles grid rendering in classic modes.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 262215; //Alt-G
}

//mxd
toggledynamicgrid
{
	title = "Toggle Dynamic Grid Size";
	category = "classic";
	description = "Toggles automatic grid size adjustment in classic modes.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 393287; //Ctrl-Alt-G
}

gridsetup
{
	title = "Grid and Backdrop Setup";
	category = "classic";
	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;
}

aligngridtolinedef
{
	title = "Align Grid to Selected Linedef";
	category = "classic";
	description = "Realigns the grid so that the selected linedef is on a grid line.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

setgridorigintovertex
{
	title = "Set Grid Origin to Selected Vertex";
	category = "classic";
	description = "Repositions the grid so that the selected vertex is at the origin.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

resetgrid
{
	title = "Reset Grid Transform";
	category = "classic";
	description = "Resets the grid to the default coordinate system.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

smartgridtransform
{
	title = "Smart Grid Transform";
	category = "classic";
	description = "Sets grid transformation based on the selected elements. Vertex selected: set grid origin to that vertex. Linedef selected: align grid to that linedef. Nothing selected: reset grid transformation to the default coordinate system.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

griddec		// Note, these were incorrectly swapped before, hence the wrong action name
{
	title = "Grid Increase";
	category = "edit";
	description = "Increases the grid size, decreasing the grid density.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}


gridinc		// Note, these were incorrectly swapped before, hence the wrong action name
{
	title = "Grid Decrease";
	category = "edit";
	description = "Decreases the grid size, increasing the grid density.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

undo
{
	title = "Undo";
	category = "edit";
	description = "Restores the current map as it was before last action(s) performed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

redo
{
	title = "Redo";
	category = "edit";
	description = "Repeats the action(s) performed before Undo was used.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

geomergeclassic //mxd
{
	title = "Merge Dragged Vertices Only";
	category = "edit";
	description = "Only vertex-line intersections will be processed when applying geometry drag or paste actions.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

geomerge //mxd
{
	title = "Merge Dragged Geometry";
	category = "edit";
	description = "Geometry merging will be performed when applying geometry drag or paste actions.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

georeplace //mxd
{
	title = "Replace with Dragged Geometry";
	category = "edit";
	description = "Dragged geometry will replace underlaying geometry when applying geometry drag or paste actions.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

togglesnap
{
	title = "Snap to Grid";
	category = "edit";
	description = "Toggles snapping to the grid for things and vertices that are being dragged.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

toggleautomerge
{
	title = "Snap to Geometry";
	category = "edit";
	description = "Toggles snapping to the nearest vertex or linedef for map elements that are being dragged.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

//mxd
togglejoinedsectorssplitting
{
	title = "Split Joined Sectors";
	category = "edit";
	description = "When enabled, joined sectors adjacent to drawn lines will be split.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

//mxd
toggleautoclearsidetextures
{
	title = "Auto Clear Sidedef Textures";
	category = "edit";
	description = "Toggles automatic removal of sidedef textures when floor or ceiling height is changed or when geometry is drawn, copied or pasted.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

clearselection
{
	title = "Clear Selection";
	category = "edit";
	description = "Deselects all selected elements.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}

moveforward
{
	title = "Move Forward";
	category = "visual";
	description = "Moves the camera forward in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}

movebackward
{
	title = "Move Backward";
	category = "visual";
	description = "Moves the camera backward in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}

moveleft
{
	title = "Move Left (strafe)";
	category = "visual";
	description = "Strafes the camera left in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}

moveright
{
	title = "Move Right (strafe)";
	category = "visual";
	description = "Strafes the camera right in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}

moveup
{
	title = "Move Up";
	category = "visual";
	description = "Moves the camera up in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}

movedown
{
	title = "Move Down";
	category = "visual";
	description = "Moves the camera down in 3D Visual Mode. Use in combination with Shift for double the speed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	disregardshift = true;
}
									  
orbit
{
	title = "Orbit";
	category = "visual";
	description = "When held, the mouse will orbit the camera around the point at the cursor, rather than look around.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	disregardshift = true;	
}

movecameratocursor
{
	title = "Move Camera to Cursor";
	category = "visual";
	description = "Place the camera nearby the point at the cursor.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

testmap
{
	title = "Test Map";
	category = "tools";
	description = "Starts the game and loads this map for playing.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

//mxd
testmapfromview
{
	title = "Test map from current position";
	category = "tools";
	description = "Starts the game and loads this map for playing. Player start is placed either at cursor position (in 2D-Modes) or at camera position (in Visual Modes).";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 131192;
}

thingsfilterssetup
{
	title = "Configure Things Filters";
	category = "tools";
	description = "Shows the Things Filters setup dialog, which allows you to add, remove and change the things filters.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

linedefcolorssetup
{
	title = "Configure Linedefs Colors";
	category = "tools";
	description = "Shows the Linedef Color Presets setup dialog, which allows you to add, remove and change linedef color presets.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

copyselection
{
	title = "Copy Selection";
	category = "edit";
	description = "Copies the current selection to the clipboard.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

cutselection
{
	title = "Cut Selection";
	category = "edit";
	description = "Copies the current selection to the clipboard and removes it from the map.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

pasteselection
{
	title = "Paste Selection";
	category = "edit";
	description = "Pastes the current contents of the clipboard into the map as a new selection.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

pasteselectionspecial
{
	title = "Paste Selection Special";
	category = "edit";
	description = "Allows you to choose options or pasting and then pastes the current contents of the clipboard into the map as a new selection.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup1
{
	title = "Select Group 1";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 1";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup2
{
	title = "Select Group 2";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 2";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup3
{
	title = "Select Group 3";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 3";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup4
{
	title = "Select Group 4";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 4";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup5
{
	title = "Select Group 5";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 5";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup6
{
	title = "Select Group 6";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 6";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup7
{
	title = "Select Group 7";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 7";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup8
{
	title = "Select Group 8";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 8";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup9
{
	title = "Select Group 9";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 9";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

selectgroup10
{
	title = "Select Group 10";
	category = "selecting";
	description = "Selects all geometry that was assigned to group 10";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup1
{
	title = "Assign Group 1";
	category = "selecting";
	description = "Assigns the selected geometry to group 1";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup2
{
	title = "Assign Group 2";
	category = "selecting";
	description = "Assigns the selected geometry to group 2";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup3
{
	title = "Assign Group 3";
	category = "selecting";
	description = "Assigns the selected geometry to group 3";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup4
{
	title = "Assign Group 4";
	category = "selecting";
	description = "Assigns the selected geometry to group 4";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup5
{
	title = "Assign Group 5";
	category = "selecting";
	description = "Assigns the selected geometry to group 5";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup6
{
	title = "Assign Group 6";
	category = "selecting";
	description = "Assigns the selected geometry to group 6";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup7
{
	title = "Assign Group 7";
	category = "selecting";
	description = "Assigns the selected geometry to group 7";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup8
{
	title = "Assign Group 8";
	category = "selecting";
	description = "Assigns the selected geometry to group 8";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup9
{
	title = "Assign Group 9";
	category = "selecting";
	description = "Assigns the selected geometry to group 9";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

assigngroup10
{
	title = "Assign Group 10";
	category = "selecting";
	description = "Assigns the selected geometry to group 10";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

//mxd
cleargroup1
{
	title = "Clear Group 1";
	category = "selecting";
	description = "Clears group 1";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196657; //Ctrl-Shift-1
}

//mxd
cleargroup2
{
	title = "Clear Group 2";
	category = "selecting";
	description = "Clears group 2";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196658;
}

//mxd
cleargroup3
{
	title = "Clear Group 3";
	category = "selecting";
	description = "Clears group 3";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196659;
}

//mxd
cleargroup4
{
	title = "Clear Group 4";
	category = "selecting";
	description = "Clears group 4";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196660;
}

//mxd
cleargroup5
{
	title = "Clear Group 5";
	category = "selecting";
	description = "Clears group 5";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196661;
}

//mxd
cleargroup6
{
	title = "Clear Group 6";
	category = "selecting";
	description = "Clears group 6";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196662;
}

//mxd
cleargroup7
{
	title = "Clear Group 7";
	category = "selecting";
	description = "Clears group 7";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196663;
}

//mxd
cleargroup8
{
	title = "Clear Group 8";
	category = "selecting";
	description = "Clears group 8";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196664;
}

//mxd
cleargroup9
{
	title = "Clear Group 9";
	category = "selecting";
	description = "Clears group 9";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196665;
}

//mxd
cleargroup10
{
	title = "Clear Group 10";
	category = "selecting";
	description = "Clears group 10";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 196656;
}

openscripteditor
{
	title = "Script Editor";
	category = "view";
	description = "This opens the script editor that allows you to edit any scripts in your map or any script files.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

viewmodenormal
{
	title = "View Wireframe";
	category = "view";
	description = "This sets the view mode to Wireframe. This shows only the map elements without any sector filling.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

viewmodebrightness
{
	title = "View Brightness Levels";
	category = "view";
	description = "This sets the view mode to Brightness Levels. This fills all sectors with their brightness levels.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

viewmodefloors
{
	title = "View Floor Textures";
	category = "view";
	description = "This sets the view mode to Floor Textures. In this view mode the sectors are filled with their floor texture and with their brightness level applied.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

viewmodeceilings
{
	title = "View Ceiling Textures";
	category = "view";
	description = "This sets the view mode to Ceiling Textures. In this view mode the sectors are filled with their ceiling texture and with their brightness level applied.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

nextviewmode //mxd
{
	title = "Next View Mode";
	category = "view";
	description = "This switches to next view mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

previousviewmode //mxd
{
	title = "Previous View Mode";
	category = "view";
	description = "This switches to previous view mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

togglecomments //mxd
{
	title = "Toggle Comments";
	category = "view";
	description = "Toggles rendering of comment icons in Sectors, Things and Linedefs modes (UDMF only).";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}

togglefixedthingsscale //mxd
{
	title = "Toggle Fixed Things Scale";
	category = "view";
	description = "When enabled, Things will no longer be scaled based on current zoom level in Classic modes.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}
	
togglealwaysshowvertices
{
	title = "Toggle Always Show Vertices";
	category = "view";
	description = "When enabled, vertices will always be drawn, regardless of the current mode.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
}
	
togglebrightness //mxd
{
	title = "Toggle Full Brightness";
	category = "view";
	description = "Toggles the use of sector brightness on and off. When sector brightness is off, the world is displayed fully bright, without lighting effects.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	default = 66; //B
	registertoast = true;
}

togglehighlight
{
	title = "Toggle Highlight";
	category = "view"; //mxd
	description = "Toggles the highlight of the targeted and selected objects.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	default = 72;	// H
	registertoast = true;
}

visualselect
{
	title = "Select";
	category = "visual";
	description = "Selects the highlighted item. Hold Shift to select adjacent surfaces with the same texture. Hold Ctrl to select adjacent surfaces with the same height. Hold Alt to stop selecting adjacent surfaces when already selected surface is encountered.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	disregardcontrol = true;
	disregardshift = true;
	disregardalt = true;
}

visualedit
{
	title = "Edit";
	category = "visual";
	description = "Edits the properties of the selected items or drags the selected items.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

createprefab
{
	title = "Create Prefab";
	category = "prefabs";
	description = "Creates a prefab from the selected geometry and saves it to a prefab file.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

insertprefabfile
{
	title = "Insert Prefab File";
	category = "prefabs";
	description = "Browses for a Prefab file and inserts the prefab geometry into the map.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

insertpreviousprefab
{
	title = "Insert Previous Prefab";
	category = "prefabs";
	description = "Inserts the previously opened Prefab file again.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

toggleinfopanel
{
	title = "Toggle Info Panel";
	category = "view";
	description = "Toggles the info panel between expanded and collapsed.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

centeroncoordinates
{
	title = "Go To Coordinates";
	category = "view";
	description = "Centers the view on given map coordinates.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 196679; //Ctrl-Shift-G
}

showerrors
{
	title = "Show Errors and Warnings";
	category = "tools";
	description = "Shows the errors and warnings that may have occurred during loading or editing operations.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 122;
}

/////////////////////////
//GZDOOMBUILDER ACTIONS//
/////////////////////////
gztogglemodels
{
	title = "Toggle models rendering";
	category = "gzdoombuilder";
	description = "Cycles through all models rendering modes in Classic and Visual modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

gztogglelights
{
	title = "Toggle dynamic lights rendering";
	category = "gzdoombuilder";
	description = "Cycles through all dynamic light rendering modes in Visual mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

gztogglefog
{
	title = "Toggle fog rendering";
	category = "gzdoombuilder";
	description = "Toggles fog rendering in Visual mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

gztogglesky
{
	title = "Toggle sky rendering";
	category = "gzdoombuilder";
	description = "Toggles sky rendering in Visual mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

gztoggleeventlines
{
	title = "Toggle Event lines";
	category = "view";
	description = "When enabled, shows order, in which patrol points and interpolation points are connected. Also shows action target for currently highlighted item in 2D modes.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 73;
	registertoast = true;
}

gztogglevisualvertices
{
	title = "Toggle Visual Vertices";
	category = "visual";
	description = "When enabled, shows vertices, which heights can be changed, in Visual mode (UDMF only).";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 262230;
}

toggleclassicrendering
{
	title = "Toggle classic rendering";
	category = "visual";
	description = "When enabled, attempts to simulate classic Doom rendering with banded light and palettized textures.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

gztoggleenhancedrendering
{
	title = "Toggle Enhanced Rendering Effects";
	category = "visual";
	description = "Toggles enhanced rendering effects (slopes, 3D-floors, dynamic lights, fog, sky etc.) in Visual mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 9; //Tab
	registertoast = true;
}

togglesrb2invisiblefof
{
	title = "Toggle SRB2 Invisible FOFs";
	category = "visual";
	description = "Toggles rendering of SRB2's invisible FOF types (light blocks, trigger zones etc.) in Visual mode.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	registertoast = true;
}

srb2togglenights
{
	title = "Toggle NiGHTS axis rendering";
	category = "view";
	description = "When enabled, shows NiGHTS axis circles and transfer lines.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

srb2togglezoomtubes
{
	title = "Toggle zoom tube waypoint rendering";
	category = "view";
	description = "When enabled, shows zoom tube waypoint sequences.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

srb2togglepolyobjects
{
	title = "Toggle polyobject preview rendering";
	category = "view";
	description = "When enabled, shows polyobject previews.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
}

//////////////////////////////
//GZDOOMBUILDER MENU ACTIONS//
//////////////////////////////
gzreloadmodeldef
{
	title = "Reload MODELDEF/VOXELDEF";
	category = "tools";
	description = "Reloads MODELDEF and VOXELDEF. Useful when resource files have been changed outside of Doom Builder.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 131188;
}

gzreloadgldefs
{
	title = "Reload GLDEFS";
	category = "tools";
	description = "Reloads GLDEFS. Useful when resource files have been changed outside of Doom Builder.";
	allowkeys = true;
	allowmouse = false;
	allowscroll = false;
	default = 131189;
}

/////////////////////////////////////////
//GZDOOMBUILDER EXTENDED THING MOVEMENT//
/////////////////////////////////////////
movethingleft
{
	title = "Move Thing Left";
	category = "visual";
	description = "Moves selected Things left in Visual Modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

movethingright
{
	title = "Move Thing Right";
	category = "visual";
	description = "Moves selected Things right in Visual Modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

movethingfwd
{
	title = "Move Thing Forward";
	category = "visual";
	description = "Moves selected Things away from camera in Visual Modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

movethingback
{
	title = "Move Thing Backward";
	category = "visual";
	description = "Moves selected Things closer to camera in Visual Modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
	repeat = true;
}

placethingatcursor
{
	title = "Move Thing to Cursor Location";
	category = "visual";
	description = "Moves selected Things to cursor location preserving relative offsets in Visual Modes.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = false;
	default = 131076;
}

opencommandpalette
{
	title = "Open Command Palette";
	category = "tools";
	description = "Opens the command palette.";
	allowkeys = true;
	allowmouse = true;
	allowscroll = true;
}