TERRA-Engine
TERRA-Engine copied to clipboard
Is Terra-Engine 64 bits compatible?
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

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.
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.
ok, thank you. Will try to figure out the functionality that is not portable( I suppose String functions might be the first candidate).
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).