Rob's Single Surface Entity Stuff

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

Jeremy Alessi(Posted 2004) [#1]
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?


Rimmsy(Posted 2004) [#2]
is bank global? or is bank an actual bank when it's passed?


Jeremy Alessi(Posted 2004) [#3]
The pointer bank is just passed as you use the function on many different banks.


big10p(Posted 2004) [#4]
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.


Jeremy Alessi(Posted 2004) [#5]
I'm just running his demo. I didn't do anything with it.