Commit Graph

28008 Commits

Author SHA1 Message Date
Nicola Mettifogo
025b2a93e9 Moved mask creation/handling to Gfx.
svn-id: r35447
2008-12-20 08:15:09 +00:00
Filippos Karapetis
a6e4bd793f Hopefully fixed invalid buffer reads
svn-id: r35446
2008-12-19 21:55:18 +00:00
Torbjörn Andersson
a4e08d94fc Allow quitting / returning to launcher while showing "selection boxes", e.g. the
pause game dialog.

svn-id: r35445
2008-12-19 21:22:26 +00:00
Filippos Karapetis
6baa803dff Removed defaults which are set in base/commandLine.cpp
svn-id: r35444
2008-12-19 19:12:29 +00:00
Torbjörn Andersson
08ff8d281f Allow changing the scaler using hotkeys again. I hope this is the correct way
of fixing it. (I've added a final case to endGFXTransaction for when the screen
just needs to be updated, without any changes in mode or size.)

svn-id: r35443
2008-12-19 17:54:45 +00:00
Torbjörn Andersson
c6bd85e370 Allow quitting/returning to launcher while in the save/load dialog. I don't
know if there are other such spots that need to be fixed as well.

svn-id: r35442
2008-12-19 17:31:14 +00:00
Torbjörn Andersson
1477116d9b Clicking in the scrollbar always caused the save/load list to scroll down a page.
Now it can scroll up a page again.

svn-id: r35441
2008-12-19 17:21:55 +00:00
Jordi Vilalta Prat
3f3b742cd6 T7G: Add support for custom AdLib instruments
svn-id: r35440
2008-12-19 16:55:54 +00:00
Jordi Vilalta Prat
c4f33dfb86 Custom percussion instruments for the AdLib MIDI driver (Slightly modified patch #2357165)
svn-id: r35439
2008-12-19 16:21:27 +00:00
Sven Hesse
519815cb51 memset()ing the output image with 0 at the start
svn-id: r35438
2008-12-19 13:55:55 +00:00
Filippos Karapetis
0410d6dfae Removed the hasKey() hackery of my previous commit and used ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default
svn-id: r35437
2008-12-19 12:03:22 +00:00
Filippos Karapetis
2911aa04c1 Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct default values for missing config manager settings
svn-id: r35436
2008-12-19 10:54:05 +00:00
Filippos Karapetis
b7dbd3ec06 Some slight cleanup
svn-id: r35435
2008-12-19 08:22:25 +00:00
Florian Kagerer
83194b2188 KYRA: fix mt-32 sysex loading for LOL floppy
svn-id: r35434
2008-12-19 07:32:08 +00:00
Sven Hesse
91e386c584 Making curPos an uint32, so that it won't overflow anymore
svn-id: r35433
2008-12-19 01:45:55 +00:00
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