Wow, that code causes absolute havoc on my machine - completely crashing windows. :/
After several attempts, I managed to narrow the cause down to the Flip False! On my PC, at least, it seems this is the trouble because the buffers are getting flipped at VERY high speed because there's nothing to render, to begin with. My PC really doesn't like this. Changing to Flip True fixes it.
My specs: Athlon 850Mhz, Win98SE, 128MB RAM, GeForce 256, DX8, Blitz3D 1.88
The good news is, nothing appears to be wrong with your code. The reason you think some quads aren't getting created is because they're being positioned exactly on top of other quads. Use EntityAlpha to make the quads semi transparent and you'll see them.
The reason the same quads don't seem to appear every time you run is because you're not seeding the random number generator with SeedRnd MilliSecs().
After several attempts, I managed to narrow the cause down to the Flip False! On my PC, at least, it seems this is the trouble because the buffers are getting flipped at VERY high speed because there's nothing to render, to begin with. My PC really doesn't like this. Changing to Flip True fixes it.
My specs: Athlon 850Mhz, Win98SE, 128MB RAM, GeForce 256, DX8, Blitz3D 1.88
The good news is, nothing appears to be wrong with your code. The reason you think some quads aren't getting created is because they're being positioned exactly on top of other quads. Use EntityAlpha to make the quads semi transparent and you'll see them.
The reason the same quads don't seem to appear every time you run is because you're not seeding the random number generator with SeedRnd MilliSecs().