Method | Description | |
---|---|---|
Click ( int x, int y, TileMode mode ) : bool |
Handler for the mouse clicking and painting a tile or wall.
|
|
ClickConvert ( ) : void |
Handler for mode changing.
|
|
Compile ( string fileName, MapHeader header ) : void |
Compile the map instance.
|
|
FullRedraw ( ) : void |
Resize the drawing box associated with the map and invalidate the contents, forcing a full redraw.
|
|
GetTileCorridorHash ( |
||
GetTileHash ( |
||
LoadMap ( string fileName, System dbox, ValueSetterDelegate undo, ValueSetterDelegate redo, ValueSetterDelegate postMode ) : |
Load a map instance from a file.
|
|
MouseToTile ( int h ) : int |
Translation of mouse coordinates.
|
|
NewMap ( int width, int height, System dbox, ValueSetterDelegate undo, ValueSetterDelegate redo, ValueSetterDelegate postMode ) : |
Create a new map instance and associate the form controls.
|
|
OneClick ( int x, int y, TileMode mode, bool left ) : void |
Handler for a single click on a tile.
|
|
Redo ( ) : void |
Handler for action redoing.
|
|
Redraw ( |
Redraw the map.
|
|
Resize ( int n, int e, int s, int w ) : void |
Resize the map instance.
|
|
Save ( string fileName ) : void |
Save the map instance.
|
|
StopClick ( ) : void |
Handler for the stopping of painting with the mouse.
|
|
Undo ( ) : void |
Handler for action undoing.
|
Method | Description | |
---|---|---|
Map ( int width, int height, System dbox, ValueSetterDelegate undo, ValueSetterDelegate redo, ValueSetterDelegate postMode ) : System | ||
apply ( |
||
b ( int i ) : int | ||
bit ( int hash, int f ) : bool | ||
bsize ( int h ) : int | ||
clearChanges ( ) : void | ||
clickBlocks ( int x, int y ) : bool | ||
clickScrollPlace ( int x, int y ) : void | ||
clickTileVariant ( int x, int y, bool left ) : void | ||
clickTiles ( int x, int y ) : bool | ||
clickToggleWidth ( int x, int y ) : void | ||
compileAdapter ( FOMap m, TiledMapper.Preset p, int tx, int ty, int dir ) : void | ||
compileEmpty ( FOMap m, TiledMapper.Preset p, int tx, int ty ) : void | ||
compileNormalCorridor ( FOMap m, TiledMapper.Preset p, int tx, int ty ) : void | ||
compileTile ( FOMap m, TiledMapper.Preset p, int tx, int ty ) : void | ||
compileWide ( FOMap m, TiledMapper.Preset p, int tx, int ty ) : void | ||
ctest ( int hash, int m, int value ) : int | ||
ctest2 ( int hash, int m, int n, int value ) : int | ||
drawAdapter ( int tx, int ty, int dir, |
||
drawBlock ( int tx, int ty, int dir, |
||
drawNormalCorridor ( int tx, int ty, |
||
drawTile ( int tx, int ty, |
||
drawWideCross ( int tx, int ty, |
||
drawWideEW ( int tx, int ty, |
||
drawWideNS ( int tx, int ty, |
||
fixScrollblockers ( int offsX, int offsY ) : void | ||
getBlockPen ( ) : |
||
getFont ( ) : |
||
getLinePen ( ) : |
||
getScrollblockerFontBrush ( ) : |
||
getTileBrush ( bool filled ) : |
||
getVariantFontBrush ( ) : |
||
getWallPen ( ) : |
||
joinTiles ( |
||
makeTiles ( int width, int height ) : ].Tile[ | ||
parseBools ( string s ) : bool[] | ||
placeBigTile ( FOMap m, TiledMapper.BigTile bt, int tx, int ty ) : void | ||
reattachScrollBlockers ( ) : void | ||
redo ( bool step ) : void | ||
redoEastResize ( |
||
redoNorthResize ( |
||
redoSouthResize ( |
||
redoWestResize ( |
||
redrawBlocks ( |
||
redrawGrid ( |
||
redrawTiles ( |
||
test ( |
||
test2 ( |
||
truncateChanges ( ) : void | ||
undoEastResize ( |
||
undoNorthResize ( |
||
undoSouthResize ( |
||
undoWestResize ( |
||
updateBlock ( int tx, int ty, int dir ) : void | ||
updateTile ( int tx, int ty ) : void |
public Click ( int x, int y, TileMode mode ) : bool | ||
x | int | |
y | int | |
mode | TileMode | |
return | bool |
public Compile ( string fileName, MapHeader header ) : void | ||
fileName | string | Output file name |
header | MapHeader | Map header to be included |
return | void |
public GetTileCorridorHash ( |
||
tile | ||
return | int |
public static LoadMap ( string fileName, System dbox, ValueSetterDelegate undo, ValueSetterDelegate redo, ValueSetterDelegate postMode ) : |
||
fileName | string | Path for the file |
dbox | System | Drawing box for the map representation |
undo | ValueSetterDelegate | Delegate disabling and enabling the 'undo' action |
redo | ValueSetterDelegate | Delegate disabling and enabling the 'redo' action |
postMode | ValueSetterDelegate | Delegate changing edit mode on the interface |
return |
public static MouseToTile ( int h ) : int | ||
h | int | A single mouse coordinate on the map. |
return | int |
public static NewMap ( int width, int height, System dbox, ValueSetterDelegate undo, ValueSetterDelegate redo, ValueSetterDelegate postMode ) : |
||
width | int | Width of the map in tiles |
height | int | Height of the map in tiles |
dbox | System | Drawing box for the map representation |
undo | ValueSetterDelegate | Delegate disabling and enabling the 'undo' action |
redo | ValueSetterDelegate | Delegate disabling and enabling the 'redo' action |
postMode | ValueSetterDelegate | Delegate changing edit mode on the interface |
return |
public OneClick ( int x, int y, TileMode mode, bool left ) : void | ||
x | int | |
y | int | |
mode | TileMode | |
left | bool | |
return | void |
public Redraw ( |
||
g | Graphics object to redraw on | |
return | void |
public Resize ( int n, int e, int s, int w ) : void | ||
n | int | Number or rows to be added to or removed from the north side |
e | int | Number or columns to be added to or removed from the east side |
s | int | Number or rows to be added to or removed from the south side |
w | int | Number or columns to be added to or removed from the west side |
return | void |
public Save ( string fileName ) : void | ||
fileName | string | File name for the saved map |
return | void |