aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.cpp
AgeCommit message (Collapse)Author
2007-01-09Fix for bug #1631352 ("KYRA1: Graphics heavily broken and ScummVM crash"), I ↵Johannes Schickel
tried memmove here, but it also crashed on Win32 with memmove, so I reverted it back to how it was. svn-id: r25059
2007-01-06Merging decodeFrameDeltaPage() again and using Fingolfin's template trickery ↵Oystein Eftevaag
instead svn-id: r25039
2007-01-06A few minor fixes and optimizations (biggest one is splitting ↵Oystein Eftevaag
decodeFrameDeltaPage() into two functions to avoid a high amount of conditional jumps per decided animation frame svn-id: r25034
2006-10-23Fix for bug #1582726 ("KYRA1: Crash when entering Castle screen").Johannes Schickel
svn-id: r24475
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-09-17Const correctnessMax Horn
svn-id: r23916
2006-09-16Replaces all malloc/realloc usages with new.Johannes Schickel
svn-id: r23886
2006-09-16Replaces malloc with new in most cases.Johannes Schickel
svn-id: r23881
2006-09-15- adds dirty rect handling to the kyra engine (needs some more tests before ↵Johannes Schickel
I commit it to branch though) - initializes an uninitiliazied variable which caused crashes from time to time svn-id: r23878
2006-09-10- Some little checks for shape usage.Johannes Schickel
- Less redrawing while loading a savegame. svn-id: r23864
2006-09-10Little bit cleanup.Johannes Schickel
svn-id: r23863
2006-09-09Ignore mouselock count when switching the cursor graphics, fixing a bug ↵Oystein Eftevaag
salty-horse reported on irc. svn-id: r23849
2006-09-09Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 isTorbjörn Andersson
not a bit flag... svn-id: r23834
2006-08-27Adds voice/chats to the intro, and adds debug strings to the function calls.Oystein Eftevaag
svn-id: r23789
2006-08-26Adds some framework for the Kyra2 intro, expands it a little bit and adds ↵Oystein Eftevaag
some static resources (strings, etc). Also adding a modified version of eriktorbjorn's '[1531929] KYRA: Kyra 2 & 3 main menu unification', with added mouse pointer and sundry. svn-id: r23766
2006-07-30Implements item shape loading for kyra3.Johannes Schickel
svn-id: r23637
2006-07-30- fixes bug in fileData (introduced with last commit)Johannes Schickel
- show mouse cursor in Screen::setMouseCursor if it's allready shown - a little bit more kyra3 init stuff svn-id: r23623
2006-07-30- fixes copyright of kyra3.hJohannes Schickel
- implements a bit more init functions for kyra3 - removes hacked mouse cursor - changes Resource::fileData to accept a null pointer for size svn-id: r23622
2006-07-16- don't error on CHAPTER1.VRM miss anymoreJohannes Schickel
- nicer error messages when no font files are found - implements nicer way to load fonts svn-id: r23531
2006-06-03Fixes visible mouse cursor in the intro with classic theme.Johannes Schickel
svn-id: r22903
2006-06-03Implements cmd_fadeEntirePalette, should fix some missing palette fades.Johannes Schickel
svn-id: r22888
2006-05-28Sets a blank palette at startup.Johannes Schickel
svn-id: r22719
2006-05-28- makes Screen::getPagePtr privateJohannes Schickel
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling) - moves KyraEngine::loadBitmap to Screen svn-id: r22716
2006-05-26Removed hack to flush mouse events. No longer needed, apparently.Torbjörn Andersson
svn-id: r22662
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
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-25Some more _quitFlag checks, makes quitting while end sequence faster.Johannes Schickel
svn-id: r22623
2006-05-25- Adds some _quitFlag checksJohannes Schickel
- deletes Screen::drawPixel svn-id: r22622
2006-05-24Removes debug printf.Johannes Schickel
svn-id: r22610
2006-05-21Implements kyra3 main menu drawing.Johannes Schickel
svn-id: r22556
2006-05-18- load fonts for kyra3Johannes Schickel
- adds screen dim tables for kyra3 - adds palette / screen backup for the vqa player - small changes in the vqa player to use the Kyra::Screen functions - adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet) svn-id: r22528
2006-05-10Enables OSystem::kFeatureAutoComputeDirtyRects until proper dirty rect ↵Johannes Schickel
managment is implemented. svn-id: r22402
2006-05-08Missed a couple of switch cleanups.Torbjörn Andersson
svn-id: r22385
2006-05-03- modifies loadBitmap not to crash if a image isn't foundJohannes Schickel
- starts to clean up the engine initalisation code svn-id: r22308
2006-05-03Fix for bug # 1480744 ("KYRA1: mouse cursor vanishes").Johannes Schickel
svn-id: r22307
2006-04-17- Implements copyRegion without transparency checkingJohannes Schickel
- Uses copyRegion without transparency checking to fix credits drawing bugs svn-id: r21989
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-20Implements cmd_shakeScreen.Johannes Schickel
svn-id: r21394
2006-03-18Extends seq_drinkPotionAnim() so that the color of the flask BrandonOystein Eftevaag
drinks will be correct. Also fixes a bug where an animation (Brandon ringing the bells) would play too quickly. svn-id: r21354
2006-03-15- removes a wrong space in debugC calls in screen.cppJohannes Schickel
- implements cmd_brandonToStoneSequence and cmd_pauseMusicSeconds svn-id: r21320
2006-03-15This is a bit of a hack: Before showing the mouse cursor, take care of anyTorbjörn Andersson
pending events so that the it won't have to do a little dance, catching up, every time you enter a room. svn-id: r21316
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-14Reworked kyra debug output system. Now he have special kyra intern debug ↵Johannes Schickel
levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now) svn-id: r20678
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582