Commit Graph
100 Commits
Author SHA1 Message Date
Jonathan Gray 0bb41c23ca Call _screen->Init(). Fixes segfaults when
trying to start via a command line.

svn-id: r31729
2008-04-26 09:52:17 +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
Jonathan Gray 594d7d591d Allow GCC 2.95 again as compilation is now fixed.
svn-id: r20289
2006-01-29 03:47:46 +00:00
Jonathan Gray 38ae101bde cyx's gcc 2.95 fix makes things compile with gcc 2.95 again.
svn-id: r20288
2006-01-29 03:44:13 +00:00
Jonathan Gray 56ce100b4f Compilation has been busted on GCC 2.xx for some time. Don't
pretend to support it in configure.

svn-id: r20264
2006-01-28 07:31:53 +00:00
Jonathan Gray 25794c23e2 Default to /dev/sequencer before /dev/null if no MIDI device
is specified.

svn-id: r19480
2005-11-06 01:23:40 +00:00
Jonathan Gray 7f691c3ca2 Limit to 80 char width again, kill a few spaces at EOL.
svn-id: r19410
2005-11-03 11:32:19 +00:00
Jonathan Gray 8dd71c78b3 Fix mdoc typo.
svn-id: r19408
2005-11-03 11:11:46 +00:00
Jonathan Gray a5b1a8a2b5 Move the check for >= v5 further up the calling chain
for deciding whether we want to open an sfxfile.

svn-id: r18823
2005-09-14 10:49:53 +00:00
Jonathan Gray 2b9bf456de Only try opening SfxFile for >= v5 games.
svn-id: r18822
2005-09-14 10:38:07 +00:00
Jonathan Gray 603a5e4d6f Don't explicity check for tremor and vorbis everywhere and
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.

svn-id: r18642
2005-08-10 12:42:56 +00:00
Jonathan Gray 3c1b5648ae Rest of the changes required for tremor to actually work.
Based on patches against 0.7.1 by Jolan Luff.

svn-id: r18641
2005-08-10 06:16:26 +00:00
Jonathan Gray 545837b903 Set SCUMM debug mode to be on if a boot param is specified.
This avoids having to use -d0 for scumm titles and alows
boot params from config files to work better.

svn-id: r18548
2005-07-16 17:10:50 +00:00
Jonathan Gray 2e273bad42 Enhanced tremor support from Jolan Luff.
The configure script now works as follows for detection:
Tremor only: use tremor
Vorbis only: use vorbis
Both: use vorbis

This behaviour can be changed with newly added configure script options.

svn-id: r18478
2005-06-30 09:14:36 +00:00
Jonathan Gray f4a72b7b58 Fix compilation. FALSE is not a valid value, false however is.
svn-id: r18477
2005-06-30 09:09:59 +00:00
Jonathan Gray bf304539fe Document c64 as being a valid --platform= option.
svn-id: r18413
2005-06-19 23:02:38 +00:00
Jonathan Gray e8a2cf1cf8 Pass user supplied $CXXFLAGS to the compiler only once.
svn-id: r17596
2005-04-14 06:59:46 +00:00
Jonathan Gray 24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Jonathan Gray 4e3bfc6a66 Implement pausing using the 'p' key like the original did.
Feature request #1145781.

Convert key handling from if statements to a case statement
while here.

svn-id: r17321
2005-04-01 07:33:39 +00:00
Jonathan Gray 2d26bfcb47 Display text in Restart Yes/No Dialog for consistency with
Quit dialog.  Pointed out in part of FR #1145781.

svn-id: r17320
2005-04-01 07:30:25 +00:00
Jonathan Gray 81e9e0da72 Fix compilation when vorbis is disabled and mpeg2 is enabled.
Pointed out by Michael Sterrett on irc.

