Re: [Gambas-user] For...Next loop efficiency question

2012-02-23 Thread Kevin Fishburne
Thank you everyone, that information is extremely useful. You can also time several repetitions of the code and compare the results. It seems declaration and pre computation of variables involved in a For...Next loop isn't necessary other than for legibility, which is awesome. --

[Gambas-user] For...Next loop efficiency question

2012-02-22 Thread Kevin Fishburne
every Next? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Virtualization & Cloud Management Using Capacity Planning Cloud computin

Re: [Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
longside more modern tools such as GAMBAS, as that is a huge advantage over the newly initiated. What I lack in mathematical prowess I make up for in creativity and drive (and helpful GAMBAS users!). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtue

Re: [Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
gle(0, 359, Camera.Orientation + 0.1 * Distance) Else Camera.Orientation = Convert.Wrap_Single(0, 359, Camera.Orientation - 0.1 * Distance) Endif Endif It works brilliantly. Muchas gracias and domo arigato. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa

[Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
ndif Endif My instinct tells me I'm almost there but am missing one critical thing. If someone smarter than myself instantly sees my mistake please let me know. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Kevin Fishburne
tating the documentation >> >> >> As my dad would say, "I'll be double-dipped in dog manure." :) Thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Kevin Fishburne
PUBLIC Tunes AS Object[] > > > > In a SUB somewhere... > Dim newTune as NEW Tune( possible constructor information if you want) > > Tunes.Add( newTune) > > --- > > As long as Tunes[] points to class instances of Tune, they remain existing. > > > -Fernando > &

Re: [Gambas-user] gb3: converting structures to classes

2012-02-06 Thread Kevin Fishburne
an array of the class? I'm starting to think it may be more complicated (or at least different) than with structures. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com p

[Gambas-user] gb3: converting structures to classes

2012-02-04 Thread Kevin Fishburne
s wanting these (numerous) structure declarations to be contained within their own module for organizational purposes and to be accessible between modules. It was suggested in previous emails that this was possible using classes instead of structures. Thanks everyone. -- Kevin Fishburne Ei

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Kevin Fishburne
GAMBAS app directly from an icon in Windows. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Try before you buy = See our experts in action! The mos

Re: [Gambas-user] web cam question

2012-01-29 Thread Kevin Fishburne
icking this button in linux. It may act as keyboard and send a key combination when the button is pressed. Not sure how to record keyboard input in GAMBAS, though. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightv

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-18 Thread Kevin Fishburne
On 01/17/2012 12:38 PM, Fabien Bodard wrote: > Le 17 janvier 2012 16:22, Benoît Minisini > a écrit : >> Le 17/01/2012 11:35, Kevin Fishburne a écrit : >>> On 01/17/2012 05:18 AM, Kevin Fishburne wrote: >>>> On 01/16/2012 02:33 AM, Benoît Minisini wrote: >>&

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Kevin Fishburne
On 01/17/2012 05:18 AM, Kevin Fishburne wrote: > On 01/16/2012 02:33 AM, Benoît Minisini wrote: >> Le 16/01/2012 08:05, Kevin Fishburne a écrit : >>> On 01/16/2012 01:43 AM, Kevin Fishburne wrote: >>>> Why would I get the runtime error "Mathematic error" in

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-17 Thread Kevin Fishburne
On 01/16/2012 02:33 AM, Benoît Minisini wrote: > Le 16/01/2012 08:05, Kevin Fishburne a écrit : >> On 01/16/2012 01:43 AM, Kevin Fishburne wrote: >>> Why would I get the runtime error "Mathematic error" in this function: >>> >>> Public Function Distanc

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-15 Thread Kevin Fishburne
On 01/16/2012 01:43 AM, Kevin Fishburne wrote: > Why would I get the runtime error "Mathematic error" in this function: > > Public Function Distance(x1 As Single, y1 As Single, x2 As Single, y2 As > Single) As Single > Return Abs(Sqr((x2 - x1) * (x2 - x1) + (y2

[Gambas-user] gb3: "Mathematic error"

2012-01-15 Thread Kevin Fishburne
E+27 146.759170532227 7.19552647834628E+27 Using GAMBAS 3, revision unknown. I'm recompiling now to see if it makes a difference, but please let me know what this error means and what could cause it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eight

Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-18 Thread Kevin Fishburne
On 11/19/2011 02:42 AM, Fabien Bodard wrote: > 2011/11/19 Kevin Fishburne: >> I had structure declarations running out of my eyes and ears across >> about 10 modules, so I decided to create a "Structures" module to >> contain them all. Here's an

[Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-18 Thread Kevin Fishburne
Is there some workaround other than moving all my structure definitions back into the modules which reference them? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 --

Re: [Gambas-user] gb3: changing the active font

2011-11-03 Thread Kevin Fishburne
On 11/03/2011 03:21 PM, Laurent Carlier wrote: > Le jeudi 3 novembre 2011 15:06:22, Kevin Fishburne a écrit : >> On 11/03/2011 01:14 AM, Fabien Bodard wrote: >>> Have you tried : >>> >>> Draw.Font = Draw.Font.Load("/home/kevinfishburne/Desktop/Sanctimonia

Re: [Gambas-user] gb3: changing the active font

2011-11-03 Thread Kevin Fishburne
and it still crashes. Somehow Draw.Font.Name is being reset to "DejaVuSans.ttf". I searched the entire project for "Draw.Font" and nothing else is modifying it. Sounds like a bug. I'm using revision 4229.

Re: [Gambas-user] gb3: changing the active font

2011-11-02 Thread Kevin Fishburne
On 11/02/2011 02:54 AM, Bruce Bruen wrote: > On Wed, 2011-11-02 at 01:47 -0400, Kevin Fishburne wrote: > >> I'm using SDL and OpenGL. Normal routines for drawing fonts in a >> DrawingArea work fine; I didn't have to change my code after >> switchi

Re: [Gambas-user] gb3: changing the active font

2011-11-01 Thread Kevin Fishburne
On 11/02/2011 01:24 AM, Bruce Bruen wrote: > On Wed, 2011-11-02 at 00:47 -0400, Kevin Fishburne wrote: > >> I'm looking through the docs trying to find out how to change the active >> font but am not having much luck. Anyone know how to do it? I can change >> the siz

[Gambas-user] gb3: changing the active font

2011-11-01 Thread Kevin Fishburne
I'm looking through the docs trying to find out how to change the active font but am not having much luck. Anyone know how to do it? I can change the size and color, but not the font being used. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtue

Re: [Gambas-user] Does gambas3 have the guts to make it?

2011-10-17 Thread Kevin Fishburne
n gb3 definitely has got what it takes! :-) :-) :-) > > Thanks a million, or in fact thanks 7.4million! > regards > Bruce The answer is "Yes", then. I'm in a world of hurt and sadness right now, but your post mad

[Gambas-user] gb3: OpenGL help

2011-10-16 Thread Kevin Fishburne
ated. A kind gb user also sent me the OpenGL redbook, which I can use for reference if the functions are supported by gb. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 --

Re: [Gambas-user] repository gambas 3 for ubuntu

2011-10-14 Thread Kevin Fishburne
s with dependencies will be made and distributed throughout the repositories. For now compile from source. Once the dev dependencies have been installed, you may download and compile the newest gb3 with a few commands. Ask or research for your specific distro's compilation commands. -- Kevi

Re: [Gambas-user] Ubuntu 11.10 64 - Build 4200

2011-10-14 Thread Kevin Fishburne
buntu as I have - it's just classes better as for > example netbeans. Gambas is great. :) Benoît and friends kick more ass than Arnold Schwarzenegger and Jason Stathamcombined. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eig

Re: [Gambas-user] Ubuntu 11.10 64 - Build 4200

2011-10-14 Thread Kevin Fishburne
ttings and experimenting with panels before I had it set up properly. Once it was, I was happier than I'd ever been with my OS. No reason to look back for me. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirt

Re: [Gambas-user] A little off topic - internet

2011-10-10 Thread Kevin Fishburne
11/8168B PCI Express Gigabit Ethernet controller (rev 06) It works slowly on the 2.6 kernel but extremely quickly on the 3.x kernel. It's an integrated chipset on a GIGABYTE motherboard (desktop). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.

Re: [Gambas-user] Release of Gambas 3 RC5

2011-10-10 Thread Kevin Fishburne
ay and where to say it, you are > strongly welcome! > > Best regards, > Submit the announcement to Slashdot and maybe gamedev.net (since it has much better SDL and OpenGL support now). -- Kevin Fishburne Eight Virtues www: http://sales.eightvi

Re: [Gambas-user] A little off topic - internet

2011-10-08 Thread Kevin Fishburne
t works with the kernel drivers. If it's not in the kernel and doesn't have vendor-provided binary drivers then to hell with it. Also send them a letter saying that they suck, haha. -- Kevin Fishburne Eight Virtues www: h

Re: [Gambas-user] Maybe new editor feature - code folding in IF, FOR, WHILE etc code blocks (not only in SUB).

2011-10-08 Thread Kevin Fishburne
ly unobtrusive way then it is a good idea. The last thing I want to see when I'm in the "zone" is an IDE distraction. I don't know that I would use it personally, but I can imagine it being useful depending on what your procedures look like.

Re: [Gambas-user] gb3: tooltip color sources in Qt/KDE

2011-10-07 Thread Kevin Fishburne
round. > I have no tooltip color property in the Gambas Color class yet... > That sounds right. I'm not trying to control the legacy tooltip colors in my own program; I just want the IDE to use colors from the DE or GAMBAS style overrides. What is so interesting to me is how the

Re: [Gambas-user] Issue 125 in gambas: No display of background and foreground colors for some controls in IDE mode

2011-10-07 Thread Kevin Fishburne
out where the gb3 IDE tooltip color values were copied from when in Qt mode. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- All of the d

Re: [Gambas-user] gb3: tooltip color sources in Qt/KDE

2011-10-07 Thread Kevin Fishburne
cation and double-click a variable to expose its value through the tooltip/hover mechanism. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: tooltip color sources in Qt/KDE

2011-10-06 Thread Kevin Fishburne
On 10/07/2011 01:26 AM, Girard Henri wrote: > Le 07/10/2011 07:06, Kevin Fishburne a écrit : >> What foreground and background colors in Qt/KDE does gb3 pull its >> tooltip color settings from? Tooltip colors aren't programmable from >> gb3's settings, and I teste

[Gambas-user] gb3: tooltip color sources in Qt/KDE

2011-10-06 Thread Kevin Fishburne
aken from (they don't appear to match any of the colors in KDE's color schemes). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- All

Re: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing)

2011-10-06 Thread Kevin Fishburne
On 10/06/2011 06:48 AM, Bruce Bruen wrote: > On Thu, 2011-10-06 at 21:11 +1030, Bruce Bruen wrote: > >> On Thu, 2011-10-06 at 01:20 -0400, Kevin Fishburne wrote: >> >>> On 10/05/2011 06:20 AM, doriano.bleng...@fastwebnet.it wrote: >>>> Bruce Bruen ha scr

Re: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms

2011-10-05 Thread Kevin Fishburne
e to see GAMBAS work in Windows as well. The silver lining is that GAMBAS shows Windows up; it embarrasses it and lets people know they can craft powerful and robust programs using a different ecosystem entirely. Streamlined virtualization under Windows is probably the best-case u

Re: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing)

2011-10-05 Thread Kevin Fishburne
On 10/05/2011 06:20 AM, doriano.bleng...@fastwebnet.it wrote: > Bruce Bruen ha scritto: >> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>> can compile without hacks. Thanks for the

Re: [Gambas-user] myZone4

2011-10-05 Thread Kevin Fishburne
urceforge page, http://myzone.sourceforge.net/ > My blog related is http://myzone4.tumblr.com/ > > I want to thank my Gambas-it's friends Milio and Golia for their > support. Congrats. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@e

Re: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing)

2011-10-04 Thread Kevin Fishburne
Hopefully the Debian or Mint team will get this mess sorted out so gb3 can compile without hacks. Thanks for the help anyway, and for anyone else who sees GNOME as the walking dead, I highly recommend Kubuntu or any other well-supported KDE distribution. I should

Re: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing)

