REMOVE THIS POST
Blitz3D => Blitzmax code convertion ?
BlitzMax Forums/BlitzMax Programming/Blitz3D => Blitzmax code convertion ? your probley better off converting it by hand
Sure Shagwana :) but if you can help me to understand
this array story ... :)
this array story ... :)
The code is quite bugged.
the arrays you access in LEV_SHAD_Initialise haven't been correctly initialized.
You create ter for example with [1,1] instead of the size you read out.
If you put a ter = new float[LMapSize,LMapSize] and Lmap = new float[LMapSize,LMapSize] after the function head it should work.
btw: Since when do () work for array index? They should be []
the arrays you access in LEV_SHAD_Initialise haven't been correctly initialized.
You create ter for example with [1,1] instead of the size you read out.
If you put a ter = new float[LMapSize,LMapSize] and Lmap = new float[LMapSize,LMapSize] after the function head it should work.
btw: Since when do () work for array index? They should be []
I've notice Bmax supports () for indexing arrays, seems to only be for compatibility as the docs don't mention it.
Its ok now :) many thanks :)
Cool, you converted my code. Can you please send me a copy.
Thanks
Tim.
PS, Another terrain editor?
Thanks
Tim.
PS, Another terrain editor?
Check your mail box :)
Got it, thanks.
:) It's a little bit normal ? :) no ? :)
Missing a file, I send you an email.
TIm.
TIm.