LegionGL is the experimental game library used in Bad Cheese Games and Legion Game Maker.
You can get the source code from Legion's Sourceforge Page. I know it says that Git is set up, but I have not set it up yet.
How to compile:
First you need FreeBASIC. Get it at:
FreeBASIC Download
Now get the source code. The LegionGL page is oddly empty right now, so get it from this direct link:
Download LegionGL source code
Right click the link and click "save link as..."
Save the file to wherever you want the code.
Open a command prompt and type this:
SET %PATH% = %PATH%;"C:\FreeBASIC\bin\;"
Now go to the folder where the code is stored, and type this:
fbc -lang fb -dll LegionGL.bas
That will make a .dll file and a .a file. You do not have to distribute the .a file, but keep it around to link against.
If you want to convert it into x86 assembly, type this instead:
fbc -lang fb -dll -a legiongl.bas
That can be assembled using the GNU Assembler.
If you want it converted to C code, type this:
fbc -lang fb -gen gcc -dll -a legiongl.bas
Then after you have assembled it or compiled it, you can use legiongl.dll in your programs.
If you want to use it in visual studio, follow this link:
Using MinGW DLLs in MSVC
You can get the source code from Legion's Sourceforge Page. I know it says that Git is set up, but I have not set it up yet.
How to compile:
First you need FreeBASIC. Get it at:
FreeBASIC Download
Now get the source code. The LegionGL page is oddly empty right now, so get it from this direct link:
Download LegionGL source code
Right click the link and click "save link as..."
Save the file to wherever you want the code.
Open a command prompt and type this:
SET %PATH% = %PATH%;"C:\FreeBASIC\bin\;"
Now go to the folder where the code is stored, and type this:
fbc -lang fb -dll LegionGL.bas
That will make a .dll file and a .a file. You do not have to distribute the .a file, but keep it around to link against.
If you want to convert it into x86 assembly, type this instead:
fbc -lang fb -dll -a legiongl.bas
That can be assembled using the GNU Assembler.
If you want it converted to C code, type this:
fbc -lang fb -gen gcc -dll -a legiongl.bas
Then after you have assembled it or compiled it, you can use legiongl.dll in your programs.
If you want to use it in visual studio, follow this link:
Using MinGW DLLs in MSVC