2011-10-01 Thread Kevin Fishburne
On 10/02/2011 01:30 AM, Kevin Fishburne wrote: > I'd previously posted a message about having problems compiling and > didn't get a response, but someone subsequently ran into the same (I > think) problem which I believe they resolved. I'm getting the error: > >

[Gambas-user] gb3: unable to compile on Debian Wheezy (testing)

2011-10-01 Thread Kevin Fishburne
omewhere. Was an elegant solution ever devised to get it to compile properly? I can't remember whatever my brutal hack was to fix it (I reinstalled Debian recently). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvir

Re: [Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-13 Thread Kevin Fishburne
ween the same values instead of >> changing based on the current time. Something really weird's going on. >> Hopefully I'm just being an idiot and there's a simple solution. > > Note that if you write to #Mem, the #Mem file pointer (which is the memory > address)

Re: [Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-12 Thread Kevin Fishburne
anging based on the current time. Something really weird's going on. Hopefully I'm just being an idiot and there's a simple solution. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues

Re: [Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-12 Thread Kevin Fishburne
On 09/12/2011 09:19 PM, Benoît Minisini wrote: >>> On Sun, Sep 11, 2011 at 07:40, Kevin Fishburne< >>> >>> kevinfishbu...@eightvirtues.com> wrote: >>>> My code looks like this: >>>> >>>> ' For writing outgoin

Re: [Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-12 Thread Kevin Fishburne
> On Sun, Sep 11, 2011 at 07:40, Kevin Fishburne< > kevinfishbu...@eightvirtues.com> wrote: > >> My code looks like this: >> >> ' For writing outgoing UDP data to memory. >> Public data As String >> Public mem As Stream >> >> ' C

[Gambas-user] gb3: writing variables to a string using a memory stream and pointer

2011-09-10 Thread Kevin Fishburne
t mem.Send Print data It throws signal 11 on the Print statement. I have two questions. First is this the correct way to write one or more variables to a string in memory, and second what's up with the signal 11? I'm using revision 4094 and will update to the newest revision in a

Re: [Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes

2011-08-31 Thread Kevin Fishburne
he UDP socket, create a string that many bytes long, open a MEMORY stream pointing to that string, write the varibles to the string, then both send the string over UDP and archive it in my transaction queue history. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-ma

Re: [Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes

2011-08-30 Thread Kevin Fishburne
On 08/30/2011 04:35 AM, Bruce Bruen wrote: > On Tue, 2011-08-30 at 01:52 -0400, Kevin Fishburne wrote: >> When a transaction isn't received and I need to resend it, I'd like >> to >> be able to refer to the transaction history and resend the data >>

[Gambas-user] gb3: using string as stream for sequential write operations of arbitrary datatypes

2011-08-29 Thread Kevin Fishburne
er the converse of the [datatype]@ functions solved this problem but were removed from gb3. If any other solution is available I'd like to hear about it. The subject line of the email is one suggestion, though I don't know if it's possible. If it is possible then I could create

Re: [Gambas-user] 4025: Y U No Compile?

2011-08-21 Thread Kevin Fishburne
loaded gtk+2.24.5 sources, and I didn't find > gtk_window_set_has_resize_grip in it! > > WTF? Is it an Ubuntu WTF again? > Could be Canonical or GNOME. After so many years I had to switch to Debian to escape the madness. Hopefully the GNOME team will get a clue b

Re: [Gambas-user] miles per hour to pixels per frame (general unit conversion function)

2011-08-20 Thread Kevin Fishburne
y be > 17 metres closer to it, and if you take your eyes off the road just for > a second to answer a text or change CDs... :-O > > Regards, > Caveat > > On Sat, 2011-08-20 at 03:17 -0400, Kevin Fishburne wrote: >> I came up with this equation, which I think is correct: &g

[Gambas-user] miles per hour to pixels per frame (general unit conversion function)

2011-08-20 Thread Kevin Fishburne
and 128 pixels = one foot. Can anyone verify that this is correct? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Get a FREE DOWNLOAD! and l

Re: [Gambas-user] algorithm for scaling 2D coordinates centered on an arbitrary point

2011-08-16 Thread Kevin Fishburne
On 08/17/2011 12:48 AM, Kevin Fishburne wrote: > I'm sure this is ridiculously simple, but my simple brain can't seem > to figure it out. > > I have a set of screen coordinates, xPos and yPos. I need to adjust > their positions based on a zoom level, CameraZoom. The zoo

[Gambas-user] algorithm for scaling 2D coordinates centered on an arbitrary point

2011-08-16 Thread Kevin Fishburne
has to be some simple equation to produce this. I've attached the procedure that needs this just for reference. Any clues appreciated, as always. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 Public Sub Tex

Re: [Gambas-user] Release of Gambas 3 RC2

2011-08-10 Thread Kevin Fishburne
n Debian Testing and it works like a champ. I especially appreciate all the OpenGL work that has been done lately. I hope to take advantage of it in every way I can. So far my project has been nearly completely converted over to it and is working very well. -- Kevin Fishburne Eight Virtu

Re: [Gambas-user] gb3: OpenGL, rotation and translation of matrix affecting multiple quads

2011-08-10 Thread Kevin Fishburne
On 08/09/2011 02:02 AM, tommyl...@eircom.net wrote: - Original Message - From: "Kevin Fishburne" To: gambas-user@lists.sourceforge.net Sent: Tuesday, 9 August, 2011 2:44:10 AM Subject: [Gambas-user] gb3: OpenGL, rotation and translation of matrix affecting multiple qua

[Gambas-user] gb3: carriage return on comment line modification

2011-08-10 Thread Kevin Fishburne
g Enter at the beginning of a comment line probably means you're just trying to move the comment line down. This is what happens when you press Enter at the end of a comment line: ' Comment line 1. ' And this if pressed at the beginning: ' ' Comment line 1.

Re: [Gambas-user] Making code pretty

2011-08-09 Thread Kevin Fishburne
h I now do manually), it is > sometimes faster to get to the procedure I want without having to use > the mouse. Ooooh. I like that and will give it a try. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eight

Re: [Gambas-user] Making code pretty

2011-08-09 Thread Kevin Fishburne
also be useful for having to deal with someone else's code who might have procedures in completely random order. Manually reordering more than a few does get tedious. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -

[Gambas-user] gb3: OpenGL, rotation and translation of matrix affecting multiple quads

2011-08-08 Thread Kevin Fishburne
nslatef, but the group ALWAYS seems to rotate with the upper-left corner as the origin. I need to be able to control the origin. I can do this easily with a single quad, but seem to have trouble doing it "globally" with the For...Next loops of quads. -- Kevin Fishburne Ei

Re: [Gambas-user] gb3: 2D array of 1D Integer arrays

2011-08-08 Thread Kevin Fishburne
ize] >> >> For counter2 = 0 To TileGrid.Size - 1 >> For counter1 = 0 To TileGrid.Size - 1 >> tTileGrid[counter1, counter2] = New Integer[1] > T > |

Re: [Gambas-user] gb3: 2D array of 1D Integer arrays

2011-08-08 Thread Kevin Fishburne
[TileGrid.Size, TileGrid.Size] For counter2 = 0 To TileGrid.Size - 1 For counter1 = 0 To TileGrid.Size - 1 tTileGrid[counter1, counter2] = New Integer[1] tTileGrid[counter1, counter2] = Gl.GenTextures(1) Next Next It seems to work fine. Thanks! -- Kevin Fishb

[Gambas-user] gb3: 2D array of 1D Integer arrays

2011-08-08 Thread Kevin Fishburne
n Integer into receiving array. tTileGrid[counter1, counter2][0] = Gl.GenTextures(1) What's the correct syntax for this? I can't believe I haven't discovered it through sheer trial and error by this point. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail:

Re: [Gambas-user] Making code pretty

2011-08-05 Thread Kevin Fishburne
On 08/05/2011 12:53 PM, Benoît Minisini wrote: > Automatic comment insertion is done in revision #3972. Just tested it and it works extremely well. Nice job! -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6

Re: [Gambas-user] Making code pretty

2011-08-05 Thread Kevin Fishburne
right that having to go through the comment and correct the case and spacing was a PITA. Here's an example: ' Camera is always exactly in the middle of the render window, so the upper-left corner of the center tile (not yet offset) ' Camera is always exactly in the m

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Kevin Fishburne
cally change the case throughout the program. If that's too CPU intensive to do in real-time, it could be done at compile or execution time. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Kevin Fishburne
e helpful. That would be awesome. Also removing spaces on otherwise empty lines and removing spaces at the end of lines. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ---

[Gambas-user] gb3: gb.opengl - dynamically dimensioning a public 2D array of texture IDs

2011-08-03 Thread Kevin Fishburne
dering, which is the most complex part. I expect my game to be broken for the next several days while I sort everything out. :/ -- Kevin Fishburne Eight Virtues www:http://sales.eightvirtues.com e-mail:sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: public array that is dimensioned later

2011-08-03 Thread Kevin Fishburne
On 08/03/2011 09:03 PM, Benoît Minisini wrote: >> On 08/03/2011 08:09 PM, Benoît Minisini wrote: >>>> On 08/03/2011 07:00 PM, Kevin Fishburne wrote: >>>>> I need to create a public array in a module but specify its dimensions >>>>> in a procedure l

Re: [Gambas-user] gb3: public array that is dimensioned later

2011-08-03 Thread Kevin Fishburne
On 08/03/2011 08:09 PM, Benoît Minisini wrote: >> On 08/03/2011 07:00 PM, Kevin Fishburne wrote: >>> I need to create a public array in a module but specify its dimensions >>> in a procedure later. Is this possible, and how would it be done >> I forgot to mention

Re: [Gambas-user] gb3: public array that is dimensioned later

2011-08-03 Thread Kevin Fishburne
On 08/03/2011 07:00 PM, Kevin Fishburne wrote: > I need to create a public array in a module but specify its dimensions > in a procedure later. Is this possible, and how would it be done I forgot to mention, I'd like it to be a 2D array, though I could write workaround code if it h

[Gambas-user] gb3: public array that is dimensioned later

2011-08-03 Thread Kevin Fishburne
I need to create a public array in a module but specify its dimensions in a procedure later. Is this possible, and how would it be done? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3 requirements on openSUSE 11.4

2011-08-01 Thread Kevin Fishburne
ere (or whatever package management type you prefer). Also use a USB pen drive and the program unetbootin to make it bootable using a LiveCD ISO (or its integrated disto list!). unetbootin with a USB stick will save you burn and boot time and waste no CDs. It rocks, and good luck! -- Kevin Fishbu

Re: [Gambas-user] gb3: gb.opengl will not render alpha channel of 2D texture

2011-08-01 Thread Kevin Fishburne
AMP) >> Gl.TexParameteri(Gl.GL_TEXTURE_2D, Gl.GL_TEXTURE_WRAP_T, Gl.GL_CLAMP) >> Gl.TexImage2D(t1) >> Glu.Build2DMipmaps(t1) >> >> No idea why the segfault occurred, but am glad I could work around it. > Glu.Build2DMipmaps() could segfault if it receives a NULL imag

Re: [Gambas-user] gb3 requirements on openSUSE 11.4

2011-07-31 Thread Kevin Fishburne
ode" that you can switch to from the login screen, but I heard they're removing it in 11.10, forcing people to use Unity. That's why I dumped it. Ubuntu 10.10 is pretty solid however, and the only reason I wouldn't recommend using it is because eventually it will be no long

Re: [Gambas-user] gb3: gb.opengl will not render alpha channel of 2D texture

2011-07-31 Thread Kevin Fishburne
On 07/30/2011 05:44 PM, Benoît Minisini wrote: Le Samedi 30 Juillet 2011 00:19:41, Kevin Fishburne a écrit : I've been researching this for hours and nothing I try works. The image used for the texture has an alpha channel, but it is displayed as black instead of transparent. I'm s

Re: [Gambas-user] gb3: gb.opengl will not render alpha channel of 2D texture

2011-07-30 Thread Kevin Fishburne
On 07/30/2011 12:57 PM, Laurent Carlier wrote: Le Samedi 30 Juillet 2011 00:19:41, Kevin Fishburne a écrit : I've been researching this for hours and nothing I try works. The image used for the texture has an alpha channel, but it is displayed as black instead of transparent. I'm s

[Gambas-user] gb3: gb.opengl will not render alpha channel of 2D texture

2011-07-29 Thread Kevin Fishburne
going crazy and am calling it quits for the night! -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 gb3_opengl_texture.tar.gz Description: GNU Zip compressed data --

Re: [Gambas-user] gb3 OpenGL example applications

2011-07-29 Thread Kevin Fishburne
On 07/29/2011 07:38 PM, Kevin Fishburne wrote: > Sweet, thanks everyone. Glad I could be helpful for once since I ask so > many questions on here. :) I'll fix the line in 19_ParticleEngine so it > uses "colors[p - 1, i] = CFloat(Trim(rgb))" and put the new archive up. Fi

Re: [Gambas-user] gb3 OpenGL example applications

2011-07-29 Thread Kevin Fishburne
On 07/29/2011 07:29 PM, Benoît Minisini wrote: >>> 2011/7/29 Kevin Fishburne: >>>> Caveat was kind enough to provide me with a link to the OpenGL >>>> examples. I went through them all and converted them to gb3, cleaned >>>> up the code and correct

[Gambas-user] gb3 OpenGL example applications

2011-07-29 Thread Kevin Fishburne
/gb3_opengl_examples.tar.gz -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

[Gambas-user] gb3: gb.opengl, how to bind a texture

2011-07-28 Thread Kevin Fishburne
ere appears to be no property that returns the number required byBindTexture. So far the OpenGl tutorials I've been reading are pretty straightforward, but I can't get past this. tommyline, if you're out there please hook me up with your example apps which are dead on whiteislands

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Kevin Fishburne
find these examples anywhere. I'm currently using examples from random other languages, which isn't ideal but better than nothing. OpenGL's kinda crazy. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eig

Re: [Gambas-user] OpenGL quaestion.

2011-07-27 Thread Kevin Fishburne
icview&type=misc&id=tutorial%2Fopengl-tutorials&keep_session=1211444680 <http://whiteislandsoftware.com/forum/index.php?page=topicview&type=misc&id=tutorial%2Fopengl-tutorials&keep_session=1211444680> but the downloads link to zero-length files. Are these projec

Re: [Gambas-user] Multiline RegExp [more OT]

2011-07-27 Thread Kevin Fishburne
buse of software patents is getting so crazy now they even recently ran a story on NPR (National Public Radio) about it: http://www.thisamericanlife.org/radio-archives/episode/441/when-patents-attack -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtu

Re: [Gambas-user] gb3: gb.sdl.sound disallows more than 8 sounds/channels at once

2011-07-24 Thread Kevin Fishburne
by just writing the previous sentence, I found the bug. It should be fixed > in revision #3948. > > Moreover, the maximum possible number of channels is now 64. Awesome, it works great now. Thanks so much as always, and for the additional functionality (fading). -- Kevin Fishburne Eig

Re: [Gambas-user] gb3: gb.sdl.sound disallows more than 8 sounds/channels at once

2011-07-24 Thread Kevin Fishburne
ment[1].Sample = New Sound(GUI.basepath & "/sound/River.wav") Environment[1].AmpScale = 1 Environment[1].Chan = Environment[1].Sample.Play(-1) Environment[1].Chan.Volume = 0 ' Etc., etc., etc... End Sub It's like it doesn't listen to the Channels property.

[Gambas-user] gb3: gb.sdl.sound disallows more than 8 sounds/channels at once

2011-07-24 Thread Kevin Fishburne
Chan = Environment[8].Sample.Play(-1) Environment[8].Chan.Volume = 0 End It dies at the last line, "Environment[8].Chan.Volume = 0". As I said, Arctic.wav starts playing, but setting the volume level of its channel treats the channel as a null object. Removing a different sound effect

Re: [Gambas-user] gb3: compiling on Debian Wheezy (testing)

2011-07-23 Thread Kevin Fishburne
On 07/23/2011 02:18 PM, Kevin Fishburne wrote: > Just caught something new: > > /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory > libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive > make[4]: *** [gb.sdl.la] Error 1 > make[4]

Re: [Gambas-user] gb3: compiling on Debian Wheezy (testing)

2011-07-23 Thread Kevin Fishburne
On 07/23/2011 04:24 AM, Kevin Fishburne wrote: > Everythings seems to work up to the end when I receive this: > > Making install in gb.sdl > make[1]: Entering directory > `/home/kevinfishburne/Desktop/gb3/trunk/gb.sdl' > Making install in src > make[2]: Entering director

[Gambas-user] gb3: sdl.sound

2011-07-19 Thread Kevin Fishburne
this sounds a bit crazy, I'm trying (stress -trying-) to design my game so that a blind person can play it, so these things are important. Any insight appreciated. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770

[Gambas-user] gb3: "Make code pretty"

2011-07-19 Thread Kevin Fishburne
of manually using the arrow and tab keys a million times. Is there a feature to simply indent (or move to the left) a block of code? That would be super useful for minor formatting adjustments (Indent right, Indent left) and copy/paste operations. -- Kevin Fishburne Eight Virtues www: http:

Re: [Gambas-user] gb3: Undo/Redo (Ctrl-Z/Ctrl-Y)

2011-07-18 Thread Kevin Fishburne
ning in the latest svn. > i say that because Benoit have done some things about that problem ... > i don't remember exactly when but there is less than one month >> On 7/18/2011 2:23 AM, Kevin Fishburne wrote: >>> Maybe no one's noticed this but undo/redo operations

[Gambas-user] gb3: Undo/Redo (Ctrl-Z/Ctrl-Y)

2011-07-18 Thread Kevin Fishburne
omething like an integrated version control system. No biggie, just some ideas for after gb3.0 is released. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ---

Re: [Gambas-user] gb3: gb.sdl.sound: How to adjust the volume of a sound being played

2011-07-16 Thread Kevin Fishburne
On 07/16/2011 02:26 AM, Kevin Fishburne wrote: > I have some code: > > ' General declarations. > Public Ocean As Sound = New Sound(GUI.basepath& "/sound/Ocean.wav") > Public SeawashHeavy As Sound = New Sound(GUI.basepath& "/sound/Seawash, >

[Gambas-user] gb3: gb.sdl.sound: How to adjust the volume of a sound being played

2011-07-15 Thread Kevin Fishburne
n that they are as spartan as a pine box. I've tried some random combinations and exposing the methods, etc., just by typing, but am getting nowhere. Thanks as always. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] restarting a gambas application

2011-07-15 Thread Kevin Fishburne
eck an update directory for an update. If it finds one it would overwrite the main program with the update, delete the update, then re-run the main program. If not it would just exit normally. I'm going to need to do this myself at some point with my application. -- Kevin Fishburne Eight Vi

<    1   2   3   4   5   >