Re: [Gambas-user] basics of dynamic arrays of structures

2013-12-22 Thread Kevin Fishburne
On 12/21/2013 04:57 AM, Tobias Boege wrote: On Sat, 21 Dec 2013, Kevin Fishburne wrote: On 12/21/2013 12:36 AM, Kevin Fishburne wrote: I've gotten some flak about how I declare arrays and want to change my ways. Previously I would do something like: Public SomeArray[300,300] as Integer I

[Gambas-user] basics of dynamic arrays of structures

2013-12-20 Thread Kevin Fishburne
errors every time. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Rapidly troubleshoot problems before they affect your business. Most

Re: [Gambas-user] basics of dynamic arrays of structures

2013-12-20 Thread Kevin Fishburne
On 12/21/2013 12:36 AM, Kevin Fishburne wrote: I've gotten some flak about how I declare arrays and want to change my ways. Previously I would do something like: Public SomeArray[300,300] as Integer I have a case now where I need an array whose number of elements will be incremented

Re: [Gambas-user] SteamOS and GAMBAS

2013-12-15 Thread Kevin Fishburne
On 12/14/2013 06:21 PM, Rob Kudla wrote: On 12/14/2013 04:50 PM, Kevin Fishburne wrote: SteamOS is Valve's attempt to circumvent the walled gardens that are Microsoft Windows and Apple iOS/OSX and allow the digital distribution of their games though ...their own walled garden. I think

Re: [Gambas-user] SteamOS and GAMBAS

2013-12-15 Thread Kevin Fishburne
guess that the end user would not be easily allowed to install packages or otherwise perform root operations. At this point it appears there may be a more Linux-like, traditional method. From: Kevin Fishburne kevinfishbu...@eightvirtues.com application such that all the dependencies

Re: [Gambas-user] SteamOS and GAMBAS

2013-12-14 Thread Kevin Fishburne
On 12/14/2013 04:59 PM, Benoît Minisini wrote: Le 14/12/2013 22:50, Kevin Fishburne a écrit : Valve just released the first beta of SteamOS, a Debian Wheezy-based distro which runs the Steam client in Big Picture mode (designed for televisions). SteamOS is Valve's attempt to circumvent

Re: [Gambas-user] sge component and md2 file modeling software

2013-11-14 Thread Kevin Fishburne
On 11/14/2013 07:41 AM, Randall Morgan wrote: Yes, I do think adding support for newer model types would be good. Perhaps even add support for models done in solid works On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard gambas...@gmail.com wrote: Le 14 nov. 2013 06:14, Kevin Fishburne

Re: [Gambas-user] sge component and md2 file modeling software

2013-11-14 Thread Kevin Fishburne
On 11/14/2013 01:51 PM, Kevin Fishburne wrote: On 11/14/2013 07:41 AM, Randall Morgan wrote: Yes, I do think adding support for newer model types would be good. Perhaps even add support for models done in solid works On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard gambas...@gmail.com wrote

[Gambas-user] sge component and md2 file modeling software

2013-11-13 Thread Kevin Fishburne
for an old Blender version...or contact the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge component, thank you. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

[Gambas-user] extracting a fractional year from a date

2013-11-05 Thread Kevin Fishburne
no obvious way to do this I'll keep hacking at it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- November Webinars for C, C++, Fortran

Re: [Gambas-user] extracting a fractional year from a date

2013-11-05 Thread Kevin Fishburne
On 11/05/2013 09:16 PM, Benoît Minisini wrote: Le 06/11/2013 03:04, Kevin Fishburne a écrit : If you have a Date, is there a reasonably simple way to extract which fraction of the year it is? For example a date of 12:00 am on January 1st would return zero and 11:49 pm on December 31st would

Re: [Gambas-user] Gambas Future or what kind of Gambas we want.

2013-11-01 Thread Kevin Fishburne
be tackled individually. Not my area of expertise. :/ -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Android is increasing in popularity

