Support for Mac Broken Sword 1
|Reported by:||criezy||Owned by:||sev-|
|Game:||Broken Sword 1|
This patch add the support to the mac version of Broken Sword 1. It adds the mac BS1 game detection code and byte swap for some of the resources. Note that the mac cluster files mainly use the big endian bytes order, but some of the resources are stored in little endian (e.g. mouse cursor or data for router). All the byte order conversions are now done by functions in the ResMan class, except when dealing with the static resources (from staticres.cpp) that are always in little endian format. I have tested both the mac and PC version with french voice and french or english subtitle on a little endian computer. Hopefully I did not break anything, but I am not completly sure that BS1 mac will work with ScummVM on a big endian computer.
Support for the mac music file (in AIFF format) is not implemented.
Ticket imported from: #1571787. Ticket imported from: patches/681.