40412 Commits

Author SHA1 Message Date
Filippos Karapetis
e004831576 SCI: Fixed bug #3038767 - "SCI Fanmade - Cascade Quest: Crash when restoring a game"
svn-id: r52447
2010-08-29 23:25:30 +00:00
Martin Kiewitz
b53d4dcd96 SCI: cleanup kDoBresen (no real code change)
svn-id: r52446
2010-08-29 21:11:36 +00:00
Martin Kiewitz
4f8daaf596 SCI: fix typo in comment
svn-id: r52445
2010-08-29 20:26:30 +00:00
Martin Kiewitz
fc3dfd1bf7 SCI: adding comment about invalid rect return val
svn-id: r52444
2010-08-29 18:19:11 +00:00
Martin Kiewitz
2fb722056c SCI: fix warning (thx wjp, thank you not msvc)
svn-id: r52443
2010-08-29 15:23:08 +00:00
Martin Kiewitz
357fb5c604 SCI: fix build
svn-id: r52442
2010-08-29 15:18:24 +00:00
Martin Kiewitz
ff7476d9f1 SCI: adding virtual lists for qfg-import rooms
now lists import files of all possible games, adds game title before that, removes game prefixes for all files

svn-id: r52441
2010-08-29 15:13:25 +00:00
Filippos Karapetis
8ba02169f8 SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"
svn-id: r52440
2010-08-29 12:54:15 +00:00
Filippos Karapetis
99d2f23ab3 SCI: fixed debug output
svn-id: r52438
2010-08-29 11:10:18 +00:00
Filippos Karapetis
6a058892fb SCI: Throw a warning in QFG import screens for unmatched files
The original SCI games supported up to 12 characters for file names, thus we
use the file name returned as a mask to find the actual file, as we don't
wrap/unwrap save file names in these screens. If no files match, or if more
than 1 files match, throw a warning.

svn-id: r52437
2010-08-29 11:08:27 +00:00
Martin Kiewitz
9e9db758fb SCI: changing scroll transition behaviour
makes scroll smooth on linux (and maybe others too)

svn-id: r52436
2010-08-29 10:39:34 +00:00
Lars Persson
33886e22af Build a couple of different variant to split engines in two.
svn-id: r52435
2010-08-29 08:26:59 +00:00
Filippos Karapetis
a32926147c SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to the king"
svn-id: r52433
2010-08-29 02:31:18 +00:00
Filippos Karapetis
b0b4ddcc52 SCI: Fixed bug #3037874 - "SCI1.1: High cpu usage when a textbox is displayed"
svn-id: r52432
2010-08-29 00:58:27 +00:00
Filippos Karapetis
9096848e4b SCI: Throttle the invocations of Engine::shouldQuit()
SCI constantly invoked Engine::shouldQuit(), which in
turn called 2 virtual functions. This added a significant
overhead, as this was called constantly without any
throttling whatsoever. Now, the invocation of shouldQuit()
is throttled to be on each frame update (i.e. at a rate of
60fps). Thanks to wjp for profiling this.

svn-id: r52431
2010-08-29 00:39:33 +00:00
Filippos Karapetis
3f1f894e8e SCI: Added proper handling of QFG exported character files.
Now, QFG2, 3 and 4 may read exported characters from all
other QFG games, like the originals did. Fixes bug
#3054692 - "QFG2/QFG3 Import issues".

svn-id: r52430
2010-08-29 00:17:56 +00:00
Thierry Crozat
a2a3073562 I18N: Look for translations data file in Themes path
If the translations.dat file is not found using the SearchMan, it now looks
for that file into the themepath directory and sub-directories (if the path is
defined).

svn-id: r52428
2010-08-28 15:51:23 +00:00
Arnaud Boutonné
c2f29ba22d GOB: Change detection of Fascination CD
At the opposite of the other versions, the real name of the first 
stick file in Fascination CD is intro.stk, not disk0.stk.

svn-id: r52424
2010-08-28 12:36:19 +00:00
Fabio Battaglia
12e0d8997b DINGUX: disable aspect ratio correction for some resolutions
Disable aspect ratio correction for games which have a native 240px 
height res, this fixes Maniac Mansion NES on dingux.

svn-id: r52422
2010-08-28 08:07:10 +00:00
Sven Hesse
1185c2b8be HUGO: Remove executable flag in create_hugo source
svn-id: r52421
2010-08-28 07:42:54 +00:00
Arnaud Boutonné
51b88a69b8 HUGO: Some fixes for the create_hugo tool
svn-id: r52420
2010-08-28 00:47:17 +00:00
Filippos Karapetis
fa04c9dd38 SCI: Fixed bug #3054613, "QFG character saves, naming convention"
svn-id: r52419
2010-08-27 23:21:08 +00:00
Arnaud Boutonné
234b8e4f79 HUGO: Fix GCC warnings in objects_xx initialization
svn-id: r52418
2010-08-27 23:11:29 +00:00
Arnaud Boutonné
32734897a8 HUGO: Fix some action types in the creation tool
svn-id: r52417
2010-08-27 22:29:51 +00:00
Johannes Schickel
2444957986 HUGO: Fix "UNIX" redefinition on Unix-like systems in create_hugo.
svn-id: r52416
2010-08-27 22:24:15 +00:00
Johannes Schickel
0650872203 HUGO: Silence some const cast warnings in create_hugo.
svn-id: r52415
2010-08-27 22:13:30 +00:00
Arnaud Boutonné
c4db714e35 HUGO: Fix a bug in creation tool in act14 (H1 Dos)
Fix a bug (missing character id in initialization) in creation tool
and silent some more warnings.

