IrrDelphi (Irrlicht183, irrKlang130b) Delphi\Pascal headers

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

IrrDelphi (Irrlicht183, irrKlang130b) Delphi\Pascal headers

Postby IrrDelphi » Thu Nov 26, 2009 4:02 pm

Hi all :mrgreen:
I write headers for use Irrlicht and irrKlang in delphi without wrappers.

Supported platform: x86, x64
Supported os: Windows

IrrDelphi
Current version 0.05 (26.01.16):
    26.01.16:
    / BIG update after 5 years!
    + Support Irrlicht 1.8.3 (compiled in gcc 4.6.1)
    + This version used library compiled in gcc, so "thiscall" emulator not needed (and in general it gives a great binary compatibility)
    + Ported a lot of missing structures, classes and etc..
    + Now can use "Irrlicht.IReferenceCounted" methods "grab\drop" and have access to virtual parent class "IReferenceCounted"
    * Some bugs fixed.. some added)
    * No memory leaks in examples
    * Ported from cpp examples:
    e01_HelloWorld - EDT_SOFTWARE replaced on EDT_DIRECT3D9, because we have division by zero exception in core irrlicht
    e02_07_16_Quake3Map - mix from original examples: 02.Quake3Map + 07.Collision + 16.Quake3MapShader
    e03_CustomSceneNode
    e04_Movement
    e05_UserInterface
    e06_2DGraphics
    e07_Collision
    e08_SpecialFX
    e10_Shaders - don't use high level shaders
    e11_PerPixelLighting
    e12_TerrainRendering
    e13_RenderToTexture
    e14_Win32Window
    e15_LoadIrrFile
    e18_SplitScreen
    e19_MouseAndJoystick - joystick code is not tested properly
    e20_ManagedLights
    e21_Quake3Explorer - is bad example and untested properly
    e23_SMeshHandling
Project link: https://sourceforge.net/projects/irrdelphi/files/
Download: http://sourceforge.net/projects/irrdelphi/files/IrrDelphi_0.05.zip/download
Password: Dufa


irrDelphiKlang
Current version 0.02 (27.01.11):
    Support irrKlang v1.3.0b
    * All 6 examples worked
    * Char -> AnsiChar, String -> AnsiString (for support unicode Delphi >= 2009)
    etc..
Download: http://sourceforge.net/projects/irrdelphi/files/irrDelphiKlang_0.02.zip/download
Password: Dufa


Screenshots:
ImageImageImage
ImageImageImage
Last edited by IrrDelphi on Tue Jan 26, 2016 6:35 am, edited 11 times in total.
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby panoramic » Thu Nov 26, 2009 6:51 pm

I just downloaded your project and ran some examples.
Contratulations!
It's a great job!
panoramic
 
Posts: 6
Joined: Fri Jul 31, 2009 7:35 pm

Postby Stoney » Fri Nov 27, 2009 1:59 am

I just took a quick look at it, but porting IrrDelphi to other platforms except Windows seems would seem quite difficult. Linux might work if you replace all stdcall; with cdecl; and delete all references to windows.pas. Mac OS X is definitely a no-go at the moment, since assembler calls are not (correctly) supported on Intel machines and don't get me started on PowerPC architecture. ;)

Under which license are you publishing your work?

How about merging you efforts into IrrlichtPas? There is OOP branch in the SVN repository which would be perfect for your solution.
Stoney
 
Posts: 7
Joined: Sun Oct 25, 2009 8:20 pm
Location: Koenigsbrunn, Germany

Postby IrrDelphi » Fri Nov 27, 2009 4:56 am

I just downloaded your project and ran some examples.
Contratulations!
It's a great job!

thanks)

I just took a quick look at it, but porting IrrDelphi to other platforms except Windows seems would seem quite difficult. Linux might work if you replace all stdcall; with cdecl; and delete all references to windows.pas

you try this?
remove win reference it easy, and i think dont need replace stdcall with cdecl

Stoney wrote:...
Mac OS X is definitely a no-go at the moment, since assembler calls are not (correctly) supported on Intel machines and don't get me started on PowerPC architecture. ;)