Re: [Gambas-user] Gambas Future or what kind of Gambas we want.

2013-11-01 Thread Kevin Fishburne
at this point), but I don't think it will be from application platform exclusivity. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Android

Re: [Gambas-user] Allocations non freed.

2013-10-31 Thread Kevin Fishburne
On 10/31/2013 03:08 AM, Fabien Bodard wrote: 2013/10/29 Tobias Boege tabo...@gmail.com On Mon, 28 Oct 2013, Kevin Fishburne wrote: On 10/28/2013 03:50 PM, Tobias Boege wrote: On Mon, 28 Oct 2013, Jorge Carri?n wrote: I have a component who inherits from gridview. It's not a complicated

Re: [Gambas-user] debugging a (apparent) memory leak

2013-10-30 Thread Kevin Fishburne
On 10/28/2013 10:36 PM, Benoît Minisini wrote: Le 29/10/2013 03:27, Benoît Minisini a écrit : Le 29/10/2013 02:20, Kevin Fishburne a écrit : I don't think it's always been like this, but when I sometimes forget to close the server app running on my physical server and it runs for a few days I

Re: [Gambas-user] Allocations non freed.

2013-10-28 Thread Kevin Fishburne
= tTemp.Width Gl.BindTexture(Gl.TEXTURE_2D, tiPWO[Counter1].ID[Counter2]) Gl.TexImage2D(tTemp) Glu.Build2DMipmaps(tTemp) Settings_MipMap(True) Settings_Wrap(False) Next Endif Next ' Clear temporary image. tTemp.Clear End -- Kevin

[Gambas-user] debugging a (apparent) memory leak

2013-10-28 Thread Kevin Fishburne
, what types of declarations or code logic should I look for if I do scan through the codebase? Red flags, in other words. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] debugging a (apparent) memory leak

2013-10-28 Thread Kevin Fishburne
On 10/28/2013 10:36 PM, Benoît Minisini wrote: Le 29/10/2013 03:27, Benoît Minisini a écrit : Le 29/10/2013 02:20, Kevin Fishburne a écrit : I don't think it's always been like this, but when I sometimes forget to close the server app running on my physical server and it runs for a few days I

Re: [Gambas-user] Official release of Gambas 3.5

2013-10-22 Thread Kevin Fishburne
Benoît and contributors for another awesome (perhaps even epic) release! To one of the finest open-source projects since the Linux kernel, let's all raise our glasses. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] wrapping function based on recent Mod thread

2013-10-12 Thread Kevin Fishburne
, Spread) + Minimum Else Return Value Endif End --- Thanks for the help. I've been on an code efficiency binge lately and this helps a lot. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] wrapping function based on recent Mod thread

2013-10-10 Thread Kevin Fishburne
On 10/10/2013 06:02 PM, Benoît Minisini wrote: Le 10/10/2013 23:50, Kevin Fishburne a écrit : On 10/10/2013 05:07 AM, Fabien Bodard wrote: Maybe some parts of your rendering engine must in final be in a lib like gb.sge Is there a reference doc for that component? I don't see it in the wiki

Re: [Gambas-user] wrapping function based on recent Mod thread

2013-10-09 Thread Kevin Fishburne
is an awesome language for games; easy to learn but very powerful. If your project's runnable I'd like to see it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] wrapping function based on recent Mod thread

2013-10-08 Thread Kevin Fishburne
for Ultima fans hosted by Rustic Dragon): http://youtu.be/A8pnppjPH_c?t=6m10s Anyway, thanks Jussi and all for your help. I'd add you to the credits, but you're already in them! ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] wrapping function based on recent Mod thread

2013-10-07 Thread Kevin Fishburne
://stackoverflow.com/questions/707370/clean-efficient-algorithm-for-wrapping-integers-in-c It's also possible that I mistranslated the C code in the above link, as I don't know C. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

[Gambas-user] wrapping function based on recent Mod thread

