RetroBASIC

Retrogamecoding(.org) => EGSL => Topic started by: Cybermonkey on November 12, 2012, 02:31:55 PM

Title: EGSL 1.6.0
Post by: Cybermonkey on November 12, 2012, 02:31:55 PM
Yes I know the release date should have been in October. I am actually working on the next release. What you can expect:
There will be no more .deb or .rpm packages for Linux. Just a plain tar.gz. The reason is that packaging for Linux is really time consuming (one needs 32 bit deb and rpm and 64 bit deb and rpm). At last the Windows version is still the most downloaded so I prefer to improve that installer. On the other hand you can expect a MacOS X version with IDE.
So stay tuned for more news soon ...  8)
Title: Re: EGSL 1.6.0
Post by: Tomaaz on November 12, 2012, 05:33:09 PM
  • improved IDE with colour and font options

Are you going to implement all Lua functions (I mean for highlighting)? I know that EGSL has its own set of helper functions, but still it's possible to use all build-in Lua functions, so why not to support them in the IDE? You can use my Geany configuration file or I can send you text file with all keywords.
Title: Re: EGSL 1.6.0
Post by: Cybermonkey on November 12, 2012, 07:30:46 PM
The EGSL-IDE uses the file "keywords.txt" (in the same folder as the IDE). So it is easy to add any keywords one wants to.
Title: Re: EGSL 1.6.0
Post by: Tomaaz on November 12, 2012, 08:12:43 PM
I've added all Lua functions to keyword.txt file (see attachment). All you need to do to have them highlighted in EGSL-IDE is replacing old keyword.txt file with the new one. Hope it will be useful. :)
Title: Re: EGSL 1.6.0
Post by: Cybermonkey on November 18, 2012, 03:05:54 PM
I just implemented the sdl-monofont functions into EGSL. What are the benefits? you might ask. It's now easy for anybody to create his/her own font with any paint program. (Though I recommend Gimp because one can disable the anti-aliasing of texts.) Just enter the following fontface into one line with your favourite font:
Quote
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
Now we only need to mark the width of the characters in the first line with purple (color 255,0,255).
As an example see the attachments.
BTW, mono doesn't mean monospaced font but monocoloured font. As you can see the characters can have different widths.
Title: Re: EGSL 1.6.0
Post by: Cybermonkey on November 18, 2012, 09:17:12 PM
Two new functions are pie and fillpie.

Code: [Select]
screen (800,600,0,"New features")
backcolour (100,25,25)
loadmonofont ("Fonts/MS Sans Serif Regular 12.bmp")
cls()
colour (0,120,0)
fillpie (400,300,200,12,39)
colour (255,255,0)
fillpie (400,300,200,39,12)
colour (0,0,0)
monotext (280,150,"I am not a Pacman but a Pie chart")
monotext (280,180,"functions pie(x,y,rad,start,end) ")
monotext (280,195,"and fillpie are implemented")
colour (255,255,255)
monotext (10,10,"int [works like trunc], round, floor and ceil are now implemented")
sync()
inkey()
closewindow() 
Title: Re: EGSL 1.6.0
Post by: Cybermonkey on December 04, 2012, 08:23:48 PM
Ok, just a small update: the sdl monofonts are working now on Windows, too. Release is planned before christmas. So stay tuned, folks.
Title: Re: EGSL 1.6.0
Post by: kevin on December 04, 2012, 09:33:52 PM
I'm looking forward to the new release ..... haven't tried it much yet but will do when the new version comes along...thank you for the time you are putting into this project....
Title: Re: EGSL 1.6.0
Post by: Tomaaz on December 10, 2012, 06:21:39 PM
I've been thinking about helping with EGSL documentation for some time, but, unfortunately, it takes more time and is less fun than coding. I will have more free time soon and will try to edit some functions. So, I've got two question. First - how different the new 1.6.0 version will be? Second - are you planning to keep documentation in the same format (WoaS)?
Title: Re: EGSL 1.6.0
Post by: Cybermonkey on December 10, 2012, 06:58:57 PM
Yes docu is less or even nor fun. :-( All functions from the old version are still valid on 1.6.0. At the moment I'd like to keep the documentaiton in the same format until someone can point me a better system...
Title: Re: EGSL 1.6.0
Post by: Tomaaz on December 10, 2012, 07:05:30 PM
What about DokuWiki (https://www.dokuwiki.org/dokuwiki)? Basic256 documentation (http://doc.basic256.org/doku.php?id=en:start) uses it and it looks quite nice.