sil-quirk / sil-q

Other
210 stars 32 forks source link

Allow compilation on OS X #23

Closed backwardsEric closed 3 years ago

backwardsEric commented 3 years ago

On the 10.15 system I have with the compiler from Xcode, these changes seem to generate a usable Sil.app: the tutorial works and some quick journeys into the dungeon seemed fine.

There's at least one crashing bug to be fixed (using the Window menu to select one of the submenus while on the initial splash screen crashes), and there appeared to be some minor clearing artifacts while going through the tutorial (the transition from a solid wall to a door after discovering a secret door left a sliver of the wall; similar stuff seemed to happen as the amount of illumination changed along a solid wall).

sil-quirk commented 3 years ago

Thanks very much backwardsEric! Much appreciated! Mac support has been a hole for some time. Please let me know if there are any reasonable modifications I can make that would help with any of the Mac issues you've seen so far.

backwardsEric commented 3 years ago

Except for init_paths() (for which there's now a hack in place), the other things I mentioned are very likely all due to main-cocoa.m and not the rest of Sil-q. I'll try to see how easily support for MicroChasm's tiles can be included.