2013-10-05 Thread Kevin Fishburne
. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application

Re: [Gambas-user] Test #3

2013-09-20 Thread Kevin Fishburne
On 09/20/2013 03:16 AM, Benoît Minisini wrote: It's working, oh shit! :/ Hopefully. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- LIMITED

[Gambas-user] sebikul (gambas-daily) raring ppa broken

2013-08-20 Thread Kevin Fishburne
-build41~raring1 I'm using Kubuntu 13.04 ia64. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Introducing Performance Central, a new site from

Re: [Gambas-user] sebikul (gambas-daily) raring ppa broken

2013-08-20 Thread Kevin Fishburne
, you can temporarily enable Kendek's ppa or downgrade the gambas3-{runtime,ide} to a working version. I'm really sorry about this issue. Not a problem and sorry for not seeing the earlier report. I temporarily disabled the ppa and am using Kendek's ppa for the time being so no worries. -- Kevin

[Gambas-user] segfault with insanely large array of structures

2013-08-11 Thread Kevin Fishburne
size. The fact that some of the array property values read as non-zero before being assigned makes me think their pointers are pointing to out-of-process RAM being used by something else entirely. I suck at low-level programming so I'm just speculating ignorantly, sorry. -- Kevin Fishburne

Re: [Gambas-user] components automatically loading based on usage

2013-07-24 Thread Kevin Fishburne
On 07/24/2013 02:38 PM, Fabien Bodard wrote: Le 23 juil. 2013 23:55, Kevin Fishburne kevinfishbu...@eightvirtues.com a écrit : LOL. Okay, I'll bite. I guess it was the surprise of seeing my variable no longer working combined with the bit about a component being automatically loaded that made

Re: [Gambas-user] components automatically loading based on usage

2013-07-23 Thread Kevin Fishburne
On 07/23/2013 04:59 AM, Tobias Boege wrote: On Mon, 22 Jul 2013, Kevin Fishburne wrote: I just noticed that referencing a boolean variable Match now automatically loads the pcre component and tries to use it as a function (then obviously fails). This seems a dangerous precedent, as most GAMBAS

Re: [Gambas-user] gb.openal resources...

2013-07-22 Thread Kevin Fishburne
syntactically. There is extensive OpenAL documentation, but not so much for OpenAL Soft, so hopefully their syntax is still the same. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] A little use case of gb.openal

2013-07-22 Thread Kevin Fishburne
. Nice one. Many thanks to the people on this list smarter than I who helped add the openal component. I'm so excited I have butterflies. Hell yeah. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

[Gambas-user] components automatically loading based on usage

2013-07-22 Thread Kevin Fishburne
to see this. Thoughts anyone? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- See everything from the browser to the database with AppDynamics Get

Re: [Gambas-user] (hopefully) small feature suggestion

2013-03-26 Thread Kevin Fishburne
On 03/25/2013 07:11 AM, Benoît Minisini wrote: Le 14/03/2013 07:18, Kevin Fishburne a écrit : Currently when you perform a search the columns displayed are File, Line, Col., and Text. It would be extremely convenient if there was also a Procedure column just after the File column. I frequently

[Gambas-user] (hopefully) small feature suggestion

2013-03-14 Thread Kevin Fishburne
to be a lazy programmer. Fastest RAM, best CPU, RAID 5 with SSD's: the works! -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Everyone hates slow

[Gambas-user] how to exiting gracefully from an SDL/OpenGL program

2013-02-09 Thread Kevin Fishburne
like the video RAM isn't being freed when I close using Quit, requiring me to periodically reboot my system (not even closing GAMBAS frees the VRAM). Thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] forcing time zone localization

2013-02-04 Thread Kevin Fishburne
for a while. It returns the interval with UTC in seconds (for example, -3600 in France currently). Regards, Ian and Benoît, thank you very much. I now have sufficient ammo to load my magazine. ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com

