Commit Graph
8 Commits
Author SHA1 Message Date
AndywinXp 1310dd09df SCUMM: Rename MacMI1Gui to MacV5Gui and macgui_mi1.* to macgui_v5.* 2024-10-28 08:24:59 +01:00
Torbjörn Andersson 9d0dec6a75 SCUMM: MACGUI: Fix GUI colors, most noticeably in Fate of Atlantis
This one was my fault. The SCUMM engine has to notify the Mac window
manager whenver the palette changes, and I assumed that paletteColors
held the complete palette, when it's _currentPalette that does.

This means that the Mac window manager now gets the palette without
gamma correction, but that may not be such a bad thing. It's used for
color lookup and such, and gamma correction seems like just a
presentation detail that the window manager doesn't have to be aware of.
2024-10-28 08:24:59 +01:00
AndywinXp 67b0440ad0 SCUMM: MI1 (Mac): Implement EPX scaling and a stub for the menu 2024-10-28 08:24:59 +01:00
Le Philousophe 17f09bb48c SCUMM: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Torbjörn Andersson 96247123ba SCUMM: Give Loom and Indy 3 their own Mac GUI header files 2023-12-22 15:09:06 +01:00
Torbjörn Andersson c7ab59293f SCUMM: Split MacGui into MacGui and MacGuiImpl
The idea here is to expose a much smaller part of the MacGui headers to
the SCUMM engine, but introducing a new class that simply relays calls
to the actual Mac GUI. I hope this will allow me to further untangle
things.
2023-12-22 15:09:06 +01:00
Torbjörn Andersson aa35d449a6 SCUMM: Eliminate need to expose MacDialogWindow outside of MacGui
The plan is to eventually hide as much of the MacGui implementation as
possible from the rest of the engine, and only provide a minimal
macgui.h for it to use.
2023-12-22 15:09:06 +01:00
Torbjörn Andersson fb2bd1166d SCUMM: Split up gfx_mac.cpp into new macgui directory
The Mac GUI code is getting unwieldy, and this is an attempt at breaking
it up into more manageable chunks.
2023-12-22 15:09:06 +01:00