Commit Graph

28193 Commits

Author SHA1 Message Date
Sven Hesse
55edaf0945 Fixing 16bit audio
svn-id: r35432
2008-12-19 01:01:07 +00:00
Sven Hesse
6d19ee6e64 Adding convenience functions to get the time to wait for the next frame, while keeping A/V sync
svn-id: r35431
2008-12-19 00:14:18 +00:00
Sven Hesse
9cd759c526 Fixing 8bit audio
svn-id: r35430
2008-12-18 23:50:59 +00:00
Florian Kagerer
5aec3bbc64 KYRA1: fixed Serpent Cave/Malcolm scene (where Brandon would instantly get killed without having a chance to grab the dagger)
svn-id: r35429
2008-12-18 21:21:09 +00:00
Johannes Schickel
28d33e01e9 Fixed cursor palette when returning from GMM/Debugger. (Thanks to jvprat for testing)
svn-id: r35428
2008-12-18 20:36:16 +00:00
Johannes Schickel
dfc08c823d Clean up cursor stack on engine quit properly.
svn-id: r35427
2008-12-18 20:22:49 +00:00
Filippos Karapetis
8b6237756b Oops, base values are read in the correct order now
svn-id: r35426
2008-12-18 19:32:44 +00:00
Filippos Karapetis
d314ee2447 Audio support for Smacker videos. Audio doesn't sound right yet, though
svn-id: r35425
2008-12-18 19:18:45 +00:00
Johannes Schickel
d15022da78 Cleanup.
svn-id: r35424
2008-12-18 18:46:24 +00:00
Sven Hesse
5b7cb7ae3e Note to self: Don't sleep-deprive and code, for it makes you daft as a broom ;)
(Thanks to md5 for pointing this out to me)

