so what im understanding, i would do something like
class myclass : public baseclass
string Cname ="c_myclass"
register(myclass) (or a pointer to it?)
registering it would add it to a list of all the other classes using its Cname, i would then be able to spawn shit by say
SpawnEntity(findCLassByName("c_myclass"),x,y)- and i could also register it with a "Magic number" also to facilitate smaller savefiles or, uh faster processing times (strings vs ints)
so, question time, would this register be er, pointers to the classes?, i'm still a little new to this, but i assume that if i did something like function(aclass) it would pass aclass's position in memory, and i could do something like x=aclass->x or .x or whatever.
i also found this
though it doesnt seem to have any description of how the classes are held so it's not so helpful