I'm new to game programming in c and just wondering how to do this...
In blitzbasic there is types which are basically structures. With the types we can create as many as we like with the same name and then have a for loop that will do the same thing to each of the types with that name.
eg... (can't remember the exact commands in blitz. it's been a while)
for i = 0 to 20
New THING thing
thing.x = 10
This would create 21 things and then set their x's to 10.
Can you do something like this in c? I want to do this for bullets.
Thanks in advance.