aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/graphics.cpp
AgeCommit message (Collapse)Author
2016-01-31AGI: remove timer hack, implement in game timerMartin Kiewitz
in game timer is now updated, when scripts read in game timer VM variables and during main loop. ScummVM total play time feature is used for it. Game cycle syncing is done at the same time.
2016-01-29AGI: use Common::RenderMode instead of its ownMartin Kiewitz
AppleIIgs + Atari ST weren't available back then in the enum. They now are, so I can use the Common one.
2016-01-29AGI: adjust mouse pos using render start YMartin Kiewitz
instead of having it hardcoded.
2016-01-29AGI: graphics rewrite + cleanupMartin Kiewitz
- graphics code fully rewritten - Apple IIgs font support - Amiga Topaz support - Word parser rewritten - menu code rewritten - removed forced 2 second delay on all room changes replaced with heuristic to detect situations, where it's required - lots of naming cleanup - new console commands show_map, screenobj, vmvars and vmflags - all sorts of hacks/workarounds removed - added SCI wait mouse cursor - added Apple IIgs mouse cursor - added Atari ST mouse cursor - added Amiga/Apple IIgs transition - added Atari ST transition - user can select another render mode and use Apple IIgs palette + transition for PC versions - inventory screen rewritten - SetSimple command now properly implemented - PreAGI Mickey: Sierra logo now shown - saved games: now saving controller key mapping also saving automatic save data (SetSimple command) - fixed invalid memory access when saving games (31 bytes were saved using Common::String c_ptr() Special Thanks to: - fuzzie for helping out with the Apple IIgs font + valgrind - eriktorbjorn for helping out with valgrind - LordHoto for figuring out the code, that caused invalid memory access in the original code, when saving a game - sev for help out with reversing the Amiga transition currently missing: - mouse support for menu - mouse support for system dialogs - predictive dialog support
2016-01-21AGI: Give a nicer error message on invalid render mode.Johannes Schickel
2015-07-19AGI: Disable unused palettes for compilationMax Horn
2015-05-19AGI: implement original sierra font, fix bug #6405Martin Kiewitz
custom font is still used for fanmade games i cannot test preAGI games, because I don't own those.
2014-12-07AGI: Disable/remove unused codeFilippos Karapetis
This is code that isn't used currently. Thanks to fingolfin for pointing out these parts of the code
2014-12-07AGI: Set the correct palette to use for each Amiga gameFilippos Karapetis
The Amiga palettes were added in 16529e58e6, but were never used. A new game-specific option has been added for the old Amiga palette
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2011-11-02AGI: Fix warningsEugene Sandulenko
2011-09-26AGI: doUpdate() already calls updateScreen()Filippos Karapetis
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14ALL: colour -> colorMax Horn
2011-02-20AGI: Remove leftover RGBA reference in comments.Johannes Schickel
2011-02-14AGI: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-01-05Fixed bug #2924968, "AGI: Can't click "cancel" in Save/Restore Game Menu". ThisTorbjörn Andersson
regression was probably introduced with r45260, "AGI: cleanup GfxMgr::testButton". svn-id: r47030
2009-10-20AGI: cleanup GfxMgr::testButtonMax Horn
svn-id: r45260
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-07-14Remove ioFailed() usage from AGI engine.Kari Salminen
svn-id: r42495
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06Fix bug #1745954: "GR: Intro "jumpy" in parts (Amiga version)"Eugene Sandulenko
svn-id: r41244
2009-06-06Fix bug #2434187: "SQ2: message not displayed, or vanishes too quickly"Eugene Sandulenko
svn-id: r41240
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2008-01-30Fix for bug #1881170 (AGI: palette-related glitches reported). Made AGIPAL ↵Kari Salminen
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-17Fixed obsolete comment.Kari Salminen
svn-id: r30535
2008-01-07typoMax Horn
svn-id: r30328
2008-01-07Reject AGIPAL-files with over 6 bits per color component. Makes at least ↵Kari Salminen
fanmade AGI game Naturette II's colors not be messed up anymore. svn-id: r30326
2008-01-03Made AGIPAL-loading more lenient with errors. Added AGIPAL-flag to Naturette ↵Kari Salminen
3. These together fix Naturette 3's intro (No more long shakings). svn-id: r30193
2007-11-23cleanupMax Horn
svn-id: r29617
2007-09-23Add support for Russian versions of AGI gamesEugene Sandulenko
svn-id: r29056
2007-09-21Minimize changes to the mouse cursor's paletteFilippos Karapetis
svn-id: r29002
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-05Only change the cursor palette when the mouse hovers over a hotspot in ↵Filippos Karapetis
Mickey, not the whole cursor. This is a much faster operation, which also gives better results svn-id: r28860
2007-09-02Text in Mickey is shown correctly now. Also, removed an obsolete function ↵Filippos Karapetis
declaration of PutPixel() svn-id: r28835
2007-09-01An early WIP of PreAGI (TrollVM) supportEugene Sandulenko
svn-id: r28787
2007-08-03Added Apple IIGS arrow cursor data.Kari Salminen
svn-id: r28436
2007-08-01Added data for the Atari ST AGI palette and Apple IIGS AGI palettes V1 and V2.Kari Salminen
svn-id: r28387
2007-07-15Added 3 different Amiga AGI palettes (From oldest to newest). Changed ↵Kari Salminen
initPalette so its easier to enable the usage of those palettes later. svn-id: r28114
2007-07-10Add Amiga-style menus (FR #657645). Used in Amiga-rendering mode.Kari Salminen
svn-id: r28015
2007-07-10Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. ↵Kari Salminen
It's next. svn-id: r28014
2007-07-06Added data for an Amiga-style busy mouse cursor (An hourglass). Not used yet ↵Kari Salminen
though. svn-id: r27941
2007-07-06Added Amiga-style mouse cursor. Used with Amiga-render mode.Kari Salminen
svn-id: r27938
2007-07-06Tidied up and simplified AGI mouse cursor management.Kari Salminen
svn-id: r27937
2007-06-25Removed obsolete code for setting transparent debugging console colors.Kari Salminen
svn-id: r27714
2007-06-25Unified GfxMgr::putPixelsA-function's priority info handling.Kari Salminen
svn-id: r27710
2007-06-25Fix priority screen showing when using AGI256 or AGI256-2.Kari Salminen
svn-id: r27707