Ticket #518 (new enhancement)
Investigate possilbe problems with CellGrid
| Reported by: | prock | Owned by: | FIFE |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.3.5 |
| Component: | engine/core/model | Version: | trunk |
| Severity: | normal | Keywords: | CellGrid |
| Cc: | Blocked By: | ||
| Blocking: | Time planned: | ||
| Time remaining: | Time spent: |
Description
If you take a quick look at CellGrid? and how it's used you'll notice that Model owns it. If you ask Model for a CellGrid? by type it will clone a grid (if it finds it) and pass you a pointer to a new instance and adding the new instance to the end of it's list. The properties of the grid are cloned excluding the allow_diagonals property.
On a side note you'll notice also that the "m_allow_diagonals" property will always be the default because there is no way to modify it.
This ticket is to look at the current cell grid implementation and re-design/clean it up.
Change History
Note: See
TracTickets for help on using
tickets.

(In [3549]) * Modified the owner of CellGrids?. They are now owned by Layer.