datahead <automailer(a)forum.secretchronicles.de> writes:
Post via forum by datahead <cjj_009@xxxxxxxxxx>:
Was the Apple code in main.cpp simply removed in the SFML port branch? This code is
present in devel.
This was code within:
[code]
#ifdef __APPLE__
[/code]
The code that determined the resource path on Apple systems is probably
unnecessary anyway, because with the rework of the ResourceManager for
2.0.0 the data path is determined relative to the executable (or by
compilation option). I would expect that to work on Apple systems as
well, so I think that code can be removed anyway.
Did the code serve no purpose, or are we just not sure that it will
work at all if someone ports to Apple?
That’s it. I don’t know exactly what it does, and I have no possibility
to determine that. Since main.cpp is a file one views rather seldom, I
finally forget about its presence. You will need to ask a Mac developer
on whether he needs it. Fact is that TSC runs fine without it on
non-Apple systems.
We probably will eventually port TSC to an Apple dev environment, so
we'd want to make sure we provide as many resources as possible.
You can always retrieve the code from Git’s history again, so there is
no loss in deleting it.
Vale,
Quintus
--
#!/sbin/quintus
Blog:
http://www.guelkerdev.de
GnuPG key: F1D8799FBCC8BC4F