Commit Graph
86814 Commits
Author SHA1 Message Date
Travis Howell 1a6849de91 Add speech support for Amiga verison of FF
svn-id: r21871
2006-04-14 05:13:59 +00:00
Travis Howell de0dd94c9c Add support for sound effects in Amiga version of FF and cleanup
svn-id: r21870
2006-04-14 04:22:49 +00:00
Johannes Schickel 53f81b3366 Sets up standard normal font.
svn-id: r21869
2006-04-14 02:21:38 +00:00
Johannes Schickel 96cf7028b9 - implements .bdf font loader based on convbdf (sure could have some clean up)
- adds three different font styles to the themes (normal, bold (default one), italic)
- implements code for specifing the font files in the theme config ('fontfile_normal','fontfile_bold' and 'fontfile_italic' in the 'extra' section)
- changes EditTextWidget to use the normal font (has some minor aligment problems with the caret now, though)
- extends the FontManager (new functions: getFontByName, assignFontToName, removeFontName)
- adds the font style constans to the builtin constants for the evaluator)

svn-id: r21868
2006-04-14 02:16:55 +00:00
Max Horn 1470dadb1d Changed File::open to take a Common::String as file name parameter
svn-id: r21867
2006-04-14 01:48:51 +00:00
Max Horn 5072816109 Use const keyword to help compiler optimize code
svn-id: r21866
2006-04-14 01:47:33 +00:00
Travis Howell 6d38683832 Fix mingw compile
svn-id: r21865
2006-04-14 01:26:51 +00:00
Travis Howell b1191c56ac Remove duplicate check in checkPaths
svn-id: r21864
2006-04-14 01:26:00 +00:00
Eugene Sandulenko e7af211fb5 Remove AmigaOS4 cookie as described in patch #1467193: "AmigaOS changes":
- Icon (icons/scummvm.info) contains stack requirement so the stack cookie
  can be removed

svn-id: r21863
2006-04-14 01:14:38 +00:00
Eugene Sandulenko ff1d11afe1 Rest of patch #1467193: "AmigaOS changes":
- an icon file (icons/scummvm.info) for AmigaOS
- aos4dist target which strips the binary and copies stuff (including the icon)
  to a hardcoded directory called Games:ScummVM_Snapshot.

svn-id: r21862
2006-04-14 01:11:10 +00:00
Eugene Sandulenko 065dcf5653 Part of patch #1467193: "AmigaOS changes":
- Filesystem errors are now more detailed
- casting problems are hopefully gone
- some comments added in amigaos4-fs.cpp

svn-id: r21861
2006-04-14 01:06:08 +00:00
Eugene Sandulenko 78cc6e4ead Finish cleanup of root directory. Now move scummvm.rc to dists/
svn-id: r21860
2006-04-14 01:01:43 +00:00
Eugene Sandulenko ab799101c0 First batch of root directory cleanup. Now icons are stored in directory
icons/ and all other assorted stuff in dists/ directory. Still I may broke some
packaging/building procedures as no testing was performed.

