Commit Graph

22044 Commits

Author SHA1 Message Date
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
Max Horn
14244685f3 SCUMM: hercules gfx code cleanup
svn-id: r27979
2007-07-08 21:42:39 +00:00
Max Horn
3762bcdfe1 correct typo
svn-id: r27978
2007-07-08 21:39:46 +00:00
Max Horn
dd40c72327 cleanup
svn-id: r27977
2007-07-08 21:25:09 +00:00
Filippos Karapetis
697f945e00 Reverted commit 27948. Cutaways in sfScriptGotoScene are cleared by calling clearcutaway directly again, as calling it using an event does not clear the cutaway when it should (which caused problems in the character selection screen)
svn-id: r27976
2007-07-08 20:46:21 +00:00
Nicola Mettifogo
a641ee4fbe Changed inventory graphics update from synchronous to lazy.
svn-id: r27975
2007-07-08 20:15:43 +00:00
Nicola Mettifogo
d1b9002bb0 Cleanup inventory code.
svn-id: r27974
2007-07-08 19:56:12 +00:00
Nicola Mettifogo
17da12ca07 Oops.
svn-id: r27968
2007-07-08 13:53:56 +00:00
Nicola Mettifogo
3036c37dd8 Yet another fix for broken parsing/displaying of strings. Now quotes are properly considered when they are needed, and ignored when they aren't.
svn-id: r27967
2007-07-08 13:39:23 +00:00
Max Horn
925f756369 SCUMM: Handle platform override a bit differently during startup; specifically, be more gentle if no perfect match against the specified platform value was found
svn-id: r27966
2007-07-08 13:26:55 +00:00
Johannes Schickel
41989652df Fix for disappearing text in FM-Towns end sequence.
svn-id: r27964
2007-07-08 12:59:00 +00:00
Johannes Schickel
c6c06a922e Little renaming.
svn-id: r27963
2007-07-08 12:50:24 +00:00
Nicola Mettifogo
373cadce5b Finally fixed parsing of labels.
svn-id: r27962
2007-07-08 12:39:39 +00:00
Max Horn
41c68ac3e4 Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y)
svn-id: r27961
2007-07-08 12:02:38 +00:00
Nicola Mettifogo
a7a62d3c9d Made parseNextToken *really* work this time.
svn-id: r27960
2007-07-08 09:22:08 +00:00
Nicola Mettifogo
cdae0280be Parser is now able to deal with missing quotes at the end of instructions in location scripts.
svn-id: r27959
2007-07-08 08:34:19 +00:00
Nicola Mettifogo
674f2e93c2 Location background sound (different from music) now implemented.
svn-id: r27958
2007-07-08 08:13:32 +00:00
Travis Howell
7a2949dcfc The mouse cursor is shown during dialogues in the Amiga versions (Demo and Multi-lingual).
svn-id: r27955
2007-07-08 02:33:47 +00:00