svn-id: r35423
2008-12-18 16:38:28 +00:00
Filippos Karapetis
05434a38f0 Fixed some warnings
svn-id: r35422
2008-12-18 16:34:01 +00:00
Kostas Nakos
8a6387ca13 fix opening of config file + some cleanup
svn-id: r35421
2008-12-18 08:06:08 +00:00
Torbjörn Andersson
50563cbcce Fixed warnings. Hopefully without breaking anything.
svn-id: r35420
2008-12-18 05:04:55 +00:00
Sven Hesse
4ceecdb25f Preliminary save/load support for Urban Runner
svn-id: r35418
2008-12-18 02:48:15 +00:00
Gregory Montoir
3ddbc1211f moved game version flags to detection entries ; unset kGameFlagEncodedData for polish version (tracker item #2436225)
svn-id: r35417
2008-12-17 21:29:56 +00:00
Lars Persson
a56af219d9 Added KeyConfiguration dialog to classic theme(320 and normal). Updated KeysDialog to follow xml syntax properly.
svn-id: r35416
2008-12-17 21:19:46 +00:00
Filippos Karapetis
de0a2f40cd Some more Smacker audio code (still non-functional)
svn-id: r35415
2008-12-17 21:17:15 +00:00
Willem Jan Palenstijn
dcc81b07e5 move necessary code outside of assert
svn-id: r35414
2008-12-17 19:25:54 +00:00
Filippos Karapetis
3f36b2a15a Fixed bug: not all control paths return a value in savePalLUT()
svn-id: r35413
2008-12-17 16:45:53 +00:00
Sven Hesse
38e7eecb71 Added support for caching the palette LUT to a file
svn-id: r35412
2008-12-17 16:06:16 +00:00
Filippos Karapetis
10e471bb5b - Added some disabled code for Smacker audio support (still incomplete, not working yet)
- Made the _image buffer protected instead of private (in case it's coped directly to the screen and not an intermediate buffer)

svn-id: r35411
2008-12-17 14:48:57 +00:00
Sven Hesse
d0e2107b7e Only do the no-cd-workaround if all resource files can be found
svn-id: r35409
2008-12-17 13:07:56 +00:00
Nicola Mettifogo
774773b7cd Reduced code duplication when manipulating Animations, and cleanup.
svn-id: r35408
2008-12-17 11:15:47 +00:00
Sven Hesse
3591f8859e Workaround for Urban Runner's CD number detection daftness.
Basically, now we claim to run in no-CD-mode (by pretending "NO_CD.TXT" exists) and open CD2.ITK, CD3.ITK and CD4.ITK manually

svn-id: r35407
2008-12-17 00:41:00 +00:00
Sven Hesse
adae869c8a Experimental semi-transparency for fillRect, used in the green/red menu areas of Urban Runner
svn-id: r35406
2008-12-16 23:27:35 +00:00
Travis Howell
98bbf9c417 Add target for CD demo of Discworld 1.
svn-id: r35405
2008-12-16 23:07:16 +00:00
Lars Persson
4e2565ca1f Set SMALL SCREEN DEVICE settings in ::open function with new UI framework
svn-id: r35404
2008-12-16 22:54:38 +00:00
Jordi Vilalta Prat
662a38de89 Enable the Groovie engine by default since it's now supported
svn-id: r35403
2008-12-16 22:15:08 +00:00
Gregory Montoir
328f0cda5d added Czech version detection entry, tracker item #2435411
svn-id: r35402
2008-12-16 22:09:55 +00:00
Gregory Montoir
f18f79ebf7 added polish version as reported on tracker item #2433494, removed english charset as default
svn-id: r35401
2008-12-16 22:05:16 +00:00
Gregory Montoir
ee62b9c4c3 changed game version flags handling, should fix #2434208
svn-id: r35398
2008-12-16 21:06:20 +00:00
Sven Hesse
ebd2f53713 If the music file to play has no extension, add one. Fixes the music when you die
svn-id: r35397
2008-12-16 20:40:18 +00:00
Sven Hesse
4d3a4a85f6 Rotating the object backwards in the magnifing view works now
svn-id: r35396
2008-12-16 20:21:29 +00:00
Sven Hesse
94c14c7c78 Fixing the update coordinates for videos with _bytesPerPixel > 1
svn-id: r35395
2008-12-16 19:55:51 +00:00
Sven Hesse
d4b6b9187d More video fixes for the magnifier/memory view
svn-id: r35394
2008-12-16 18:53:26 +00:00
Johannes Schickel
696ed52959 Switched kyra1 to use the same input functionality as kyra2 and kyra3.
svn-id: r35393
2008-12-16 17:40:34 +00:00
Filippos Karapetis
2706e527c2 - Some more comments
- The audio header is now decoded properly (still no audio support)

svn-id: r35392
2008-12-16 13:19:43 +00:00
Filippos Karapetis
0b1d31383b - Added some comments
- Removed _paletteDidChange, as the virtual setPalette() function is called back on every palette change
- Some cleanup
- Removed unused/unneeded functions and variables
- Changed _frameTypes to hold bytes instead of 32-bit integers (since frame types are held within a byte)

svn-id: r35391
2008-12-16 09:56:21 +00:00
Filippos Karapetis
638a8e3306 Synced Smacker player with ffmpeg revision #16143
svn-id: r35390
2008-12-16 08:37:24 +00:00
Sven Hesse
c45f149ea1 First step at getting the magnifier and memory view corrected
svn-id: r35389
2008-12-16 02:57:48 +00:00
Filippos Karapetis
45842bf9e2 Initialize palette when loading a new Smacker file - all palette colors should show correctly now
svn-id: r35387
2008-12-15 22:49:55 +00:00
Filippos Karapetis
df32288b8b - Removed the blockRuns array
- Added some comments

svn-id: r35386
2008-12-15 21:13:28 +00:00
Sven Hesse
f825ccd63f Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
513aeee844 More video changes/fixes/stubs
svn-id: r35384
2008-12-15 15:36:21 +00:00
Travis Howell
b4e542e37f Mirror last Smacker changes.
svn-id: r35383
2008-12-15 13:10:08 +00:00
Max Horn
319795565e SMK player: do not include headers that are not needed, do not expose internal _fileStream for no apparent reason
svn-id: r35382
2008-12-15 12:55:57 +00:00
Max Horn
ea3d4fe22d cleanup
svn-id: r35381
2008-12-15 12:55:13 +00:00
Travis Howell
ddb810e17b Add Moonbase Commander target again, for testing only.
svn-id: r35379
2008-12-15 09:54:21 +00:00
Benjamin Haisch
2ce4a32fb6 - Implemented cmd_restart (for the restart functionality in Return to Zork)
svn-id: r35378
2008-12-15 09:01:43 +00:00
Nicola Mettifogo
c76f0bdb10 Weeded out some more unused code, and some restructuring.
svn-id: r35377
2008-12-15 07:15:29 +00:00