Search found 44 matches

by Haubitze
Nov 11, 2021 16:48
Forum: Libraries & Headers
Topic: Use all OpenGL extensions with one include file.
Replies: 2
Views: 4802

Re: Use all OpenGL extensions with one include file.

nice peace of code, plz keep it up to date.
one suggestion, plz include an logger for aktivated extensions.

salute
by Haubitze
Jul 12, 2021 20:41
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1083
Views: 307255

Re: MiniB3d for FreeBasic

what im missing is the 32bit build, call me oldscool but for my needs i NEED it ;D

so this is only a request and successtion and noting more ;)

salute and greate work so far :)
by Haubitze
Jun 19, 2021 7:09
Forum: Beginners
Topic: Enum not working
Replies: 4
Views: 799

Re: Enum not working

try this ENUM ProcessState_e Running Stopped Shutdown Free end enum type process state as ProcessState_e declare constructor() end type constructor process this.state = ProcessState_e.Free end constructor im not sure if it will help but if im using an enum as an "state"-variable then i dec...
by Haubitze
May 19, 2021 20:25
Forum: Sources, Examples, Tips and Tricks
Topic: Water droplets and ripples effect
Replies: 5
Views: 1528

Re: Water droplets and ripples effect

nice to see this again :)

here my versions about this topic.
viewtopic.php?f=7&t=26689&p=247395&hili ... ct#p247395

and yeah thx again @paul doe for the help on this. this was one of my first runs on FreeBASIC.
by Haubitze
Jan 09, 2021 13:30
Forum: Libraries & Headers
Topic: raylib headers
Replies: 88
Views: 31761

Re: raylib headers

i have ported the raygui lib so you can fast implement a gui or buttons for games ;)
Image
here the files
https://users.freebasic-portal.de/haubitze/raygui.7z

have fun
by Haubitze
Nov 20, 2020 17:13
Forum: General
Topic: Split 8bit in 4bit
Replies: 26
Views: 2994

Re: Split 8bit in 4bit

union Nibbles as ubyte value type lo : 4 as ubyte hi : 4 as ubyte end type declare function to_sign4bit(x as ubyte) as byte declare function to_usign4bit(x as ubyte ) as ubyte end union function Nibbles.function to_sign4bit(x as ubyte) as byte return (not(x)+1) and &h0f) end function function N...
by Haubitze
Nov 19, 2020 16:40
Forum: General
Topic: Split 8bit in 4bit
Replies: 26
Views: 2994

Re: Split 8bit in 4bit

i gues paul doe's version with union Nibbles as ubyte value type lo : 4 as ubyte hi : 4 as ubyte end type end union dim as Nibbles n = ( &b11110101 ) ? bin( n.value, 8 ) ? bin( n.hi, 4 ) ? bin( n.lo, 4 ) sleep() is the nicest and clean reading version. i will do it the same way...
by Haubitze
Aug 02, 2019 14:32
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 179
Views: 54774

Re: Audio library for FreeBasic - Features

a simple SID playing routine where nice for my project, but i think open and play MP3 files easy where a must have if it is not to mutch work.
also a easy to use 3D sound positioning/playing where a good thing for 3D games.
by Haubitze
Jun 04, 2019 21:27
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1083
Views: 307255

Re: MiniB3d for FreeBasic

thanks angros47, your sample code works with little changes. now i can see sGUI with the intern OpenGL renderer :)
nice side effect now i have ~75 fps, before with 2d.bi only ~30-40 fps :)

By the way nice work to convert OpenB3D to FreeBASIC.
so thx and salute.
by Haubitze
May 30, 2019 21:40
Forum: Sources, Examples, Tips and Tricks
Topic: Simple Name-Generator
Replies: 6
Views: 6876

Re: Simple Name-Generator

btw: hiddekel(hezekiel,ezechiel) are my favorite "prophet" ;D
by Haubitze
May 30, 2019 19:25
Forum: Sources, Examples, Tips and Tricks
Topic: Simple Name-Generator
Replies: 6
Views: 6876

Re: Simple Name-Generator

nice one :D
by Haubitze
May 30, 2019 17:53
Forum: Sources, Examples, Tips and Tricks
Topic: Simple Name-Generator
Replies: 6
Views: 6876

Re: Simple Name-Generator

yes dodicat, mine is also more gobblygook ;D
but yeah similar aproach.

edit @badidea yeahim a german an here is the name Herr Spr not so rare :floet:
by Haubitze
May 30, 2019 14:20
Forum: Sources, Examples, Tips and Tricks
Topic: Simple Name-Generator
Replies: 6
Views: 6876

Simple Name-Generator

hey there, i was looking for some good namegenerators but all have a list of forenames and so on or using sybils. so i was thinking about that problem an came with my own solution to here. for clearness i used a Martin Luther bible (in german) to generate a list of "frequencys" of followin...
by Haubitze
May 25, 2019 9:25
Forum: Libraries & Headers
Topic: MiniB3d for FreeBasic
Replies: 1083
Views: 307255

Re: MiniB3d for FreeBasic

hello angros47, now a demo for my problem with the internal 2d renderer for opengl, #Include once "fbgfx.bi" #Include Once "crt.bi" #Include Once "crt/math.bi" #Include Once "math.bi" #Include Once "crt/limits.bi" #Include Once "gl\gl.bi" #...
by Haubitze
May 24, 2019 0:06
Forum: Beginners
Topic: File i/o question.
Replies: 3
Views: 4503

Re: File i/o question.

read the complete line in a string and then split the string you get like this

Code: Select all

a=mid(in,1,50)
b=mid(in,51,50)
c=mid(in,101,10)
then you can convert all these strings to intergers or what else you will. see for that the 'string operations' in the FB-help.