Search found 586 matches

by UEZ
Jul 03, 2020 8:54
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 347

Re: Smoky Zoom Effect

I like your thing that much that I made it into a movie. https://www.mediafire.com/file/pl93s3xctak56en/ground_control.zip/file (Windows only) Declaration of love... :-) Indeed, with sound it's much better. Windows only: I tried to make it in real time playing the sound. You need dodicat's zip from...
by UEZ
Jul 02, 2020 12:38
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 347

Re: Smoky Zoom Effect

More awesome graphics from the UEZ stable. http://deltarho.org.uk/Downloads/smile.png gcc32 -O2 29fps gcc64 -O2 58fps gas64 29fps Visuallly, for me, I prefer 29fps. Great imagination! Thanks deltarho for your feedback. I modified the code and added dodicat's regulate function to run at ~30 fps whic...
by UEZ
Jul 01, 2020 14:40
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 684

Re: Windows 10 May 2020 Update

I was not able to update via Windows Update. Always the same error message which I don't remember yet.
What I did was to upgrade using the ISO image and an usb drive (upgrade installation). Everything so far is working properly and all applications are working properly.
by UEZ
Jul 01, 2020 13:29
Forum: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 347

Smoky Zoom Effect

A long time ago I wrote a function using GDIPlus to create a smoky zooming effect. I tried to use FB code only which should also run on Linux and here the result: Smoky Zoom Effect.bas 'Coded by UEZ build 2020-07-02 'Thanks to Joshy, Mario Klingemann and dodicat (see below) #Include "fbgfx.bi&q...
by UEZ
Jun 25, 2020 16:28
Forum: Windows
Topic: monitor bytes transferred over network?
Replies: 2
Views: 231

Re: monitor bytes transferred over network?

Try something like this here: 'Coded by UEZ build 2020-06-25 #Include "windows.bi" #Include "win/iphlpapi.bi" Declare Function Convert(Bytes As Longint) As String Const IF_TYPE_ETHERNET_CSMACD = 6, IF_TYPE_IEEE80211 = 71 Dim As _MIB_IFTABLE Ptr pIfTable, pMemIfTable 'https://docs...
by UEZ
Jun 22, 2020 9:38
Forum: General
Topic: Parse DIR listing for folder name and size
Replies: 10
Views: 534

Re: Parse DIR listing for folder name and size

Here a variant using the Windows API: 'Coded by UEZ build 2020-06-22 beta #Include "windows.bi" Declare Sub GetDirSize(sDir As String) Type tFileSize Union As Ulongint quadpart Type As Uinteger LowPart, HighPart End Type End Union End Type Dim As String sDir = "c:\Temp\*" '<---- ...
by UEZ
Jun 18, 2020 9:37
Forum: Tips and Tricks
Topic: Greedy Worm build 2020-06-16
Replies: 3
Views: 244

Re: Greedy Worm build 2020-06-16

Thanks for your feedback.

@dodicat: nice work, especially the eyes - looks really cool. :-)
by UEZ
Jun 16, 2020 11:27
Forum: Windows
Topic: Issue with using BASS / Dylibload
Replies: 4
Views: 267

Re: Issue with using BASS / Dylibload

dodicat wrote:Tested a couple of tunes 32 bit,64 bit and gas64.
All OK.
Only those two byref parameters to byval in BASS_StreamCreateFile need changing.


Ahh, got it. I've overseen the Byref values although I checked each function (not seen the forest for the trees). ^^
It's working now.

Thank you dodicat. :-)
by UEZ
Jun 16, 2020 10:44
Forum: Windows
Topic: Issue with using BASS / Dylibload
Replies: 4
Views: 267

Re: Issue with using BASS / Dylibload

dodicat wrote:I downloaded the dll's
looks like

Dim Shared BASS_StreamCreateFile As Function(Byval As BOOL, Byval As Any Ptr, Byval As QWORD, Byval As QWORD, Byval As Dword) As HSTREAM

is OK.

i.e. all byval, no byref parameters.

Does it mean that you can play a mp3 file using the code?
by UEZ
Jun 16, 2020 9:15
Forum: Tips and Tricks
Topic: Greedy Worm build 2020-06-16
Replies: 3
Views: 244

Greedy Worm build 2020-06-16

https://i.ibb.co/RTc1Q1P/Hungry-Greedy-Worm.jpg Greedy Worm.bas 'Ported to FB by UEZ build 2020-06-16 'Original code by EliK -> https://www.openprocessing.org/sketch/875675 'Thanks to dodicat for the Regulate function #Include "fbgfx.bi" Using FB Const iW = 1000, iH = 600, maxLength = 128...
by UEZ
Jun 16, 2020 7:32
Forum: Windows
Topic: Issue with using BASS / Dylibload
Replies: 4
Views: 267

Issue with using BASS / Dylibload

I know Bass.bi and it works well but I wanted to use Dylibload and load Bass.dll to use it but somehow it doesn't work as I expected - it's not playing the mp3 (Error: The file's format is not recognised/supported.). Here the code what I did so far: #Include Once "windows.bi" #Include Once...
by UEZ
Jun 14, 2020 21:24
Forum: Tips and Tricks
Topic: Stack (LIFO) v2 implementation using double linked lists
Replies: 10
Views: 444

Re: Stack (LIFA) v2 implementation using doubly linked lists

Lost Zergling wrote:Hello. Is it LIFO ? (Or what does LIFA mean ?)

Ops, you are right. Last In First Out. ^^
by UEZ
Jun 14, 2020 15:12
Forum: Tips and Tricks
Topic: Stack (LIFO) v2 implementation using double linked lists
Replies: 10
Views: 444

Re: Stack (LIFA) v2 implementation using doubly linked lists

It's a bad habit to use Delete[] when New (without [] ) is used, even if it works when the Type ( Vector ) has no destructor as in your precise case. If one adds a destructor in the Vector Type (or a member field like a string), the program crashes. I advise you to replace delete[] by delete in the...
by UEZ
Jun 14, 2020 12:06
Forum: Tips and Tricks
Topic: Stack (LIFO) v2 implementation using double linked lists
Replies: 10
Views: 444

Stack (LIFO) v2 implementation using double linked lists

Here my version of a stack using double linked lists. Example.bas 'Stack (LIFA) v2 implementation using double linked lists 'Coded by UEZ build 2020-06-15 beta Type Vector As Single x, y, z As Vector Ptr pp, pn End Type Type _Stack Declare Constructor() Declare Destructor() Declare Sub Push(x As Sin...
by UEZ
Jun 13, 2020 18:19
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 356
Views: 36931

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

@UEZ - With only one rocket you can see some 'stealthy' artifacts of the previous rocket. - In the Function _Stack.Get(iPos As Uinteger) Byref As ParticleTail When the test is negative the returning value is null. Not sure this case could arise but if yes something will go wrong. :-) I did realize ...

Go to advanced search