Commit Graph

38868 Commits

Author SHA1 Message Date
Filippos Karapetis
b2f2c48c7e Added a workaround for broken script 377 in Castle of Dr. Brain, room 320. It constantly tries to free the saved area rectangle (underbits) underneath the popup window
svn-id: r50352
2010-06-26 22:50:39 +00:00
Filippos Karapetis
e2026f4a26 Zero out the memory pointer of a hunk when freeing it
svn-id: r50351
2010-06-26 22:48:47 +00:00
Johannes Schickel
ce111a39df Add flag to set USE_DETECTLANG in create_msvc.
svn-id: r50350
2010-06-26 22:45:53 +00:00
Johannes Schickel
14fdd11c04 Fix compilation with our default build system when USE_DETECTLANG is specified.
svn-id: r50349
2010-06-26 22:44:43 +00:00
Johannes Schickel
578cdb2aeb Implement support for auto detection of the users preferred locale on Windows.
Note that this might break support for Windows versions older than Win2k,
at least according to the MSVC docs GetLocaleInfo is only supported by Win2k+.

I added a comment about that though.

svn-id: r50348
2010-06-26 22:32:51 +00:00
Martin Kiewitz
25cb3092f4 SCI: added comment to vm-workaround table
svn-id: r50347
2010-06-26 21:57:13 +00:00
Johannes Schickel
09b4f7cbed Define WIN32_LEAN_AND_MEAN before including windows.h.
This will cause our code to include less functionality, but might on the other hand fasten up the compilation.

svn-id: r50346
2010-06-26 21:55:52 +00:00
Willem Jan Palenstijn
af755b0b3d Further improve readability
svn-id: r50345
2010-06-26 21:36:25 +00:00
Martin Kiewitz
1ca0cdc8b1 SCI: fix warning
svn-id: r50341
2010-06-26 20:47:28 +00:00
Willem Jan Palenstijn
caded4f892 Improve readability
svn-id: r50340
2010-06-26 20:28:42 +00:00
Martin Kiewitz
710fc6c71e SCI: do boundary checking when loading sci1 sounds and mixing them together. The final end credits song (resource 699) in kq5 has some channels with invalid offsets, crashing ScummVM before
svn-id: r50339
2010-06-26 19:55:49 +00:00
Matthew Hoops
e5e90eb8a8 Add a debug console command to Riven for displaying combinations to puzzles.
svn-id: r50338
2010-06-26 19:09:45 +00:00
Matthew Hoops
2b9f4e5068 Gehn's cage should be closed initially, so initialize ocage to 1.
svn-id: r50337
2010-06-26 18:44:32 +00:00
Matthew Hoops
c2cb3bb799 Add the page turning sound for the Riven journals and stub off the swipe transition used when turning pages.
svn-id: r50336
2010-06-26 18:27:18 +00:00
Johannes Schickel
58fcda82f3 Remove support for translation of console messages.
In recent discussions on -devel it turned out, that this
feature is rather superfluous and instead we should rather
implement a proper error reporting in our GUI.

I also removed the dependency on iconv along with this.

