- void DoLine(wxInt32 i, wxInt32 j, wxUint32 alive, wxUint32 old = 0);
-
-
- CellBox *m_head; // list of alive boxes
- CellBox *m_available; // list of reusable dead boxes
- CellBox **m_boxes; // hash table of alive boxes
- wxUint32 m_numcells; // population (number of alive cells)
- Cell *m_cells; // cell array for FindMore()
- size_t m_ncells; // number of valid cells in cell array
- wxInt32 m_i, m_j, // state vars for FindMore()
- m_i0, m_j0,
- m_i1, m_j1;
- bool m_changed;
- bool m_findmore;
+ void DoLine(wxInt32 x, wxInt32 y, wxUint32 alive, wxUint32 old = 0);
+
+
+ // pattern description
+ wxString m_name; // name (currently unused)
+ wxString m_rules; // rules (currently unused)
+ wxString m_description; // description
+
+ // pattern data
+ LifeCellBox *m_head; // list of alive boxes
+ LifeCellBox *m_available; // list of reusable dead boxes
+ LifeCellBox **m_boxes; // hash table of alive boxes
+ wxUint32 m_numcells; // population (number of alive cells)
+
+ // state vars for BeginFind & FindMore
+ LifeCell *m_cells; // array of cells
+ size_t m_ncells; // number of valid entries in m_cells
+ wxInt32 m_x, m_y, // counters and search mode
+ m_x0, m_y0,
+ m_x1, m_y1;
+ bool m_changed;
+ bool m_findmore;