svn-id: r21859
2006-04-14 00:55:37 +00:00
Max Horn 8dcf6ed006 Fix crash in fopenNoCase triggered by filenames/paths that exceeded ~ 512 bytes (see bug #1109687)
svn-id: r21858
2006-04-14 00:36:54 +00:00
Travis Howell 94774a148d Fix regression in Amiga version of FF
svn-id: r21857
2006-04-14 00:10:12 +00:00
Eugene Sandulenko 7cc83b82f2 Re-add TODO file and put link to our real TODO list in Wiki. People are used
to look into it, so use that opportunity to direct them to current source.

svn-id: r21856
2006-04-14 00:09:41 +00:00
Max Horn daf541e0b8 Fix compiler warnings
svn-id: r21855
2006-04-14 00:05:26 +00:00
Travis Howell 3407185358 Add invertBox function for FF
svn-id: r21854
2006-04-13 23:34:58 +00:00
Johannes Schickel fac96dfb34 Fixes possible illegal writes/segfaults in compressToType0 (added a comment about the changes).
svn-id: r21853
2006-04-13 23:13:56 +00:00
Johannes Schickel 1444a1ab9f - No longer draws full shadows for disabled widgets
- Implements 'negativ alpha' values for drawSurfaceMasked (from -1 to -100, used to dim the pixels -1 means very very small dim -100 should be black)
- Changes drawSurfaceMasked to use macros for easy changing drawing code

svn-id: r21852
2006-04-13 22:47:22 +00:00
Travis Howell cd9dde81f4 Add checkPaths function for FF
svn-id: r21851
2006-04-13 22:29:08 +00:00
Johannes Schickel f2370a0560 Deletes color cache and custom dialog shading.
svn-id: r21850
2006-04-13 22:20:50 +00:00
Sven Hesse fb985a26f8 Fixed the invalid reads visible with valgrind, deleted the
printText-dup, it's wrong for Gob2 anyway...

svn-id: r21849
2006-04-13 21:52:23 +00:00
Sven Hesse a3cd0bd17d Commented the SpriteOperation in Draw_v2::printText() out for now,
they are responsible for background mess-ups in the intro

svn-id: r21848
2006-04-13 21:09:39 +00:00
Sven Hesse 3bed2d377e Some more stubs and rearrangings
svn-id: r21847
2006-04-13 20:56:22 +00:00
Torbjörn Andersson e21f99c7ba Slightly more verbose error message.
svn-id: r21846
2006-04-13 18:09:33 +00:00
Sven Hesse 07a0d54891 - More stubs, the intro now works completely (with extreme graphical
glitches and without sound in the floppy version), the title screen
  is shown afterwards
- Added skipping of the floppy version's copy protection screen,
  since the CD version doesn't show it either

svn-id: r21845
2006-04-13 16:25:07 +00:00
Torbjörn Andersson c9555a5d54 Added TODO about some extra data files that Operation Stealth has to load.
svn-id: r21844
2006-04-13 15:42:52 +00:00
Travis Howell 89c89c0209 Add code for save game interface in FF
svn-id: r21843
2006-04-13 14:26:46 +00:00
Johannes Schickel e9034e274f Fixes save/load.
svn-id: r21842
2006-04-13 13:55:10 +00:00
Travis Howell 696cbe1a64 Fix display of saved games list in oracle of FF, when saving
svn-id: r21841
2006-04-13 12:23:30 +00:00
Travis Howell eaddfc5ed8 vc36_setWindowImage is used for difference purpose in FF
svn-id: r21840
2006-04-13 10:03:45 +00:00
Torbjörn Andersson 4ee82b0caf Work around crash in drawSpriteRaw(). In Future Wars, when going to the future,
I walked back to the room where I first arrived. At that point, maskPtr was
NULL for reasons yet unknown.

svn-id: r21839
2006-04-13 09:53:51 +00:00
Travis Howell a4c5a691cc Disable quick load/save is FF, since original sometimes disabled load/save and it isn't reliable at the moment
svn-id: r21838
2006-04-13 09:45:03 +00:00
Travis Howell 4ef316713e Minor fixes to scrolling in FF
svn-id: r21837
2006-04-13 09:43:27 +00:00
Travis Howell 09f4ae1580 Fix various crash issues in FF, the image number in vc2_call needed to be adjusted
svn-id: r21836
2006-04-13 07:16:42 +00:00
Eugene Sandulenko 3fa9fa06c2 Clarified detection filenames for HE games (removed FIXME comments).
svn-id: r21835
2006-04-13 04:01:55 +00:00
Won Star 491d5ad12e GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.
svn-id: r21834
2006-04-13 02:39:59 +00:00
Torbjörn Andersson f5ab0e5578 Fixed potential crash in drawDialogueMessage(): The function should terminate
if, for some reason, messagePtr is NULL.

svn-id: r21833
2006-04-12 22:07:41 +00:00
Torbjörn Andersson 19a1cdfe85 Actions that do not have any custom response now print one of the default
responses. (Before, nothing would happen.)

svn-id: r21832
2006-04-12 22:06:30 +00:00
Eugene Sandulenko 3631505437 Fix typo reported in #1469339: "FluidSynth error typo"
svn-id: r21831
2006-04-12 20:36:45 +00:00
Lars Persson 1d265f1895 Commiting Fingolfins patch to remove gamedetector usage.
svn-id: r21830
2006-04-12 19:04:10 +00:00
Torbjörn Andersson cdcf44d3f3 Stubbed addPlayerCommandMessage(). I think it may have something to do with
printing default responses to commands.

svn-id: r21829
2006-04-12 16:34:23 +00:00
Max Horn 2c3e1fe4ea Fixing mismatch between format strings and data on some systems
svn-id: r21828
2006-04-12 14:54:31 +00:00
Max Horn cf202049ff Fixing mismatch between format strings and data on some systems
svn-id: r21827
2006-04-12 14:54:12 +00:00
Torbjörn Andersson 151b38a6e5 This assertion shouldn't be needed. At least not here.
svn-id: r21826
2006-04-12 11:29:00 +00:00
Torbjörn Andersson 9dfc4b5f69 Fixed serious bug in removeOverlayElement() that would cause it to fail. This
caused getObjectUnderCursor() select the wrong object because the object list
was no longer guaranteed to be sorted on priority ("mask").

In Future Wars, this made it difficult (impossible?) to pick up the tunic,
because the game would pick the bushes instead, even though the tunic had a
higher priority.

svn-id: r21825
2006-04-12 11:27:45 +00:00
Jonathan Gray eb3ae7d726 sizeof(void *) != sizeof(int) for a large number of systems.
Fix a lot of debug/error statements that were using %d/%x
for the result of pointer arithmetic.

As C++ apparently has no format string for ptrdiff_t use
%lu/%lx as appropriate.

svn-id: r21824
2006-04-12 10:01:41 +00:00
Sven Hesse adbafccc64 - Fixed the mistake in Mult_v2::loadMult() that caused Gob2 floppy to
have a messed up script-pointer afterwards
- Added/Changed parts of Mult_v2::playMult() et al. so that the intro
  works for a few seconds (with glitches) before getting killed while
  trying to draw text (CD) or trying to play sounds (floppy)

svn-id: r21823
2006-04-12 09:49:08 +00:00
Max Horn 2ca3831777 Fixing the workaround for bug #1458388 (should have added trailing dot, but didn't)
svn-id: r21822
2006-04-12 08:10:49 +00:00