Search found 875 matches

by paul doe
Sep 24, 2019 13:15
Forum: Game Dev
Topic: 31 color blending modes (WIP OpenGL version)
Replies: 36
Views: 3582

Re: 31 color blending modes (WIP OpenGL version)

Hey, you're either getting me back for forgetting your name one time (called you John in another thread), or you forgot I never gave you my first name! Toad will do fine though. :) Bwahaha I mixed your name with that of another member, sorry =D ... I would give it my best, build a branch to my proj...
by paul doe
Sep 21, 2019 14:03
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 54
Views: 9827

Re: fb 1.07 tests

... [*] we have the CONST specifier, where we promise not to modify data, and we would like the compiler to let us know if we break that promise. ... Speaking of which: this won't work with delete and friends: /' A simple type to be aggregated '/ type _ Foo public: declare constructor() declare des...
by paul doe
Sep 21, 2019 13:19
Forum: Game Dev
Topic: 31 color blending modes (WIP OpenGL version)
Replies: 36
Views: 3582

Re: 31 color blending modes (WIP OpenGL version)

paul doe - I have returned. *bows to you* ... Nice to see you again, Mike ;) *bows back* ... ;D How are you? It's a shame on me to be gone so long from this forum. I've returned to find good things, though. Have you been working on anything fun or still doing the "boring financial stuff"?...
by paul doe
Sep 14, 2019 15:32
Forum: Tips and Tricks
Topic: Fastest PRNG around, the XORSHIFT
Replies: 34
Views: 1511

Re: Fastest PRNG around, the XORSHIFT

... This is my latest version of MsWs. I don't use 's' because of the issues we had with it when discussing MsWs some time ago. Instead, I use the largest prime number < 2^64. I use the same above, based on your suggestion. ... With my latest speed test method PCG32 is faster than MsWs but not by a...
by paul doe
Sep 14, 2019 15:00
Forum: Tips and Tricks
Topic: Fastest PRNG around, the XORSHIFT
Replies: 34
Views: 1511

Re: Fastest PRNG around, the XORSHIFT

@David: no mention of the Middle Square Weyl Sequence PRNG? ;) Minimal implementation here: '' Convenience const _ ulongMax => culng( -1 ), _ ulongIntMax => culngint( -1 ) /' Middle Square Weyl Sequence Pseudorandom Number Generator '/ function _ mswsrnd( _ byval seed as ulongint => 0 ) _ as ulong s...
by paul doe
Sep 09, 2019 20:50
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 34
Views: 4250

Re: FreeBASIC 1.07.0 Release Discussion

Way to go, Jeff! I hadn't got around to test 1.07 yet. Will do soon enough, though =D ... @dodicat, I see your regulate() function in many of your listings and seems to work well. Like it should be built in to an extension SCREENSYNC somehow as a gfxlib feature for software based timing. Or ...
by paul doe
Aug 06, 2019 20:50
Forum: Tips and Tricks
Topic: Tip of the week: Bithacks by By Sean Eron Anderson
Replies: 2
Views: 2388

Re: Tip of the week: Bithacks by By Sean Eron Anderson

Very nice resource, thanks. Extremely handy when coding shaders!
by paul doe
Jul 05, 2019 20:00
Forum: Libraries
Topic: EZ-DRAW 1.2 graphic static lib win/linux
Replies: 12
Views: 3757

Re: EZ-DRAW 1.2 graphic static lib win/linux

Mmm, might be quite useful, indeed. Thanks for sharing.
by paul doe
Jun 29, 2019 13:18
Forum: Beginners
Topic: Recursion in FreeBASIC
Replies: 10
Views: 3654

Re: Recursion in FreeBASIC

best and easy explanation and an example using the Recursive/Recursion in FreeBASIC.? strive to study it but still don't get it. my understanding about this is that you can call itself like the declare a sub procedure inside? Recursiveness is a fundamental technique, quite easy to use (but not so e...
by paul doe
May 31, 2019 11:57
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 24253

Re: New array features

... The more i think about it, the more i tend towards a RTL-function, even if all the work i put into making VARPTR work for arrays was in vain. ... This goes precisely in the direction of a public API that exposes some compiler internals, which is an approach that I fully agree with. While develo...
by paul doe
May 20, 2019 14:02
Forum: General
Topic: Programming fonts
Replies: 8
Views: 826

Re: Programming fonts

... What do you do when programming of an evening? I have been using f.lux for some years now. Win10 has 'Night light settings' but it has some way to go to match f.lux. f.lux has a 'Reduce Eyestrain' setting with a colour temperature of about 3450K. If I disable f.lux I nearly get blown out of my ...
by paul doe
May 20, 2019 2:25
Forum: General
Topic: Programming fonts
Replies: 8
Views: 826

Re: Programming fonts

For everyday work, my absolute preference goes to Fira Mono , hands down. It is very readable, has pretty distinctive glyphs for operators and has a very nice spacing (especially vertical). The most readable coding font I could find. I suffer from severe eye strain so this is pretty important for me...
by paul doe
May 19, 2019 12:33
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 24253

Re: New array features

@paul doe, as already mentioned above there is a bug in the interface, it works for one-dimensional arrays using the following syntax: ... Fair enough. But I take it that you're well aware that the interface should be fully orthogonal (we already have a lot of 'quirk' statements inherited from the ...
by paul doe
May 19, 2019 12:23
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 24253

Re: New array features

Tourist Trap wrote:...
Use namespace please also, for the same reason. But you probably noticed that defines/macro can not be isolated in namespaces - unless I missed something of course.

#defines respect namespaces, #macros don't (they're defined in the global namespace).
by paul doe
May 18, 2019 15:34
Forum: Documentation
Topic: Wiki improvements
Replies: 359
Views: 49763

Re: Wiki improvements

After the vptr / vtbl (vtable) usage for abstract/virtual procedures, why not another article about the RunTime Type Information (RTTI) provided by the built-in OBJECT: 19. How using RTTI from FB built-in OBJECT to extract Typename and those of all Bases of an instance (article of 1 post) It would ...

Go to advanced search