CRUISE: 64bits fixes
|Reported by:||bgK||Owned by:||sev-|
The Cruise for a corpse engine did not run on 64bits machines mainly due to loading data directly to structures and bad pointer manipulations (bug 1848957).
The attached patch fixes loading the overlay structures, and the construction of the polygon list. I haven't done extensive testing, so the 64 bits version is probably not yet on par with the 32 bits one. But at least the intro is now displayed correctly and the first few scenes are playable.
The polygon list code uses evil pointer arithmetics that could really use a rewrite using a chained list class.
I also fixed a few bugs in the data loading procedures resulting in some glitches disappearing from the intro with both 32 and 64 bits builds. The fixed glitches are : - The small boat and the birds in the sailboat screen. - The head of the butler in the following scene.
Ticket imported from: #2054467. Ticket imported from: patches/1016.