Rob's Single Surface Entity Stuff

Blitz3D Forums/Blitz3D Programming/Rob's Single Surface Entity Stuff

Just checked this out but there seems to be a problem. I get a "bbBank does not exist" error here:

Function WriteBankFloat(bank,value#)
     size=BankSize(bank) ;Error on this Line


What's the problem?

is bank global? or is bank an actual bank when it's passed?

The pointer bank is just passed as you use the function on many different banks.

That code can only fail if you pass an invalid bank handle to the function. Therefore, this must be what you're doing. :)

Check you're not passing in a handle of a freed bank etc.

I'm just running his demo. I didn't do anything with it.