Re: [Gambas-user] forcing time zone localization

2013-02-03 Thread Kevin Fishburne
On 02/01/2013 05:53 PM, Benoît Minisini wrote: Le 01/02/2013 08:37, Kevin Fishburne a écrit : On 01/31/2013 04:29 AM, Benoît Minisini wrote: Le 31/01/2013 08:35, Kevin Fishburne a écrit : I have a client/server application in which the server tells the client the date and time. The date

Re: [Gambas-user] forcing time zone localization

2013-01-31 Thread Kevin Fishburne
On 01/31/2013 04:29 AM, Benoît Minisini wrote: Le 31/01/2013 08:35, Kevin Fishburne a écrit : I have a client/server application in which the server tells the client the date and time. The date and time is calculated by the server from an arbitrary starting point and at an arbitrary scale

[Gambas-user] forcing time zone localization

2013-01-30 Thread Kevin Fishburne
Is what I'm trying to do possible? What environment variable should I set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to choose from? I've looked at ISO 3166 here: http://en.wikipedia.org/wiki/ISO_3166 Thanks. -- Kevin Fishburne Eight Virtues www: http

[Gambas-user] function to wrap a number between upper and lower bounds

2012-12-12 Thread Kevin Fishburne
300 to a Byte type. I looked up some solutions online and none of them really seemed to work properly and their comments were surrounded by debate. Is there an efficient way to do this, and does anyone think it would be a useful function to add to Gambas itself? -- Kevin Fishburne Eight

Re: [Gambas-user] function to wrap a number between upper and lower bounds

2012-12-12 Thread Kevin Fishburne
On 12/12/2012 05:33 PM, Kevin Fishburne wrote: I need a function like: Wrap(number, lowerbound, upperbound) such that Wrap(5,1, 3) will return 2. In other words, it wraps the number around the supplied bounds and returns where it lands. I believe it would work similarly to assigning a value

Re: [Gambas-user] svn 5313 Unable to compile gambas3

2012-11-10 Thread Kevin Fishburne
. You still need to have all the library dependencies satisfied, as described in the installation docs on the GAMBAS web site. I'm using Kubuntu 12.10. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 # Remove previously

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-13 Thread Kevin Fishburne
what to do in the future. Thanks everyone for helping. -- Kevin Fishburne Eight Virtues www:http://sales.eightvirtues.com e-mail:sa...@eightvirtues.com phone: (770) 853-6271 -- Don't let slow site performance ruin your

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-12 Thread Kevin Fishburne
On 10/11/2012 04:29 AM, Kevin Fishburne wrote: On 10/11/2012 03:39 AM, Fabien Bodard wrote: Do a make uninstall after.. Configure Then go to the /usr/local/bin remove all gb* Then go to.. /usr/local/lib remove all related to gambas Then compile and install I will be try to install a vm

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-12 Thread Kevin Fishburne
. The other steps, including downloading from subversion, were not run as root. That's why it doesn't make sense to me that running the other steps as root would somehow fix my problem. I'll try your script to see if that causes a problem and if so send you the results. -- Kevin Fishburne Eight Virtues

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-11 Thread Kevin Fishburne
On 10/11/2012 01:23 AM, Kevin Fishburne wrote: I apologize if someone already mentioned this and I missed it. The GAMBAS 3 source download and the latest revision via svn checkout both compile and install successfully using these commands: ./reconf-all ./configure make sudo make install

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-11 Thread Kevin Fishburne
as soon as I have it working. Good night everyone. ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Don't let slow site performance ruin your

[Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-10 Thread Kevin Fishburne
with a Segmentation fault (core dumped) error. Any ideas? I'm trying to find an older revision for the time being just to get things working again. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] Segmentation error (core dump created) at runtime

2012-10-10 Thread Kevin Fishburne
On 10/11/2012 01:31 AM, Emanuele Sottocorno wrote: Thanks Benoit, attached the new generated gdb output and another valgrind. (hope it is useful) Emanuele Dammit, I did miss the memo. Please excuse me while I fall on my sword. -- Kevin Fishburne Eight Virtues www: http

Re: [Gambas-user] R: Unending cycle For...Next with variable As Byte

2012-09-30 Thread Kevin Fishburne
** runs ad infinitum ! Regards vuott Can confirm that with rev5189. Richard's guess sounds logical. For To is inclusive: [0; 255] and that's everything you can represent with Byte width. You won't ever detect Byte 255. -- Kevin Fishburne Eight Virtues www: http

[Gambas-user] gb3: minor annoyances regarding the IDE

2012-09-25 Thread Kevin Fishburne
. Seemingly minor, but very much in your face from a user perspective. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference

Re: [Gambas-user] gb3: The program has returned the value: 1

2012-09-09 Thread Kevin Fishburne
On 09/08/2012 02:05 AM, Kevin Fishburne wrote: I get this when running my program: 01:59:43.168 - Initializing network: 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, Server Port: 12345 01:59:43.169 - Initializing rendering engine: X Error of failed request

[Gambas-user] gb3: The program has returned the value: 1

2012-09-08 Thread Kevin Fishburne
.Height = sHeight .Show() End With Any ideas? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference

Re: [Gambas-user] Gambas for Android

2012-08-22 Thread Kevin Fishburne
/ with this method, we have android and linux running at the same time over same kernel and sharing devices. If Gambas 3 and component libraries could run on Android then Gambas would become the language of choice for Android developers, hands down. -- Kevin Fishburne Eight Virtues www: http

[Gambas-user] gb3: 2D ray-casting algorithm

2012-08-12 Thread Kevin Fishburne
a ray (even a fake one like a line segment with one point REALLY far away for speed) and how do you calculate if a ray intersects a line segment? Stuff like this humbles me because I know it must be simple mathematically but I'm just too damn stupid to grok it. Thanks, as always. -- Kevin

Re: [Gambas-user] Holidays

2012-07-31 Thread Kevin Fishburne
luck and bon voyage Benoît. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover

Re: [Gambas-user] Updated Spanish translation

2012-07-26 Thread Kevin Fishburne
). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

Re: [Gambas-user] Gambas3 daily builds PPA

2012-07-24 Thread Kevin Fishburne
. The bug fixes and new features come like machine gun fire; rapid and often. Thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live

Re: [Gambas-user] Install problems

2012-07-24 Thread Kevin Fishburne
of the context. Strange that Gmail took the Outlook Express route... -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual

Re: [Gambas-user] gb3: unable to click on buttons

2012-07-23 Thread Kevin Fishburne
On 07/23/2012 01:44 AM, sundar j wrote: [snip] From: Kevin Fishburne lt;kevinfishbu...@eightvirtues.comgt; Sent: Mon, 23 Jul 2012 11:07:18 To: gambas-user@lists.sourceforge.net Subject: [Gambas-user] gb3: unable to click on buttons Is this something that was recently corrected? If so I'll

Re: [Gambas-user] gb3: unable to click on buttons

2012-07-23 Thread Kevin Fishburne
On 07/23/2012 02:46 AM, Kevin Fishburne wrote: On 07/23/2012 01:44 AM, sundar j wrote: [snip] From: Kevin Fishburne lt;kevinfishbu...@eightvirtues.comgt; Sent: Mon, 23 Jul 2012 11:07:18 To: gambas-user@lists.sourceforge.net Subject: [Gambas-user] gb3: unable to click on buttons

[Gambas-user] gb3: unable to click on buttons

2012-07-22 Thread Kevin Fishburne
Is this something that was recently corrected? If so I'll compile the latest build. I compiled a few weeks ago on Kubuntu 12.04 and subsequently have been unable to use the mouse to click on buttons. Keyboard navigation works fine. -- Kevin Fishburne Eight Virtues www: http

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Kevin Fishburne
? Despite reading the docs again and again I'm not clear on the syntax. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual

[Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-03 Thread Kevin Fishburne
values to it? Previously I knew all the dimensions of my arrays of structures so they were statically defined, but in this case I don't know the array dimensions until after the program has started running. Thanks everyone. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-03 Thread Kevin Fishburne
On 07/04/2012 12:06 AM, Kevin Fishburne wrote: I need to create a 2D array of a structure like this: Public Struct Tile_Normals A[3] As Single ' Normal for quad subsurface A. B[3] As Single ' Normal for quad subsurface B. End Struct Dim Normals As New Tile_Normals[TileGrid.Size

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-27 Thread Kevin Fishburne
this before. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-27 Thread Kevin Fishburne
On 05/27/2012 02:14 AM, Kevin Fishburne wrote: On 05/26/2012 01:17 PM, tommyl...@eircom.net wrote: Oops! I just realized, you use Gl.Ortho mode. That means Glu.LookAt is not for you, I spent few hours trying to figure out how to make it work in ortho, but I can't. It behaves like mad

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-27 Thread Kevin Fishburne
represented by a short, or -2730 to 2730 feet (32768/12). I'm guessing the near value should be around 2730 and the far value should be around -2730 then? Things are starting to get pretty exciting, as all my data was already 3D, just my rendering looked like an old JRPG. -- Kevin Fishburne Eight

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-27 Thread Kevin Fishburne
(Gl.PROJECTION) Gl.LoadIdentity() Glu.Perspective(45, sWidth / sHeight, -1, 1) Gl.Scalef(1, -1, 1) End Lovely. I'm reworking the code now to migrate existing features to the new hybrid ortho/perspective setup. Should look much improved in a few days, 2.5D as they say. -- Kevin

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-26 Thread Kevin Fishburne
the near and far clipping values were set to unequal values. Hopefully these details will inspire some sort of epiphany or insight, as I'm about to go crazy, haha. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-24 Thread Kevin Fishburne
vector values. Any insight into how exactly the up vector works in this regard? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-23 Thread Kevin Fishburne
opposite the angle the matrix was rotated at. I can basically manually undo the matrix rotation if it needs to be translated post rotation, if that makes any sense. Some instinct inside me keeps nagging that I might need to do a trick like that to get it to work. -- Kevin Fishburne Eight Virtues

Re: [Gambas-user] New feature in Gambas 3

2012-05-20 Thread Kevin Fishburne
called from it. Next, I will try to profile each line of code. I hope it will help to optimize your projects! Regards, That is an awesome feature. I've been doing this manually in code, so thank you. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa

Re: [Gambas-user] Bug on Gambas official website

2012-05-20 Thread Kevin Fishburne
On 05/20/2012 01:08 PM, Randall Morgan wrote: leave the site. So the whole package becomes important. As my grand father used to tell me The most important part of anything is the one not working. JMO Wise words, I like that. -- Kevin Fishburne Eight Virtues www: http

[Gambas-user] gb3, current build: use of Objects keyword

2012-05-18 Thread Kevin Fishburne
that? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

Re: [Gambas-user] gb3: Object Enumeration GUI Glitch

2012-05-06 Thread Kevin Fishburne
On 05/06/2012 01:41 PM, Benoît Minisini wrote: Le 06/05/2012 17:03, Adrien Prokopowicz a écrit : Le dimanche 6 mai 2012 11:52:02 Kevin Fishburne a écrit : I'm using Kubuntu 12.04 with acceleration using the binary NVIDIA drivers (not sure that any of that makes a difference). Often when

Re: [Gambas-user] gb3: incorrect solution to If...Then condition

2012-04-29 Thread Kevin Fishburne
. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

[Gambas-user] gb3: incorrect solution to If...Then condition

2012-04-26 Thread Kevin Fishburne
, which is blowing my mind. The same, untouched code worked fine before my recompile this evening. Any insight into WTF is going on here? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-24 Thread Kevin Fishburne
tested gb3's memory consumption with the world generator for my game it it uses about 70 MB of RAM just to load the project. While functionality might be limited on the Pi, it should be possible and would have the added benefit of teaching memory management. -- Kevin Fishburne Eight Virtues www

Re: [Gambas-user] Gambas for Android

2012-04-09 Thread Kevin Fishburne
. The End goal should be to get GAMBAS working on every platform. Total dominance. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 -- For Developers

[Gambas-user] gb3: how to check if event is pending execution before it triggers

2012-03-17 Thread Kevin Fishburne
frames since processing the packets is quick but rendering a frame is slow. I only want it to render a frame when there are no incoming UDP packets needing attention. I've been thinking about logical ways to do this, but if there is some inherent GAMBAS way that would be more elegant. -- Kevin

Re: [Gambas-user] gb3: how to check if event is pending execution before it triggers

2012-03-17 Thread Kevin Fishburne
On 03/17/2012 03:05 AM, Bruce Bruen wrote: On Sat, 2012-03-17 at 02:04 -0400, Kevin Fishburne wrote: Is there a way to check if an event is going to trigger in advance? Not in the known universe. It would be nice though, Lotto numbers, stock price changes etc etc :-) My startup procedure

Re: [Gambas-user] gb3: how to check if event is pending execution before it triggers

2012-03-17 Thread Kevin Fishburne
On 03/17/2012 04:37 AM, Benoît Minisini wrote: Le 17/03/2012 08:46, Kevin Fishburne a écrit : On 03/17/2012 03:05 AM, Bruce Bruen wrote: On Sat, 2012-03-17 at 02:04 -0400, Kevin Fishburne wrote: Is there a way to check if an event is going to trigger in advance? Not in the known universe

Re: [Gambas-user] Gambas has Gosub now!

2012-03-06 Thread Kevin Fishburne
. :) -- 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 computing makes use

