Commit Graph

26314 Commits

Author SHA1 Message Date
Florian Kagerer
b58beb242f HOF: bug fix for FM-Towns music when using output rates other than 22050 khz
svn-id: r33523
2008-08-02 14:35:38 +00:00
Johannes Schickel
a023dba941 Fixed regressions in kyra1 amiga.
svn-id: r33522
2008-08-02 14:32:05 +00:00
Johannes Schickel
0cbaaf736b Proper fix for bug #2035459 "KYRA1: long savegame names cause garbage".
svn-id: r33519
2008-08-02 11:57:06 +00:00
Johannes Schickel
8c5360c833 Fix for bug #2035459 "KYRA1: long savegame names cause garbage".
svn-id: r33518
2008-08-02 11:40:09 +00:00
Nicola Mettifogo
c349a8dcd9 * Increasing max number of allowed token on one line.
* Increasing buffer size to match old parser.

svn-id: r33512
2008-08-02 03:19:45 +00:00
Nicola Mettifogo
86079c20f5 Fixed issues detected by DrMcCoy's obnoxious compiler. ;)
svn-id: r33511
2008-08-02 02:43:05 +00:00
Nicola Mettifogo
3ec28ce42c Removed debug code I forgot a long time ago ;)
svn-id: r33510
2008-08-02 02:26:09 +00:00
Nicola Mettifogo
15aada52c4 * Added a preprocessor to deal with the crappy location scripts in BRA.
* Added some comments on how the parser and related code should be changed to make things smoother.

svn-id: r33509
2008-08-02 02:24:36 +00:00
Max Horn
a89fb6b7fb Moved Ludde & yaz0r to a new credits section, retired project leaders
svn-id: r33496
2008-08-01 16:33:22 +00:00
Max Horn
fb122a08eb Print a warning if unsupported XMIDI controllers are used
svn-id: r33495
2008-08-01 16:31:40 +00:00
Filippos Karapetis
3f56ff8742 Fixed crash on exit from commit #32742 - the memory leak was only in IHNM, not ITE (in ITE, the 4 sprite lists are actually one)
svn-id: r33492
2008-08-01 14:27:40 +00:00
Filippos Karapetis
0145dd38d9 Added load confirmation dialog for IHNM, like in the original.
Fixes bug #1971699 - "IHNM: No Load Game Confirmation"

svn-id: r33490
2008-08-01 14:03:20 +00:00
Lars Persson
e89a01dc63 Enabled the correct features for standard builds
svn-id: r33478
2008-07-31 17:33:48 +00:00
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