Search found 2952 matches

by MrSwiss
Apr 16, 2019 13:25
Forum: Documentation
Topic: Wiki improvements
Replies: 268
Views: 18959

Re: Wiki improvements

jj2007 wrote:"By default, searches are limited to text strings greater than 4 characters".

Not true any longer.
counting_pine changed that to 3 characters, recently ...
(this is in respect to forum search anyway, and not the wiki)
by MrSwiss
Apr 12, 2019 18:12
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 368

Re: Speed issue with string concatenation and a solution

speedfixer wrote:A question to the group: ... Could this could dramatically increase string operation speed in most cases?

No, because inside the pool, (a single) string's memory would (at times, at least) require
a re-allocation, when growing the string. (Remember: allocation is per string instance)
by MrSwiss
Apr 12, 2019 17:04
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

You can't just copy from a different sentence (... the addition (blending) of a ...). Is correct. The context there, is different (which impacts grammar!). Even if you reword a bit: ... the resulting (blended) color ... (blending is finished, before you 'have' a result). Grammar is either correct, o...
by MrSwiss
Apr 12, 2019 15:11
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

@fxm,

there has been a grammatical issue introduced, with the last changes:
"the resultant (blending) color" portion, should read:
"the resultant (blended) color" [it is "past tense"]
by MrSwiss
Apr 09, 2019 20:06
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

Done:
Posted on Source Forge: message that bug-report #896, can be declared "closed".
by MrSwiss
Apr 09, 2019 16:30
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

This is looking good. After updating of the doc's, I'll close the issue at Source Forge. (A probable fix on fbGFX seems unlikely, as pointed out by counting_pine.) With the updates on doc's, it's far less likely, that somebody might end up with troubles. (If and only if, people in general learn, to ...
by MrSwiss
Apr 09, 2019 15:01
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

Maybe just add clarification: This part of the proposal, should be made in the LINE part of doc. (as amended): But chained uses of Line usually induce (one or more) overlapping pixel(s) at locations which will cause a overflow of Paint's fill color if a transparent color is used for the border . + ...
by MrSwiss
Apr 09, 2019 14:28
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

Note: If the border is drawn with a transparent color and some pixels overlap, it causes a multiple-blending of color on these pixels and the resulting color of blending is not the one expected on these singular points. Above sentence is okay, but I don't really like the second sentence. Those off ...
by MrSwiss
Apr 07, 2019 2:00
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

Done: bug-report filed at Source Forge, ticket: #896

Titled: fbGFX: Paint statement 'overflows', with SreenRes: GFX_ALPHA_PRIMITIVES
Component: gfxlib2
Tags: paint, overflow
by MrSwiss
Apr 06, 2019 23:23
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

But as it happens, it seems you are right about the bug, possibly without actually experiencing a genuine case beforehand? Well, the case arose, when testing a freshly written rectangle type rect_t 's implementation, especially the show Sub, which uses Paint to fill, with alternative color. (I'm us...
by MrSwiss
Apr 06, 2019 22:25
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

@counting_pine, thanks for the explanation. I think I've got it now: Paint when a border-color is given, is in this case, reading/searching the "combined" or "blended" value off the screen, to determine the aera "to be filled" ... Isn't a bug something, which should dra...
by MrSwiss
Apr 06, 2019 17:39
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

Re: fbGFX: BUG in Paint statement

I'd prefer though if you didn't capitalise the word "bug". It just comes across as shouting. Well, I happen to disagree: "comes across as shouting", is only true, when nothing but capitals are used (e.g. whole title). Capitalizing a single word, is regarded as "emphasis&quo...
by MrSwiss
Apr 06, 2019 15:14
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 2851

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

Alternative method:

Code: Select all

#if defined(__FB_64BIT__)
   extern p alias "__fb_gfx" as integer ptr
#else
   extern p alias "__fb_gfx" as long ptr
#endIf
by MrSwiss
Apr 06, 2019 14:36
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1267

fbGFX: BUG in Paint statement

Just discovered a BUG, when using transparency in conjunction with Paint . If ScreenRes is set to use: GFX_ALPHA_PRIMITIVES and Paint is used, to fill a box, it doesn't contain fill, to the box's internals, when border's color isn't set, to a opaque color! (aka: if Alpha is anything other than 255, ...
by MrSwiss
Apr 01, 2019 13:36
Forum: Projects
Topic: FreeBalistic - physical app to calculate ballistic curves
Replies: 7
Views: 556

Re: FreeBalistic - physical app to calculate ballistic curves

As you've noted yourself, it's currently having a to much limited scope. (guns can fire ' downhill ' too) I'm an old armourer of the: Oerlikon_GDF (twin AA auto-cannon, 35 mm NATO), which have a barrel movement angle from: below 0° to more than 90° (straight up). This would require a change in the c...

Go to advanced search