Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

PIC.16F.16F877A

Constants

FLOAT WallOffset     BOOL false     FLOAT PillarPitch     BOOL true    

Globals

BYTE cells     BYTE State     UNSIGNED INT WallCount     UNSIGNED INT PillarCount     BYTE IR    

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Hunt

Return:     BYTE
Vars:     UNSIGNED INT idxh     UNSIGNED INT idxw     UNSIGNED INT pointer    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

GenerateMaze

Return:     VOID
Vars:     BYTE active    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Ev_Property

Return:     UNSIGNED LONG
Vars:     UNSIGNED INT calc     STRING retval    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

InitCells

Return:     VOID
Vars:     UNSIGNED INT idxw     UNSIGNED INT idxh     UNSIGNED INT pointer     UNSIGNED INT rand1     UNSIGNED INT rand2    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

HideObject

Return:     VOID
Params:     HANDLE Object    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

PickStartCell

Return:     VOID
Vars:     UNSIGNED INT idx    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Draw_Cells

Return:     VOID
Vars:     UNSIGNED INT idxh     UNSIGNED INT idxw     UNSIGNED INT pointer     HANDLE ObjHandle     HANDLE PosHandle    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

ClearMaze

Return:     VOID
Vars:     HANDLE ObjHandle     STRING ObjName    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

FindLongestPath

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

ShowObject

Return:     VOID
Params:     HANDLE Object    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

RemoveWall

Return:     VOID
Params:     UNSIGNED INT pointer     BYTE mask     UNSIGNED INT pointer2     BYTE mask2    
Vars:     BYTE idxh     BYTE idxw    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Ev_Click

Return:     UNSIGNED LONG
Params:     HANDLE Component     FLOAT X     FLOAT Y     FLOAT Z    
Vars:     STRING ObjName     STRING LftName     BYTE active     BYTE Visible    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

Recursive

Return:     VOID
Vars:     UNSIGNED INT idxh     UNSIGNED INT idxw     UNSIGNED INT pointer     BYTE temp     BYTE valid    

Your browser does not support the HTML5 canvas tag.

Hunt    /    GenerateMaze    /    Ev_Property    /    InitCells    /    HideObject    /    PickStartCell    /    Draw_Cells    /    ClearMaze    /    FindLongestPath    /    ShowObject    /    RemoveWall    /    Main    /    Ev_Click    /    Recursive    /    DeleteEdgeWalls

DeleteEdgeWalls

Return:     VOID
Vars:     BYTE random    

Your browser does not support the HTML5 canvas tag.

Verison History

Version 0.6
12/09/19 BR - Created initial recursive parser
14/09/19 BR - Added support for disabled icons
18/09/19 BR - Fixed decision icon parsing
19/09/19 BR - Added switch icon support
23/09/19 BR - Fixed recursive loop spacing
27/09/19 BR - Further tweaked spacing and added Macro menu
30/09/19 BR - Improved all string spacing
01/10/19 BR - Improved While icon support