Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OO
#15
britlion Wrote:
LCD Wrote:This cannot be done with a linked list?
sprite.x(nr)
sprite.pointer(nr)
or similar?


Yes, I think that would work. We don't really have good garbage collected tools for dynamic memory structures at the moment - and that's one of the things SP1 uses, built into the code. It would be possible to build a sprite system with its own system, but that would be rather a shame to have it locked in there.

I think, the linked lists are much easier to use than OO, so more coders can use it without knowing C.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)