BlitzMax + MiniB3D = Blitz3D ?
Miscellaneous Forums/General Discussion/BlitzMax + MiniB3D = Blitz3D ?
Hi all,
Could Blitz3D prg be ported to BlitzMax+MiniB3D?
Thanks in advance
Short answer: Yes.
Long answer: Depends on what B3D commands you use and what commands simonh have implemented.
Hmm, with BMax and MiniB3D, that makes me wonder if I could be using this in Linux so I can be designing the same programs in Ubuntu that I'm designing in Vista with the real Blitz3D.
Short answer: yes. But it will take a serious amount of rewrite of the general logic from "int handle" behavior to Blitz Max opted coded.
Most of the hacky stuff people used to optimize in Blitz3D does not work anymore.
Short Answer: No, not really
Real Answer: Probably
Ehh, okay, so it's not gonna be a direct port from Windows to Linux in that sense, right?
It can be quite easy, although obviously it depends on the project. If you run your source code through the BB -> BMax converter, then the chances are the code will need only a little tweaking to get working.
the BB -> BMax converter
?
The Import option in the official and community edition IDEs.
It unfortunately doesn't deal with more design-wise differences like ImageBuffer vs. Whatever (TPixmap is the most direct alternative, I believe?), but it gets things started really well.
-"I can be designing the same programs in Ubuntu that I'm designing in Vista with the real Blitz3D."
Whynot use max + b3d on both? it would save a lot of rewriting, unless its already in b3d of course :)
@H&K
In the MaxIDE, goto 'File/Import bb project...', select a BlitzBasic file and it will convert it to Max, well, nearly convert it, you may have to change some stuff manually, as Picklesworth mentioned, but it does a good job in getting the conversion started.
Dabz