TERRA-Engine icon indicating copy to clipboard operation
TERRA-Engine copied to clipboard

Is Terra-Engine 64 bits compatible?

Open krukhlis opened this issue 8 years ago • 3 comments

Hi All, just wondering if the engine is 32bits only or 64 bits compatible as well? E.g., during compilation I see the following in TsdJpegImage image

which is not really portable. Also, there is native/assembler code which might be also only 32bits compatible( sorry, I'm not assembler guy :) )

Also, it's interesting how it works for iOS, considering Apple requires for latest iOS versions the applications to be 64bits only.

krukhlis avatar Jan 06 '17 16:01 krukhlis

The engine does compile in win64 (I did not test in iOS yet), however there are some exceptions, for example the JPG unit is not portable (I don't recommend using JPG at all for games, the unit is mostly there for making preprocessing tools, editors and other things that might need it.)

With some work it could be made portable, however I don't plan to do it myself soon.

Relfos avatar Jan 06 '17 19:01 Relfos

ok, thank you. Will try to figure out the functionality that is not portable( I suppose String functions might be the first candidate).

krukhlis avatar Jan 06 '17 21:01 krukhlis

Note that the JPG unit in the master branch is a new unit very different from the JPG unit in the old_master branch.

The new one is a incomplete port from a C std_jpg library, and the old one was one I wrote myself that acted as a wrapper to Delphi / FPC builtin JPG units (which should be 64 bit compatible).

Relfos avatar Jan 06 '17 23:01 Relfos