[Scummvm-tracker] [ScummVM :: Bugs] #14524: Wetlands (and possibly others) use own cursor palette

ScummVM :: Bugs trac at scummvm.org
Sat Jul 1 19:18:10 UTC 2023


#14524: Wetlands (and possibly others) use own cursor palette
--------------------+----------------------------
Reporter:  mikrosk  |       Owner:  neuromancer
    Type:  defect   |      Status:  new
Priority:  normal   |   Component:  Engine: Hypno
 Version:           |  Resolution:
Keywords:           |        Game:  Wetlands
--------------------+----------------------------
Comment (by mikrosk):

 Cheers! From what I have seen, the most interesting stuff is in
 hypno/cursor.cpp. There you have colour indices into your own palette
 (0-3). So what needs to be done is to check what palette(s) are used in
 what screen(s) and replace the 0-3 indices with real palette indices from
 given screen (and basically avoid calling any of the set cursor palette
 functions).

 Of course, it's very well possible that multiple screens use the same
 cursor shape but require different palette mapping and/or colour scheme
 (i.e. one would need to provide multiple per-screen cursor definitions).
 This alone is the reason I didn't want to mess with the engine I have no
 literally zero knowledge about the game so I wouldn't be able to guarantee
 that I don't mess something up.

 I tested the behaviour in 'atari' backend but it's generic to any engine,
 incl. SDL should you choose 8-bit rendering there. On 66 MHz machine
 Wetlands demo was more than playbable. :)

 If you need some help with palette stuff or just with testing, feel free
 to reach me at Discord (@mikro).
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14524#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list