Property | Type | Description | |
---|---|---|---|
Autoset | AutosetEditor | ||
Entities | List |
||
EntityStatusLabel | |||
Layers | List |
||
TileStatusLabel | |||
Tileset | |||
zone_brush | |||
zone_pen |
Method | Description | |
---|---|---|
AddLayer ( string name ) : Layer |
Adds a blank layer to the map
|
|
AddLayer ( |
Adds a Layer from a stream object. In this case a Binary Reader.
|
|
DoAllLayerAdjustment ( int startIndex, short count ) : void |
Handles adjustment of tile insertion and deletion.
|
|
LoadMap ( string filename ) : void | ||
MapEditorControl ( ) : System | ||
RedoAction ( ) : void |
Restores the next stored layer and ests the current undo position.
|
|
RemoveLayer ( short index ) : void |
Removes a layer from the map.
|
|
ResizeAllLayers ( short width, short height ) : void | ||
SaveMap ( string filename ) : bool | ||
SetLayerTile ( int x, int y ) : void | ||
SetSize ( int width, int height ) : void |
Sets the size of the drawing portion of the map:
|
|
SetStampMap ( short indicies, int map_w, int map_h ) : void | ||
SetTileSize ( short width, short height ) : void | ||
SetTileSize ( short width, short height, bool rescale ) : void | ||
SetZoomLevel ( int num ) : void |
Set's the zoom of the map.
|
|
UndoAction ( ) : void |
Draws the previously stored layer set and sets the current undo position.
|
|
UpdateAllLayers ( ) : void |
Forces all layers to "redraw" and draws them to screen.
|
|
UpdateControl ( ) : void |
Positions the object in the middle of its container. Also toggles scrollbars where apropriate.
|
|
UpdateScrollbars ( ) : void |
Method | Description | |
---|---|---|
OnScroll ( |
||
ScrollToControl ( |
Method | Description | |
---|---|---|
CheckFloodPoint ( Stack |
||
CloneAllLayers ( ) : List |
Returns a shallow clone of the layers.
|
|
CopyEntityItem_Click ( object sender, |
||
DeleteEntityItem_Click ( object sender, |
||
DoAutoStamp ( int cx, int cy ) : void | ||
DoTool ( ) : void | ||
DrawEntities ( |
||
DrawTileLine ( int x0, int y0, int x1, int y1 ) : void | ||
DrawTileSelector ( |
||
DrawTool ( |
||
EditEntityItem_Click ( object sender, |
||
FloodTiles ( int x, int y ) : void |
Implemented using a virtual stack, rather than by recursion.
|
|
GetEntityAt ( int x, int y ) : System.Entity | ||
InvalidateSelectorArea ( ) : void | ||
LayerSubItemClick ( object sender, |
||
MapContextStrip_Opened ( object sender, |
||
MapEditorControl_Enter ( object sender, |
||
MapEditorControl_KeyDown ( object sender, |
||
MapEditorControl_KeyUp ( object sender, |
||
MapEditorControl_Leave ( object sender, |
||
MapEditorControl_MouseDown ( object sender, MouseEventArgs e ) : void | ||
MapEditorControl_MouseLeave ( object sender, |
||
MapEditorControl_MouseMove ( object sender, MouseEventArgs e ) : void | ||
MapEditorControl_MouseUp ( object sender, MouseEventArgs e ) : void | ||
MapEditorControl_Paint ( object sender, PaintEventArgs e ) : void | ||
PasteEntityItem_Click ( object sender, |
||
PersonItem_Click ( object sender, |
||
ResetHistory ( ) : void |
Cheap reset of the undo chain. Sorry, I'm lazy to not make something More beneficial. Something that restores destroyed layers.
|
|
SelectTileItem_Click ( object sender, |
||
StampMap ( ) : void | ||
StartLocationItem_Click ( object sender, |
||
TriggerItem_Click ( object sender, |
||
UpdateControlSize ( ) : void | ||
UpdateCurrentLayer ( ) : void |
"Redraws" the current layer image, but does not draw it to screen.
|
|
myzone_Deleted ( object sender, |
public AddLayer ( string name ) : Layer | ||
name | string | The name of the layer |
return | Layer |
public AddLayer ( |
||
stream | The stream in which to extrapolate the layer data from | |
return | void |
public DoAllLayerAdjustment ( int startIndex, short count ) : void | ||
startIndex | int | The index to begin modifying. |
count | short | The amount to modify by, either + or -. |
return | void |
protected OnScroll ( |
||
se | ||
return | void |
public RemoveLayer ( short index ) : void | ||
index | short | Index number of layer to remove. |
return | void |
public ResizeAllLayers ( short width, short height ) : void | ||
width | short | |
height | short | |
return | void |
protected ScrollToControl ( |
||
activeControl | ||
return | Point |
public SetSize ( int width, int height ) : void | ||
width | int | width in tiles |
height | int | height in tiles |
return | void |
public SetStampMap ( short indicies, int map_w, int map_h ) : void | ||
indicies | short | |
map_w | int | |
map_h | int | |
return | void |
public SetTileSize ( short width, short height ) : void | ||
width | short | |
height | short | |
return | void |
public SetTileSize ( short width, short height, bool rescale ) : void | ||
width | short | |
height | short | |
rescale | bool | |
return | void |
public SetZoomLevel ( int num ) : void | ||
num | int | The level of zoom. |
return | void |
public ToolStripStatusLabel,System.Windows.Forms EntityStatusLabel | ||
return |
public ToolStripStatusLabel,System.Windows.Forms TileStatusLabel | ||
return |
public TilesetControl,Sphere_Editor.EditorComponents Tileset | ||
return |
public static Brush,System.Drawing zone_brush | ||
return |