]> Pileus Git - grits/commit
Change level storage from GTree to GQueue
authorAndy Spencer <andy753421@gmail.com>
Sun, 29 Apr 2012 23:31:16 +0000 (23:31 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 29 Apr 2012 23:46:54 +0000 (23:46 +0000)
commit4a002d3be2d7d321797f18ff12b6fcd3f19d0066
treeae5cb0c4975ca5a2792b5006c0514db3ce8973ef
parenta4d46f05452288a5f590165ee4a0d90cbfe1c6a9
Change level storage from GTree to GQueue

GQueue is really just a GList with a tail pointer, which lets us iterate
in reverse easier. Using lists also let us iterate with loops instead of
funky callbacks all over the place, this may result it slightly more
code, but is much easier understand.
src/grits-opengl.c
src/grits-opengl.h