Commit Graph

53 Commits

Author SHA1 Message Date
Kari Salminen
d92dbac672 Fix for bug #1881170 (AGI: palette-related glitches reported). Made AGIPAL use only the lowest 6 bits of each color component (This should be the way the original AGIPAL-hack behaves too).
svn-id: r30708
2008-01-30 01:58:43 +00:00
Kari Salminen
0bfbd62ce7 Fixed obsolete comment.
svn-id: r30535
2008-01-17 12:21:31 +00:00
Max Horn
5dbc89c119 typo
svn-id: r30328
2008-01-07 19:41:27 +00:00
Kari Salminen
2f50a2416c Reject AGIPAL-files with over 6 bits per color component. Makes at least fanmade AGI game Naturette II's colors not be messed up anymore.
svn-id: r30326
2008-01-07 18:58:30 +00:00
Kari Salminen
e75207d9d7 Made AGIPAL-loading more lenient with errors. Added AGIPAL-flag to Naturette 3. These together fix Naturette 3's intro (No more long shakings).
svn-id: r30193
2008-01-03 09:43:50 +00:00
Max Horn
402a3dbbe3 cleanup
svn-id: r29617
2007-11-23 10:51:16 +00:00
Eugene Sandulenko
38d8105e4e Add support for Russian versions of AGI games
svn-id: r29056
2007-09-23 16:43:43 +00:00
Filippos Karapetis
d042f82a8a Minimize changes to the mouse cursor's palette
svn-id: r29002
2007-09-21 07:54:43 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Filippos Karapetis
8ccd247a74 Only change the cursor palette when the mouse hovers over a hotspot in Mickey, not the whole cursor. This is a much faster operation, which also gives better results
svn-id: r28860
2007-09-05 21:57:57 +00:00
Filippos Karapetis
2dd4f61b5e Text in Mickey is shown correctly now. Also, removed an obsolete function declaration of PutPixel()
svn-id: r28835
2007-09-02 22:47:53 +00:00
Eugene Sandulenko
7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
Kari Salminen
ff8ed07958 Added Apple IIGS arrow cursor data.
svn-id: r28436
2007-08-03 18:20:58 +00:00
Kari Salminen
8e5fb44fcb Added data for the Atari ST AGI palette and Apple IIGS AGI palettes V1 and V2.
svn-id: r28387
2007-08-01 18:14:10 +00:00
Kari Salminen
16529e58e6 Added 3 different Amiga AGI palettes (From oldest to newest). Changed initPalette so its easier to enable the usage of those palettes later.
svn-id: r28114
2007-07-15 21:33:28 +00:00
Kari Salminen
6e77abc07f Add Amiga-style menus (FR #657645). Used in Amiga-rendering mode.
svn-id: r28015
2007-07-10 18:32:24 +00:00
Kari Salminen
969df42d01 Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
svn-id: r28014
2007-07-10 18:08:35 +00:00
Kari Salminen
118181e848 Added data for an Amiga-style busy mouse cursor (An hourglass). Not used yet though.
svn-id: r27941
2007-07-06 16:50:44 +00:00
Kari Salminen
ceca6a82f1 Added Amiga-style mouse cursor. Used with Amiga-render mode.
svn-id: r27938
2007-07-06 12:53:58 +00:00
Kari Salminen
1332a69b07 Tidied up and simplified AGI mouse cursor management.
svn-id: r27937
2007-07-06 12:42:50 +00:00
Kari Salminen
4d7d3d96f5 Removed obsolete code for setting transparent debugging console colors.
svn-id: r27714
2007-06-25 18:32:40 +00:00
Kari Salminen
696b99e9b7 Unified GfxMgr::putPixelsA-function's priority info handling.
svn-id: r27710
2007-06-25 17:18:51 +00:00
Kari Salminen
a741f3c010 Fix priority screen showing when using AGI256 or AGI256-2.
svn-id: r27707
2007-06-25 14:40:40 +00:00
Kari Salminen
0ebf986a1f Make putPixelsA-function use correct mask (0x0f normally for 16 colors, 0xff for 256 colors in AGI256 mode).
svn-id: r27571
2007-06-20 23:42:38 +00:00
Kari Salminen
ae74b06756 Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
svn-id: r27564
2007-06-20 22:54:51 +00:00
Kari Salminen
8b4b8a95a0 svn-id: r27561 2007-06-20 22:16:18 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
69639ea0bf cleanup.
svn-id: r26315
2007-03-29 16:50:06 +00:00
Eugene Sandulenko
989f7b67cb - Save AGIPAL resource number properly
- Move GfxMgr constructor to .cpp file

svn-id: r26278
2007-03-22 22:29:00 +00:00
Matthew Hoops
a722b767a8 - adding support for saving AGIPAL games
- adding debug comment when using a new AGIPAL palette
- changing so that only pal.101-109 files are used and not pal.100, as AGIPAL starts at 101

svn-id: r26277
2007-03-22 22:03:21 +00:00
Matthew Hoops
080a76503b adding AGIPAL support (for changing palettes in some fan games) Patch:1684685
svn-id: r26270
2007-03-21 20:13:40 +00:00
Eugene Sandulenko
80eb248a0e Get rid of _opt. Cleanup.
svn-id: r25549
2007-02-13 15:27:36 +00:00
Torbjörn Andersson
3bc0661065 Merged the "palette manager" into the cursor manager. It was only used to
manage *cursor* palettes, so the name was misleading.

svn-id: r25500
2007-02-12 00:04:56 +00:00
Torbjörn Andersson
59eaade15d Make the mouse cursor white (instead of green) with a black outline on
platforms that support cursor palettes. Changed the cursor design slightly.
It's not necessarily better than the old one, but it matches the arrow cursor
used in early SCI games, which seems appropriate.

svn-id: r25499
2007-02-11 23:46:23 +00:00
Paweł Kołodziejski
b47eb95316 Formating names in source code
svn-id: r25101
2007-01-16 12:40:51 +00:00
David Symonds
994604527b Finish restructuring font data header for const correctness.
svn-id: r25100
2007-01-16 09:24:13 +00:00
David Symonds
fc2454556a Another set of unused hires code bites the dust.
svn-id: r25036
2007-01-06 17:21:33 +00:00
David Symonds
61d741514e Extended text rendering code to allow "checkerboarding", and switch menu code
to using this checkerboard effect for disabled menu items (this is how Sierra's
interpreter works).

svn-id: r25024
2007-01-06 05:11:41 +00:00
Stuart George
6fd07f64d4 Fixed button rendering
svn-id: r24814
2006-12-07 01:00:26 +00:00
Paweł Kołodziejski
1d3ca2e409 first phase of objectisation of agi engine
svn-id: r24808
2006-12-06 19:27:02 +00:00
Eugene Sandulenko
da3e724a99 Predictive input for AGI engine. To Do:
- Multitap
- scummvm.ini-based dictionary path
- speedup dictionary loading

svn-id: r24635
2006-11-06 13:19:12 +00:00
Torbjörn Andersson
8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Eugene Sandulenko
4859de9ae7 Made CGA rendering, EGA/VGA palette selectable via render_mode
svn-id: r22632
2006-05-25 19:46:28 +00:00
Paweł Kołodziejski
383b598c5c converted to scummvm console style
svn-id: r22618
2006-05-24 21:40:24 +00:00
Eugene Sandulenko
0f5a4b304b Update only dirty rects instead of fullscreen update
svn-id: r22617
2006-05-24 21:14:41 +00:00
Torbjörn Andersson
4a583216fb Fixed most - not all - GCC warnings.
svn-id: r22614
2006-05-24 19:51:37 +00:00
Paweł Kołodziejski
20cf952b68 removed defines USE_PCM_SOUND, AGDS_SUPPORT, USE_HIRES
svn-id: r22609
2006-05-24 14:00:08 +00:00
Paweł Kołodziejski
691ae72a59 include mouse support always
svn-id: r22605
2006-05-24 11:39:29 +00:00
Paweł Kołodziejski
1ec169ad3a ops
svn-id: r22604
2006-05-24 10:37:45 +00:00
Paweł Kołodziejski
efe96a535b formating a bit
svn-id: r22603
2006-05-24 09:07:46 +00:00