Nicola Mettifogo
f5b7004fae
* Removed references to the current _backgroundInfo from parser code.
...
* Re-enabled masks (in BRA DOS).
svn-id: r33474
2008-07-31 15:15:42 +00:00
Nicola Mettifogo
0679889d98
Disabled masks in BRA Amiga, because the decoding is not known yet.
...
svn-id: r33473
2008-07-31 14:20:51 +00:00
Torbjörn Andersson
b79f069c58
Applied my patch #2030058 ("Workaround for incorrectly compressed FotAQ"), and
...
made a mention in NEWS that speech is played correctly now. Of course, we
should still provide a correctly compressed version at some point.
svn-id: r33471
2008-07-31 13:45:58 +00:00
Johannes Schickel
342d0bd287
- Added Common::mem_fun_ref for object references instead of pointers.
...
- Added simple tests for a little bit functionallity from common/func.h
svn-id: r33470
2008-07-31 13:36:13 +00:00
Nicola Mettifogo
6ed4beb1bf
Made changing of background more flexible, in that the engine can now configure its BackgroundInfo before passing it to Gfx.
...
svn-id: r33469
2008-07-31 12:50:43 +00:00
Nicola Mettifogo
591973c827
Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all z-buffering.
...
svn-id: r33468
2008-07-31 12:26:12 +00:00
Nicola Mettifogo
538fdcc61a
Set correct font for dialogues in BRA Amiga.
...
svn-id: r33467
2008-07-31 11:29:37 +00:00
Kari Salminen
bc0ec3f6d8
Update MSVC project files for Kyra Lands of Lore additions.
...
svn-id: r33466
2008-07-31 11:16:48 +00:00
Johannes Schickel
eb9462c1a0
Removed debugging leftover.
...
svn-id: r33464
2008-07-31 10:52:29 +00:00
Johannes Schickel
5e0df8ad8e
Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
...
svn-id: r33463
2008-07-31 10:47:15 +00:00
Max Horn
278a5fbb57
This time properly reverted my accidental commits of the osystem&configman patch (I didn't mean to commit it in the first place, still waiting for any replies to my corresponding scummvm-devel mail). Sorry for messing up so badly
...
svn-id: r33459
2008-07-30 16:26:38 +00:00
Nicola Mettifogo
55e4eb8d15
Fixed Win32 build, after Fingolfin's commits (probably because of the revert in revision 33456).
...
svn-id: r33458
2008-07-30 16:06:46 +00:00
Max Horn
9e4bc56861
Simplify/optimize/cleanup detectGameFilebased further
...
svn-id: r33457
2008-07-30 15:48:16 +00:00
Max Horn
4632a33087
Revert my accidental commit of the OSystem changes (oops)
...
svn-id: r33456
2008-07-30 15:44:34 +00:00
Max Horn
fbe4f0dd48
Simplified advanced detector file sys scanning code
...
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
04c05d3ca0
Advanced detector: split out part of detectGame into a new function detectGameFilebased; some cleanup
...
svn-id: r33453
2008-07-30 15:16:57 +00:00
Nicola Mettifogo
aa2ffe047b
Reordered initialization order to kill a ton of warnings.
...
svn-id: r33452
2008-07-30 15:01:15 +00:00
Kari Salminen
81cb493158
Debug printing a couple more relevant variables in addAni.
...
svn-id: r33446
2008-07-30 11:36:14 +00:00
Kari Salminen
4210defa29
Added some debug aids related to addAni and the processSeqList crashing.
...
svn-id: r33444
2008-07-30 11:03:52 +00:00
Filippos Karapetis
8941a96bf0
Make sure that save game descriptions are 0-terminated
...
svn-id: r33438
2008-07-30 08:23:04 +00:00
Nicola Mettifogo
3dbeeaf8a1
* Unified implementation of flow control opcodes in NS and BRA
...
* Simplified script execution loop and context
svn-id: r33437
2008-07-30 07:58:25 +00:00
Max Horn
1e2988b7f7
Changed BufferedReadStream to not permanently decrease its buffer size at the end of a stream (this would fail when using BufferedSeekableReadStream and then seeking back from the end); this also fixes a bug which let you seek back beyond the start of a stream (not that we currently support that in other streams)
...
svn-id: r33436
2008-07-30 07:39:41 +00:00
Nicola Mettifogo
8bdbbaf413
Reordered initialization lists to silence warning.
...
svn-id: r33432
2008-07-30 06:25:17 +00:00
Johannes Schickel
ca8a4eff26
- Formatting
...
- Improved Functor#Mem::isValid implementations.
svn-id: r33427
2008-07-29 20:21:54 +00:00
Johannes Schickel
e3a600b1d0
Little fix for documentation.
...
svn-id: r33426
2008-07-29 20:15:29 +00:00
Johannes Schickel
68f41290a3
Documentation for func.h.
...
svn-id: r33425
2008-07-29 20:09:30 +00:00
Max Horn
aaa4d104f7
Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as proposed on scummvm-devel
...
svn-id: r33419
2008-07-29 17:42:19 +00:00
Johannes Schickel
0a95a4814c
Added documentation for the functions in algorithm.h.
...
svn-id: r33416
2008-07-29 17:00:15 +00:00
Max Horn
57c069ad47
Mass detector: sort all newly detected games by target name before adding them to the config manager
...
svn-id: r33415
2008-07-29 16:29:28 +00:00
Max Horn
df6e8e8889
Added convenience accessor method GameDescriptor::preferredtarget
...
svn-id: r33414
2008-07-29 16:16:15 +00:00
Max Horn
bcac496615
CONFIGMAN: Store domains in the order they were added
...
svn-id: r33413
2008-07-29 16:12:42 +00:00
Max Horn
0be985ce83
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
...
svn-id: r33412
2008-07-29 16:09:10 +00:00
Kari Salminen
c9051fcfbd
Make sure processSeqList and purgeSeqList are only called in the main loop when running Operation Stealth. Mostly a precaution as the seqList should be totally empty when running Future Wars as it doesn't use it.
...
svn-id: r33410
2008-07-29 13:46:42 +00:00
Kari Salminen
d83c6d7d68
Added purgeSeqList function (Used in mainloop now). Let's see if this helps any...
...
Renamed functions:
* addScriptToList0 -> addScriptToGlobalScripts
* executeList0 -> executeGlobalScripts
* executeList1 -> executeObjectScripts
* purgeList1 -> purgeObjectScripts (Also added a clarifying TODO to this function)
* purgeList0 -> purgeGlobalScripts (Also added a clarifying TODO to this function)
svn-id: r33409
2008-07-29 13:44:14 +00:00
Nicola Mettifogo
f46ee2b70c
* Implemented pause/resume of command execution
...
* Implemented command opcode MOVE (not the script instruction).
svn-id: r33408
2008-07-29 12:59:55 +00:00
Kari Salminen
52700d59fd
Added a debug message to loadTempSaveOS's to check whether we loaded the whole savefile. Made objectStruct's clearing also clear x and y member variables in resetEngine.
...
svn-id: r33407
2008-07-29 12:56:32 +00:00
Nicola Mettifogo
f31cf5d94c
* Added flexible verb configuration for both NS and BRA.
...
* Objects can now be really opened and closed in BRA.
svn-id: r33405
2008-07-29 10:22:50 +00:00
Kari Salminen
0365c45b8c
Rearranged parts of the Operation Stealth savegame loading routine.
...
- Emulating the Future Wars savegame loading routine and hoping for the best.
- Fixes an array out of bounds access when loading the global scripts.
Now the loading crashes in the mainloop in processSeqList!
But at least we got a bit farther this time. More fixing to come...
svn-id: r33404
2008-07-29 10:13:53 +00:00
Nicola Mettifogo
884b753c73
Added dialogue text rendering for BRA.
...
svn-id: r33402
2008-07-29 09:44:05 +00:00
Johannes Schickel
a1f48b91ea
Formatting.
...
svn-id: r33401
2008-07-29 09:23:54 +00:00
Johannes Schickel
290f76a623
Added a reset method to SharedPtr, which allows NULLifying it.
...
svn-id: r33400
2008-07-29 09:16:53 +00:00
Travis Howell
598394e5b8
Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.
...
svn-id: r33394
2008-07-29 04:06:10 +00:00
Travis Howell
fd40cb4342
Add check common directories, in loadScenery() for Amiga version of BRA.
...
svn-id: r33393
2008-07-29 04:00:07 +00:00
Nicola Mettifogo
c8400e9725
* Fixed positioning of balloons and faces in BRA (dos, at least).
...
* Adapted loading of faces.
svn-id: r33392
2008-07-29 03:14:35 +00:00
Max Horn
e5c09b018a
BASE: in runGame, do not set addDefaultDirectory() the game path before invoking createInstance() -- detectors must use FSNode for detection, not rely on File::open
...
svn-id: r33389
2008-07-29 00:54:28 +00:00
Max Horn
d848543ee4
Changed advanced detector to *always* use the FSNode API for detection (i.e. killed second code path which used File::open trial&error directory 'scanning')
...
svn-id: r33388
2008-07-29 00:50:12 +00:00
Max Horn
e1520c6462
Changed output of --test-detector: multiple hits with same gameid now only are a warning, not a failure
...
svn-id: r33387
2008-07-29 00:49:44 +00:00
Max Horn
4a9104515c
SDL: Properly init vars related to mixer double buffering
...
svn-id: r33385
2008-07-29 00:02:06 +00:00
Nicola Mettifogo
7baf727790
Enforcing use of nullZonePtr only for nulling out pointers, as it is useless for comparisons.
...
svn-id: r33384
2008-07-28 23:21:03 +00:00
Max Horn
09f70b6408
Fixing 'warning: comparison of unsigned expression < 0 is always false'
...
svn-id: r33383
2008-07-28 22:21:11 +00:00