aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v1.cpp
AgeCommit message (Collapse)Author
2006-07-27Oops it should never be renamed to c1_* but to o1_* changing this now.Johannes Schickel
svn-id: r23613
2006-07-27- renaming all opcodes from cmd_* to c1_*Johannes Schickel
- changing ScriptHelper functions so it will be useable for kyra2 and kyra3 too - unbreaking savegames (increasing the VERSION number since the game flags table got resized to be useable for kyra3) svn-id: r23612
2006-07-27Workaround for bug #1498221 ("KYRA1: Glitches when meeting Zanthia").Johannes Schickel
svn-id: r23608
2006-06-03Implements cmd_fadeEntirePalette, should fix some missing palette fades.Johannes Schickel
svn-id: r22888
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-28Added speechEnabled() and textEnabled() to simplify the text/speech config ↵Oystein Eftevaag
checks a bit, and added checks some more places svn-id: r22703
2006-05-28Fixes bug [ 1480746 ] KYRA1: menu triggers assertion, and sets the ↵Oystein Eftevaag
text/speech config options correctly for CD versions svn-id: r22693
2006-05-16- implements kyrandia 3 wsa loaderJohannes Schickel
- fixes initalisation problems - adds setX, setY, setDrawPage to Kyra::Movie instead of directly accessing _x, _y and _drawPage svn-id: r22490
2006-05-08Cleanup: Use ScummVM indentation style for switch() cases. In some cases, ITorbjörn Andersson
have added or removed "break"s, but not in any way which should change the program's behaviour. I.e. I've added "break" to the final case, and after calling quitGame(), and I've removed "break" after "return". svn-id: r22383
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-18- started to rework static resource loadingJohannes Schickel
- made some function parameters const (to work with new static res code) svn-id: r21365
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-17- Fixes bug #1401432 ("KYRA: Brandon graphics glitch when exiting castle ↵Johannes Schickel
catacombs") - Fixes some sprite redraw bugs introduced with my last commits - Fixes wsa drawing bug in the cave too svn-id: r21346
2006-03-16- Fixes some gfx glitches (the falling feather and the falling leaf now have ↵Johannes Schickel
correct restored background) - Fixes brandon width value after loading (removes gfx glitch while talking with the tree) svn-id: r21332
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-08Implemented the last menu (the settings screen). Walking speed, text speed,Oystein Eftevaag
and speech modes (text only, speech only, speech & text) can now be configured. Toggling music and sound in general is not enabled yet. Also formatted the static menu resources a bit differently, made sure some vars in the menu code always got initalized, and fixed a slight formatting error :). svn-id: r21145
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-03-07Added the proper death dialog, changed the sequence skipping code a bit to avoidOystein Eftevaag
possible frame losses, and removed a (now) redundant call to showOverlay() in the debugger. svn-id: r21125
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