Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#8563 closed patch

KYRA: Kyra 2 & 3 main menu unification

Reported by: eriktorbjorn Owned by: lordhoto
Priority: normal Component: Engine: Kyra
Version: Keywords:
Cc: Game:


This patch is an initial attempt at moving the Kyra 3 main menu code so that it can be used by both Kyra 2 and 3. It is a bit hacky, though:

* Menu colours are wrong for Kyra 2. That's a simple matter of not hard-coding the colour values for Kyra 3, of course.

* I had to use the Kyra 3 screen dimensions table for Kyra 2 as well to get the correct dimensions for the menu drawing. Maybe the main menu should keep its own screen dimensions?

And of course, the fact that the menu code warps the mouse (why?) and Kyra 2 not showing any mouse cursor yet makes it a bit confusing to use.

But I figured it might make a good starting point.

Ticket imported from: #1531929. Ticket imported from: patches/668.

Attachments (1)

kyra-menu.diff (17.5 KB ) - added by eriktorbjorn 18 years ago.
Patch against current SVN

Download all attachments as: .zip

Change History (6)

by eriktorbjorn, 18 years ago

Attachment: kyra-menu.diff added

Patch against current SVN

comment:1 by eriktorbjorn, 18 years ago

Owner: set to lordhoto

comment:2 by vinterstum, 18 years ago

Nice work :).

I have no objections to this being committed; but I'm leaving for Prague tomorrow, for a week's time, so I don't have time to review it properly. I'll leave it for LordHoto, since he's done the menu.

comment:3 by vinterstum, 18 years ago

Modified & accepted, thanks :)

comment:4 by vinterstum, 18 years ago

Status: newclosed

comment:5 by digitall, 6 years ago

Component: Engine: Kyra
Note: See TracTickets for help on using tickets.