Commit Graph

17845 Commits

Author SHA1 Message Date
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
Travis Howell
04bf129416 Fix compressed sound in makeWAVStream()
svn-id: r22596
2006-05-24 06:11:39 +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
Travis Howell
d9d3b604f2 Fix compile
svn-id: r22592
2006-05-24 00:27:56 +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
Andrew Kurushin
36957a2c50 fix VC & SDL 1.2.10 compilation error
svn-id: r22585
2006-05-23 16:49:46 +00:00
Won Star
f38af30d6a Update GP32 port. It still doesn't work very well...
svn-id: r22584
2006-05-23 14:30:13 +00:00
Won Star
7eede3c510 Compile fix for GP32 and PalmOS. GP32 port still doesn't work since when GUI code changed...
svn-id: r22583
2006-05-23 14:19: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
dfda0555c3 Cleanup.
svn-id: r22573
2006-05-23 09:46:48 +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
7d15c60ab9 Don't crash if drawMouse() is called before _mouseSurface is created.
svn-id: r22562
2006-05-21 18:49:26 +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
Torbjörn Andersson
d7296ae666 Make it so that if the new cursor palette to be set has zero colours, the
cursor palette is disabled.

Also, when replacing a cursor palette, try to re-use the old palette buffer, as
a minor optimization. (Not that these functions should need any optimization,
but it's simple and shouldn't hurt.)

svn-id: r22554
2006-05-21 13:27:18 +00:00
Paul Gilbert
1920cc0fa8 Added two lines for the Lure engine progress
svn-id: r22553
2006-05-21 13:04:49 +00:00
Torbjörn Andersson
75f226953a Oops, I guess I never got around to fully implement replaceCursorPalette().
svn-id: r22552
2006-05-21 12:32:39 +00:00
Paweł Kołodziejski
e7a4b46479 fixed compilation when DISABLE_SCALERS
svn-id: r22551
2006-05-20 15:43:27 +00:00
Paweł Kołodziejski
da9bf4dd71 fix compilation, that variable no longer exists
svn-id: r22550
2006-05-20 15:22:17 +00:00