Commit Graph
86814 Commits
Author SHA1 Message Date
Thierry Crozat 2c058a1235 CREDITS: Add Hungarian translator.
svn-id: r54252
2010-11-15 21:01:48 +00:00
Thierry Crozat df73b6d49f I18N: Update Hungarian translation and add iso-8859-2 fonts to themes.
The new Hungarian translation is from patch #3109396

svn-id: r54251
2010-11-15 20:59:41 +00:00
Thierry Crozat aa5d440dcc I18N: Update translation template and po files from source code
svn-id: r54250
2010-11-15 20:57:09 +00:00
Julien Templier 396bec13f9 LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound class
svn-id: r54247
2010-11-15 15:48:39 +00:00
Julien Templier 7d9c43d22b LASTEXPRESS: Fix frame leak in Entities::processFrame()
When not keeping the previous frame, the current frame was overwritten.
We now delete it before assigning a new value.

svn-id: r54246
2010-11-15 15:48:20 +00:00
Julien Templier a4d9d03601 LASTEXPRESS: Update Animation::process()
- Use Common::Rational to compute the current frame
 - Added check for _currentChunk != NULL
 - Add constructor to Chunk structure

svn-id: r54245
2010-11-15 15:48:08 +00:00
Matthew Hoops dbb3e1dded LASTEXPRESS: Don't use NULL in arithmetic (silences a warning)
svn-id: r54244
2010-11-15 15:20:48 +00:00
Yotam Barnoy fdc2a2cd81 CONFIGMAN: added defragmentation methods for one-plugin-at-a-time
One-plugin-at-a-time can have fragmentation caused by the ConfigManager if a game changes any configuration value. By reallocating and copying over the ConfigManager, we avoid this problem.

svn-id: r54243
2010-11-15 13:37:06 +00:00
Yotam Barnoy 457127d2a6 PLUGINS: moved plugin-at-a-time unload to be after deleting the engine.
Calling the Engine's destructor after unloading the plugin caused crashes.

svn-id: r54242
2010-11-15 13:36:34 +00:00
Julien Templier 8664535029 LASTEXPRESS: Protect sound queue accesses with mutex
Sound entries were being streamed before the data was fully loaded
and queue addition/removal could happen while the sound timer was
going through the queue (reported by digitall).

svn-id: r54241
2010-11-15 12:48:54 +00:00
David Turner 69e42a0d4d SCI: Workaround for bug #3109299 "QFG1VGA: Crash when leaving area east of Antwerp"
Extended current workarounds to cover QFG1VGA.

svn-id: r54239
2010-11-15 06:17:35 +00:00
Thierry Crozat 2b33642d54 GUI: Fix GMM labels translation for SCUMM engine
In the SCUMM engine (and maybe other engines), the GMM Dialog is created
in the engine constructor and before the window resolution is updated (so it is
still using the resolution from the Launcher). Therefore if the global scaler is x2
but a SCUMM game overwrite it to use x1, it was not using the correct labels
when they had a different translation for the lowres context.

svn-id: r54237
2010-11-14 21:10:56 +00:00
Paul Gilbert db24b2a014 LURE: Fix for Valgrind identified memory leaks
svn-id: r54236
2010-11-14 00:35:13 +00:00
Thierry Crozat 4e357549d5 COMMON: Fix TranslationManager
Revision 54206 broke translations support because it uncovered a bug in
the TranslationManager when reading the translations.dat file. In that file
all the stored string lengths include the terminating 0 but Common::String
expect a length without the terminating 0. Therefore all String objects
created from reading the translations.dat file had an incorrect size. This
caused the font file names to be wrong after adding the charset.

svn-id: r54235
2010-11-13 23:27:13 +00:00
Matthew Hoops f4af4d2366 VIDEO: Switch Truemotion 1 to RGB565 for potential use with SCI CLUT tables
svn-id: r54231
2010-11-13 19:15:31 +00:00
Walter van Niftrik ecaab84cb5 SCI: Fixup pathfinding start point when on polygon edge.
We now also fixup the start point when it's on the edge of an obstacle. If the
start point is also on the edge of the screen, the actor is now allowed to
walk through that obstacle to find his way to clear territory. This is based
on observation of SSCI behavior.

svn-id: r54230
2010-11-13 14:46:27 +00:00
Filippos Karapetis c64a4ce058 TOOLS: Added MSVC10 project files for the create_hugo tool
svn-id: r54229
2010-11-13 13:45:09 +00:00
Filippos Karapetis 325d93d5d8 HUGO: Fixed crash on exit when hugo.dat is not available
svn-id: r54228
2010-11-13 13:41:43 +00:00
Filippos Karapetis f3ea2315fc SCI: Fixed script bug #3108012 - "Hoyle1: Crash when changing Deal Speed in Hearts"
svn-id: r54226
2010-11-13 13:34:10 +00:00
David Turner 6c78ca4876 HUGO: Close two minor memory leaks.
Destructor added to SoundHandler and added delete for _intro in engine destructor.

svn-id: r54225
2010-11-13 08:08:58 +00:00
Sylvain Dupont db51fb3386 TOON: Fix free/malloc mismatch
svn-id: r54224
2010-11-13 02:59:46 +00:00
Sylvain Dupont a373bd4a53 TOON: Fix more memory leaks
Mainly leaks in audio and animations

