How to compile the source?

Brit, Irish, Canadian, Australian, US and all around the world board. Language: English
Post Reply
real

How to compile the source?

Post 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?
Massimo32
Chapman's successor
Chapman's successor
Posts: 855
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Re: How to compile the source?

Post 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.
real
Someone..
Posts: 2
Joined: Thu Nov 10, 2005 1:31 pm

Post 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
Massimo32
Chapman's successor
Chapman's successor
Posts: 855
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Re: How to compile the source?

Post 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.
Guest

Post by Guest »

Of course, I understood. :?

When do you plan to offer the re-coded source for the new Blitzmax version?
Massimo32
Chapman's successor
Chapman's successor
Posts: 855
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post 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?
real
Someone..
Posts: 2
Joined: Thu Nov 10, 2005 1:31 pm

Post 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...
Massimo32
Chapman's successor
Chapman's successor
Posts: 855
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post 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.
Post Reply