Search found 1395 matches

by jacdelad
Sun Apr 14, 2024 10:58 am
Forum: Bugs - Windows
Topic: Debug mode execution speed can vary on source whitespace.
Replies: 9
Views: 282

Re: Debug mode execution speed can vary on source whitespace.

I am actually wondering how and why white spaces should affect the execution speed at all. I could imagine that compiling takes nuances longer, but then? Isn't the out the same, regardless of how many white spaces I put there?
by jacdelad
Sun Apr 14, 2024 7:59 am
Forum: Bugs - 3D Engine
Topic: [PB6.10LTS] Absolute ScaleEntity() does not work
Replies: 3
Views: 113

Re: [PB6.10LTS] Absolute ScaleEntity() does not work

...which is not a bug, but a request.
by jacdelad
Thu Apr 11, 2024 4:47 am
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 371

Re: PB 6.10 x64 OpenLibrary

This is a terrible idea and also not possible. PureBasic has no power over which address is returned if an object (like a library) is assigned. That's why the help clearly states to use .i for handles. This is also fact for every programming language which uses x86-/x64-architecture. The simple fact...
by jacdelad
Wed Apr 10, 2024 7:41 pm
Forum: Bugs - Windows
Topic: [Done] LoadImage crashes on faulty BMP-image
Replies: 10
Views: 478

Re: [Done] LoadImage crashes on faulty BMP-image

Oh nice. Thanks!!!!!
by jacdelad
Wed Apr 10, 2024 3:50 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 317
Views: 39709

Re: PureBasic 6.10 LTS is out !

I meant calculate it fast than accurate, my fault. But seriously, what do you mean by "accurate"?
by jacdelad
Wed Apr 10, 2024 12:03 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 317
Views: 39709

Re: PureBasic 6.10 LTS is out !

What do you mean by accurate? It's more important to calculate 2+2 than to return the right result??
?
by jacdelad
Tue Apr 09, 2024 7:19 pm
Forum: Coding Questions
Topic: Vector Drawing
Replies: 6
Views: 350

Re: Vector Drawing

These two lines of code capture the mouse position that will be used to draw back to the origin (x,y). The division and multiplication is used to round off to the nearest 8 pixels (pw,ph). The code that calls this procedure is much to extensive to post. I would have never guessed that without conte...
by jacdelad
Tue Apr 09, 2024 6:12 pm
Forum: Coding Questions
Topic: Vector Drawing
Replies: 6
Views: 350

Re: Vector Drawing

1. Please use code tags. 2. Please post a runable code. We can't know whether the problem is within this procedure or the code around it. 3. What do you expect x1 = (GetGadgetAttribute(Canvas_0, #PB_Canvas_MouseX) / pw) * pw y1 = (GetGadgetAttribute(Canvas_0, #PB_Canvas_MouseY) / ph) * ph to do??? E...
by jacdelad
Tue Apr 09, 2024 6:06 am
Forum: Bugs - Windows
Topic: [Done] [6.10LTS WIN x86 ASM / C] SvgVectorOutput() causes IMA
Replies: 10
Views: 256

Re: [6.10LTS WIN x86 ASM / C] SvgVectorOutput() causes IMA

It did occur for me too, but vanished after using a full path.
by jacdelad
Mon Apr 08, 2024 7:48 pm
Forum: General Discussion
Topic: Interested in LCARS?
Replies: 4
Views: 598

Re: Interested in LCARS?

The problem is, since nobody showed interest I only did what I needed fory project. Plus, I didn't care about the code. I need to beautify it and such. For now, I need to complete other projects first. But I'll post it when I have something worth posting. Until then...expect everything (including th...
by jacdelad
Sun Apr 07, 2024 6:51 pm
Forum: General Discussion
Topic: Interested in LCARS?
Replies: 4
Views: 598

Re: Interested in LCARS?

Looks nice.

I never got a reply, so I never felt to urge publish an update. I too include the right font plus frames are created dynamically and so on...
by jacdelad
Sun Apr 07, 2024 6:48 pm
Forum: Tricks 'n' Tips
Topic: Keep Windows Size & Position Between Run (Win)
Replies: 1
Views: 335

Re: Keep Windows Size & Position Between Run (Win)

Aw man, I wanted to write something very the same and publish it here. After the third project I realized that I recreate my own code for this each time I start a new program.

Thanks very much, that's really useful.
by jacdelad
Fri Apr 05, 2024 6:54 pm
Forum: 3D Programming
Topic: Totally lost at rotating an object
Replies: 6
Views: 235

Re: Totally lost at rotating an object

Thanks very much again, I already figured this out. 8) My PCB now rotates exactly as I wanted it to.
It still feels a bit like witchcraft...