Torbjörn Andersson
db8968b28f
Fixed warning.
...
svn-id: r22620
2006-05-24 22:05:12 +00:00
Eugene Sandulenko
d636d4c23a
Fix crash. Console should be created after graphics init
...
svn-id: r22619
2006-05-24 21:56:14 +00:00
Paweł Kołodziejski
383b598c5c
converted to scummvm console style
...
svn-id: r22618
2006-05-24 21:40:24 +00:00
Eugene Sandulenko
0f5a4b304b
Update only dirty rects instead of fullscreen update
...
svn-id: r22617
2006-05-24 21:14:41 +00:00
Max Horn
30b368643e
Fix a const warning
...
svn-id: r22615
2006-05-24 20:21:45 +00:00
Torbjörn Andersson
4a583216fb
Fixed most - not all - GCC warnings.
...
svn-id: r22614
2006-05-24 19:51:37 +00:00
Johannes Schickel
8d954b7ae5
Fixes bug # 1471893 ("KYRA1: Graphics glitch when Malcolm turns to stone").
...
svn-id: r22612
2006-05-24 14:34:38 +00:00
Torbjörn Andersson
1bec2024a6
From what I understand, the __ prefix is generally reserved for system headers,
...
so I've removed most of them. There's still some in list.h, but that should
probably be replaced by our own list handler some day.
svn-id: r22611
2006-05-24 14:25:42 +00:00
Johannes Schickel
f2641ce081
Removes debug printf.
...
svn-id: r22610
2006-05-24 14:18:45 +00:00
Paweł Kołodziejski
20cf952b68
removed defines USE_PCM_SOUND, AGDS_SUPPORT, USE_HIRES
...
svn-id: r22609
2006-05-24 14:00:08 +00:00
Paweł Kołodziejski
9fc2bc1939
cleanup
...
svn-id: r22608
2006-05-24 13:38:50 +00:00
Paweł Kołodziejski
62b122ff34
fixed modifier keys
...
svn-id: r22607
2006-05-24 13:36:38 +00:00
Paweł Kołodziejski
3d441e579e
moved addSpecialDebugLevel into constructor
...
svn-id: r22606
2006-05-24 13:08:09 +00:00
Paweł Kołodziejski
691ae72a59
include mouse support always
...
svn-id: r22605
2006-05-24 11:39:29 +00:00
Paweł Kołodziejski
1ec169ad3a
ops
...
svn-id: r22604
2006-05-24 10:37:45 +00:00
Paweł Kołodziejski
efe96a535b
formating a bit
...
svn-id: r22603
2006-05-24 09:07:46 +00:00
Paweł Kołodziejski
2b258bc6d1
removed not used anymore variable
...
svn-id: r22602
2006-05-24 09:04:36 +00:00
Paweł Kołodziejski
a62c66bea1
strip one level of func
...
svn-id: r22601
2006-05-24 08:56:40 +00:00
Torbjörn Andersson
f7bacd746f
Seems like the sound is generated at 22050 Hz regardless of output sample rate.
...
Hopefully, that will change in the future.
svn-id: r22595
2006-05-24 05:17:48 +00:00
Torbjörn Andersson
f83f1a77b6
Only check if the files on "CD 0" are present. The others are requested with
...
"insert CD" messages. (Of course, that isn't supported, or even well tested,
but the idea is sound.) This makes it possible to run the BS2 demo again.
Incidentally, this is how I *meant* for it to work when I added that check - I
even wrote so in the comment above that section of the code - so how on earth
did I manage to screw it up like that?
svn-id: r22594
2006-05-24 04:48:39 +00:00
Torbjörn Andersson
2f51f40c11
Downgraded startHETalkSound() error (when the speech file isn't open) to a
...
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu
screen.
svn-id: r22593
2006-05-24 03:56:48 +00:00
Eugene Sandulenko
9b5c97ce66
update make subsystem
...
svn-id: r22591
2006-05-23 23:51:59 +00:00
Paweł Kołodziejski
107073537e
imported AGI engine
...
svn-id: r22588
2006-05-23 23:43:52 +00:00
Torbjörn Andersson
3a025038da
Check _quitFlag during the first parts of the Kyra 3 main menu animation.
...
svn-id: r22587
2006-05-23 20:10:01 +00:00
Torbjörn Andersson
dafc2c8ceb
Fix for saving the palette before playing a VQA movie. (Suggested by LordHoto.)
...
svn-id: r22586
2006-05-23 20:05:38 +00:00
Paul Gilbert
622c8b57e7
Reworked the DISPATCH current action to support NPC schedules like the original game does. Additionally added basic implementation of necessary support routines
...
svn-id: r22582
2006-05-23 12:43:42 +00:00
Paul Gilbert
e22de3ab36
Added a new outer loop for what will later allow the restarting of the game. Also added the animation of the Skorl catching the player if the game state indicates it has happened
...
svn-id: r22581
2006-05-23 12:41:28 +00:00
Paul Gilbert
dddaa015df
Added the loading of NPC schedules
...
svn-id: r22580
2006-05-23 12:39:39 +00:00
Paul Gilbert
0ebf2be4a4
Added new resource entries for NPC schedules, the Skorl catching animation, and miscellaneous
...
svn-id: r22579
2006-05-23 12:38:51 +00:00
Paul Gilbert
6bac5a257e
Added support structures for NPC schedules
...
svn-id: r22578
2006-05-23 12:37:43 +00:00
Paul Gilbert
3e4566e196
Added some extra safety checks. Also contains some started work on redesigning the display of the current action
...
svn-id: r22577
2006-05-23 12:36:57 +00:00
Paul Gilbert
5f64d7009e
Added script methods for manipulating current action support data and a stub for a script method that plays background music
...
svn-id: r22576
2006-05-23 12:24:50 +00:00
Travis Howell
b1950909e8
Update details for Russian translations
...
svn-id: r22574
2006-05-23 09:54:55 +00:00
Torbjörn Andersson
7090f051a0
Fix debug messages.
...
svn-id: r22570
2006-05-22 07:52:10 +00:00
Torbjörn Andersson
c40a8b48a1
Cleanup.
...
svn-id: r22569
2006-05-22 07:27:20 +00:00
Willem Jan Palenstijn
35d242b74b
make printExpr, skipExpr accept both gob1 and gob2 expressions
...
svn-id: r22568
2006-05-21 21:18:23 +00:00
Torbjörn Andersson
57efbacb9a
Palette handling simplification, suggested by LordHoto.
...
svn-id: r22567
2006-05-21 20:41:53 +00:00
Torbjörn Andersson
a1f5bddaa8
If possible, sync the frame to getSoundElapsedTime().
...
svn-id: r22566
2006-05-21 20:25:22 +00:00
Torbjörn Andersson
71ba5c0f58
Grotesque hack to support the jung2.vqa movie. Either the VQA is less well
...
understood than I hoped, or the offset to the first frame of the movie is
completely out to lunch. Scan the file for the first VQFR chunk and use that
offset instead.
svn-id: r22565
2006-05-21 20:08:14 +00:00
Torbjörn Andersson
bda33949e4
The unsupported cutscene is called "jung", not "junk". (It just happens to look
...
like junk at the moment.)
svn-id: r22564
2006-05-21 19:08:10 +00:00
Torbjörn Andersson
b98a67d1eb
More VQA fixes:
...
* Use setScreenPalette() rather than calling the backend directly. (As an extra
bonus, the VQA player now only needs to store 3 bytes per colour.)
* Hide the mouse cursor while the movie is playing.
svn-id: r22563
2006-05-21 19:03:27 +00:00
Torbjörn Andersson
9fad465cf6
At LordHoto's request...
...
* The VQA move player isn't as similar to the WSA movie player as we first
envisioned, so the VQA player no longer inherits from Movie. It does retain
a fairly similar calling interface, though.
* Use the Kyra engine's idea of screen dimensions, rather than the backend's.
svn-id: r22561
2006-05-21 18:16:34 +00:00
Torbjörn Andersson
b2d8f804cd
Some minor VQA player fixes:
...
* The playVQA() function now takes the name of the cutscene, rather than the
filename. This is so that playVQA("FOO") will be able to play FOO0.VQA,
FOO1.VQA or FOO2.VQA, depending on which movie size is selected.
* The VQA player centers movies by default, so don't set the position to 0,0.
* Ask the backend for screen dimensions (for centering the movie) rather than
hard-coding them.
svn-id: r22560
2006-05-21 17:28:03 +00:00
Johannes Schickel
344cc2f475
- allows kyra3 to exit again
...
- implements language selection for kyra3
svn-id: r22559
2006-05-21 16:06:29 +00:00
Johannes Schickel
ef6645c5ba
- reworks quit handling (no _system->quit() anymore)
...
- fixes some deinitalization problems
svn-id: r22558
2006-05-21 15:41:32 +00:00
Johannes Schickel
c47dadeb1f
- adds debugC calls to KyraEngine_v3 functions
...
- finishes KyraEngine_v3::gui_printString
svn-id: r22557
2006-05-21 15:20:12 +00:00
Johannes Schickel
3af8e4ea4a
Implements kyra3 main menu drawing.
...
svn-id: r22556
2006-05-21 15:02:12 +00:00
Max Horn
e4ab8000f0
Pass values by-reference, using C++ references, and not by using pointers
...
svn-id: r22548
2006-05-20 15:09:15 +00:00
Johannes Schickel
dce7af1f5c
makes destructor of KyraEngine virtual
...
svn-id: r22547
2006-05-20 15:02:39 +00:00
Torbjörn Andersson
05814a1458
Apparently, passing a file handle directly to a function causes that file
...
handle (a copy of the original?) to be destroyed at the end of the function,
and that closes the internal file handle, even though we want it to stay open.
Who am I to argue with how C++ handles its parameters? I've simply changed the
functions to take pointers to file handles instead. Seems to fix crashes in the
Macintosh resource extractor for me.
svn-id: r22546
2006-05-20 13:59:31 +00:00