Jump to content

Pascal / Delphi Headers


Wchris
 Share

Recommended Posts

Hi, all.

 

The header generator and 1.03 framewerk were posted in the old forum

here are three threads of interest :

 

- the latest header generator. I have checked the header generator with 2.3, it's OK.

http://forum.leadwerks.com/viewtopic.php?f=2&t=5621&p=47578&hilit=purebasic#p47578

 

- my opensource 1.03 pascal Framewerk

Never tryed it with delphi you'll have to tell me the issues you encounter.

very simple implementation, everything is public. http://forum.leadwerks.com/viewtopic.php?f=2&t=5622&p=48584&hilit=framewerk#p48584

I have plans to create a framewerk component and encapsulate private methods and publish properties but it's not done yet, anyway it's less comfortable but still very usable.

 

- Some screenshots using the Framewerk with Freepascal/Lazarus

http://forum.leadwerks.com/viewtopic.php?f=1&t=5820&p=49143&hilit=own+map#p49143

Notice the nice render of the godrays ... water, bloom, HDR, fog ... i think framewerk is a MUST HAVE, that's why i did the job. But you can go on without it.

 

You'r all welcome to contribute :)

I'll repost the header generator here if i find the time, meantime get them there

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

Delphi is more than Pascal, but it should understand everything what Pascal does. Pascal is like C, while Delphi is like C++. There is also Object Pascal and Turbo Pascal, which were earlier versions of Delphi, although I think Object Pascal goes it's own line.

 

But for sure Delphi does also everything what Object Pascal does. It's like Pascal/Object Pascal in GNU standard, and Turbo Pascal and Delphi is Microsoft VC++ (just made by Borland instead).

 

What's maybe more important to know is that Pascal supports also #ifdefs, so the same header files can be used for Delphi and Pascal.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Are Pascal and Delphi the same thing?

 

No Delphi is based on Pascal, but delphi is much more than just a pascal compiler.

 

It's a complete class library encapsulating the whole windows API. A complete library of professional components with properties an event driven architecture. A RAD (Rapid Application Developement) environnement (like visual basic) for high productivity. It's also an utra-fast compiler (The chief architect behind Delphi compiler was Anders Hejlsberg) and a fantastic debugger.

 

The name Delphi was chosen in reference to oracle datadase who was the leading professionnal database in 1995. The goal was to promote the "professionnal" aspect of the product. Delphi is based on Pascal, and Pascal was used as an educational language because of his strict syntax and high readability of source code, they tryed to break the educational image of Pascal by renaming it Delphi instead of "Visual pascal".

 

There are many little pascal compilers out there, some of them are "object pascal" compilers and follow Delphi. The most famous one is freepascal (http://www.freepascal.org/) because "Project Lazarus" (http://www.lazarus.freepascal.org/) started rewritting the whole class library and components to match Delphi capabilities, and is based on Freepascal. Compared with Delphi, Lazarus is less stable (and personnaly i find Lazarus debugger totally unusable) and less well-documented. However, Lazarus has multi-platform capability and can run from a USB flash drive.

 

To use the Leadwerks header "object pascal" is not required, any simple pascal compiler is enought.

to use the Leadwerks Framewerk an "object pascal" capable compiler with full component class hierarchy is need. Only Delphi and the Team Lazarus+FPK (freepascal is also known as FPK) can do the job.

 

According to wikipedia the original Pascal language was born at Apple Computers, Apple dropped support for Object Pascal when they moved from Motorola 68K chips to IBM's PowerPC architecture in 1994. Today Delphi is leading, and alone, therefore defining the new standards for the "object pascal" with each release of Delphi.

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

  • 1 month later...

Error This file was too big to upload

 

Hmm ... i'm limited to 500Ko of upload and the header generator zip is 674Ko :)

 

maybe i could get an extra credit to reach 1174Ko ? ;)

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

Use Rar with -m5 packing, or 7-Zip. Both should make more than 2 times smaller files than WinZIP :)

Both are also well known standards, so nobody can complain how to unpack it (basically you only need WinRar for unpacking anything, it unpacks also 7-Zip files).

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Use Rar with -m5 packing, or 7-Zip. Both should make more than 2 times smaller files than WinZIP :)

Both are also well known standards, so nobody can complain how to unpack it (basically you only need WinRar for unpacking anything, it unpacks also 7-Zip files).

 

:( i know 7zip ... but the file is still 469Ko in ultra mode ... so if the 500Ko limit is not per post but per user ... i have 31Ko left for my own usage :huh:

 

and anyway with .7z i get "Error You aren't permitted to upload this kind of file" :P

 

EDIT : Found the solution ! :D

I uploaded the file in the downloads section here http://leadwerks.com/werkspace/index.php?app=downloads&showfile=83

There, i'm not limited in size.

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...