Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Terra-Engine 64 bits compatible? #13

Open
krukhlis opened this issue Jan 6, 2017 · 3 comments
Open

Is Terra-Engine 64 bits compatible? #13

krukhlis opened this issue Jan 6, 2017 · 3 comments

Comments

@krukhlis
Copy link

krukhlis commented Jan 6, 2017

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.

@Relfos
Copy link
Owner

Relfos commented Jan 6, 2017

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.

@krukhlis
Copy link
Author

krukhlis commented Jan 6, 2017

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

@Relfos
Copy link
Owner

Relfos commented Jan 6, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants