aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/sprite.cpp
AgeCommit message (Collapse)Author
2016-02-27AGI: Add support for upscaling and Hercules hires fontMartin Kiewitz
- User option to force Hercules hires font for any rendering mode - Also change mouse cursor hotspots from 1,1 to 0,0 - Fix inaccuracy in mouse controlled game menu - Change render_Block(), drawBox(), drawDisplayRect() to use upper Y instead of lower Y. Original AGI uses lower Y, but upper Y makes upscaling way easier.
2016-02-09AGI: Fix invalid coordinate warnings for spritesMartin Kiewitz
2016-02-09AGI: Check xPos/yPos when building sprite listsMartin Kiewitz
And ignore sprites, that are placed outside of visual screen Fixes memory corruption during intro of fan made Get Outta SQ game. Original AGI did not do checks at all.
2016-02-09AGI: Fix various CIDsMartin Kiewitz
CID 1350104: regression from graphics rewrite in C64 picture drawing CID 1350101: potential buffer overflow in set.simple command CID 1350112: uninitialized variable in TextMgr CID 1350113: false positive uninitialized variable in SystemUI CID 1350114: potentially uninitialized variable in IIgsSample CID 1350117: false positive uninitialized variable in InventoryMgr CID 1350103: code bug in CGA rendering TextMgr::charAttrib_Set() CID 1350109: false positive in GfxFont::loadFontAmigaPseudoTopaz() CID 1350111: original AGI uninitialized memory issue in SpritesMgr::showObject
2016-02-02AGI: Fix formatting.Johannes Schickel
This mostly enforces tabs for indentation and spaces for formatting. But also fixes spaces on empty lines, some extra/missing spaces. astyle + manual fixup
2016-01-31AGI: getflag/setflag/etc. cleanupMartin Kiewitz
renamed getflag() to getFlag() renamed setflag() to setFlag() renamed flipflag() to flipFlag() preagi: renamed setFlag for this engine to setWinnieFlag
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
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-09-26AGI: Fixed the actual cause of bug #3295652, and partially fixed bug #3080415Filippos Karapetis
2011-08-14Checked V1 instructions till 0x42Eugene Sandulenko
2011-08-14AGI: Renamed some #defines to our code conventions and moved them to enumsEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2010-07-26AGI: Fix crash on exit thanks to valgrindEugene Sandulenko
svn-id: r51311
2010-07-23AGI: Fix bug #3017911Eugene Sandulenko
Bug #3017911: "AGI (Fan): SQ0 - Ego flickering". It is a regression from r49745, as it appeared, some of the screen updates were too much. svn-id: r51223
2010-06-15AGI: Specify bug reference for workaroundMax Horn
svn-id: r49845
2010-06-15AGI: Implemented immediate update for most of gfx to match original.Eugene Sandulenko
This fixes many subtle effects as in many cases there were no special pausing and engine relied only on the slowliness of the machine. svn-id: r49745
2010-06-15AGI: Fix bug #1945716.Eugene Sandulenko
Bug #1945716: "AGI: Fan(Kings Quest 2 1/4) - Sprite not erased". Added a workaround, since it is design flaw of our rendering system. svn-id: r49742
2010-06-15AGI: proper fix for sprite leftover-related bugs. Removed workarounds.Eugene Sandulenko
svn-id: r49741
2010-06-15AGI: improve script-related debug output.Eugene Sandulenko
svn-id: r49740
2010-06-15AGI: made sprite-related debug output more informativeEugene Sandulenko
svn-id: r49739
2009-08-02Fix AGI crashes on 64-bit systems that require alignmentJoost Peters
svn-id: r43011
2009-06-06CleanupEugene Sandulenko
svn-id: r41251
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-12-25Show objects always using priority 15. Fixes bug #1858037 (AGI: show.obj ↵Kari Salminen
priority error). svn-id: r29984
2007-12-13Use CLIP template for clipping in the AGI engineFilippos Karapetis
svn-id: r29854
2007-06-25Fix priority screen showing when using AGI256 or AGI256-2.Kari Salminen
svn-id: r27707
2007-06-20Add AGI256-2 support (On top of already present AGI256 support).Kari Salminen
AGI256-2 means handling 256 color views/sprites (AGI256 means handling 256 color picture resources). The code can now handle both 16 color and 256 color views/sprites in the same game. FIXME: Background in AGI256-2 demo may be incorrect. svn-id: r27572
2007-06-20Make drawing & blitting always use the correct screenKari Salminen
(Always 16 color screen for vector stuff, 256 color screen for everything else in AGI256 mode). svn-id: r27570
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-07Fixed some commentsFilippos Karapetis
svn-id: r26771
2007-05-06Added a game ID field for all Sierra AGI games. Removed many types which are ↵Filippos Karapetis
now obsolete from the game features field svn-id: r26764
2007-04-24Patch #1705791: Patch for #1648396 - AGI : SQ2 / 2.0F / IBM / priority lineFilippos Karapetis
Modify a workaround made for SQ1 to work on SQ1 only, not all AGI games. This fixes bug #1648396 with SQ2, a bug with LSL1 (Sarien bug #925074) and possibly others svn-id: r26589
2007-01-16Remove #include "agi/text.h"; fixes build. Pointyhat to aquadran.David Symonds
svn-id: r25103
2007-01-16Formating names in source codePaweł Kołodziejski
svn-id: r25101
2007-01-12Slighty modified patch #1631229: "Revamp of AGI savegame system"Eugene Sandulenko
svn-id: r25069
2007-01-06Removed almost all the remaining hires code.David Symonds
svn-id: r25037
2007-01-06More hires removal, this time from sprites.David Symonds
svn-id: r25035
2006-12-06first phase of objectisation of agi enginePaweł Kołodziejski
svn-id: r24808
2006-06-10Pop AGIs text.cpp into a class, for later cleanup.James Brown
svn-id: r23011
2006-05-31Don't let blocking rectangle extend below baseline (see Sarien bugs 810331 ↵Willem Jan Palenstijn
and 925074) svn-id: r22808
2006-05-30cleanupWillem Jan Palenstijn
svn-id: r22783
2006-05-30objectify AGI sprite.h/cppChris Apers
svn-id: r22781
2006-05-26replace agi/list.h by Common::List; cleanupWillem Jan Palenstijn
svn-id: r22666
2006-05-26replace agi/list.h by Common::ListWillem Jan Palenstijn
svn-id: r22658
2006-05-24converted to scummvm console stylePaweł Kołodziejski
svn-id: r22618
2006-05-24Fixed most - not all - GCC warnings.Torbjörn Andersson
svn-id: r22614