Commit Graph

22061 Commits

Author SHA1 Message Date
Kari Salminen
d725c5fab6 Changed some additions to += as Python supports that operator (Didn't realize that before).
svn-id: r28096
2007-07-15 09:52:08 +00:00
Filippos Karapetis
6376321e5a Enabled menus in some old AGI games (released in 1986) which did not have menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed
svn-id: r28095
2007-07-15 06:24:39 +00:00
Filippos Karapetis
198b6ac8e6 ITE: Music looping works now with compressed digital music. However, there's still a small pause when a track restarts
svn-id: r28082
2007-07-15 03:13:15 +00:00
Torbjörn Andersson
af21e132a2 Fixed compilation.
svn-id: r28078
2007-07-14 18:26:43 +00:00
Filippos Karapetis
5aba81d3e7 ITE: Fixed some more incorrect dots on dialog buttons
svn-id: r28077
2007-07-14 18:11:14 +00:00
Filippos Karapetis
a7adb5888c ITE: Fixed some of the incorrectly drawn dots of the menu buttons
svn-id: r28076
2007-07-14 17:39:47 +00:00
Filippos Karapetis
c8a8d806e2 Renamed a variable, so that it makes more sense
svn-id: r28072
2007-07-14 15:09:30 +00:00
Filippos Karapetis
ba3c55cd13 Some more updates for looping of compressed digital music. It's still not working, though
svn-id: r28071
2007-07-14 15:06:06 +00:00
Filippos Karapetis
101dc5cb20 Improved check for the patched sound file used in ITE intro
svn-id: r28070
2007-07-14 14:18:45 +00:00
Filippos Karapetis
009b100094 Cleanup of the digital music code. Now all kinds of music (uncompressed and compressed) are handled by the same class, DigitalMusicInputStream
svn-id: r28069
2007-07-14 13:41:03 +00:00
Filippos Karapetis
9efa640f9c Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"
svn-id: r28064
2007-07-14 03:44:47 +00:00
Nicola Mettifogo
5a85103374 Full screen updates aren't automatic after palette changes anymore now. Traded some code pollution with SPEED!
svn-id: r28061
2007-07-13 20:50:57 +00:00
Filippos Karapetis
355ac5db2f Oops, deactivated the actor debug flag again, which was incorrectly activated in commit #28058
svn-id: r28059
2007-07-13 16:45:11 +00:00
Filippos Karapetis
eedec897f8 Rewrote and greatly simplified the SAGA detector, removing many duplicate and unneeded entries
- Digital music will now always be enabled for all versions if the digital music file is present. The duplicate game entries with and without this file have been removed
- Changed the way compressed sound files are detected. All the duplicate compressed sound entries have been removed
- The Wyrmkeep Windows CD version is now properly distinguished from the DOS CD version
- Unified all the different patch file entries (apart from the Mac patch file entries, which are of a different type). If a patch file is not found, it's ignored

svn-id: r28058
2007-07-13 16:37:37 +00:00
Filippos Karapetis
52f4d0b7d9 Add TODO: music looping does not work with compressed digital music
svn-id: r28056
2007-07-13 16:20:32 +00:00
Johannes Schickel
3e652273cc Some more fixes for Italian fan translation.
svn-id: r28055
2007-07-13 14:22:11 +00:00
Eugene Sandulenko
ada3153767 Rename AGI palette extractor
svn-id: r28054
2007-07-13 09:58:39 +00:00
Kari Salminen
bceca175de Added wildcards and a preliminary test which doesn't require unpacking the colors. Helped like a gazillion percent, or so :-).
svn-id: r28048
2007-07-12 19:07:23 +00:00
Robin Watts
10eeb453d6 Some optimisations to the DXA player to reduce the amount of needless mallocing
and memcpying it does.

This commit also contains some code protected by #ifdef DXA_EXPERIMENT_MAXD
that allows for reading an extended header on a .dxa file and using a MAXD
chunk, if found, to reduce the amount of memory required to play a movie.

Whether this gets enabled or not will ultimately depend on whether the savings
are justified (i.e. if we can find a case where it makes enough difference).

svn-id: r28047
2007-07-12 18:21:46 +00:00
Filippos Karapetis
17a4539a65 Renamed a variable, so that it makes more sense
svn-id: r28042
2007-07-12 08:52:07 +00:00
Kari Salminen
4ff76adab5 Tool for extracting palettes from Amiga AGI games' executables. My first Python program, yay :-)
svn-id: r28035
2007-07-11 16:55:46 +00:00
Filippos Karapetis
ec742cb4fd Cleaned up comments
svn-id: r28034
2007-07-11 16:52:56 +00:00
Filippos Karapetis
1b17f2d6a7 Enable menus for Space Quest 1 (PC) 1.1A
svn-id: r28033
2007-07-11 16:49:44 +00:00
Johannes Schickel
24344fe6ce Should fix gui strings in Italian fan translation.
svn-id: r28028
2007-07-11 13:25:21 +00:00
Filippos Karapetis
61d4dda19a Fix for SQ1 Amiga (v 1.2 1986): menus are forced in this version too, like with KQ3 Amiga
svn-id: r28025
2007-07-11 12:28:07 +00:00
Filippos Karapetis
1dfc0614b7 Fix for bug #1751390 in LSL1. When choosing a menu option, an appropriate event is set. If that event is equal to 0x20, it was incorrectly triggered when the space bar key was pressed
svn-id: r28024
2007-07-11 11:46:02 +00:00
Eugene Sandulenko
3f2c527b0e Provide more language.tab file sizes
svn-id: r28023
2007-07-11 11:19:41 +00:00
Filippos Karapetis
994a191858 IHNM: Narrowed down the places where the actors stop being drawn when changing scenes
svn-id: r28022
2007-07-11 03:21:29 +00:00
Filippos Karapetis
0ed332acba Fix for bug #1751344 - "ITE: p2_a.iaf not played correctly"
svn-id: r28018
2007-07-10 23:22:44 +00:00
Torbjörn Andersson
7a7212b9c1 Fixed bug #1751385 ("LSL: Impossible to enter "Number 9""), which was
introduced when migrating to KEYCODE constants. Considering how silly the bug
was, I probably introduced it myself.

svn-id: r28017
2007-07-10 21:24:58 +00:00
Robin Watts
b1feb9c65c This commit adds a new build define USE_ARM_GFX_ASM (and sets it for the WinCE
and DS builds). This causes the scumm engines graphics code to call ARM
routines to do drawStripToScreen and copy8col.

These routines were originally written for the DS port, and have now been made
available to any other ARM device out there that wants them. 

I've tested this change on WinCE, but can't test it on the DS as I don't have
one. We know that the routines work there though.

svn-id: r28016
2007-07-10 20:20:50 +00:00
Kari Salminen
6e77abc07f Add Amiga-style menus (FR #657645). Used in Amiga-rendering mode.
svn-id: r28015
2007-07-10 18:32:24 +00:00
Kari Salminen
969df42d01 Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
svn-id: r28014
2007-07-10 18:08:35 +00:00
Torbjörn Andersson
83e038de19 For some reason, AgiTextColor(amigaBlack, _olderAgi? amigaOrange : amigaPurple)
caused a linking error on my computer. Worked around that, and added curly
braces for (IMO) better readability.

svn-id: r28013
2007-07-10 17:41:40 +00:00
Torbjörn Andersson
0a5654fefc Cast the pointer to long instead of int to possibly fix the amd64 compile
problem mentioned earlier on the channel. Neither seems like a particularly
nice thing to do, but this is how we do it in the SDL backend, and it has
apparently worked fine there...

svn-id: r28012
2007-07-10 17:28:48 +00:00
Kari Salminen
b2cae8fe15 Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
svn-id: r28011
2007-07-10 17:04:09 +00:00
Kari Salminen
be23a6e188 Change AgiTextColor's default color to black text on white background.
svn-id: r28010
2007-07-10 15:45:30 +00:00
Kari Salminen
80cdd532bc Add AgiButtonStyle and create correct style according to render mode (Supports PC and Amiga styles).
svn-id: r28009
2007-07-10 15:28:43 +00:00
Johannes Schickel
728fe1ff86 Add md5sum for Italian fan translation of CD version (see fr#1727941 "KYRA: add Italian CD Version to kyra.dat").
svn-id: r28007
2007-07-10 13:25:54 +00:00
Johannes Schickel
c16f636acf Update create_kyra dat for Italian fan translation (see fr#1727941 "KYRA: add Italian CD Version to kyra.dat").
svn-id: r28005
2007-07-10 13:03:11 +00:00
Nicola Mettifogo
40905f7ca2 Removed leftover empty function.
svn-id: r28004
2007-07-10 09:30:56 +00:00
Eugene Sandulenko
3ac5498ec7 Reberting accidental changes.
svn-id: r28000
2007-07-10 01:26:12 +00:00
Eugene Sandulenko
1db83059b0 Preliminary (and buggy) Kanji support.
svn-id: r27998
2007-07-10 00:39:12 +00:00
Max Horn
aaa987201e SCUMM: more cleanup in ScummEngine::drawStripToScreen, added a big TODO comment explaining how to potentially speed up this code a lot
svn-id: r27997
2007-07-09 21:56:35 +00:00
Nicola Mettifogo
945be6e5f2 Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.
svn-id: r27996
2007-07-09 19:19:56 +00:00
Filippos Karapetis
11b43f877d Fix for bug #1742432 - AGI: Engine crashes if no game is detected
svn-id: r27993
2007-07-09 17:39:47 +00:00
Filippos Karapetis
e10a6e6515 Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"
svn-id: r27989
2007-07-09 12:03:53 +00:00
Max Horn
9782c35eaf SCUMM: use the _compositeBuf, with 'natural' line pitch (implying linear memory access for potentially better performance)
svn-id: r27988
2007-07-09 09:21:25 +00:00
Travis Howell
705c1e8403 Fix masking crash in Simon the Sorcerer 1 (Floppy DOS Demo), the address and pitch wasn't set for state->surf2.
svn-id: r27985
2007-07-09 02:27:38 +00:00
Max Horn
0a662bfb7e cleanup in ScummEngine::drawStripToScreen; in particular, the code is now more efficient for The Dig, FT and COMI
svn-id: r27980
2007-07-08 22:13:50 +00:00