Johannes Schickel
d93698fc1c
BACKENDS: Add a basic logger implementation.
...
This is the logger I posted at our patch tracker. Item #3115757
"OSYSTEM: Basic logger". It includes the changes proposed by Max.
It is currently not hooked into any backend, since we still need to decide
where to log files, whether to have multiple log files etc.
svn-id: r54451
2010-11-24 00:08:26 +00:00
Thierry Crozat
64f959ea0e
I18N: Updating French, Portuguese and Hungarian translations.
...
All other translation files are also updated from the template file but without
change in the translations.
svn-id: r54450
2010-11-23 22:49:45 +00:00
Thierry Crozat
f20da5f98c
I18N: Add translation of the SCUMM help dialog.
...
svn-id: r54449
2010-11-23 22:47:20 +00:00
Filippos Karapetis
d66c43eb5e
SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when shooting with laser", by applying the one for the English version
...
svn-id: r54447
2010-11-23 22:42:03 +00:00
Max Horn
a914b97559
TINSEL: Fix support for file names with a trailing dot
...
When copying data files with 8.3 names from a CD, they sometimes end up
with a trailing dot, e.g. "INDEX." instead of "INDEX". Comon::File
supports this, but in r54392 Tinsel stopped using Common::File.
This commit also removes the useless SeekableSubReadStream wrapper
around the actual file stream.
svn-id: r54446
2010-11-23 22:33:26 +00:00
Max Horn
1cc80de1d9
COMMON: Add SeekableReadStreamEndian class
...
svn-id: r54445
2010-11-23 22:33:10 +00:00
Max Horn
be822d8bc2
MOHAWK: Pass Common::Strings directly to SaveFileManager, instead of first converting to a C string
...
svn-id: r54444
2010-11-23 22:32:55 +00:00
Max Horn
121056c12f
MOHAWK: Pass objs by const ref not by value
...
svn-id: r54443
2010-11-23 22:32:39 +00:00
Max Horn
830c39a687
SWORD2: Reduce dependencies on common/memstream.h
...
svn-id: r54442
2010-11-23 22:27:40 +00:00
Max Horn
12d5151ff4
COMMON: Remove default value for endianess in ReadStreamEndian subclasses
...
svn-id: r54441
2010-11-23 22:27:20 +00:00
Max Horn
5d791cb090
TEST: Add/extend MemoryReadStream(Endian) test cases
...
svn-id: r54440
2010-11-23 22:27:00 +00:00
Max Horn
b485d0ee49
TINSEL: Turn TinselFile into a SeekableReadStream
...
svn-id: r54439
2010-11-23 22:26:43 +00:00
Max Horn
382982d6e3
COMMON: Add ReadStreamEndian mixin class
...
svn-id: r54438
2010-11-23 22:26:27 +00:00
Max Horn
c9fdaa7417
TINSEL: Restrict use of memstream.h & substream.h
...
svn-id: r54437
2010-11-23 22:26:09 +00:00
Max Horn
ae919f3ebd
COMMON: Remove XOR decoding capability from MemoryReadStream
...
svn-id: r54436
2010-11-23 22:25:53 +00:00
Max Horn
09ba53dcfb
SCUMM: Use explicit XOR decoding code in BaseScummFile subclasses
...
This made it possible to turn some MemoryReadStream pointers into plain
SeekableReadStream pointers.
svn-id: r54435
2010-11-23 22:25:36 +00:00
Max Horn
54e0390752
SCUMM: Replace Common::File uses by SeekableReadStream and SearchMan
...
svn-id: r54434
2010-11-23 22:25:10 +00:00
Thierry Crozat
55e3ed0016
I18N: Fix generation of translation template file from source code
...
This fix a regression introduced when GuiManager.cpp was renamed into
gui-manager.cpp
svn-id: r54433
2010-11-23 21:37:26 +00:00
Matthew Hoops
90cabfef38
MOHAWK: Find the small marble images by string; should fix German version
...
svn-id: r54431
2010-11-23 18:29:45 +00:00
Matthew Hoops
799757132f
MOHAWK: Remove the no longer needed RLE8 hack
...
svn-id: r54430
2010-11-23 18:15:45 +00:00
Filippos Karapetis
d438b739cf
SCI: Also send a sustain off on a notes off event (patch from bug #3116608 )
...
svn-id: r54429
2010-11-23 16:03:30 +00:00
Filippos Karapetis
23bd8a1c26
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either
...
svn-id: r54428
2010-11-23 15:47:54 +00:00
Filippos Karapetis
c140e43a35
SCI: Added entries for the GOG versions of Phantasmagoria 1 and 2 (patch #3112884 )
...
svn-id: r54427
2010-11-23 12:07:21 +00:00
Julien Templier
b6d97e492c
TOOLS: Update create_project makefile
...
svn-id: r54426
2010-11-23 11:54:20 +00:00
Julien Templier
500ae85c86
TOOLS: Add missing files for create_project
...
svn-id: r54425
2010-11-23 11:47:52 +00:00
Julien Templier
3cb5c64477
TOOLS: Move MSBuild and Visual Studio project providers to separate files
...
- Add option --build-events to run custom pre/post build events as part
of the build (defaults to false and VS2010 only ATM)
- Only run build events as part of VS2010 build with all engines enabled
(ie. dev build)
svn-id: r54424
2010-11-23 11:22:31 +00:00
Julien Templier
569ad6caba
TOOLS: Extract revision from svn/hg/git at build time in Visual Studio
...
- Simplify custom file output (for VS2010)
- Fix postbuild.cmd error output
svn-id: r54423
2010-11-23 11:14:17 +00:00
Arnaud Boutonné
7711cc57d6
HUGO: Rewrite saveObjects() and restoreObjects()
...
This fixes (at least for me) save and restore. saveEvents()
and restoreEvents() still have to be rewritten.
svn-id: r54422
2010-11-22 22:49:24 +00:00
Arnaud Boutonné
8bb43361cb
HUGO: Suppress useless enums, cleanup
...
svn-id: r54421
2010-11-22 19:50:57 +00:00
Filippos Karapetis
fe17f26af8
SCI: Added support for the keypad +/- keys
...
svn-id: r54420
2010-11-22 18:39:06 +00:00
Matthew Hoops
26bf0e8176
MOHAWK: Fix a typo fail (thanks, fuzzie)
...
svn-id: r54419
2010-11-22 18:09:31 +00:00
Matthew Hoops
cb843daec0
MOHAWK: Have MohawkResource::open() return a bool for success/failure
...
svn-id: r54418
2010-11-22 18:07:33 +00:00
Matthew Hoops
9d4827b5e1
MOHAWK: Fix gspit dome from always opening
...
svn-id: r54417
2010-11-22 17:51:54 +00:00
Matthew Hoops
cc6c7e33bf
MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versions
...
svn-id: r54416
2010-11-22 17:50:30 +00:00
Filippos Karapetis
eba5c441b2
SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"
...
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the
class for object variables
svn-id: r54415
2010-11-22 10:23:53 +00:00
Filippos Karapetis
d8afddac63
SCI: Patched the QFG3 character import screen the same way as with QFG2
...
This prevents random crashes and slow refreshing, same as with QFG2
svn-id: r54414
2010-11-22 00:20:00 +00:00
Filippos Karapetis
0b06a1fe7b
SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996 )
...
Script 944 does constant reallocations whenever the selection changes,
which leads to all sorts of unpredictable crashes. Thanks to waltervn for
his help on this issue
svn-id: r54413
2010-11-21 23:43:14 +00:00
Thierry Crozat
44669ac54d
I18N: Backport add Brazilian Portuguese translation
...
svn-id: r54412
2010-11-21 22:16:02 +00:00
Thierry Crozat
8c0160cca6
I18N: Add Brazilian Portuguese (from patch #3114669 )
...
svn-id: r54411
2010-11-21 22:12:31 +00:00
David Turner
a00668331c
QUEEN: Correct uninitialised read in Queen Adlib driver found by Valgrind.
...
svn-id: r54410
2010-11-21 18:42:00 +00:00
Johannes Schickel
3d83667504
CRUISE: Slight formatting fix.
...
svn-id: r54409
2010-11-21 12:51:49 +00:00
David Turner
e48930c16e
CRUISE: Fix Memory Accesses Errors and Leaks Reported By Valgrind
...
Most of these fixes are fairly simple, though the clamping of ArrayStates accesses in object.cpp _might_ cause regressions. None are obvious on basic playtest check, but the game will need a full playtest.
svn-id: r54408
2010-11-21 12:05:15 +00:00
Filippos Karapetis
8045c4f87a
SCI: Fix for bug #3037996 - "QFG2: Crash during import dialog after time (import works)"
...
svn-id: r54407
2010-11-21 11:04:52 +00:00
Filippos Karapetis
788598a689
SCI: Fixed the "version" console command in SCI1.1 and earlier games
...
svn-id: r54406
2010-11-21 10:31:02 +00:00
Paul Gilbert
cb2a20cbd0
CRUISE: Bugfix for #3064846 - Raoul appearing in Book screen
...
svn-id: r54405
2010-11-21 05:31:13 +00:00
Filippos Karapetis
f2498b54ce
SCI: Added 3 uninitialized temp fixes for the RAMA demo, which is now working
...
svn-id: r54404
2010-11-21 02:08:35 +00:00
Filippos Karapetis
57d9de00f8
SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54403
2010-11-21 02:07:55 +00:00
Filippos Karapetis
ac7c488c7c
SCI: kArray wasn't changed in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54402
2010-11-21 02:06:20 +00:00
Filippos Karapetis
97d31c6ac6
SCI: Added the kString/kArray type in the "version" console command
...
svn-id: r54401
2010-11-21 00:58:06 +00:00
Filippos Karapetis
ffcd6783c7
SCI: Removed incorrect pointer arithmetic support for SCI2 strings
...
There was never pointer arithmetic support in SCI2 and newer games
svn-id: r54400
2010-11-21 00:49:54 +00:00