Various times while developing my mod, I caused large amounts of shot to created, but at some point, it would stop making more shots, and each time would say:
AllocLink(): No more elements
I found where this is in the code, but I have been unable to track it to a cause... I would quite like a more unlimited amount of objects in my arena!
Logged
My team of four Androsynth and three Chmmr is the most unfair team ever! My mod
The code works with pre-allocated lists of Elements, probably so that it can make certain guarantees about memory usage. If there are no more elements available, some things just won't show up. The elements are allocated when InitQueue() is called. The one you're probably running into is called from InitContexts(). If you just want more elements, you can simply change the '100' into something you like better. If you want the game to dynamically allocate more elements, you'll have to modify the displist code yourself.
Logged
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
It looks like the size is stored in a single byte (num_objects in struct queue). You could change the type (you'd also need to change AllocQueueTableTab. But it looks like the code actually has a mode to allocate these links dynamically after all. Just don't #define QUEUE_TABLE in displist.h.
Logged
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”