Page 1 of 1

How to compile the source?

Posted: Wed Nov 09, 2005 11:34 am
by real
Hi,

I just bought BlitzMax to enhance Yoda Soccer. I want to add network support (but until today I only have experiences in programming C, not Basic).

I downloaded the source code of Yoda and compiled it. The created .exe is running smooth, but if I start a game I have massive problems with the graphics. :cry: The downloadable version of Yoda is running okay.

My questions:
1. Do I have to pay attention to anythink to compile the source?
2. What graphics subsystem (DX/GL) is supported by the source?

Re: How to compile the source?

Posted: Wed Nov 09, 2005 12:01 pm
by Massimo32
Hi real and welcome.
Well, it depends on the platform. In windows you can use DX or GL, simply comment/uncomment the line:

'SetGraphicsDriver GLMax2DDriver() 'windows version only

in main.bmx.

Posted: Thu Nov 10, 2005 5:09 pm
by real
Hi Massimo,

first I want to get a recompiled version of yoda run, then I will try to enhance it (and share the code with you, of course). :lol:
But: The speed of my own re-compiled version is very sluggy (compared with the downloadable .exe). Could you give me a clue why?

Greetings
René from Hamburg/Germany

Re: How to compile the source?

Posted: Fri Nov 11, 2005 7:02 pm
by Massimo32
Ok, let's start again...
real wrote:
1. Do I have to pay attention to anythink to compile the source?
No, nothing in particular.

But remember to update your blitzmax to v1.10 and syncronize modules.
real wrote:
2. What graphics subsystem (DX/GL) is supported by the source?
In windows you can use DX or GL, simply comment/uncomment the line:

'SetGraphicsDriver GLMax2DDriver() 'windows version only

in main.bmx. DirectX should perform better.

Posted: Mon Nov 14, 2005 11:27 pm
by Guest
Of course, I understood. :?

When do you plan to offer the re-coded source for the new Blitzmax version?

Posted: Tue Nov 15, 2005 4:12 pm
by Massimo32
Anonymous wrote: When do you plan to offer the re-coded source for the new Blitzmax version?
Re-coded source? I don't understand, do I miss something?

Posted: Wed Nov 16, 2005 4:46 pm
by real
There is a new version of BlitzMax out, V1.12. There are many changes in the new version: FlushMem, MemAlloced(), MemUsage() has gone etc...

Posted: Wed Nov 16, 2005 11:41 pm
by Massimo32
real wrote:There is a new version of BlitzMax out, V1.12. There are many changes in the new version: FlushMem, MemAlloced(), MemUsage() has gone etc...
I didn't know, thanks.
I'll test BMax 1.12 and if everything goes well, I'll use it for the next beta.