aboutsummaryrefslogtreecommitdiff
path: root/engines/made/screen.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17MADE: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-02-15MADE: Revert a little behavior change in setRGBPalette.Johannes Schickel
This was introduced when converting to the new RGB data setPalette call. It should not have caused any troubles, since start is always 0 it seems, but better be sure about this one and keep the original behavior.
2011-02-14MADE: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This change is not tested. It should work just fine though, since it just removes the RGB->RGBA conversion before calling setPalette.
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-10-15MADE: Fixed bug #3087849 - "MADE: Code analysis warnings"Filippos Karapetis
svn-id: r53487
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-03Remove some unused struct membersBenjamin Haisch
svn-id: r46245
2009-09-28Fixed clipping-related bug (bug #2826036)Benjamin Haisch
svn-id: r44439
2009-08-18- PMV player: Use frame count from PVM file and fix incorrect "invalid chunk ↵Benjamin Haisch
type" warning - Fix sprite drawing glitch with vertically flipped sprites (bug #2825925) svn-id: r43521
2009-03-14Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's ↵Filippos Karapetis
used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class svn-id: r39396
2009-03-14Reduced CPU usage of the MADE engine by about 10% (by profiling the code)Filippos Karapetis
- Added delays in places where the screen gets updated - Moved event polling inside sfPollEvent() (cause that's where events are polled), instead of after each opcode svn-id: r39392
2009-03-14Do not update the screen while waitingFilippos Karapetis
svn-id: r39390
2009-03-09- Applied patch #2668849 by sunmaxBenjamin Haisch
svn-id: r39271
2009-01-22- Added support for The Manhole EGA versionBenjamin Haisch
- Support for 'chunked' picture resources and EGA pictures - Improved the mouth sync in RtZ (still not perfect, though) - Removed obsolete TODOs - Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie svn-id: r35997
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-23Improved updateScreenAndWait; the mouse cursor is less jerky now in some ↵Benjamin Haisch
scenes in Manhole:N&E svn-id: r34638
2008-07-01Fixed unitialized variablesMax Horn
svn-id: r32865
2008-06-27- Fixed umlauts in printTextBenjamin Haisch
- Don't exit when a pmv video couldn't be found svn-id: r32817
2008-05-29- Implemented opcodes: sfHomeText, sfDrawAnimPicBenjamin Haisch
- Comments on unneeded opcodes - Simplified getting/setting strings in Objects svn-id: r32361
2008-05-28Silenced a signed/unsigned comparison warningSven Hesse
svn-id: r32355
2008-05-28Fixed a crash in LGOP2 when attempting to get a sprite item from an empty array.Benjamin Haisch
svn-id: r32348
2008-05-26- Hopefully fixed 'responsiveness' of the mouse cursor/event handlingBenjamin Haisch
- Disabled auto dirty rects which caused major gfx problems - Added default mouse cursor for Manhole: N&E - Fixed sound rate for Manhole: N&E - Don't automatically show mouse cursor when a new cursor was loaded svn-id: r32279
2008-05-21- Moved event polling from sfPollEvent to runScriptBenjamin Haisch
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position svn-id: r32205
2008-05-20Silenced an MSVC warningFilippos Karapetis
svn-id: r32197
2008-05-17Screen mask is now only used for V2 gamesFilippos Karapetis
svn-id: r32147
2008-05-14- Added some visual effects (palette fading etc.)Benjamin Haisch
- Moved Screen::getAnimFrameCount directly into o1_GETFRAMECOUNT - Renamed variables/cleanup svn-id: r32104
2008-05-12Changed clipping rectangles to use Common::Rect (thanks to [md5]/thebluegr)Benjamin Haisch
svn-id: r32077
2008-05-12Implemented o1_EXCLUDEAREA for RtZBenjamin Haisch
svn-id: r32074
2008-05-12Muting "comparing signed and unsigned values" compiler warningSven Hesse
svn-id: r32072
2008-05-12Fixed printTextEx segment fault bug.Benjamin Haisch
svn-id: r32071
2008-05-12Implemented o1_ADDMASK and o1_SETMASK for LGOP2Benjamin Haisch
svn-id: r32066
2008-05-09Removed now obsolete FIXMEFilippos Karapetis
svn-id: r31964
2008-05-08Fixed some game crashes which occurred when ProjectReader::purgeCache() got ↵Filippos Karapetis
called: - MIDI music data is marked to be deleted in o1_STOPMUS now, instead of o1_PLAYMUS. - Added a FIXME to Screen::setFont() - purgeCache crashes the game if the active font is deleted svn-id: r31948
2008-05-07Implemented vertical/horizontal flipping of sprites.Benjamin Haisch
svn-id: r31931
2008-04-30Implemented savegame loading/saving and sprite clippingBenjamin Haisch
Fixed bug in Screen::printTextEx Implemented opcodes: - o1_DRAWTEXT - o1_DRAWMENU - o1_MENUCOUNT - o1_SAVEGAME - o1_LOADGAME - o1_GAMENAME svn-id: r31794
2008-04-28Implemented text drawing and cleanup.Benjamin Haisch
svn-id: r31756
2008-04-25Started work on text drawing code.Benjamin Haisch
svn-id: r31719
2008-04-23Added (early) midi player code.Benjamin Haisch
Added "screen flash" effect. Implemented opcodes: - o1_PLAYMUS - o1_STOPMUS - o1_ISMUS - o1_FLASH - o1_LOADSND - o1_LOADMUS svn-id: r31682
2008-04-23Fixed palette issues when showing the inventory and the menu.Benjamin Haisch
Moved drawing code from drawFlex/drawAnimFrame to drawSurface. Implemented opcodes: - o1_VISUALFX - o1_SCREENLOCK - o1_SETTIMER - o1_SETGROUND - o1_SETCLIP - o1_SETEXCLUDE svn-id: r31675
2008-04-22Added palette locking and some wip sound playing code. Some cleanupFilippos Karapetis
svn-id: r31654
2008-04-21Some palette related fixesFilippos Karapetis
svn-id: r31650
2008-04-21More code mergeFilippos Karapetis
svn-id: r31649
2008-04-21Code mergeFilippos Karapetis
svn-id: r31648
2008-04-21Fixed drawAnimFrame (don't draw anything if the frame number is invalid)Benjamin Haisch
svn-id: r31642
2008-04-20Changed spaces to tabs.Torbjörn Andersson
svn-id: r31610
2008-04-20Initial import of the work in progress MADE engineFilippos Karapetis
svn-id: r31599