Author Topic: DOWNLOAD: QB64-GL Version 3 [WINDOWS]  (Read 29766 times)

EricR

  • Full Member
  • ***
  • Posts: 163
  • Loading Humor.sys on boot should be mandatory
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #15 on: October 08, 2012, 06:55:00 am »
Hi all,
    Thanks EricR i have been waiting fore someone to do this for a while!
OlDosLover.
You are welcome OlDosLover.   I may do this again when Galleon releases the next version.

fatman2021

  • Hero Member
  • *****
  • Posts: 1199
  • Lord Jesus Christ, Son of God, have mercy on us.
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #16 on: October 08, 2012, 03:36:11 pm »
It's finally here! ;D
http://www.qb64.net/qb64v0960-win.zip

***Updates to the 'YOU CANNOT' LIST***
YOU CANNOT:
 -Use joystick
 -Use RELATIVE mouse movement
 -Use PLAY, SOUND or BEEP
 -Use $CONSOLE (I think)
 -Use _SCREENX, _SCREENY, or _SCREENMOVE
 -Use _TITLE
 -Use _ICON
 -Use _FULLSCREEN
 -Use _SNDRATE
 -Use _SNDRAWLEN
 -Use _DEVICES and associated functions (I think, mouse and keyboard might work)

GL_readme.txt:
Code: [Select]
QB64[GL] Version 0.960
======================

DO NOT:
 -Replace your primary QB64 folder with this (QB64-GL is still under early development and some parts are incomplete or have bugs)
 -Try to UPDATE this version of QB64
 -I'm sure there must be other things that go here...

YOU CANNOT:
 -Use joystick
 -Use RELATIVE mouse movement
 -Use PLAY, SOUND or BEEP
 -Use $CONSOLE (I think)

YOU CAN NOW:
 -Use _SNDPLAY/_SND...etc commands to play MP3, uncompressed WAV and _SNDRAW sounds
  (Sounds can really be 3D positioned thanks to OpenAL, use _SNDBAL)
 -Use TTF Fonts
 -Use TCP/IP networking

NEW COMMANDS:
 -_SNDOPENRAW function opens a new _SNDRAW channel, use _SNDCLOSE when finished
  handle = _SNDOPENRAW
  _SNDRAW leftsample, rightsample, handle
  _SNDCLOSE handle 'won't actually close until sound has finished playing

UNDER THE HOOD FACTS:
 -Check out the 'internal\c\parts' folder, all the 3rd party components ("parts") QB64
  relies on can be found in here in an organised fashion
 -"parts" need to be precompiled which makes the first "Run (F5)" take a while but things
  are just as fast (if not faster) than older versions of QB64 thereafter
 -Only "parts" which are needed are included. Watch how your executable file size changes
  as you add a reference to _SNDRAW, and how it grows again if you load an MP3. I'm not
  'proud' of the executable size, but it's much better than the old "include everything"
  approach.
 -For the fist time ever you can edit ALL of the internal source code of QB64, including
  3rd party libraries, and test the results in seconds. It's a 1,2,3 process...
  1) edit the .C source file of the thing you want to change
  2) run 'internal\c\purge_compiled_content.bat' which forces QB64 to rebuild that content
     (or, find the "part"'s .BAT file which rebuilds it and call the batch file directly)
  3) run your .BAS program
 -Where's the DLL files? Where's SDL? You can look but you won't find anything!

LINUX-- WHERE ART THOU?
 I did have a version of QB64-GL that ran in Linux but that was before another code
 restructure, the good news is that the code restructure will make it easier to provide
 a Linux version in the next release. If you want to help, take a look at the "parts"
 folder, particularly in the OS subfolders, you'll see that the Linux .SH files don't
 exist yet... maybe you can help me write some of those? Some of the parts have a file
 called 'config.h' which is OS specific and we need to write them for each OS we support
 or make then OS-independent based on other QB64 defines.

DEV. COMMENT
Wow! Time for a nap. I'm delighted that all the major components of QB64 are back in place,
though some are obviously more polished than others. This means I can properly begin
the porting to Android, Linux & MacOSX and start exploring how OpenGL graphics should
best be incorporated. It's painful to say this but SDL-based QB64 is still much better
than GL-based QB64, but I think QB64-GL will being to overtake SDL-QB64 later this year.

_LOADIMAGE returns an illegal function call.
Woe to those who call evil good, and good evil;
Who put darkness for light, and light for darkness;
Who put bitter for sweet, and sweet for bitter!

Isaiah 5:20

Cyperium

  • Hero Member
  • *****
  • Posts: 3660
  • Knowledge is good, but understanding is better
    • Cyperium
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #17 on: October 09, 2012, 04:31:53 pm »
I think that depends on the format you are trying to load. I know that .bmp files doesn't work. Haven't tried loading other formats but I suspect that JPG might work.

Galleon

  • Administrator
  • Hero Member
  • *****
  • Posts: 5486
  • QB Forever
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #18 on: October 12, 2012, 02:01:37 am »
Quote
_LOADIMAGE returns an illegal function call.
Try adding ',32)' to your _LOADIMAGE call. If you try and load an image in screen 0 it fails unless you use the '32' override.
_LOADIMAGE without the format parameter means "load this image so it can best be displayed by the current screen mode", but in SCREEN 0 that would be...ASCII ART!! Which is (of course) not supported.
Something old... Something new... Something borrowed... Something blue...

funkheld

  • Sr. Member
  • ****
  • Posts: 258
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #19 on: December 27, 2012, 08:32:25 am »
where there are gl-demos for this QB64-GL version 3 [WINDOWS]?

where is the gl_kit.bas ?
is the gl_package still needed ?

Thank you.

greeting
Peter
« Last Edit: December 30, 2012, 04:30:44 am by funkheld »

ljr2025

  • Full Member
  • ***
  • Posts: 168
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #20 on: December 29, 2012, 11:35:06 am »
I downloaded the GL program this morning to see how much I would have to modify my Media database program to get it to work. Even though I do use _SCREENX , _SCREENY and _SCREENMOVE in the program. It compiled and ran great even without REMarking those lines out. Great job as always Galleon.  8) 8)
Even though the executable grew to 3 times it's original size; from 991KB to 3.2MB  it's nice not to have all the DLL files to include with it.
Again, GREAT JOB
Les
Keep A  Smile On Your Lips, A Song In Your Heart

funkheld

  • Sr. Member
  • ****
  • Posts: 258
Re: DOWNLOAD: QB64-GL Version 3 [WINDOWS]
« Reply #21 on: December 30, 2012, 02:30:03 pm »
here you can finally a version of ogl-qb64 reins out with demos for opengl?  ??? ??? ???

Gruss
peter