[Gambas-user] gb3: multiple errors

2012-02-28 Thread Kevin Fishburne
, Counter1].Acknowledged = True line. I'll let you know if the latest revision fixes it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] gb3: multiple errors

2012-02-28 Thread Kevin Fishburne
On 02/29/2012 12:45 AM, Kevin Fishburne wrote: I'm using the build from a few days ago (recompiling now) and get this error when trying to create a module in a new or existing project: This application has raised an unexpected error and must abort. [11] Unknown symbol 'Margin' in class

Re: [Gambas-user] gb3: multiple errors

2012-02-28 Thread Kevin Fishburne
On 02/29/2012 01:13 AM, Kevin Fishburne wrote: On 02/29/2012 12:45 AM, Kevin Fishburne wrote: I'm using the build from a few days ago (recompiling now) and get this error when trying to create a module in a new or existing project: This application has raised an unexpected error and must

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. -- Kevin

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

2012-02-22 Thread Kevin Fishburne
? -- 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 computing makes use

[Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
. 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 -- Virtualization Cloud

Re: [Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
) 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...@eightvirtues.com phone: (770) 853-6271

Re: [Gambas-user] angle interpolation algorithm troubles

2012-02-16 Thread Kevin Fishburne
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...@eightvirtues.com phone: (770) 853-6271

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

2012-02-07 Thread Kevin Fishburne
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 -- Keep Your Developer Skills

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

2012-02-06 Thread Kevin Fishburne
? 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 phone: (770) 853-6271

[Gambas-user] gb3: converting structures to classes

2012-02-04 Thread Kevin Fishburne
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 Eight Virtues www

Re: [Gambas-user] web cam question

2012-01-29 Thread Kevin Fishburne
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...@eightvirtues.com phone: (770) 853-6271

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 gam...@users.sourceforge.net 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: Le 16/01/2012 08:05

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 Distance(x1 As Single, y1 As Single, x2 As Single, y2 As Single

<    1   2   3   4   5   >