Search found 6612 matches

by D.J.Peters
Sep 19, 2017 15:01
Forum: Tips and Tricks
Topic: 32 bit fixed point 16:16 VECTOR and MATRIX math.
Replies: 4
Views: 892

Re: 32 bit fixed point 16:16 VECTOR and MATRIX math.

operator VECTOR.*=(byref s as FP32) was wrong !

Joshy
by D.J.Peters
Sep 18, 2017 20:39
Forum: Windows
Topic: ScreenRes + Width display or compiler problem
Replies: 8
Views: 130

Re: ScreenRes + Width display or compiler problem

Your OS doesn't support 8-bit color pallete modes in Fullscreen. Try this (if you like) Joshy #include "fbgfx.bi" Using FB ' namespace ''Set up a graphics screen Const as integer W = 1024, H = 768 ScreenRes W, H ,32,1,GFX_FULLSCREEN Dim As Integer twid, tw, th '' Fetch and print current te...
by D.J.Peters
Sep 18, 2017 10:01
Forum: Windows
Topic: Streaming audio
Replies: 12
Views: 1652

Re: Streaming audio

angros47 it must be DWORD_PTR not DWORD ! Joshy #Include once "crt/string.bi" #include once "Windows.bi" #include once "win/mmsystem.bi" #ifndef WAVE_MAPPER #define WAVE_MAPPER -1 #endif dim shared _hWaveOut as HWAVEOUT dim shared cs as CRITICAL_SECTION type QueueWAVEHD...
by D.J.Peters
Sep 15, 2017 11:23
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 55
Views: 1134

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

...if a line contains a number of bytes that is not a multiple of 4, the remainder will shift the next line... ...In 32 bit mode each pixel uses 4 bytes: so, it does not matter how many pixels are in a line, the number of bytes will always be a multiple of 4... Independent from mode (BPP 8,15,16,24...
by D.J.Peters
Sep 15, 2017 6:53
Forum: Tips and Tricks
Topic: MPEG 1 encoder
Replies: 6
Views: 189

Re: MPEG 1 encoder

No "simple" write_audio_bits() :-(

Joshy
by D.J.Peters
Sep 07, 2017 5:49
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 139
Views: 13097

Re: FLTK C for FreeBASIC Jan 09, 2017

All FLTK widgets supports DND (so far I know) but you need to start a DND and look for the right event's. http://www.fltk.org/articles.php?L770 Joshy I tested only DND with files file: Fl_DND_Files.bas #include once "fltk-c.bi" ' test of DND : ' Fl_EventText() function HandleCB cdecl (byva...
by D.J.Peters
Sep 07, 2017 1:33
Forum: General
Topic: motion capture ?
Replies: 9
Views: 322

Re: motion capture ?

Why not downloading free *.bhv files ? (bhv, fbx, tvd, c3d...) (you can find/google thausends of captured high quality motions) 2400# http://mocap.cs.cmu.edu/ 500# https://gumroad.com/l/eTsK# ... Then select one that match the nearest you need and edit it. Download an editor or write your own (it's ...
by D.J.Peters
Sep 07, 2017 1:22
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 139
Views: 13097

Re: FLTK C for FreeBASIC Jan 09, 2017

I also notice that in FLTK C++, Fl_File_ChooserShow is supposed to return a pointer to the chosen filename, or null if none is chosen Thats wrong my friend :-) Fl_File_ChooserShown() returns<>0 if the dialog are not closded by the user. Fl_File_ChooserGetValue(fc) returns the selected stuff or NULL...
by D.J.Peters
Sep 05, 2017 19:44
Forum: Libraries
Topic: The Fash Fast Hash Family
Replies: 2
Views: 152

Re: The Fash Fast Hash Family

I translated only "fash.c" to "fash.bas" not tested ! Joshy file: fash.bas /' fash.bas Douglas Crockford 2017-07-24 Public Domain This contains the FreeBASIC implementation of fash64 fash256 rash64 srash64 This implementation trades away performance for portability. '/ function h...
by D.J.Peters
Sep 04, 2017 16:36
Forum: Projects
Topic: Making a Scratch like IDE
Replies: 1
Views: 268

Re: Making a Scratch like IDE

Not bad at this early stage.

Joshy
by D.J.Peters
Aug 20, 2017 22:40
Forum: Documentation
Topic: Wiki signups
Replies: 18
Views: 581

Re: Wiki signups

I can't login I tryed both DjPeters and DJPeters ?

md5 of DjPeters: D7D589ECF2D0621BCEC305D00A0A6043

Joshy
by D.J.Peters
Aug 20, 2017 22:32
Forum: General
Topic: [solved] Where can I get the latest FB source code from /stw/builds ?
Replies: 3
Views: 116

[solved] Where can I get the latest FB source code from /stw/builds ?

http://users.freebasic-portal.de/stw/builds/

Where is the link to the souce code are used by the lates build in this case from 10-Apr-2017 ?

Is it on Git or sf.net ?

Thank you

Joshy
by D.J.Peters
Aug 20, 2017 21:53
Forum: General
Topic: fwd ref
Replies: 6
Views: 212

Re: fwd ref

@fxm If classes are defined in seperate include files a compiler knows or read the interfaces. That means "from my point of view" or in a perfect world :-) after a forward declare a compiler must/can collect the implemented "missing"code in a second pass. The same way are how for...
by D.J.Peters
Aug 20, 2017 1:59
Forum: General
Topic: fwd ref
Replies: 6
Views: 212

Re: fwd ref

Must be (a new) bug ! I used forward declares many times in the past without any problems. Joshy type circle_vars as single x,y,rad End Type type circle_vars_t as circlestacker type csbuf_vars declare sub subtractive(byref p as circle_vars ptr) as circle_vars_t ptr pcv end type sub csbuf_vars.subtra...

Go to advanced search