A dont think about PowerPC =)

Under which license are you publishing your work?


My license ~= Irrlicht license =)

How about merging you efforts into IrrlichtPas? There is OOP branch in the SVN repository which would be perfect for your solution.


i dont see IrrlichtPas =)
What for?
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby Brainsaw » Fri Nov 27, 2009 6:48 am

It's nice to see Irrlicht ported to Delphi. Have used that language for many years, but am currently totally out of it. Nice work nevertheless.
Brainsaw
 
Posts: 1115
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Postby IrrDelphi » Sun Dec 06, 2009 6:15 pm

Brainsaw, thanks.

Wrapper work with FPC now, later i upload this.. and maybe lateeeeeer it shuld work on other platform)
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby Lupin » Mon Dec 07, 2009 2:17 pm

Awesome ! Your method for direct interoperation between Delphi and c++ is incredible. I've never seen anything like it.
Do you create pascal headers manually ?, or maybe (semi-) automatic (parser / code generator ) ?
Lupin
 
Posts: 4
Joined: Fri Dec 19, 2008 9:08 pm

Postby IrrDelphi » Mon Dec 07, 2009 4:36 pm

Thanks, but now method works with C++ VS only.. maybe later i add support gcc.

Yes i use automatic convertor, but not for all (IrrMacro, IrrConst, half IrrTypes)
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby Andromeda74 » Sun Jan 10, 2010 4:33 pm

Hi IrrDelphi,

Which is the automatic convertor? Can you share?

Thanks in advance
Andromeda74
 
Posts: 1
Joined: Sun Jan 10, 2010 4:30 pm

Postby Lupin » Wed Feb 10, 2010 10:36 am

Hello IrrDelphi.
Do you plan to update a Delphi headers to version 1.7 ?
Lupin
 
Posts: 4
Joined: Fri Dec 19, 2008 9:08 pm

Postby IrrDelphi » Wed Feb 17, 2010 6:17 pm

Lupin, yes. see first post
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby Lupin » Thu Feb 18, 2010 9:31 am

Thanks ! It's impressive. Currently, it is the only complete and up to date solution to use Irrlicht with Delphi/Pascal.
Examples still working with dll 1.7.1 so probably interface is unchanged.
I hope that in future you will still continue this excellent work... In the past I tried to use some wrappers (IrrPascal, Irr4Delphi, etc.),
but authors have lost interest in their further updating.

If you had some free time, sometime - maybe you could create a similar header to the IrrKlang library ?
Lupin
 
Posts: 4
Joined: Fri Dec 19, 2008 9:08 pm

Postby IrrDelphi » Thu Feb 18, 2010 10:45 am

Lupin wrote:Thanks ! It's impressive. Currently, it is the only complete and up to date solution to use Irrlicht with Delphi/Pascal.
Examples still working with dll 1.7.1 so probably interface is unchanged.
I hope that in future you will still continue this excellent work...

My free time = irrDelphi updating :D

Lupin wrote:In the past I tried to use some wrappers (IrrPascal, Irr4Delphi, etc.),
but authors have lost interest in their further updating.

I think it's because Delphi not popular for 3d programming :(

Lupin wrote:If you had some free time, sometime - maybe you could create a similar header to the IrrKlang library ?


Ok, but some later :wink:
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby snegsever » Fri Feb 26, 2010 6:15 am

Hi IrrDelphi!

I’ve compiled your last examples with Delphi 2010. The only change that was need – replacement in Irrlicht_17.pas from PChar to PAnsiChar (because in D2009-D2010 PChar is PWideChar).

Excellent job!
snegsever
 
Posts: 1
Joined: Fri Feb 26, 2010 6:08 am

Postby IrrDelphi » Tue Mar 09, 2010 1:03 pm

Lupin wrote:If you had some free time, sometime - maybe you could create a similar header to the IrrKlang library ?


See first post for "Delph irrKlang" v0.01 :)

snegsever, thanks, i have absolutely forgotten about unicode :)
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Next

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron