aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/fixed_queue.h
AgeCommit message (Collapse)Author
2017-09-16TITANIC: Fixed FixedQueue compaction when queue has been emptiedPaul Gilbert
2017-09-14TITANIC: Moved queue logic within CAUdioBuffer to new FixedQueue classPaul Gilbert
This is a cleaner implementation, since all the pointer logic and queue management is now better encapsulated in it's own class. I felt a new FixedQueue class was necessary because the standard Queue class uses a Common::List internally, which would be unsuitable for containing 100,000 elements, since each int value would need it's own list node. This way uses an array internally, like FixedStack