svn-id: r16620
2005-01-23 03:26:54 +00:00
Jonathan Gray accfa675aa Remove unwanted space.
svn-id: r16229
2004-12-21 04:04:17 +00:00
Jonathan Gray 3aabdeb682 Document default save directories.
svn-id: r16205
2004-12-20 23:10:54 +00:00
Jonathan Gray c195ae0e74 This is done now.
svn-id: r16116
2004-12-18 11:28:39 +00:00
Jonathan Gray f344976a35 Default save path for OS X as well.
svn-id: r16112
2004-12-18 11:07:47 +00:00
Jonathan Gray 2909c8fff6 - Move MAXPATHLEN includes/defines into common location
- Save files are now stored in $HOME/.scummvm/ by default if no other
  save path is specified on non MacOS X unices.

svn-id: r16060
2004-12-15 12:30:58 +00:00
Jonathan Gray a15c5104ae compilation fix
svn-id: r16058
2004-12-15 11:06:14 +00:00
Jonathan Gray 376ea672f1 Make music driver section more readable.
Alphabetically order the list of drivers as well.

svn-id: r16056
2004-12-15 10:03:37 +00:00
Jonathan Gray 949824ef43 New man page.
svn-id: r16054
2004-12-15 09:58:21 +00:00
Jonathan Gray 143bbaf672 Limit width to 80 chars again.
svn-id: r16008
2004-12-10 12:22:49 +00:00
Jonathan Gray d168ce9394 OpenBSD is _not_ a.out on i386/amd64
svn-id: r15668
2004-10-23 13:55:23 +00:00
Jonathan Gray ca9cf13dd0 change version numbers on some more he cpp titles
svn-id: r15496
2004-10-10 02:13:28 +00:00
Jonathan Gray ae73d1a4ee use MAXPATHLEN for path buffer size
svn-id: r15319
2004-09-28 04:14:57 +00:00
Jonathan Gray 8906d3a3bf Don't break when /tmp is nonexec pointed out in gentoo bug #64550. Don't submit to stupidity of recent coreutils tail behaviour just yet however, have yet to see a system ship without support for -1 including gentoo
svn-id: r15186
2004-09-19 09:57:24 +00:00
Jonathan Gray 488430a06e _numActors should be 30 not 29 for HE 72 titles, makes HE 72 version of puttzoo work
svn-id: r15111
2004-09-14 08:52:12 +00:00
Jonathan Gray 67e963507d ah of course...
svn-id: r14944
2004-09-07 13:20:54 +00:00
Jonathan Gray 67498a174b add some he c++ engine related changes. For some reason the cpp versions of spydemo and timedemo aren't getting _heversion set correctly
svn-id: r14940
2004-09-07 12:54:41 +00:00
Jonathan Gray 3f42d6f0ab fix compiler warnings, including a if (foo = bar) occurance
svn-id: r14927
2004-09-06 07:06:11 +00:00
Jonathan Gray 80c9d31f54 compilation fix
svn-id: r14906
2004-09-05 10:16:01 +00:00
Jonathan Gray ca6ad7a76f remove unused var
svn-id: r14828
2004-08-29 12:52:16 +00:00
Jonathan Gray d1d308ff74 R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of GAME
svn-id: r14793
2004-08-27 01:32:10 +00:00
Jonathan Gray d71604c20c add some comments about unimplemented opcodes
svn-id: r14790
2004-08-26 23:28:10 +00:00
Jonathan Gray 30c31c9cb0 make more he titles get to boot scripts
svn-id: r14780
2004-08-26 14:35:38 +00:00
Jonathan Gray 3d8ef64d39 allocate memory for dobj in he 90, point games claiming to be 90 at 72he class
svn-id: r14777
2004-08-26 14:07:19 +00:00
Jonathan Gray a6da84d0c6 catalog2 also needs pajama gid
svn-id: r14774
2004-08-26 12:35:17 +00:00
Jonathan Gray 61bf875b33 farm also has similiar actor requirements to pajama so change the gid, also add smaller target while here
svn-id: r14768
2004-08-26 11:44:08 +00:00
Jonathan Gray a8a53b1e54 casts to avoid gcc warnings
svn-id: r14746
2004-08-25 07:30:05 +00:00
Jonathan Gray b1654de7aa compilation fix
svn-id: r14706
2004-08-23 08:50:54 +00:00
Jonathan Gray 5f3009d7d0 note existance of DISK index block found in f4-demo
svn-id: r14702
2004-08-23 08:35:35 +00:00
Jonathan Gray 9d081a640e add md5 based windows targets for HE titles that also have DOS targets and make the description appear in the title bar
svn-id: r14701
2004-08-23 08:12:09 +00:00
Jonathan Gray b7ad2a612a add readMAXS debug statement
svn-id: r14699
2004-08-23 06:30:34 +00:00
Jonathan Gray e46c81ad74 fix compilation by removing what was presumably a typo
svn-id: r14697
2004-08-23 05:56:29 +00:00
Jonathan Gray a3d531a9fd remove cast that produces a warning
svn-id: r14696
2004-08-23 05:53:41 +00:00
Jonathan Gray 9956666a7a sync man page
svn-id: r14543
2004-08-10 22:35:12 +00:00
Jonathan Gray f3ddfd4080 fix compilation
svn-id: r14510
2004-08-08 03:12:23 +00:00
Jonathan Gray 79e2af8787 no longer needed
svn-id: r14442
2004-08-02 15:53:33 +00:00
Jonathan Gray dcf5805440 create objectMap class
svn-id: r14440
2004-08-02 15:44:18 +00:00
Jonathan Gray 632612680b move isomap into a class
svn-id: r14439
2004-08-02 14:51:48 +00:00
Jonathan Gray e4c813670f remove timer wrapper functions
svn-id: r14437
2004-08-02 12:41:40 +00:00
Jonathan Gray 7846a6ed61 move static vars to private members
svn-id: r14434
2004-08-02 11:27:50 +00:00
Jonathan Gray c8d9018909 init _gfx in a less hacky manner
svn-id: r14420
2004-08-01 12:06:12 +00:00
Jonathan Gray 0bbeb61f5e merge gfx_mod.h into gfx.h and stick functions into a class
svn-id: r14419
2004-08-01 11:48:53 +00:00
Jonathan Gray 12e1c4711b prune uneeded code
svn-id: r14418
2004-08-01 10:48:11 +00:00
Jonathan Gray 69cf6a070a move sceneproc.cpp/h into scene.cpp/h
svn-id: r14416
2004-08-01 09:15:12 +00:00
Jonathan Gray 5833e67076 try to stop the abuse of MemoryReadStream (ie actually delete the memory when we're done with it)
svn-id: r14415
2004-08-01 08:45:40 +00:00
Jonathan Gray bc900fde60 init some member vars
svn-id: r14414
2004-08-01 07:56:08 +00:00
Jonathan Gray 182dd48bd4 merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
svn-id: r14405
2004-08-01 01:56:22 +00:00
Jonathan Gray 52918b9197 no longer needed
svn-id: r14389
2004-07-31 13:36:06 +00:00
Jonathan Gray 59c88e428b merge animation.h and animation_mod.h into a class
svn-id: r14388
2004-07-31 13:34:43 +00:00
Jonathan Gray d53a852c16 enable SAGA engine by default
svn-id: r14387
2004-07-31 12:46:30 +00:00
Jonathan Gray 387c8abeda update comment to relfect reality
svn-id: r14386
2004-07-31 12:39:26 +00:00
Jonathan Gray c7d6425a38 remove YS_IGNORE_PARAM macro and some uneeded yslib.h includes
svn-id: r14385
2004-07-31 12:37:36 +00:00
Jonathan Gray 4f0f6abdd5 updates to the man page seem to be made even less often than the TeX
svn-id: r14381
2004-07-31 11:09:07 +00:00
Jonathan Gray d1616e1cb5 Add passthrough ability. Patch by Christian Schoenebeck with slight modifications
svn-id: r14354
2004-07-27 13:21:52 +00:00
Jonathan Gray 3cf5c78c42 Given Makefile now depends on the configure script output move these default parameters out to the configure script
svn-id: r14352
2004-07-27 12:16:03 +00:00
Jonathan Gray 8a593e2e05 update from wjp
svn-id: r14246
2004-07-18 14:16:37 +00:00
Jonathan Gray b02221a613 Add initial support for reading sputm.9x index files. Teach ScummVM about res type 13 (rtImage/AWIZ), although don't actually allocate when reading the DIRI block yet. Error out when trying to read a sputm.9x DOBJ block as they are different to earlier versions and not yet supported
svn-id: r14073
2004-06-26 12:57:11 +00:00
Jonathan Gray 46c50cf00c move puttzoo back into the correct position and note Scummsys.90 version
svn-id: r14068
2004-06-26 06:58:39 +00:00
Jonathan Gray e61c96cb2e work around for humongous catalogs
svn-id: r14066
2004-06-26 05:08:02 +00:00
Jonathan Gray e5ddd7ef55 add catalog2 target
svn-id: r14062
2004-06-26 03:26:20 +00:00
Jonathan Gray 2abe07e044 let my Scummsys.90 version of freddi get detected properly
svn-id: r14061
2004-06-26 03:00:37 +00:00
Jonathan Gray cbf068b638 look for the newer BMAP blocks from later humongous games if we can't find an SMAP block
svn-id: r14060
2004-06-26 02:45:17 +00:00
Jonathan Gray 0c2e8ef9f5 add some items
svn-id: r14047
2004-06-25 11:48:29 +00:00
Jonathan Gray b5c11e4660 note targets with multiple interpreter versions
svn-id: r14046
2004-06-25 11:35:19 +00:00
Jonathan Gray bdba2baa18 Display error based on the version a game is believed to be when reading MAXS block. Note additional C++ engine based version of spydemo.
svn-id: r14044
2004-06-25 10:58:47 +00:00
Jonathan Gray 28b1c628aa Check blocksize when reading MAXS, may potentially detect HE versions using it in future. Add/Correct some more HE targets.
svn-id: r14043
2004-06-25 10:39:35 +00:00
Jonathan Gray 31f9fb538a move puttzoo to _heversion 72 as it needs the newer MAXS block reading code, add bluesabctimedemo target
svn-id: r14041
2004-06-25 10:12:59 +00:00
Jonathan Gray 22a6163a3a there were never dos versions of these HE titles so bump _heversion up to 70
svn-id: r14040
2004-06-25 09:57:10 +00:00
Jonathan Gray 2ce0184d12 add debugging messages for index blocks which don't already have them via readResTypeList
svn-id: r14038
2004-06-25 08:18:51 +00:00
Jonathan Gray ef526eca83 forgot one
svn-id: r14022
2004-06-23 11:31:46 +00:00
Jonathan Gray 88b127f25e add some hev7 items
svn-id: r14019
2004-06-23 11:25:13 +00:00
Jonathan Gray 615f0e4b47 for whatever reason hev7 gives us a 244 for quit instead of 160
svn-id: r14017
2004-06-23 10:47:14 +00:00
Jonathan Gray 86af05599b this still needs to be sorted out properly but it seems the majority of cases use 0 not 255 need to distinguish which in future...
svn-id: r14014
2004-06-23 10:18:19 +00:00
Jonathan Gray 3744c9f772 fbear always uses a transparency colour of 5 in codec 16
svn-id: r14013
2004-06-23 10:08:20 +00:00
Jonathan Gray c7f06142a0 use the correct transparency colour for akos codec 16 with hev7
svn-id: r14009
2004-06-23 07:45:28 +00:00
Jonathan Gray 31970a7877 compilation fix from Nicolas Joly, bug #976657
svn-id: r14000
2004-06-22 10:43:00 +00:00
Jonathan Gray 0237685473 disable alt-x and ctrl-z quit keys in favour of ctrl-q on non Mac OS X unices (including Linux) for consistency with other applications
svn-id: r13989
2004-06-21 02:09:50 +00:00
Jonathan Gray d39cf192db explicity declare GF_WINDOWS on windows only HE games, list tags as strings not hex in some debugging messages
svn-id: r13937
2004-06-05 15:14:19 +00:00
Jonathan Gray e356a4ccc3 Allow dialogue options in the SegaCD version of Monkey Island to be cycled through with mousewheel. Closes RFE #953111
svn-id: r13936
2004-06-05 13:41:08 +00:00
Jonathan Gray b8bc0d72e5 Check if monkey sega cd sounds have already been demangled before trying to do demangle them. Patch #959129 from Jonathan Gevaryahu
svn-id: r13935
2004-06-05 12:02:36 +00:00