Thanks dude, very much appreciated.
The forum has a new board section, specially for Delphi !
Perhaps we can discuss changes to the Delphi port there.
I look forward to using the Delphi port a bit more
I also have some idea's for stuff that I might want to change... like introducing some more properties here and there to make things easier... and perhaps a bit more powerfull... like removing/lifting some of the constraints... not yet sure if that's wise though... like polygon verteces count... but maybe I will just use many triangles instead and polygon array does seem to be used as a large copy structure... so might be wise to keep it small unless some special copy constructor is made which does it as efficiently as possible, which is probably possible.
I noticed how you left out all the "inherited Create" lines which are usually present in classes... I feel slightly not at ease with that... but as far as I understand it's an optimization ?
Also here and there classes seem to access private members of other classes, for example some classes that inherit from others.
These private members should probably be moved to a "protected section" this would allow the classes to be placed into seperate units.
One big unit might get on my nervous... because of scrolling issue's and such... but then again having many different units might also be a bit shitty... but at least easy to scroll. I would need some special custom versioning software if I want to add version numbers to the file names which I like to do if I get serious about modifieing the library.
Also what's up with the "ifdef" overloaded directives for the record operators like additions or whatever.. like vectors or something... it seems like Delphi 6/Delphi 2006 backwards compatibility support... the same seems to be done for "inlining"/ifdefs.
I think the Delphi 2007 compiler might have issue's if too many ifdefs are being used... it's just a hunch... I am not sure... but I would like to bring that to your attention... ofcourse compiler bugs are a poor excuse... but I kinda like 2007... these bugs could also still be present in 2010.
Delphi 7 doesn't even work that well anymore on windows xp x64 pro edition... not sure about windows vista/seven. None the less having support for Delphi 7 is still kinda nice in case some bugs pop-up in 2007 which delphi 7 doesn't have or can debug better... I have seen situations like that, it's rare though.
How much time did it cost you to translate cpp to delphi ? Like days, weeks, months ? Are there any bugs/problems you are aware of ?
Logging such bugs/problems in a special text section or so could be usefull... then we other Delphi programmers might take a look at it to see if it can be solved.
For now it seems you did a pretty nice job of converting it !
The testbed does have some bugs here and there... but those are just in the testbed me thinks... like arrays going out of bounds... or references being nil/access violations... that kind of thing...
If I do wanna contribute some changes to the library I will get in touch with you to see if you can maybe incorporate it into your subversion repository... so that it could become a joint effort of making the library a bit better... and very maybe/perhaps these could be further incorporated into a cpp version... but I doubt it.. since cpp doesn't have some of the delphi language features like properties ?! cpp also doesn't have easy (multi-dimensional dynamic) arrays like delphi has... but some custom cpp code could take care of that perhaps cpp templates but I don't like those since they hide a lot of code and are gimmicks ?! so probably just real code if I ever wanted to convert delphi's SetLength to cpp stuff