Blitz3D => Blitzmax code convertion ?

BlitzMax Forums/BlitzMax Programming/Blitz3D => Blitzmax code convertion ?

Filax(Posted 2005) [#1]
REMOVE THIS POST


Shagwana(Posted 2005) [#2]
your probley better off converting it by hand


Filax(Posted 2005) [#3]
Sure Shagwana :) but if you can help me to understand
this array story ... :)


Dreamora(Posted 2005) [#4]
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 []


Azathoth(Posted 2005) [#5]
I've notice Bmax supports () for indexing arrays, seems to only be for compatibility as the docs don't mention it.


Filax(Posted 2005) [#6]
Its ok now :) many thanks :)


TartanTangerine (was Indiepath)(Posted 2005) [#7]
Cool, you converted my code. Can you please send me a copy.

Thanks

Tim.

PS, Another terrain editor?


Filax(Posted 2005) [#8]
Check your mail box :)


TartanTangerine (was Indiepath)(Posted 2005) [#9]
Got it, thanks.


Filax(Posted 2005) [#10]
:) It's a little bit normal ? :) no ? :)


TartanTangerine (was Indiepath)(Posted 2005) [#11]
Missing a file, I send you an email.

TIm.