svn-id: r54223
2010-11-13 02:44:34 +00:00
Sylvain Dupont 420c2c9ff2 TOON: Fixed menu music leak
svn-id: r54222
2010-11-13 01:37:37 +00:00
Sylvain Dupont 698f4c2b45 TOON: Walk animation improved
Smoothing direction changes. Still needs to be polished though.

svn-id: r54221
2010-11-13 01:15:37 +00:00
Matthew Hoops 405fd0b5eb SCI: Update resource types for SCI2.1/3
svn-id: r54220
2010-11-13 00:20:23 +00:00
Sylvain Dupont 8a4cc14b1a TOON: Fix audio crashs and more memory leaks
svn-id: r54219
2010-11-12 22:31:04 +00:00
Arnaud Boutonné fd82c3783d TOOL+HUGO: Misc modifications
- Fix H1 Dos bug (animations not showing in Hall and after)
- Get rid of _textSchedule and everything related
H1 Dos shoud now be completable (not tested yet)

svn-id: r54218
2010-11-12 18:05:23 +00:00
Filippos Karapetis 103ac9c566 Fixed signed/unsigned warning
svn-id: r54217
2010-11-12 13:05:54 +00:00
Filippos Karapetis cc403e542d SCI: Don't check for SCI2/SCI2.1 kernel types in SCI3 games.
Patch by lskovlun

svn-id: r54216
2010-11-12 00:01:13 +00:00
Filippos Karapetis 77da22290d SCI: kSave case 0 is actually kSaveGame. Based on a patch by lskovlun
svn-id: r54215
2010-11-11 23:51:43 +00:00
Filippos Karapetis 31719eeb28 SCI2: Make robots return immediately for now, till they're implemented
Based on a patch by lskovlun

svn-id: r54214
2010-11-11 23:48:01 +00:00
Filippos Karapetis ee85ca0007 SCI: Properly adding SCI3 script patches (a regression of r54211)
svn-id: r54213
2010-11-11 23:46:53 +00:00
Arnaud Boutonné a0199df818 HUGO: Cleanup, move several functions and variables to the object class
svn-id: r54212
2010-11-11 23:04:04 +00:00
Filippos Karapetis a65ab98726 SCI: Use the new CSC extension for SCI3 scripts
svn-id: r54211
2010-11-11 19:38:32 +00:00
Filippos Karapetis 8b14137c07 SCI: Some video related changes
- Now playVideo() is used when playing videos from the console (reducing
code duplication)
- Added support for 16bpp scaling in scale2x, so that the 16-bit color
Duck videos are scaled correctly

svn-id: r54210
2010-11-11 19:22:56 +00:00
Johannes Schickel c624202c39 COMMON: Fix compilation when translation support is disabled (regression from r54207).
svn-id: r54209
2010-11-11 19:20:26 +00:00
Filippos Karapetis ebee22a934 SCI: Added the "DUK" video folder to the Search manager
The DUK folder contains all of the recently supported Duck videos in
Phantasmagoria 2. play_video works now with the videos of Phantasmagoria
2 :)

svn-id: r54208
2010-11-11 18:42:22 +00:00
Max Horn bc09acfef1 LASTEXPRESS: Silence potential warnings about extra semicolons
svn-id: r54207
2010-11-11 18:22:55 +00:00
Max Horn cc61445599 COMMON: Cleanup translation manager code; add FIXME
svn-id: r54206
2010-11-11 18:22:35 +00:00
Matthew Hoops 8e274749ed VIDEO: Add support for DK3 in videos; fix sample rate location
svn-id: r54205
2010-11-11 17:05:33 +00:00
Matthew Hoops 876e38ca92 SOUND: Add DK3 IMA ADPCM decoder for duck videos
svn-id: r54204
2010-11-11 17:04:07 +00:00
Johannes Schickel cc84c2dcfb LASTEXPRESS: Remove superflous if check in SAFE_DELETE.
svn-id: r54203
2010-11-11 16:44:28 +00:00
Arnaud Boutonné b0bf67b424 TOOL: Suppress useless strings in textUtil
Also add DOS version for this text array

svn-id: r54202
2010-11-11 15:01:57 +00:00
Julien Templier 521f228ced LASTEXPRESS: Use SAFE_DELETE for class variables
svn-id: r54201
2010-11-11 14:19:44 +00:00
Matthew Hoops 7207d920bc VIDEO: Cleanup AVI audio in preparation for DK3
svn-id: r54200
2010-11-11 13:23:26 +00:00
Walter van Niftrik 97067a75db SCI: Allow paths along the edge of the screen in kAvoidPath.
Paths along the edge of the screen are now taken as a last resort. Fixes
bugs #3047418 and #3059595.

svn-id: r54199
2010-11-11 11:24:12 +00:00
Arnaud Boutonné 84e4c1742a HUGO: Suppress the use of Utils::Error, cleanup
svn-id: r54198
2010-11-11 10:36:10 +00:00
Filippos Karapetis 203ff5e19a SCI: Fixed bug #3104624 - "PQ3: Crash when loading saved game on the highway"
svn-id: r54197
2010-11-11 10:09:57 +00:00
Julien Templier 6711c5a8cf LASTEXPRESS: Fix more memory leaks
- Missing deallocation of queued frames in SceneManager
 - Leaking functor on each call to entity setup functions
 - Add SoundEntry destructor & better Entity cleanup

as reported by digitall

svn-id: r54196
2010-11-11 06:18:23 +00:00
Matthew Hoops da33617061 SCI: Allow duck videos to be played from the console
svn-id: r54195
2010-11-11 05:18:40 +00:00