1

Topic: Dynamic data structs in Teeworlds

Hello,

I'm wondering if there is at the moment any dynamic struct implemented in Teeworlds - some stack, something that could be grown to infinite (or nearly) by dynamically allocating memory. Some data (like skins and so on) should be dynamically represented in memory, but they aren't, and I don't understand why.

Something like:

typedef struct Element
{
    Element* p_element; // Pointer on the next element
    Data data; // Data here
}Element;

Dunedune.

Not Luck, Just Magic.

2

Re: Dynamic data structs in Teeworlds

Teeworlds has some linked lists, those don't necessarily have a size limit.