svn-id: r52414
2010-08-27 21:13:47 +00:00
Torbjörn Andersson
b442ee7010 SCI: Fixed potential memory leak in convert_polygon()
svn-id: r52413
2010-08-27 17:26:34 +00:00
Martin Kiewitz
b5b4ecbed6 SCI: adding kq4 0.247
svn-id: r52412
2010-08-27 15:09:54 +00:00
Filippos Karapetis
0bc33f000f SCI: Possible fix for bug #3053268 - "QFG1 VGA: Fetch spell crashes game"
svn-id: r52411
2010-08-27 14:21:08 +00:00
Arnaud Boutonné
91f567427c TOOLS: Fix some warnings in create_hugo
svn-id: r52410
2010-08-27 14:03:20 +00:00
Sven Hesse
4d15e5f31c VIDEO: Change decodeImage() around a bit, plug a leak
Indeo3Decoder::decoderImage() was leaking inData

svn-id: r52408
2010-08-27 10:45:19 +00:00
Arnaud Boutonné
03fe16087e HUGO: Fix previous commit (bad format used)
svn-id: r52407
2010-08-27 10:01:09 +00:00
Arnaud Boutonné
ec9708694e HUGO: Hopefully fix GCC_PRINTF issue in util
* Add a mask in each call of Warn(), Error() and Box() not using one
* cleanup: use the same wording for 'End of namespace Hugo' in all files

svn-id: r52406
2010-08-27 09:48:53 +00:00
Lars Persson
fd574d5e24 Add support for HUGO game engine
svn-id: r52405
2010-08-27 07:11:31 +00:00
Oystein Eftevaag
a7541810b4 HUGO: Removed some dead code and redundant indirection
svn-id: r52404
2010-08-26 23:41:39 +00:00
Oystein Eftevaag
98400327c3 HUGO: Implemented basic MIDI support.
svn-id: r52403
2010-08-26 23:13:17 +00:00
John Willis
09f42e24eb NEWS: Mention new Caanoo port and GP2X plugin support.
svn-id: r52402
2010-08-26 11:32:10 +00:00
John Willis
c36ba08424 CONFIGURE: Add support for building for the GPH Caanoo.
The Caanoo is based on the GP2XWIZ backend but needs to be a seperate
target as it uses a different toolchain/libs etc. 

svn-id: r52401
2010-08-26 11:28:30 +00:00
John Willis
1fea429497 GP2XWIZ: Add initial support for the GPH Caanoo.
Most of the codebase is the same, but the toolchain and libs are different.
Support for Caanoo specific features will follow, I just want to get the build support into trunk for now.

svn-id: r52400
2010-08-26 11:24:26 +00:00
Martin Kiewitz
f8276a36fb SCI: adjust r52397
actually they return 0:0, when no bytes were read, otherwise they return the destination pointer

svn-id: r52398
2010-08-26 07:31:54 +00:00
Martin Kiewitz
c0f81439dc SCI: kFileIOReadString/kFGets return byte count
in sierra sci of read bytes

svn-id: r52397
2010-08-26 07:26:30 +00:00
Willem Jan Palenstijn
ca81bdde9b SCI: Return empty string from fgets with maxsize 1
This should fix r3049360 in Hoyle4.

svn-id: r52396
2010-08-25 22:05:10 +00:00
Arnaud Boutonné
bbab21300a GOB: Detection of pirated games
Add detection of the known cracked Coktel 
games with the appropriate ADGF_PIRATED flag

svn-id: r52395
2010-08-25 20:10:45 +00:00
Andre Heider
2506560bda TOOLS: const correctness to fix compilation.
svn-id: r52394
2010-08-25 19:41:59 +00:00
Martin Kiewitz
6de3b6c55c SCI: adding detection for freddy pharkas "fred"
fixes blop not appearing during intro song, because game thought we were too slow (bug #3051514)

svn-id: r52392
2010-08-25 17:49:03 +00:00
Andre Heider
1b2ae60e27 HUGO: Use GCC_PRINTF on functions with variable arguments
Two instances commented out with a FIXME for Strangerke :P

svn-id: r52391
2010-08-25 17:07:47 +00:00
Andre Heider
088da9e698 HUGO: Fix invalid usage of snprintf with va_args
svn-id: r52390
2010-08-25 17:03:24 +00:00
Willem Jan Palenstijn
05c2cc4d1d COMMON: Fix eos handling in BufferedReadStream
This makes it pass the test added in r52382.

svn-id: r52389
2010-08-25 14:43:42 +00:00
Matthew Hoops
b1532eca9f M4: Silence gcc warning
Original warning: "format not a string literal and no format arguments"

svn-id: r52388
2010-08-25 13:31:14 +00:00