Filippos Karapetis
9c92bd1b81
The parser vocabulary remains static throughout the game, thus it has been removed from the engine state
...
svn-id: r49373
2010-06-01 15:11:20 +00:00
Filippos Karapetis
e083c20da1
The system strings segment is a fixed segment of the segment manager, which doesn't change during the game, thus move all the system strings code and variables inside the segment manager
...
svn-id: r49372
2010-06-01 14:41:48 +00:00
Tony Puccinelli
d9e4607869
makefile tweaked a bit more towards accomodating loadable modules for ps2
...
svn-id: r49371
2010-06-01 05:27:35 +00:00
Alejandro Marzini
38dbbca964
Removed OSystem pointer. Added left initialization code to file subsystem.
...
svn-id: r49370
2010-06-01 04:02:44 +00:00
Alejandro Marzini
0bc8f4c8b4
SDL audio subsystem created.
...
svn-id: r49369
2010-06-01 04:00:55 +00:00
Tony Puccinelli
e04b6b7ea0
changed ps2 makefile and other files to use the ps2loader
...
svn-id: r49368
2010-06-01 01:05:09 +00:00
Tony Puccinelli
2712012d0e
minor modification to accomodate dynamic plugins for ps2
...
svn-id: r49367
2010-06-01 00:57:45 +00:00
Jordi Vilalta Prat
400542a1fe
Revert the rest of 49362, which wasn't meant for trunk
...
svn-id: r49366
2010-05-31 23:04:30 +00:00
Jordi Vilalta Prat
9d72dde5e7
Fix trunk compilation (don't try to compile non-existing files)
...
svn-id: r49365
2010-05-31 22:58:22 +00:00
Filippos Karapetis
25fb93465d
Added a new console command, verify_scripts, used for sanity checking of SCI1.1-SCI2.1 game scripts
...
svn-id: r49364
2010-05-31 22:57:05 +00:00
Tony Puccinelli
c9a38abf60
modifications to get the ps2 to use the ps2loader
...
svn-id: r49363
2010-05-31 22:41:46 +00:00
Matthew Hoops
2138fe0d5a
Fix our interpretation of the audio compression types to what FFmpeg currently does. Should fix bug #3009282 .
...
svn-id: r49362
2010-05-31 21:29:43 +00:00
Filippos Karapetis
844ef9ba1a
Merged all the script relocation code inside script_instantiate(), and changed the warning when reading an invalid species into an error (as it's severe, and if it happens it means something is seriously wrong)
...
svn-id: r49361
2010-05-31 18:35:13 +00:00
Filippos Karapetis
de2e935b2c
Wrote the initialization code for the exports and synonyms table to make more sense and fixed a bug with the initialization of the synonyms pointer, introduced with rev #49336
...
svn-id: r49360
2010-05-31 18:31:37 +00:00
Max Horn
443c0d4f93
DS: Use gScummVMVersion in dsmain.cpp; merge 1.1.1 changes in readme_ds.txt
...
svn-id: r49359
2010-05-31 18:28:26 +00:00
Max Horn
6c44df455e
Add OS2 specific files to repository
...
svn-id: r49358
2010-05-31 18:22:29 +00:00
Johannes Schickel
5bb4fadc4c
Fix change in r49356, Common::strlcpy should only be used on zero terminated source strings.
...
The original code change with r49086 did only aimed at zero terminating
the szFilename string (as the comment suggests), so I now changed it
to use memcpy and a manual placement of the terminating zero.
svn-id: r49357
2010-05-31 18:05:39 +00:00
David Turner
d1da820a75
Fix for DW2 engine abort with message "Cannot find file hienergy.sc!".
...
Bug introduced by r49086 change which could trim the last character of filenames.
svn-id: r49356
2010-05-31 15:16:46 +00:00
Martin Kiewitz
753fdd6c12
SCI: break on anything, warn on anything but spaces in kReadNumber
...
svn-id: r49355
2010-05-31 13:52:07 +00:00
Filippos Karapetis
b5a2e3c758
Fixed operator precedence warning
...
svn-id: r49353
2010-05-31 12:43:28 +00:00
Willem Jan Palenstijn
2bebba8c94
Fix warning, whitespace
...
svn-id: r49352
2010-05-31 12:38:15 +00:00
Filippos Karapetis
ba11596572
SCI: Silenced warning when no audio decoder is compiled in
...
svn-id: r49351
2010-05-31 12:36:42 +00:00
Filippos Karapetis
ff40247376
Hopefully fixed compilation
...
svn-id: r49350
2010-05-31 12:27:13 +00:00
Filippos Karapetis
cc025ace18
The code that loads saved game from the launcher
...
can now load SCI2 saved games. Added an explanation
why the injected call is necessary
svn-id: r49349
2010-05-31 12:13:50 +00:00
Martin Kiewitz
a963917e89
SCI: added TODO at kReadNumber space code
...
svn-id: r49348
2010-05-31 12:11:42 +00:00
Paul Gilbert
088e6456ea
In progress work implementing the animation player
...
svn-id: r49347
2010-05-31 12:10:30 +00:00
Filippos Karapetis
3f4302214c
The save/load object init code is now unified with the regular object init code
...
svn-id: r49346
2010-05-31 11:25:59 +00:00
Martin Kiewitz
9d50dac101
SCI: skip spaces in kReadNumber - this happens in lsl3 intro
...
svn-id: r49345
2010-05-31 09:31:05 +00:00
Martin Kiewitz
7001d3e615
SCI: when getting invalid chars in kReadNumber don't error() out, but create a warning - we get invalid chars in the intro of lsl5, cause currently unknown
...
svn-id: r49344
2010-05-31 09:21:15 +00:00
Filippos Karapetis
66d4bddb30
Merged several script instantiation-related functions inside script_instantiate()
...
svn-id: r49343
2010-05-31 08:11:49 +00:00
Filippos Karapetis
05357d0f2a
Cleanup
...
svn-id: r49342
2010-05-31 07:34:18 +00:00
Neeraj Kumar
a8a8ea31df
the basic testbed skeleton, removed any trace of quux
...
svn-id: r49341
2010-05-31 04:58:19 +00:00
Matthew Hoops
2a0f91444f
Ignore v2 compressed audio chunks instead of treating them as Huffman DPCM. Should fix playback of at least the video portion of those videos (found in later Broken Sword releases).
...
svn-id: r49340
2010-05-31 01:27:57 +00:00
Filippos Karapetis
693618d89a
Slight cleanup
...
svn-id: r49339
2010-05-31 00:04:38 +00:00
Filippos Karapetis
50cd1d1da4
Limited access to the script export table and synonyms block
...
svn-id: r49338
2010-05-30 23:31:33 +00:00
Max Horn
4e25867a67
SCI: Merge setLockers(1) call into Script::init
...
svn-id: r49337
2010-05-30 23:00:32 +00:00
Filippos Karapetis
a0ee93ece5
SCI: Script exports and synonyms are now initialized when a script is loaded. Removed a sanity check inside script_instantiate_sci0 for a bug which no longer exists
...
svn-id: r49336
2010-05-30 21:49:07 +00:00
Matthew Hoops
e13abd77e9
Add md5's for Myst ME and Riven DVD French.
...
svn-id: r49335
2010-05-30 21:44:26 +00:00
Filippos Karapetis
3b96e4833e
Cleanup
...
svn-id: r49334
2010-05-30 20:30:07 +00:00
Filippos Karapetis
1fd3877ec7
Cleanup
...
svn-id: r49333
2010-05-30 20:18:42 +00:00
Filippos Karapetis
dc4d61f718
- Merged the SCI0 scriptRelocate() and SCI11 heapRelocate() functions inside relocate(). scriptRelocate checked one more relocation entry, which seems wrong, so we're now checking for the correct number of relocations in all SCI versions
...
- Re-added the error when script + heap exceed 64KB (better than an assert) - this should theoretically never happen, and it never has for the games tested
- Removed the relocated sanity check - again, it shouldn't occur (else something else is wrong)
svn-id: r49332
2010-05-30 20:06:50 +00:00
Filippos Karapetis
9c2da78ba9
kScriptID can be used to load scripts with no exports. Don't throw warnings in this case if no export is requested, as it's perfectly normal behavior
...
svn-id: r49331
2010-05-30 20:01:25 +00:00
Filippos Karapetis
016862ac3a
Moved setScriptSize() inside Script::init(), and removed a FIXME - the SCI1.1 word-align is done inside Script::init()
...
svn-id: r49330
2010-05-30 18:45:07 +00:00
Filippos Karapetis
29c2f30558
Unified the script loading code, and marked an issue with the SCI11 heap addresses
...
svn-id: r49329
2010-05-30 17:02:21 +00:00
Filippos Karapetis
5cdb13b3e8
Made load_script() a member of the Script class
...
svn-id: r49328
2010-05-30 16:38:08 +00:00
Filippos Karapetis
c32e88fe0b
Limit access to the _bufSize, _scriptSize and _heapSize members of the Script class
...
svn-id: r49327
2010-05-30 16:14:31 +00:00
Filippos Karapetis
0276ec835e
Fixed findGameObject() for SCI11 games
...
svn-id: r49326
2010-05-30 15:17:29 +00:00
Johannes Schickel
ff3f0f5d65
Split test cases for internal and external storage.
...
svn-id: r49325
2010-05-30 13:42:04 +00:00
Johannes Schickel
9521f8d008
Typo fixes.
...
svn-id: r49324
2010-05-30 13:41:40 +00:00
Johannes Schickel
f02e31f2fc
Fix non-const version of Common::String::begin.
...
Common::String::begin now assures the storage is a unique one, i.e. there are
no other Common::String objects pointing at it. This allows for safe use of
the writable iterators (and thus fixes the test case added with my last commit)
svn-id: r49323
2010-05-30 13:10:44 +00:00