Search found 70 matches

by Henry00
Fri Mar 05, 2021 9:36 am
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Version 5.73
Removed the timestamp and version info in generated headers to make them git-friendly.
Removed ambiguous licensing terms at GitHub (it's MIT).
by Henry00
Thu Mar 04, 2021 3:09 pm
Forum: Feature Requests and Wishlists
Topic: IncludeBinary - Getting the size of the included binary
Replies: 5
Views: 2564

Re: IncludeBinary - Getting the size of the included binary

Thanks for the tip, that sure looks like an elegant solution! Perhaps this was the intended design decision, I wish the manual would mention this trick. :)
by Henry00
Thu Mar 04, 2021 12:12 pm
Forum: Feature Requests and Wishlists
Topic: IncludeBinary - Getting the size of the included binary
Replies: 5
Views: 2564

IncludeBinary - Getting the size of the included binary

Hi PureBasic Team,

in a DataSection , when IncludeBinary is used, it's not possible to retrieve just how large that binary was.

I know this can be easily solved by manually hardcoding the length of the file into the program or the DataSection , but it would be nice if there was an official way to ...
by Henry00
Thu May 14, 2020 12:36 pm
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Version 5.72
Fixed runtime keyword not getting detected properly.
TRS-Eric wrote:This tool is a must have for purebasic. Thanks!
And thank you Eric for providing the fix above, I am glad you like it! :)
by Henry00
Mon Sep 30, 2019 11:51 pm
Forum: Coding Questions
Topic: RotateCoordinates X and Y origin parameters are unresponsive
Replies: 5
Views: 2295

RotateCoordinates X and Y origin parameters are unresponsive

Hello PB Team,

I am using PureBasic 5.71 LTS. It appears that RotateCoordinates' X and Y parameters are completely unresponsive. Here is a modified example from the manual (I input WindowMouseX and WindowMouseY to show that changing the origin does nothing):

If OpenWindow(0, 0, 0, 400, 200 ...
by Henry00
Sun Sep 29, 2019 4:18 pm
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Version 5.71
Fixed double colon operator inside procedure arguments OnVstMain(*Effect.Vst2::AEffect).
by Henry00
Tue Mar 19, 2019 10:57 am
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

I have updated the broken links in the first post. The project is now open source on GitHub as well: https://github.com/00laboratories/PBHGEN
It's great to see that this project continues to help a lot people. As always be sure to let me know if there's any new PureBasic syntax that breaks things ...
by Henry00
Sat Jun 04, 2016 4:28 pm
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Hi Tristano, no it uses compiler directives to load the appropriate define lines. It used to make multiple files but that's an old version.

CompilerIf #PB_Compiler_Module = ""
Declare NormalEmptyProcedure()
Declare BracketStuff(String$ = "heh" + Chr(50), Okay.l = 50)
CompilerEndIf
CompilerIf ...
by Henry00
Sun Apr 10, 2016 4:21 pm
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Version 5.42
Added SpiderBasic header generation support.
by Henry00
Thu Dec 31, 2015 12:29 am
Forum: Applications - Feedback and Discussion
Topic: PBHGEN - PureBasic Header Generator
Replies: 35
Views: 37679

Re: PBHGEN - PureBasic Header Generator

Hello! I wasn't aware PureBasic 5.41 came out but after reading up and doing some quick tests it doesn't seem like any syntax was changed that would break the parser. Please correct me if I am wrong.

Also I have released the source code here as requested: https://bitbucket.org/Henry00/pbhgen

I ...
by Henry00
Sat Apr 18, 2015 11:17 pm
Forum: Bugs - Documentation
Topic: BugFix: CameraProjectionMode #PB_Camera_Orthographic Aspect
Replies: 2
Views: 2310

BugFix: CameraProjectionMode #PB_Camera_Orthographic Aspect

Hello!

I have added OGRE to my PureBasic project and while I fix bugs I figured I might as well post my findings and solutions here.

In CameraProjectionMode (#PB_Camera_Orthographic) you will find that a plane of say 1024x768 and a screen of 1024x768 isn't displayed correctly:

https://dl ...
by Henry00
Fri Apr 17, 2015 10:15 am
Forum: Feature Requests and Wishlists
Topic: 3D wishlist (last update 06/01/16)
Replies: 8
Views: 4339

Re: 3D wishlist

ParticleEmitterDirectionX(#ParticleEmitter[, mode])
ParticleEmitterDirectionY(#ParticleEmitter[, mode])
ParticleEmitterDirectionZ(#ParticleEmitter[, mode])
#PB_Absolute: get the absolute 'x' direction vector of the particle emitter in the world (default).
#PB_Relative: get the 'x' direction vector ...
by Henry00
Fri Apr 10, 2015 4:16 pm
Forum: 3D Programming
Topic: ExamineWorldCollisions() causes shaky objects.
Replies: 1
Views: 1974

ExamineWorldCollisions() causes shaky objects.

Hello!

I am unable to reproduce this properly in an example script but calling ExamineWorldCollisions () each frame is causing my entities to sleep less and slide / jump more violently. Without a call to this function they just stop and sleep normally as you'd expect. Can anyone confirm this ...
by Henry00
Wed Apr 08, 2015 10:05 pm
Forum: Bugs - 3D Engine
Topic: #PB_Entity_DeactivationTime is not what it says
Replies: 0
Views: 2992

#PB_Entity_DeactivationTime is not what it says

Hello!

Sadly #PB_Entity_DeactivationTime returns Bullet's internal counter of milliseconds (live!) up to around 2000 at which it sets the sleep mode. It's not as the manual states "Time to wait (in milliseconds) before putting the entity in sleep mode when the above conditions are met."
When you ...
by Henry00
Sun Apr 05, 2015 5:57 pm
Forum: Feature Requests and Wishlists
Topic: Ability to call Parse3DScripts() more often.
Replies: 0
Views: 1355

Ability to call Parse3DScripts() more often.

Hello,

OGRE supports scanning for material scripts (same as Parse3DScripts()) more often then just once so that you are able to make modifications or add more material scripts when you Add3DArchive. It also supports parsing it from a string and individual files. I could really make use of this as I ...