Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#9061 closed patch

CRUISE: Fix cruise compilation with mingw32ce toolchain

Reported by: CeRiAl Owned by: fingolfin
Priority: normal Component: Port: WinCE
Version: Keywords:
Cc: Game:

Description

This patch changes the names of the enums for left, right middle and both mouse buttons so that the engine can be compiled with the mingw32ce toolchain. See this forum post for the error: http://forums.scummvm.org/viewtopic.php?p=50991#50991

Ticket imported from: #2828669. Ticket imported from: patches/1166.

Attachments (1)

cruise-diff.patch (3.1 KB ) - added by CeRiAl 15 years ago.
SVN Diff

Download all attachments as: .zip

Change History (6)

by CeRiAl, 15 years ago

Attachment: cruise-diff.patch added

SVN Diff

comment:1 by fingolfin, 15 years ago

Owner: set to dreammaster
Summary: Fix for cruise engine compilation with mingw32ce toolchainCRUISE: Fix cruise compilation with mingw32ce toolchain

comment:2 by SF/knakos, 15 years ago

MB_RIGHT is defined somewhere in the wince header files (I couldn't pinpoint the exact place). I've fixed this in my uncommitted trunk with a simple:

#ifdef _WIN32_WCE #undef MB_RIGHT #endif

at the top of cruise_main.h.

Take your pick dreammaster. This changeset, although less minimalistic, looks good too.

comment:3 by fingolfin, 15 years ago

Owner: changed from dreammaster to fingolfin
Status: newclosed

comment:4 by fingolfin, 15 years ago

I just commited this. I think it's trivial and harmless enough. Hopefully none of the CRUISE people mind (but if they do, it'll be trivial to rectify this in any of various ways :).

comment:5 by digitall, 6 years ago

Component: Port: WinCE
Note: See TracTickets for help on using tickets.