50 Commits

Author SHA1 Message Date
Johannes Schickel
80bc94304c little fix for fm-towns version
svn-id: r25531
2007-02-12 19:08:34 +00:00
Johannes Schickel
7af17382b5 Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, modified a bit)
svn-id: r25530
2007-02-12 18:01:51 +00:00
Johannes Schickel
e9074ea021 oops.
svn-id: r25321
2007-02-01 13:12:45 +00:00
Johannes Schickel
b138b5cce1 Fix for missing Brandon in Zanthia's home (see bug #1498221 "KYRA1: Subtitles missing when meeting Zanthia
").

svn-id: r25320
2007-02-01 13:10:49 +00:00
Johannes Schickel
69788f3d70 Some changes to be closer to the original with palette handling.
svn-id: r25316
2007-01-31 23:48:12 +00:00
Max Horn
30d517613a Fix typos in some warnings
svn-id: r25171
2007-01-25 00:36:48 +00:00
Johannes Schickel
d61a84e0ab Fix for bug #1631352 ("KYRA1: Graphics heavily broken and ScummVM crash"), I 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-09 11:50:22 +00:00
Oystein Eftevaag
ee221cc5df Merging decodeFrameDeltaPage() again and using Fingolfin's template trickery instead
svn-id: r25039
2007-01-06 18:52:30 +00:00
Oystein Eftevaag
8fbf9a1e23 A few minor fixes and optimizations (biggest one is splitting decodeFrameDeltaPage() into two functions to avoid a high amount of conditional jumps per decided animation frame
svn-id: r25034
2007-01-06 17:11:08 +00:00
Johannes Schickel
8fb07286cc Fix for bug #1582726 ("KYRA1: Crash when entering Castle screen").
svn-id: r24475
2006-10-23 23:12:12 +00:00
Johannes Schickel
b6a8e38726 - removes the kyra specific language flag system, and uses the language enum defined in Common for that now
- also reworks the game flag system in general

svn-id: r23920
2006-09-17 20:21:40 +00:00
Max Horn
4503581340 Const correctness
svn-id: r23916
2006-09-17 13:06:40 +00:00
Johannes Schickel
84c2a93db5 Replaces all malloc/realloc usages with new.
svn-id: r23886
2006-09-16 13:40:28 +00:00
Johannes Schickel
e139d26be1 Replaces malloc with new in most cases.
svn-id: r23881
2006-09-16 12:12:02 +00:00
Johannes Schickel
75fd84e85a - adds dirty rect handling to the kyra engine (needs some more tests before I commit it to branch though)
- initializes an uninitiliazied variable which caused crashes from time to time

svn-id: r23878
2006-09-15 16:04:32 +00:00
Johannes Schickel
65c0bdcaa0 - Some little checks for shape usage.
- Less redrawing while loading a savegame.

svn-id: r23864
2006-09-10 13:52:17 +00:00
Johannes Schickel
09f7e35196 Little bit cleanup.
svn-id: r23863
2006-09-10 13:26:00 +00:00
Oystein Eftevaag
2db1dc882b Ignore mouselock count when switching the cursor graphics, fixing a bug salty-horse reported on irc.
svn-id: r23849
2006-09-09 16:10:11 +00:00
Torbjörn Andersson
18325259b8 Fixed bug #1554904 ("KYRA1: No mouse cursor in latest SVN build"). GI_KYRA1 is
not a bit flag...

svn-id: r23834
2006-09-09 02:02:45 +00:00
Oystein Eftevaag
d11e72a168 Adds voice/chats to the intro, and adds debug strings to the function calls.
svn-id: r23789
2006-08-27 12:30:38 +00:00
Oystein Eftevaag
c47a957fb3 Adds some framework for the Kyra2 intro, expands it a little bit and adds 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-08-26 22:17:30 +00:00
Johannes Schickel
3846565058 Implements item shape loading for kyra3.
svn-id: r23637
2006-07-30 14:53:28 +00:00
Johannes Schickel
6cc1a57d3b - fixes bug in fileData (introduced with last commit)
- show mouse cursor in Screen::setMouseCursor if it's allready shown
- a little bit more kyra3 init stuff

svn-id: r23623
2006-07-30 08:22:39 +00:00
Johannes Schickel
92649de672 - fixes copyright of kyra3.h
- 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-30 07:51:11 +00:00
Johannes Schickel
73869dca9f - don't error on CHAPTER1.VRM miss anymore
- nicer error messages when no font files are found
- implements nicer way to load fonts

svn-id: r23531
2006-07-16 19:44:39 +00:00
Johannes Schickel
4a6b2a3276 Fixes visible mouse cursor in the intro with classic theme.
svn-id: r22903
2006-06-03 18:34:57 +00:00
Johannes Schickel
369e79bfba Implements cmd_fadeEntirePalette, should fix some missing palette fades.
svn-id: r22888
2006-06-03 15:13:18 +00:00
Johannes Schickel
28114e3007 Sets a blank palette at startup.
svn-id: r22719
2006-05-28 12:33:41 +00:00
Johannes Schickel
1750be5b5a - makes Screen::getPagePtr private
- 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-28 12:19:45 +00:00
Torbjörn Andersson
5bbdde5479 Removed hack to flush mouse events. No longer needed, apparently.
svn-id: r22662
2006-05-26 15:44:46 +00:00
Torbjörn Andersson
8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
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-25 22:51:42 +00:00
Johannes Schickel
197b1f4e88 Some more _quitFlag checks, makes quitting while end sequence faster.
svn-id: r22623
2006-05-25 08:07:20 +00:00
Johannes Schickel
259e06a69b - Adds some _quitFlag checks
- deletes Screen::drawPixel

svn-id: r22622
2006-05-25 08:02:17 +00:00
Johannes Schickel
f2641ce081 Removes debug printf.
svn-id: r22610
2006-05-24 14:18:45 +00:00
Johannes Schickel
3af8e4ea4a Implements kyra3 main menu drawing.
svn-id: r22556
2006-05-21 15:02:12 +00:00
Johannes Schickel
570b9e2c9d - load fonts for kyra3
- 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-18 22:46:34 +00:00
Johannes Schickel
e6350f8afa Enables OSystem::kFeatureAutoComputeDirtyRects until proper dirty rect managment is implemented.
svn-id: r22402
2006-05-10 20:28:27 +00:00
Torbjörn Andersson
8179d3e80b Missed a couple of switch cleanups.
svn-id: r22385
2006-05-08 10:29:20 +00:00
Johannes Schickel
96fd5e1fbc - modifies loadBitmap not to crash if a image isn't found
- starts to clean up the engine initalisation code

svn-id: r22308
2006-05-03 13:40:21 +00:00
Johannes Schickel
1d6a1bf157 Fix for bug # 1480744 ("KYRA1: mouse cursor vanishes").
svn-id: r22307
2006-05-03 13:19:21 +00:00
Johannes Schickel
0eee3fe591 - Implements copyRegion without transparency checking
- Uses copyRegion without transparency checking to fix credits drawing bugs

svn-id: r21989
2006-04-17 19:52:31 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Johannes Schickel
9031b27349 Implements cmd_shakeScreen.
svn-id: r21394
2006-03-20 19:01:39 +00:00
Oystein Eftevaag
05ee5cf2bd Extends seq_drinkPotionAnim() so that the color of the flask Brandon
drinks will be correct. Also fixes a bug where an animation
(Brandon ringing the bells) would play too quickly.

svn-id: r21354
2006-03-18 04:41:34 +00:00
Johannes Schickel
b46236ed71 - removes a wrong space in debugC calls in screen.cpp
- implements cmd_brandonToStoneSequence and cmd_pauseMusicSeconds

svn-id: r21320
2006-03-15 21:59:07 +00:00
Torbjörn Andersson
dc2143e6cf This is a bit of a hack: Before showing the mouse cursor, take care of any
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-15 15:37:42 +00:00
Max Horn
d9a9fac937 Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
svn-id: r21141
2006-03-08 11:37:25 +00:00
Johannes Schickel
0bea9cf47b Made the kyra debug extensions more generic, i.e. scumm engine could replace
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-14 23:31:25 +00:00
Johannes Schickel
93e9639989 Reworked kyra debug output system. Now he have special kyra intern debug 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-14 01:19:30 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00