.bb to .bmx

BlitzMax Forums/BlitzMax Beginners Area/.bb to .bmx

DannyD(Posted 2006) [#1]
I tried importing this from a .bb file. blitzmax converted it to .bmx but I'm getting errors when compiling. Any help appreciated.



How good is the import bb project function in BlitzMax ?


Brucey(Posted 2006) [#2]

I removed the "SetBuffer" line, and changed the Text..... line as BlitxMax uses DrawText instead, and with the parameters swapped around - string, x, y - instead of - x, y, string.


DannyD(Posted 2006) [#3]
Ahh yes indeed. thanks mate.


Dreamora(Posted 2006) [#4]
I would not use the BB importer. It creates a extremely unoptimized procedural code which is next to useless ...
Better rewrite stuff from scratch with BMs OO behaviour in mind to make sure you won't have speed issues because of that.


DannyD(Posted 2006) [#5]
Thanks for the info. The importer doesn't even change the comments from bb's ; to bmx's ' !