svn-id: r50335
2010-06-26 18:07:41 +00:00
Martin Kiewitz
9a0e2e9c46 SCI: add another unint temp workaround for kq5 - when playing harp for the harpies
svn-id: r50334
2010-06-26 17:37:28 +00:00
Matthew Hoops
554640ee8a Fix saving while viewing the inventory in Riven and cleanup the save/load code.
svn-id: r50333
2010-06-26 17:21:50 +00:00
Martin Kiewitz
61295bcc4e SCI: pseudo-adding workaround for kq5 room 25 witch forest
svn-id: r50332
2010-06-26 16:54:09 +00:00
Martin Kiewitz
41aca44b03 SCI: another commit for adding a workaround for islang room 300 again (although i already commited it already, stupid torturegit)
svn-id: r50330
2010-06-26 16:27:01 +00:00
Martin Kiewitz
79b5e7d77e SCI: fixing stupid torturegit conflict merge
svn-id: r50329
2010-06-26 16:21:28 +00:00
Jordi Vilalta Prat
8008e09ea3 GUI: Update translations after the last message changes
svn-id: r50328
2010-06-26 16:02:40 +00:00
Jordi Vilalta Prat
4102b4a682 GUI: Add the catalan translation
svn-id: r50327
2010-06-26 15:59:06 +00:00
Willem Jan Palenstijn
0eb128ee47 Add missing include for translations
svn-id: r50326
2010-06-26 15:55:53 +00:00
Willem Jan Palenstijn
691323f16e Fix format string warning
svn-id: r50325
2010-06-26 15:55:40 +00:00
Jordi Vilalta Prat
063cef0c28 GUI: Add and improve some messages to translate
svn-id: r50324
2010-06-26 15:48:03 +00:00
Jordi Vilalta Prat
21831b6183 GUI: If no language is explicitly selected and autodetection is available, select "<default>" (which is already in use) instead of English.
svn-id: r50323
2010-06-26 15:25:47 +00:00
Filippos Karapetis
783b71d585 Load the correct speech file pack for the intro of Rex Nebular
svn-id: r50321
2010-06-26 13:28:22 +00:00
Martin Kiewitz
a4f139c4d2 SCI: adding more comment for export workaround (sq1)
svn-id: r50318
2010-06-26 12:20:40 +00:00
Martin Kiewitz
cb5d9f6af5 SCI: added workaround for island of dr. brain elements puzzle
svn-id: r50317
2010-06-26 12:04:15 +00:00
Martin Kiewitz
e4153044d4 SCI: reverting r50315 - had the deadlock just again...
svn-id: r50316
2010-06-26 11:48:42 +00:00
Martin Kiewitz
be75870100 SCI: fixing deadlock possiblity on samples (sq3 deadlocked on door opening/where am i on me)
svn-id: r50315
2010-06-26 11:43:14 +00:00
Paul Gilbert
8eb206b6b9 Bugfix to correctly handle transparency when rendering scaled sprites
svn-id: r50314
2010-06-26 11:31:04 +00:00
Martin Kiewitz
18d9f917a0 SCI: set _driver to 0 in MidiParser_SCI destructor to stop the MidiParser destructor call allNotesOff() which would affect all channels all the time - fixes sq1 ship flying away sound getting stopped when ladder falls down
svn-id: r50313
2010-06-26 11:16:25 +00:00
Paul Gilbert
d7fe988251 Bugfix to dirty area handling to prevent creation of invalid rects
svn-id: r50312
2010-06-26 11:14:38 +00:00
Martin Kiewitz
906b3221f5 SCI: removing fixme (issue got already solved)
svn-id: r50311
2010-06-26 10:51:38 +00:00
Martin Kiewitz
16f854ba64 SCI: dont call midiparser->stop() if paused sound gets stopped
svn-id: r50310
2010-06-26 10:47:38 +00:00
Martin Kiewitz
cf3a37585c SCI: making hack inside kAbs hoyle1 specific, added fixme
svn-id: r50309
2010-06-26 09:34:14 +00:00
Martin Kiewitz
258494f036 SCI: adding capability to resolve local calls as well for valgrind-sci, adding another workaround for a script bug in sq1 (this time export 1 gets called locally)
svn-id: r50308
2010-06-26 08:29:55 +00:00
Paul Gilbert
70e4a8605b Minor bugfix for correctly positioning where background sprites are drawn
svn-id: r50298
2010-06-26 00:37:44 +00:00
Paul Gilbert
ab261facee Added extra validation for sprite decoding
svn-id: r50297
2010-06-26 00:36:43 +00:00
Johannes Schickel
5ba7be88b8 Fix formatting again.
svn-id: r50296
2010-06-26 00:28:29 +00:00
Paul Gilbert
e328bd8f7f Added support for Fab compressed sprite sets
svn-id: r50295
2010-06-25 23:43:07 +00:00
Martin Kiewitz
56d9acad90 SCI: implementing workaround for issue in room 58 sq1 (operation lt, doing comparsion against pointer)
svn-id: r50294
2010-06-25 22:48:55 +00:00
Florian Kagerer
56c6907477 AUDIO: fix comments
svn-id: r50293
2010-06-25 22:37:19 +00:00
Martin Kiewitz
fc4fa25ec4 SCI: adding capability for detecting export-calls into valgrind-sci, adding workaround for export 1 of script 703 in sq1 (gets called from various objects)
svn-id: r50292
2010-06-25 22:34:53 +00:00
Florian Kagerer
b96c0a1f07 SCI: fix typo
svn-id: r50291
2010-06-25 21:04:22 +00:00
Florian Kagerer
e1a333570e SCI: set MDT_PREFER_GM instead od MDT_PREFER_MT32
svn-id: r50289
2010-06-25 20:58:52 +00:00
Florian Kagerer
c35e350531 AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
2010-06-25 20:51:57 +00:00
Martin Kiewitz
683d54a746 SCI: adding workaround for uninitialized read in sq1
svn-id: r50287
2010-06-25 20:46:08 +00:00
Johannes Schickel
784c655e82 Formatting fixes.
svn-id: r50285
2010-06-25 19:30:01 +00:00