Commit Graph

1719 Commits

Author SHA1 Message Date
Max Horn
5308f12c75 Ported AMIGA specific file buffering 'hack' from class File to StdioStream
svn-id: r34345
2008-09-05 11:59:33 +00:00
Nicola Mettifogo
12106a1599 Removed useless dependencies from common/file.h in common code. When complete removal was not possibile, dependency has been pushed to the cpp files from the headers.
svn-id: r34343
2008-09-05 11:41:39 +00:00
Lars Persson
5c0b91397d Updated Symbian OS file actions with ferror and fflush.
svn-id: r34340
2008-09-05 11:31:51 +00:00
Max Horn
5409b2b456 Changed FSDirectory::getSubDirectory to return a FSDirectory pointer instead of a SharedPtr
svn-id: r34334
2008-09-04 20:03:08 +00:00
Matthew Hoops
9cb70f6ba7 correct a typo (thanks to salty-horse)
svn-id: r34320
2008-09-03 21:37:19 +00:00
Johannes Schickel
6601e6ae7c Minor formatting cleanup.
svn-id: r34319
2008-09-03 19:07:38 +00:00
Max Horn
ad87f08192 Changed some code to use the new Stream::readLine() method
svn-id: r34318
2008-09-03 18:40:49 +00:00
Max Horn
3cb4cfa06f Fix nasty off-by-one errors
svn-id: r34317
2008-09-03 18:38:01 +00:00
Max Horn
c7a0b52c17 Fixed Stream::readLine implementation to match its doxygen comment
svn-id: r34316
2008-09-03 18:07:31 +00:00
Max Horn
57e724bfc3 Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; added a new alternate SeekableReadStream::readLine() instead
svn-id: r34315
2008-09-03 17:53:25 +00:00
Max Horn
c3d7c908e8 Modified Common::Str to use exponential growth for its storage; also changed the meaning of 'capacity' from 'max length of string' to 'size of storage' (i.e. added one)
svn-id: r34313
2008-09-03 17:39:18 +00:00
Max Horn
e1918341af Changed Archive::openFile to return a SeekableReadStream* instead of a FilePtr
svn-id: r34312
2008-09-03 17:07:13 +00:00
Max Horn
18fb6348dd clarified comment
svn-id: r34311
2008-09-03 17:06:24 +00:00
Max Horn
320a5dc99f Moved StdioStream to its own files inside backends
svn-id: r34303
2008-09-03 11:49:02 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
c350ffabf3 Added new AbstractFilesystemNode::openForReading & ::openForWriting method, based on StdioStream; changed FilesystemNode to use them
svn-id: r34301
2008-09-03 10:40:46 +00:00
Max Horn
8246582f5e Added new StdioStream class, a thin wrapper around FILE
svn-id: r34300
2008-09-03 10:11:36 +00:00
Travis Howell
b0a4658038 Add Nintendo Wii versions of Freddi Fish 1 and Pajama Sam 1.
svn-id: r34290
2008-09-03 01:47:01 +00:00
Max Horn
3dc066e983 Change FilesystemNode::getChild to new desired behavior: namely, that it should return valid nodes even for names for which no child exists (yet?) -- mail to scummvm-devel pending
svn-id: r34284
2008-09-02 16:35:16 +00:00
Johannes Schickel
3ea8f70792 Handle OSystem::lockScreen fail in default OSystem::clearScreen implementation.
svn-id: r34276
2008-09-02 13:11:54 +00:00
Max Horn
31ce5eb496 Revised HashMap implementation
svn-id: r34273
2008-09-02 11:34:12 +00:00
Max Horn
155b8606c1 Added two new global funcs which ease proper handling of 'path' strings: Common::lastPathComponent() and Common::normalizePath()
svn-id: r34272
2008-09-02 11:32:38 +00:00
Max Horn
027ae0a6f6 First part of GSoC2008 RTL branch merge
svn-id: r34241
2008-09-01 17:30:03 +00:00
Johannes Schickel
2db5747642 - Added tests for newly added Common::Queue
- Changed Common::Queue::front and Common::Queue::back to return references instead of values

svn-id: r34240
2008-09-01 16:52:09 +00:00
Max Horn
572641d3cc New Queue class, from RTL branch
svn-id: r34237
2008-09-01 10:54:03 +00:00
Johannes Schickel
db4599393f Added newly added archive.cpp to the build system, just in case someone wants to play with the code and wonders about errors while linking.
svn-id: r34234
2008-08-31 23:11:55 +00:00
Nicola Mettifogo
9fb10e2540 * Added Archive, an interface for searching into file containers.
* Added FSDirectory, an Archive implementation that models a directory from the filesystem.
* Added SearchSet, an Archive implementation that allows searching multiple Archives.
See patch 2034983 on sf.net.

svn-id: r34227
2008-08-31 13:58:17 +00:00
Max Horn
e5f58ef5bf Removed various uses of scumm_stricmp by the more readable String::equalsIgnoreCase and String:: compareToIgnoreCase
svn-id: r34198
2008-08-27 20:41:28 +00:00
Johannes Schickel
df5c0b6d0c And for all of those who love recompiling most of ScummVM... fixed typo properly :-P
svn-id: r34188
2008-08-26 13:56:58 +00:00
Johannes Schickel
61f750832a Fixed typo. (Thanks to salty-horse for spotting it).
svn-id: r34187
2008-08-26 13:51:26 +00:00
Max Horn
a79e9385a1 Unified member names in container/storage classes Array, HashMap and String: _storage, _size, _capacity
svn-id: r34052
2008-08-20 11:07:16 +00:00
Max Horn
47429f2197 Extended HashMap debug output
svn-id: r34051
2008-08-20 10:18:59 +00:00
Stephen Kennedy
049ac6c42b Updated to latest version of XMLParser, and modified VirtualKeyboardParser to reflect changes.
svn-id: r33987
2008-08-18 12:44:54 +00:00
Stephen Kennedy
d92909203b - proper init of virtual keyboard now implemented (involved added EventManager::init() which is called after screen has been initialised)
- changed HardwareKey / Action id field to an array of 4 chars instead of int32. Means that the keymap key/value pairs in config file are more readable.

svn-id: r33986
2008-08-18 10:07:11 +00:00
Vicent Marti
5201a46054 Added support for loading uncompressed/unpackaged themes.
svn-id: r33941
2008-08-16 14:06:26 +00:00
Vicent Marti
146be8e16b Merged revisions 33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621,33623,33626-33627,33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716,33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766,33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

........
  r33490 | thebluegr | 2008-08-01 16:03:20 +0200 (Fri, 01 Aug 2008) | 2 lines
  
  Added load confirmation dialog for IHNM, like in the original.
  Fixes bug #1971699 - "IHNM: No Load Game Confirmation"
........
  r33492 | thebluegr | 2008-08-01 16:27:40 +0200 (Fri, 01 Aug 2008) | 1 line
  
  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)
........
  r33495 | fingolfin | 2008-08-01 18:31:40 +0200 (Fri, 01 Aug 2008) | 1 line
  
  Print a warning if unsupported XMIDI controllers are used
........
  r33496 | fingolfin | 2008-08-01 18:33:22 +0200 (Fri, 01 Aug 2008) | 1 line
  
  Moved Ludde & yaz0r to a new credits section, retired project leaders
........
  r33509 | peres001 | 2008-08-02 04:24:36 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  * 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.
........
  r33510 | peres001 | 2008-08-02 04:26:09 +0200 (Sat, 02 Aug 2008) | 1 line
  
  Removed debug code I forgot a long time ago ;)
........
  r33511 | peres001 | 2008-08-02 04:43:05 +0200 (Sat, 02 Aug 2008) | 1 line
  
  Fixed issues detected by DrMcCoy's obnoxious compiler. ;)
........
  r33512 | peres001 | 2008-08-02 05:19:45 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  * Increasing max number of allowed token on one line.
  * Increasing buffer size to match old parser.
........
  r33518 | lordhoto | 2008-08-02 13:40:09 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fix for bug #2035459 "KYRA1: long savegame names cause garbage".
........
  r33519 | lordhoto | 2008-08-02 13:57:06 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Proper fix for bug #2035459 "KYRA1: long savegame names cause garbage".
........
  r33522 | lordhoto | 2008-08-02 16:32:05 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fixed regressions in kyra1 amiga.
........
  r33523 | athrxx | 2008-08-02 16:35:38 +0200 (Sat, 02 Aug 2008) | 1 line
  
  HOF: bug fix for FM-Towns music when using output rates other than 22050 khz
........
  r33524 | lordhoto | 2008-08-02 16:35:43 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Add warning when a voc file is not found.
........
  r33525 | Kirben | 2008-08-02 16:37:10 +0200 (Sat, 02 Aug 2008) | 1 line
  
  Detect both HOF non-interactive demos.
........
  r33526 | lordhoto | 2008-08-02 16:42:44 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fixed yet another crash in kyra1 amiga.
........
  r33527 | lordhoto | 2008-08-02 17:05:19 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Added a member function loadSoundFile to Sound which accepts a filename string instead of a filename list id.
........
  r33529 | buddha_ | 2008-08-02 17:47:25 +0200 (Sat, 02 Aug 2008) | 7 lines
  
  - Combined loadAbs and loadResource into one function.
  - Made resource loading functions (loadSpl, loadMsk etc)
    return the number of the animDataTable entry right after
    the loaded data.
  - Made resource loading functions always load multiframe
    data into directly sequential animDataTable entries
    (Hopefully this won't break anything).
........
  r33530 | buddha_ | 2008-08-02 17:59:38 +0200 (Sat, 02 Aug 2008) | 3 lines
  
  Made loadResourcesFromSave internally use the loadResource-function.
  Fixes Operation Stealth savegame loading! HURRAH! FINALLY!
........
  r33537 | sev | 2008-08-02 23:05:46 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fix crash when drascula.dat file is missing
........
  r33541 | sev | 2008-08-02 23:22:05 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fix bug #2007170: "DRASCULA: No Spaces in SaveGames Names"
........
  r33544 | sev | 2008-08-02 23:36:08 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fix bug #2023727: "MONKEY2: Misplaced Text"
........
  r33546 | sev | 2008-08-02 23:57:35 +0200 (Sat, 02 Aug 2008) | 2 lines
  
  Fix bug #1879606: "MANIACNES: Crash when game ends"
........
  r33550 | fingolfin | 2008-08-03 00:32:32 +0200 (Sun, 03 Aug 2008) | 1 line
  
  Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'
........
  r33552 | sev | 2008-08-03 00:51:53 +0200 (Sun, 03 Aug 2008) | 3 lines
  
  Fix for bug #1945335: "SCUMM: Invalid charset id can be stored".
  Regressions possible.
........
  r33553 | fingolfin | 2008-08-03 01:01:14 +0200 (Sun, 03 Aug 2008) | 1 line
  
  Renamed Tinsel v1->v0 (used in the demo only), and v2->v1, to avoid confusion with DW2
........
  r33554 | sev | 2008-08-03 01:05:38 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Fix bug #2035390: "GUI: setting game id to "scummvm" messes up list"
........
  r33556 | athrxx | 2008-08-03 01:11:31 +0200 (Sun, 03 Aug 2008) | 1 line
  
  add non-interactive lol demo
........
  r33558 | eriktorbjorn | 2008-08-03 09:40:04 +0200 (Sun, 03 Aug 2008) | 3 lines
  
  Fixed #2021902 ("DRASCULA: Can't adjust the volume inside the game"). I can't
  verify that this matches the original behaviour, but at least it's better now.
........
  r33561 | buddha_ | 2008-08-03 10:01:11 +0200 (Sun, 03 Aug 2008) | 1 line
  
  Shut up MSVC warning about mgY being an unreferenced local variable.
........
  r33562 | fingolfin | 2008-08-03 10:05:19 +0200 (Sun, 03 Aug 2008) | 1 line
  
  Proper fix for bug #2035390: Check for ConfigManager::kApplicationDomain, and also forbid targets starting with an underscore
........
  r33565 | eriktorbjorn | 2008-08-03 11:41:10 +0200 (Sun, 03 Aug 2008) | 4 lines
  
  Fixed bug that prevented upper-case letters from being used in savegame names.
  Apparently, strchr(..., 0) will find the string terminator - at least for me -
  and when that's added to the name, it will terminate the string.
........
  r33568 | eriktorbjorn | 2008-08-03 11:51:13 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Fixed bug #1995022 ("BASS: wrong displayed 2 line text").
........
  r33570 | eriktorbjorn | 2008-08-03 12:16:17 +0200 (Sun, 03 Aug 2008) | 5 lines
  
  Fixed bug #1995033 ("BASS: BG Sound stopped on opening item list"). Apparently
  the sound is supposed to be paused and then unpaused, but the pause function is
  called many more times than the unpause function. In the original, this
  presumably didn't matter. In ScummVM's mixer, it does.
........
  r33574 | sev | 2008-08-03 13:42:05 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Fix bug #2017432: "DRASCULA: Typing is slow when you save a game"
........
  r33576 | sev | 2008-08-03 14:02:09 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Fix bug #2011470: "DRASCULA: slowdown when you hold mouse buttons"
........
  r33578 | athrxx | 2008-08-03 14:09:48 +0200 (Sun, 03 Aug 2008) | 1 line
  
  add support for HOF Italian fan translation to kyra.dat
........
  r33579 | lordhoto | 2008-08-03 14:16:53 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Added detection entries for kyra2 cd italian fan translation (see fr#2003504 "KYRA: add support for Italian version of Kyrandia 2&3"). (totally untested!)
........
  r33580 | athrxx | 2008-08-03 14:50:56 +0200 (Sun, 03 Aug 2008) | 1 line
  
  fix last commit (invalid kyra.dat game features for HOFCD)
........
  r33581 | lordhoto | 2008-08-03 14:53:12 +0200 (Sun, 03 Aug 2008) | 2 lines
  
  Removed comment.
........
  r33584 | fingolfin | 2008-08-03 18:54:18 +0200 (Sun, 03 Aug 2008) | 1 line
  
  New OSystem API for loading/storing default config file
........
  r33585 | fingolfin | 2008-08-03 19:05:01 +0200 (Sun, 03 Aug 2008) | 1 line
  
  OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
........
  r33586 | fingolfin | 2008-08-03 20:11:27 +0200 (Sun, 03 Aug 2008) | 1 line
  
  Implemented DumpFile::open(FSNode)
........
  r33587 | fingolfin | 2008-08-03 20:29:37 +0200 (Sun, 03 Aug 2008) | 1 line
  
  cleanup
........
  r33590 | fingolfin | 2008-08-03 20:35:51 +0200 (Sun, 03 Aug 2008) | 1 line
  
  FilesystemNode code: some comment cleanup; added FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File)
........
  r33596 | Kirben | 2008-08-04 03:57:50 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Remove debug left over.
........
  r33604 | fingolfin | 2008-08-04 13:30:47 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Moved the OutSaveFile::finalize method to WriteStream; implemented DumpFile::flush()
........
  r33605 | fingolfin | 2008-08-04 13:32:42 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Removed join_paths from default save manager, and use FSNode API instead (may lead to regressions, watch out)
........
  r33606 | fingolfin | 2008-08-04 13:38:25 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Turned InSaveFile & OutSaveFile into simple typedefs
........
  r33607 | fingolfin | 2008-08-04 13:46:52 +0200 (Mon, 04 Aug 2008) | 1 line
  
  SCUMM: Only try to load savefile metadata from slots >= 0
........
  r33608 | fingolfin | 2008-08-04 13:48:33 +0200 (Mon, 04 Aug 2008) | 1 line
  
  DefaultSaveFileManager: Killed class StdioSaveFile, used FilesystemNode::openForReading()/openForWriting() instead (may cause regressions, watch out)
........
  r33609 | fingolfin | 2008-08-04 15:25:30 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Modified DumpFile::open to accept non-existing nodes, and to actually open files in write mode -- d'oh
........
  r33610 | thebluegr | 2008-08-04 17:01:41 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Fixing compilation under MSVC
........
  r33611 | thebluegr | 2008-08-04 17:23:08 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Added Italian translation for the load confirmation window in IHNM
........
  r33614 | fingolfin | 2008-08-04 19:17:37 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager (eventually, should be pushed into backends/platform/ code)
........
  r33615 | fingolfin | 2008-08-04 19:41:07 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Modified DefaultSaveFileManager::checkPath to perform at least basic checks on non-UNIX, non-Symbian systems
........
  r33617 | fingolfin | 2008-08-04 19:46:22 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Remove some code which was rendered obsolete by md5's commit r33610
........
  r33618 | anotherguest | 2008-08-04 20:14:17 +0200 (Mon, 04 Aug 2008) | 3 lines
  
  List the correct engines in about, 
  updated actions with Lure (from WinCE). 
  Increased min heap size to 5MB
........
  r33620 | buddha_ | 2008-08-04 21:32:52 +0200 (Mon, 04 Aug 2008) | 7 lines
  
  Fix for misplaced objects in mouse object selection (Operation Stealth specific).
  - Implemented Operation Stealth specific part of getObjectUnderCursor
    which handles negative frame values.
  - Fixed a test case (Should test for ydif <= 0 although tested for ydif < 0).
  - Made part-value be anded with 0x0F in a test case to comply with disassembly.
  - Added comment about a test case which isn't present in the disassembly.
    Removing it makes things crash sometimes so letting it be.
........
  r33621 | fingolfin | 2008-08-04 21:38:28 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Pushed some port specific code from DefaultSaveFileManager out to port specific code in backends/platform/
........
  r33623 | anotherguest | 2008-08-04 22:00:56 +0200 (Mon, 04 Aug 2008) | 1 line
  
  Symbian build package should now contain drascula.dat also
........
  r33626 | Kirben | 2008-08-05 02:21:46 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Fix win32 compile.
........
  r33627 | Kirben | 2008-08-05 02:27:25 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Removed unneeded #includes.
........
  r33632 | lordhoto | 2008-08-05 13:32:16 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Changed implementation parameters/return values to match definition.
........
  r33633 | Kirben | 2008-08-05 13:42:04 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Remove file attribute check, since getChild() can be called on file path that doesn'r exist.
........
  r33635 | lordhoto | 2008-08-05 14:13:01 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Output errors on (some) missing files.
........
  r33637 | buddha_ | 2008-08-05 14:58:23 +0200 (Tue, 05 Aug 2008) | 7 lines
  
  Fix prompt updating regression introduced in r32257:
  Previously prompt didn't get updated all the time,
  like e.g. when selecting EXAMINE and moving the
  cursor over to DOOR and then moving the cursor to
  a place where there was no selectable object. The
  prompt would've still shown "EXAMINE DOOR", now
  it shows just "EXAMINE" which is correct AFAIK.
........
  r33639 | fingolfin | 2008-08-05 15:08:07 +0200 (Tue, 05 Aug 2008) | 1 line
  
  SCUMM: Don't try to load metadata for slot -1 (i.e. don't try to load metadata if nothing is selected)
........
  r33640 | fingolfin | 2008-08-05 15:11:22 +0200 (Tue, 05 Aug 2008) | 1 line
  
  SCUMM: cleanup SaveLoadChooser::updateInfos code
........
  r33642 | buddha_ | 2008-08-05 20:17:55 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Add detection entry for a previously unrecognized 16 color PC version of Operation Stealth (The John Glames variant).
........
  r33643 | buddha_ | 2008-08-05 21:30:16 +0200 (Tue, 05 Aug 2008) | 5 lines
  
  Made rest of resource loading functions used in loadResource return -1 on error.
  This fixed a crash in Operation Stealth when walking out of the airport
  (Some file couldn't be opened and the game crashed because of that.
  Now it doesn't crash but handles the missing file gracefully).
........
  r33644 | buddha_ | 2008-08-05 23:20:11 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Workaround for missing player character animation when exiting the airport in Santa Paragua in at least the 256 color PC version of Operation Stealth.
........
  r33645 | fingolfin | 2008-08-05 23:26:04 +0200 (Tue, 05 Aug 2008) | 1 line
  
  Patch #2014663: Do not mark stack as executable in HQx scaler
........
  r33648 | eriktorbjorn | 2008-08-05 23:43:10 +0200 (Tue, 05 Aug 2008) | 4 lines
  
  Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with a
  slight modification to the README changes. (I don't know how to interpret all
  the output from aconnect, so I'm only documenting "the most important bit".)
........
  r33654 | fingolfin | 2008-08-06 11:13:57 +0200 (Wed, 06 Aug 2008) | 1 line
  
  SCUMM: Renamed inventoryScript -> inventoryScriptIndy3Mac
........
  r33655 | fingolfin | 2008-08-06 12:32:20 +0200 (Wed, 06 Aug 2008) | 1 line
  
  Workaround for bug #2016521 (DOTT: Bernard impersonating LaVerne)
........
  r33664 | fingolfin | 2008-08-06 18:03:06 +0200 (Wed, 06 Aug 2008) | 1 line
  
  Do not query savestates which obviously do not exist (to shut up bogus console warnings)
........
  r33667 | buddha_ | 2008-08-06 22:41:53 +0200 (Wed, 06 Aug 2008) | 5 lines
  
  HACK: Force oxygen to maximum during Operation Stealth's first arcade sequence.
  This way the arcade sequence is completable now.
  This hack should be removed later and the first
  arcade sequence be made properly playable!
........
  r33668 | buddha_ | 2008-08-06 22:47:59 +0200 (Wed, 06 Aug 2008) | 5 lines
  
  Add 320x200 screen bounds checking to Operation Stealth's checkCollision function.
  Fixes teleporting bug when getting out of the water after first arcade sequence.
  The player previously got teleported to the beach near the hotel. Now it doesn't happen.
  The player is still caught motionless and can't move after this fix though...
........
  r33669 | buddha_ | 2008-08-06 22:54:38 +0200 (Wed, 06 Aug 2008) | 1 line
  
  Renamed page3Raw to collisionPage so it's more apparent what it does.
........
  r33670 | buddha_ | 2008-08-06 22:58:02 +0200 (Wed, 06 Aug 2008) | 1 line
  
  Tiny comment update to loadCt-opcodes: Load collision table data.
........
  r33673 | buddha_ | 2008-08-07 01:12:25 +0200 (Thu, 07 Aug 2008) | 4 lines
  
  HACK: In Operation Stealth after the first arcade sequence jump player's position to avoid getting stuck.
  The player's position is changed only by *one* pixel but it helps
  and makes it possible to carry on with the game (Previously the player was totally stuck).
........
  r33674 | knakos | 2008-08-07 11:10:42 +0200 (Thu, 07 Aug 2008) | 1 line
  
  smartphone-specific code not needed anymore
........
  r33678 | eriktorbjorn | 2008-08-07 15:36:02 +0200 (Thu, 07 Aug 2008) | 3 lines
  
  Initialise the _sound object. Otherwise, ScummVM crashes for me if I use a native
  MIDI driver instead of Adlib.
........
  r33682 | knakos | 2008-08-07 20:36:12 +0200 (Thu, 07 Aug 2008) | 1 line
  
  setup interface for later kyra games
........
  r33686 | buddha_ | 2008-08-07 21:04:19 +0200 (Thu, 07 Aug 2008) | 7 lines
  
  Fix for popup boxes sometimes blocking animation when they shouldn't in Operation Stealth:
  - Made waitForPlayerClick updating more like in the original.
  - Moved removeMessages to after the frame drawing in main loop hoping to be more like the original.
  - Added an additional test to Operation Stealth's implementation of overlay type 2 drawing.
  - Added an additional parameter incrementing and testing to Operation Stealth's removeMessages.
  Hopefully this won't cause any regressions in Future Wars!
........
  r33687 | buddha_ | 2008-08-07 21:31:12 +0200 (Thu, 07 Aug 2008) | 1 line
  
  Made drawPlainBox handle border cases so it won't corrupt memory so easily. This may help with some memory corruption issues when for an example trying to draw the player's command string out of screen.
........
  r33688 | buddha_ | 2008-08-07 21:46:06 +0200 (Thu, 07 Aug 2008) | 1 line
  
  Added precautionary tests to background scrolling function in Operation Stealth to avoid possible memory corruptions.
........
  r33689 | buddha_ | 2008-08-07 23:46:56 +0200 (Thu, 07 Aug 2008) | 1 line
  
  Implemented game speed changing by pressing - or + to e.g. ease testing.
........
  r33690 | cyx | 2008-08-07 23:49:55 +0200 (Thu, 07 Aug 2008) | 1 line
  
  fix for bug #2040311: TOUCHE: Missing characters in the spanish version
........
  r33691 | cyx | 2008-08-07 23:50:12 +0200 (Thu, 07 Aug 2008) | 1 line
  
  fix for bug #2040484: TOUCHE: Graphic glitch with long answer options
........
  r33693 | Kirben | 2008-08-08 04:18:17 +0200 (Fri, 08 Aug 2008) | 1 line
  
  Hopefully allow quiting at any stage AGOS engines games again.
........
  r33696 | Kirben | 2008-08-08 04:49:51 +0200 (Fri, 08 Aug 2008) | 1 line
  
  Remove debug leftover.
........
  r33698 | buddha_ | 2008-08-08 15:30:01 +0200 (Fri, 08 Aug 2008) | 9 lines
  
  Added basic moving using keyboard (Only works in Operation Stealth at the moment):
  - Should make it possible to complete the first arcade sequence legitimately
  Renamed input variables (Their names were mixed up between Future Wars and Operation Stealth):
  - Future Wars's inputVar1 -> egoMovedWithKeyboard
  - Future Wars's inputVar2 -> xMoveKeyb
  - Future Wars's inputVar3 -> yMoveKeyb
  - Operation Stealth's inputVar0 -> xMoveKeyb
  - Operation Stealth's inputVar1 -> yMoveKeyb
........
  r33700 | buddha_ | 2008-08-08 16:46:19 +0200 (Fri, 08 Aug 2008) | 1 line
  
  Partially fix Adlib volume setting in Cine (Now uses music volume for Adlib volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!).
........
  r33703 | buddha_ | 2008-08-08 20:28:13 +0200 (Fri, 08 Aug 2008) | 4 lines
  
  Added detection entry for the Sony published CD version of Future Wars.
  Also added decrypting of the crypted AUTO00.PRC for this particular version.
  Now this version should work but no CD audio support for it yet though.
........
  r33708 | buddha_ | 2008-08-09 12:44:12 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Small cleanup: Renamed rol to rolByte and made it handle all cases.
........
  r33710 | buddha_ | 2008-08-09 12:52:48 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Removing moving with keys qweasdzxc for now because they messed with savegame name typing. One can move with the cursor keys anyway.
........
  r33712 | buddha_ | 2008-08-09 17:17:32 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Added updating of global variable var5 to Operation Stealth's renderOverlay function's type 20 overlay case (Previously var5 wasn't updated anywhere!). Also added a lower bound for var5's value into a comparison (Previously only the upper bound was tested for).
........
  r33713 | buddha_ | 2008-08-09 18:07:08 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Added preliminary version of drawing type 22 overlays (Such overlays are added with opcode 0xA4 (o2_loadMask22) and removed with opcode 0xA5 (o2_unloadMask22)). Things might be wrong so needs testing! WIP!
........
  r33714 | knakos | 2008-08-09 20:09:24 +0200 (Sat, 09 Aug 2008) | 1 line
  
  fix MR on ce: allocate large buffer on the heap instead and of the stack, and improve the workaround
........
  r33716 | knakos | 2008-08-09 20:12:43 +0200 (Sat, 09 Aug 2008) | 1 line
  
  hotfix around drascula mem leak problems. see also bug report
........
  r33719 | dhewg | 2008-08-09 20:37:18 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Updates to the recent OSystem API changes
........
  r33721 | buddha_ | 2008-08-09 21:47:05 +0200 (Sat, 09 Aug 2008) | 7 lines
  
  Made drawPlainBox's effective width and height always at least one.
  - Makes oxygen gauge during first arcade sequence visible as it gave drawPlainBox a height of zero.
  Made type 21 overlays be drawn as type 22 (Filled rectangle).
  - For an example the oxygen gauge during the first arcade sequence is a type 21 overlay.
  Flipped type 21 & 22 overlays as it looks correct for the oxygen gauge.
  These features are quite WIP, they need testing to see if they're correct.
........
  r33722 | buddha_ | 2008-08-09 21:57:46 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Made type 21 & 22 overlays not be flipped (The oxygen gauge looks actually better when it reaches zero this way although in its fully charged state it still does look a bit off. Disassembly seems to agree with not flipping the overlays so I'm going with this one for now).
........
  r33723 | dhewg | 2008-08-09 22:02:56 +0200 (Sat, 09 Aug 2008) | 3 lines
  
  Updated the Makefile to the new build system.
  Introduced a Makefile variable to build a gamecube version.
........
  r33725 | buddha_ | 2008-08-09 22:50:10 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Converted objectTable from a plain array to a Common::Array. Should help to catch out of bounds access errors that may cause memory corruption.
........
  r33726 | buddha_ | 2008-08-09 22:55:01 +0200 (Sat, 09 Aug 2008) | 1 line
  
  Converted animDataTable from a plain array to a Common::Array. Should help to catch out of bounds access errors which may cause memory corruption.
........
  r33727 | buddha_ | 2008-08-10 00:38:03 +0200 (Sun, 10 Aug 2008) | 1 line
  
  Converted zoneData and zoneQuery tables from plain array types to Common::Array. Should help catch out of bounds access errors that may cause memory corruption.
........
  r33729 | fingolfin | 2008-08-10 00:42:03 +0200 (Sun, 10 Aug 2008) | 1 line
  
  If no default config file is present, just don't load it, instead of crashing
........
  r33730 | fingolfin | 2008-08-10 01:07:32 +0200 (Sun, 10 Aug 2008) | 1 line
  
  Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
........
  r33733 | lordhoto | 2008-08-10 02:17:56 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Fixed crash in KyraEngine_HoF::pauseEngineIntern.
........
  r33736 | lordhoto | 2008-08-10 02:36:46 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Fixed kyra to support properly support restarting of engine (for GSoC RTL, based on a patch from Chris Page).
........
  r33742 | lordhoto | 2008-08-10 03:28:00 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Added fallback to text only mode when voice files are not found.
........
  r33754 | knakos | 2008-08-10 19:10:09 +0200 (Sun, 10 Aug 2008) | 1 line
  
  add support for drascula engine
........
  r33756 | knakos | 2008-08-10 19:13:24 +0200 (Sun, 10 Aug 2008) | 1 line
  
  hint the backend to show the VK
........
  r33758 | knakos | 2008-08-10 19:15:30 +0200 (Sun, 10 Aug 2008) | 1 line
  
  address the ignored events and bad inventory screen handling 'features'
........
  r33761 | sev | 2008-08-10 19:35:42 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Add checksums for ScummVM repacked Italian and Spanish versions.
........
  r33763 | eriktorbjorn | 2008-08-10 19:59:42 +0200 (Sun, 10 Aug 2008) | 5 lines
  
  Committed my patch #2040074 ("XMIDI callback control events"). At the moment, I'm
  not aware of any game that actually uses this XMIDI feature, so its primary
  function right now is to silence lots of warnings while running the DOS version
  of Simon the Sorcerer 2.
........
  r33766 | eriktorbjorn | 2008-08-10 20:44:00 +0200 (Sun, 10 Aug 2008) | 5 lines
  
  Fixed a bunch of Valgrind warnings (mostly uninitialised variables, but also an
  invalid free()), so that I can start and quit the game without any unexpected
  warnings. (The obvious next step, of course, would be to actually *play* the game
  for a bit...)
........
  r33777 | athrxx | 2008-08-11 16:47:50 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  LOL: add support for floppy installer files
  (startup will fail nonethelesse since we have different pak file names)
........
  r33781 | buddha_ | 2008-08-11 22:09:03 +0200 (Mon, 11 Aug 2008) | 1 line
  
  Changed readBundleFile to unpack data in-place and added debugging messages to the function.
........
  r33782 | buddha_ | 2008-08-11 22:18:33 +0200 (Mon, 11 Aug 2008) | 1 line
  
  Added a safeguard to readBundleFile so it shouldn't corrupt memory even if the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data).
........
  r33783 | buddha_ | 2008-08-11 22:41:13 +0200 (Mon, 11 Aug 2008) | 1 line
  
  Changed partBuffer from a pointer to a Common::Array. Removed numElementInPart variable as it's now equivalent with partBuffer.size().
........
  r33784 | buddha_ | 2008-08-11 23:26:41 +0200 (Mon, 11 Aug 2008) | 1 line
  
  Removed textDataPtr pointer as it's not used beyond the loadTextData function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables).
........
  r33785 | buddha_ | 2008-08-11 23:45:47 +0200 (Mon, 11 Aug 2008) | 1 line
  
  Changed palPtr from a pointer to a Common::Array named palArray. Removed palEntriesCount variable as it's now equivalent to palArray.size().
........
  r33786 | buddha_ | 2008-08-12 00:26:25 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Moved fontParamTable inside TextHandler struct and made it a constant size as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed.
........
  r33787 | dhewg | 2008-08-12 00:43:00 +0200 (Tue, 12 Aug 2008) | 7 lines
  
  video mode polishing:
  * proper fullscreen video mode
  * multiple graphic modes with different overscan values
  * "fullscreen mode" stretches the picture on 16:9 displays
  * fixed broken sword 1/2 gfx garbage
  * support for setShakePos()
........
  r33788 | dhewg | 2008-08-12 00:44:29 +0200 (Tue, 12 Aug 2008) | 1 line
  
  build a wii binary per default
........
  r33790 | buddha_ | 2008-08-12 01:01:32 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Implemented drawMessage changes for Operation Stealth's timed cutscenes (Negative colors are used for timed text boxes that are totally transparent, only the text is drawn).
........
  r33792 | buddha_ | 2008-08-12 01:20:10 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Made Operation Stealth's action failure messages use a background color set by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems.
........
  r33793 | buddha_ | 2008-08-12 02:13:27 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Changed commandBuffer from a char[80] to Common::String and made FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid.
........
  r33795 | buddha_ | 2008-08-12 16:44:44 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Implemented Operation Stealth specific parts of processInventory and added another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth.
........
  r33797 | aquadran | 2008-08-12 16:52:44 +0200 (Tue, 12 Aug 2008) | 1 line
  
  added few ignores for build dirs
........
  r33805 | buddha_ | 2008-08-12 21:33:17 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Implemented Operation Stealth's makeCommandLine.
........
  r33807 | buddha_ | 2008-08-12 22:27:49 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Tiny comment fix.
........
  r33808 | buddha_ | 2008-08-12 22:58:26 +0200 (Tue, 12 Aug 2008) | 1 line
  
  Fix for GCC warning in OSRenderer::renderOverlay: declaration of 'len' shadows a previous local.
........
  r33809 | joostp | 2008-08-12 23:23:40 +0200 (Tue, 12 Aug 2008) | 2 lines
  
  fix typo 'baclup' -> 'backup'
........
  r33810 | buddha_ | 2008-08-13 00:45:38 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Added possibility to get the read resource's size from readBundleFile. Made loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)).
........
  r33811 | buddha_ | 2008-08-13 01:44:39 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Fixed drawPlainBox's boundary checking (It wrote outside the screen occasionally). Now using the Common::Rect for clipping, yay! It's good.
........
  r33812 | buddha_ | 2008-08-13 01:56:13 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' Valgrind warning at sound.cpp:611.
........
  r33815 | buddha_ | 2008-08-13 03:02:00 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game.
........
  r33816 | buddha_ | 2008-08-13 03:10:03 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
........
  r33817 | fingolfin | 2008-08-13 12:13:22 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Clarify SCUMM MD5 message: We do not want reports on fanmade translations
........
  r33819 | buddha_ | 2008-08-13 13:36:45 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Reverted r33815 (But not r33816).
........
  r33822 | buddha_ | 2008-08-13 13:57:48 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Fixed initialization of some SoundMgr-class's member variables. Moved _sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game.
........
  r33826 | buddha_ | 2008-08-13 15:40:28 +0200 (Wed, 13 Aug 2008) | 1 line
  
  Type 21 overlay comment update (Found the drawing routine in the disassembly and checked the original for how the oxygen gauge during the first arcade sequence looks like. They're some kind of sprites most likely and not just simply filled rectangles).
........
  r33829 | knakos | 2008-08-13 17:16:38 +0200 (Wed, 13 Aug 2008) | 1 line
  
  fix bug #2038992 by saving and restoring channel volumes
........
  r33837 | lordhoto | 2008-08-13 21:10:31 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Added detection entries for kyra3 Mac.
........
  r33839 | knakos | 2008-08-13 21:13:53 +0200 (Wed, 13 Aug 2008) | 1 line
  
  fix bug #1910057: FT multifunction
........
  r33844 | knakos | 2008-08-13 21:32:25 +0200 (Wed, 13 Aug 2008) | 1 line
  
  fix a small bug in the quit dialog
........
  r33847 | fingolfin | 2008-08-13 22:37:54 +0200 (Wed, 13 Aug 2008) | 1 line
  
  cleanup
........
  r33858 | peres001 | 2008-08-14 09:10:42 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Removed cross-references between the general parser and the text formatter. To achieve this, I have rewritten the latter for both NS and BRA.
........
  r33859 | peres001 | 2008-08-14 09:14:34 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Finally moved parseNextToken to Script, where it belongs!
........
  r33860 | peres001 | 2008-08-14 12:04:43 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Cleanup.
........
  r33861 | peres001 | 2008-08-14 12:24:39 +0200 (Thu, 14 Aug 2008) | 1 line
  
  More cleanup.
........
  r33864 | peres001 | 2008-08-14 15:45:32 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Some variable renamed to make more sense.
........
  r33871 | buddha_ | 2008-08-14 22:18:13 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Added debug showing of the collision page when pressing the Alt key. Alt isn't used for anything else so one might as well use it for this.
........
  r33872 | buddha_ | 2008-08-14 22:49:34 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Fix for bugging moving at the bottom of the ocean when trying to free the girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace.
........
  r33873 | athrxx | 2008-08-14 23:21:04 +0200 (Thu, 14 Aug 2008) | 1 line
  
  - HOF: another Italian fan translation
........
  r33875 | athrxx | 2008-08-14 23:34:29 +0200 (Thu, 14 Aug 2008) | 1 line
  
  - HOF: forgot french and german entries in last commit
........
  r33877 | buddha_ | 2008-08-15 00:01:56 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Moved showing of the collision page from Alt-key to F11-key because Alt conflicted with taking screenshots using Alt-s. Great. Hopefully F11 doesn't conflict with anything useful.
........
  r33878 | lordhoto | 2008-08-15 00:09:36 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  Improved version of my resource loading patch from -devel (check also r33876).
........
  r33879 | lordhoto | 2008-08-15 00:11:56 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  Formatting.
........
  r33886 | athrxx | 2008-08-15 01:46:37 +0200 (Fri, 15 Aug 2008) | 1 line
  
  lol: new detection entry (german floppy extracted)
........
  r33889 | peres001 | 2008-08-15 04:52:42 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  Simplified handling of script variables (especially locals).
........
  r33890 | peres001 | 2008-08-15 05:36:01 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Disabled lip syncing code in BRA, since I couldn't find any scripts actually using it. Some warnings have been added as a sentinel.
........
  r33891 | peres001 | 2008-08-15 05:59:45 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Made scripts access Animation fields via accessors and mutators, instead of using raw pointers.
........
  r33892 | peres001 | 2008-08-15 06:30:45 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Made coordinates and frame number protected into Zone and Animation, and changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA.
........
  r33894 | peres001 | 2008-08-15 10:44:41 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Updated layer calculation: animations are now hidden properly by background elements (but not items yet).
........
  r33896 | drmccoy | 2008-08-15 12:47:42 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  Fixing a segfault in the Bargon Attack menu
........
  r33900 | peres001 | 2008-08-15 16:25:43 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Added routines to load and handle item masks: animation are now correctly hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground).
........
  r33902 | anotherguest | 2008-08-15 16:38:25 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  UpdUpdated actions and Readme for Symbian OS port!
........
  r33903 | peres001 | 2008-08-15 17:08:08 +0200 (Fri, 15 Aug 2008) | 1 line
  
  Implemented raster operation for masks and postponed blitting of zones after everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items.
........
  r33919 | fingolfin | 2008-08-16 00:06:15 +0200 (Sat, 16 Aug 2008) | 1 line
  
  SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous
........

svn-id: r33920
2008-08-16 00:08:12 +00:00
Stephen Kennedy
c1e8e340ff * Saving of keymaps fully implemented
* Added Keymapper::cleanupGameKeymaps() with code to remove game keymaps from active stack

svn-id: r33853
2008-08-14 01:42:02 +00:00
Christopher Page
fcc00f20b9 Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33769
2008-08-10 21:58:18 +00:00
Max Horn
dca7116cb5 Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
svn-id: r33730
2008-08-09 23:07:32 +00:00
Max Horn
39d2c3bdad If no default config file is present, just don't load it, instead of crashing
svn-id: r33729
2008-08-09 22:42:03 +00:00
Christopher Page
ce3d1e1a7d Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33720
2008-08-09 19:03:29 +00:00
Vicent Marti
103a4f6681 Added support for image loading/blitting.
Added support for loading theme files.
(Make sure to grab the sample theme "scummodern.zip" from the gui/themes/ directory to try it out)
Misc fixes.

svn-id: r33718
2008-08-09 18:34:16 +00:00
Kostas Nakos
71f4a15e4e hotfix around drascula mem leak problems. see also bug report
svn-id: r33716
2008-08-09 18:12:43 +00:00
Vicent Marti
ea69217a13 Fixed 1.000.000 Valgrind warnings.
svn-id: r33711
2008-08-09 14:15:34 +00:00
Vicent Marti
f546aa9dc8 BUGFIX: XMLParser issuing key-close callbacks on ignored keys.
svn-id: r33706
2008-08-08 18:48:12 +00:00
Vicent Marti
dab1fa0942 Resolution-dependence in XML files.
G1X scaler GUI now loads. Added layout for the launcher menu.
MILESTONE: All core GUI dialogs/widgets working on G2x/G3x
MILESTONE: Completely removed old Evaluator/Parser.
Improved layout expanding again.
Improved XML parser.
Several bugfixes.

svn-id: r33704
2008-08-08 18:30:16 +00:00
Stephen Kennedy
2645ca48ad * Moved VK code into backends/vkeybd
* Moved Keymapper code into backends/keymapper

svn-id: r33681
2008-08-07 16:38:39 +00:00
Stephen Kennedy
66e4e3ec1a * Removed Shape base class
* Reverted Rect to not derive from Shape
* ImageMap now just uses Polygon's

svn-id: r33680
2008-08-07 15:44:48 +00:00
Stephen Kennedy
57b13141af Keymapper WIP:
* Implemented stack-based active map in Keymapper
* Started proper testing by adding code to OSystem_SDL to set up simple HardwareKeySet and Keymap

svn-id: r33660
2008-08-06 14:21:05 +00:00
Vicent Marti
70ef503434 Massive refactoring on the layout parsing API.
Added support for layout spacings.
Fixed bug in theme conversion python script.

svn-id: r33630
2008-08-05 09:54:36 +00:00
Christopher Page
2acbc2a88e Merged revisions 33626-33627 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33629
2008-08-05 02:31:26 +00:00
Travis Howell
f7cc93f71a Removed unneeded #includes.
svn-id: r33627
2008-08-05 00:27:25 +00:00
Christopher Page
4198ee9623 Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
 

svn-id: r33624
2008-08-04 22:34:07 +00:00
Lars Persson
476e5bbb10 List the correct engines in about,
updated actions with Lure (from WinCE). 
Increased min heap size to 5MB

svn-id: r33618
2008-08-04 18:14:17 +00:00
Max Horn
4900a3e96e Remove some code which was rendered obsolete by md5's commit r33610
svn-id: r33617
2008-08-04 17:46:22 +00:00
Vicent Marti
85c36885f5 Theme layout parsing. Work in progress.
svn-id: r33613
2008-08-04 16:59:55 +00:00
Filippos Karapetis
2efe13026d Fixing compilation under MSVC
svn-id: r33610
2008-08-04 15:01:41 +00:00
Max Horn
05968b18c9 Modified DumpFile::open to accept non-existing nodes, and to actually open files in write mode -- d'oh
svn-id: r33609
2008-08-04 13:25:30 +00:00
Max Horn
5f4c9f913f Turned InSaveFile & OutSaveFile into simple typedefs
svn-id: r33606
2008-08-04 11:38:25 +00:00
Max Horn
99f546caad Moved the OutSaveFile::finalize method to WriteStream; implemented DumpFile::flush()
svn-id: r33604
2008-08-04 11:30:47 +00:00
Max Horn
4d5df949c7 FilesystemNode code: some comment cleanup; added FilesystemNode::openForReading() and openForWriting() methods (for now these are simple wrappers around Common::File)
svn-id: r33590
2008-08-03 18:35:51 +00:00
Max Horn
fe9323ae57 Implemented DumpFile::open(FSNode)
svn-id: r33586
2008-08-03 18:11:27 +00:00
Max Horn
b54a1227d9 OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
svn-id: r33585
2008-08-03 17:05:01 +00:00
Max Horn
6377b8bdd5 New OSystem API for loading/storing default config file
svn-id: r33584
2008-08-03 16:54:18 +00:00
Max Horn
9034ce2a7c Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'
svn-id: r33550
2008-08-02 22:32:32 +00:00
Vicent Marti
7cb23c76a2 Improved looks on the Modern theme in the new GUI.
Added support for including externally the default theme in the code.
Added Modern theme as a separate XML file in the themes/ dir.
Added "makedeftheme.py" script to convert XML themes into include files.

svn-id: r33528
2008-08-02 15:15:32 +00:00
Vicent Marti
262cc33dc7 Fixed compiler problem with anyProp var.
svn-id: r33489
2008-08-01 10:29:27 +00:00
Vicent Marti
9bd3b07647 Support for XML layout with unspecified keys.
XML Layout parsing. WIP.

svn-id: r33488
2008-08-01 10:18:47 +00:00
Vicent Marti
7d797c878d Merged revisions 32701,32705,32727-32728,32730-32733,32737-32738,32742,32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033,33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169,33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

................
  r32701 | Tanoku | 2008-06-14 16:44:06 +0200 (Sat, 14 Jun 2008) | 1 line
  
  Updated MS Visual Studio project files for MusicPlugin.
................
  r32705 | sev | 2008-06-15 09:15:58 +0200 (Sun, 15 Jun 2008) | 2 lines
  
  Make null plugin compilable
................
  r32727 | thebluegr | 2008-06-17 20:27:03 +0200 (Tue, 17 Jun 2008) | 1 line
  
  Removed duplicate code
................
  r32728 | thebluegr | 2008-06-17 23:52:58 +0200 (Tue, 17 Jun 2008) | 1 line
  
  Possible fix for bug  #1979086 - "DRASCULA: Wrong language detection(?) and crash"
................
  r32730 | buddha_ | 2008-06-18 05:31:13 +0200 (Wed, 18 Jun 2008) | 1 line
  
  Fixed a small discrepancy in Delphine unpacker's command 00b's documentation (Parameter range is 1..8, not 1..9).
................
  r32731 | john_doe | 2008-06-18 13:01:51 +0200 (Wed, 18 Jun 2008) | 4 lines
  
  - Fixed sprite drawing in Rodney's Funscreen
  - Handle mouse button up events and event number fixes in MadeEngine::handleEvents()
  - Use milliseconds -> game ticks calculation based on Windows version of the original engine
  - "Rodney's Fun Screen" -> "Rodney's Funscreen"
................
  r32732 | fingolfin | 2008-06-18 21:46:50 +0200 (Wed, 18 Jun 2008) | 1 line
  
  Setting svn:ignore for backends/fs/wii
................
  r32733 | fingolfin | 2008-06-18 23:02:52 +0200 (Wed, 18 Jun 2008) | 1 line
  
  Renamed M4Surface::empty() to clear() (two reason: empty is not a verb, and in class String it is used for a bool property)
................
  r32737 | drmccoy | 2008-06-19 18:27:49 +0200 (Thu, 19 Jun 2008) | 2 lines
  
  Only try playing object videos when the game version supports that (only Woodruff, for now)
................
  r32738 | drmccoy | 2008-06-20 00:54:17 +0200 (Fri, 20 Jun 2008) | 2 lines
  
  Fixed a palette issue in Lost in Time
................
  r32742 | cpage88 | 2008-06-20 22:20:46 +0200 (Fri, 20 Jun 2008) | 117 lines
  
  Merged revisions 31992,32088,32094,32129,32203,32208,32219,32236,32329,32332-32333,32357,32504,32519,32525,32566,32578,32641-32642,32673,32675,32677,32679-32680,32718-32719,32721,32739 via svnmerge from 
  https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/branches/gsoc2008-rtl
  
  ........
    r31992 | cpage88 | 2008-05-10 18:44:46 -0500 (Sat, 10 May 2008) | 1 line
    
    Modified game loop to return to launcher, codeblocks layouts update 1.5->1.6
  ........
    r32088 | cpage88 | 2008-05-13 11:09:57 -0500 (Tue, 13 May 2008) | 1 line
    
    used memmove() instead of memcpy() to fix memory overlap error
  ........
    r32094 | cpage88 | 2008-05-13 17:59:19 -0500 (Tue, 13 May 2008) | 1 line
    
    Fixed memory leak by deallocating memory used by window->iconPtr
  ........
    r32129 | cpage88 | 2008-05-14 18:26:32 -0500 (Wed, 14 May 2008) | 1 line
    
    Fixed memory leak when returning to launcher in AGOS engine by properly creating and deleting midi driver pointer
  ........
    r32203 | cpage88 | 2008-05-20 16:40:53 -0500 (Tue, 20 May 2008) | 1 line
    
    AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher.  This replaces the old shutdown() method within delay()
  ........
    r32208 | cpage88 | 2008-05-21 13:52:27 -0500 (Wed, 21 May 2008) | 1 line
    
    AGOS: Fixed two memory leaks when returning to the launcher (_mouseData and _zoneBuffers)
  ........
    r32219 | cpage88 | 2008-05-22 18:40:36 -0500 (Thu, 22 May 2008) | 1 line
    
    AGOS: Fixed a memory leak from earlier in a better way
  ........
    r32236 | cpage88 | 2008-05-23 19:08:13 -0500 (Fri, 23 May 2008) | 1 line
    
    AGI: Fixed two memory leaks when returning to launcher from AGI Engine
  ........
    r32329 | cpage88 | 2008-05-27 15:15:36 -0500 (Tue, 27 May 2008) | 1 line
    
    AGI: Modified AGI Engine to shutdown without using system->quit
  ........
    r32332 | cpage88 | 2008-05-27 18:26:48 -0500 (Tue, 27 May 2008) | 1 line
    
    CINE: Fixed two memory leaks when shutting down the CINE engine
  ........
    r32333 | cpage88 | 2008-05-27 19:52:45 -0500 (Tue, 27 May 2008) | 1 line
    
    CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after returning to the launcher
  ........
    r32357 | cpage88 | 2008-05-28 18:28:11 -0500 (Wed, 28 May 2008) | 1 line
    
    LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
  ........
    r32504 | cpage88 | 2008-06-02 16:08:49 -0500 (Mon, 02 Jun 2008) | 1 line
    
    PARA: Got rid of calls to system->quit() so that the Parallaction engine can return to the launcher.  Also fixed a couple of memory leaks.
  ........
    r32519 | cpage88 | 2008-06-03 13:24:54 -0500 (Tue, 03 Jun 2008) | 1 line
    
    PARA: Fixed some memory leaks
  ........
    r32525 | cpage88 | 2008-06-04 00:21:47 -0500 (Wed, 04 Jun 2008) | 1 line
    
    QUEEN: Modified engine to use a quit flag instead of system->quit() in order to return to the launcher
  ........
    r32566 | cpage88 | 2008-06-05 19:34:47 -0500 (Thu, 05 Jun 2008) | 1 line
    
    TOUCHE: Fixed a memory leak
  ........
    r32578 | cpage88 | 2008-06-06 11:40:39 -0500 (Fri, 06 Jun 2008) | 1 line
    
    SKY: Fixed a memory leak in SKY engine
  ........
    r32641 | cpage88 | 2008-06-09 17:26:05 -0500 (Mon, 09 Jun 2008) | 1 line
    
    TOUCHE: Reverted some comments that were used for testing purposes
  ........
    r32642 | cpage88 | 2008-06-09 18:15:17 -0500 (Mon, 09 Jun 2008) | 1 line
    
    Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
  ........
    r32673 | cpage88 | 2008-06-12 11:58:02 -0500 (Thu, 12 Jun 2008) | 1 line
    
    SAGA: Fixed memory leaks in the SAGA engine
  ........
    r32675 | cpage88 | 2008-06-12 13:11:09 -0500 (Thu, 12 Jun 2008) | 1 line
    
    LURE: Fixed memory leaks in the LURE engine
  ........
    r32677 | cpage88 | 2008-06-12 13:52:43 -0500 (Thu, 12 Jun 2008) | 1 line
    
    CINE: Fixed memory leaks in the CINE engine
  ........
    r32679 | cpage88 | 2008-06-12 14:34:32 -0500 (Thu, 12 Jun 2008) | 1 line
    
    AGOS: Fixed a memory leak in the AGOS engine
  ........
    r32680 | cpage88 | 2008-06-12 14:43:54 -0500 (Thu, 12 Jun 2008) | 1 line
    
    SCUMM: Fixed a memory leak in the SCUMM engine
  ........
    r32718 | cpage88 | 2008-06-16 12:34:58 -0500 (Mon, 16 Jun 2008) | 1 line
    
    AGOS: Found a system->quit(), changed to _quit=true
  ........
    r32719 | cpage88 | 2008-06-16 13:47:32 -0500 (Mon, 16 Jun 2008) | 1 line
    
    Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear
  ........
    r32721 | cpage88 | 2008-06-16 14:55:59 -0500 (Mon, 16 Jun 2008) | 1 line
    
    Cleaned up some unnecessary comments
  ........
    r32739 | cpage88 | 2008-06-20 14:38:38 -0500 (Fri, 20 Jun 2008) | 1 line
    
    Reverting changes to codeblocks layouts made in revision 31992
  ........
................
  r32744 | peres001 | 2008-06-22 07:42:22 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Circular references between Zone/Animation and Command are now manually removed, to allow the objects - which are stored into SharedPtr's - to be deallocated.
................
  r32745 | fingolfin | 2008-06-22 12:26:18 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Disabled return to launcher on trunk again
................
  r32747 | thebluegr | 2008-06-22 12:29:36 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Updated NEWS about Drascula support
................
  r32750 | athrxx | 2008-06-22 14:31:05 +0200 (Sun, 22 Jun 2008) | 1 line
  
  this should fix bug #1997149: KYRA2: no text in spellbook
................
  r32751 | lordhoto | 2008-06-22 14:36:38 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Cleanup.
................
  r32752 | lordhoto | 2008-06-22 14:39:40 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Update comment.
................
  r32753 | athrxx | 2008-06-22 14:41:46 +0200 (Sun, 22 Jun 2008) | 1 line
  
  missed this in last commit (bug fix for #1997149)
................
  r32754 | lordhoto | 2008-06-22 14:43:32 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Cleanup.
................
  r32755 | lordhoto | 2008-06-22 15:26:22 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Fixed getTotalPlayTime implementation for MP3InputStream.
................
  r32756 | peres001 | 2008-06-22 16:31:45 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Fixed leak when loading sounds for Amiga version of Nippon Safes.
................
  r32757 | peres001 | 2008-06-22 16:46:08 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Added constructor and destructor to Dialogue, thus fixing a long standing leak.
................
  r32758 | thebluegr | 2008-06-22 19:36:14 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Fixed 2 MSVC warnings (potentially undefined behavior and possibly uninitialized variable used)
................
  r32759 | thebluegr | 2008-06-22 19:57:06 +0200 (Sun, 22 Jun 2008) | 1 line
  
  Turned off overzealous warning 4800 - "forcing value to bool 'true' or 'false' (performance warning)"
................
  r32762 | peres001 | 2008-06-24 15:21:22 +0200 (Tue, 24 Jun 2008) | 1 line
  
  Fix for bug #2001193. Character confirmation screen didn't appear and game crashed because too many strings were added to the draw list.
................
  r32763 | lordhoto | 2008-06-24 15:59:48 +0200 (Tue, 24 Jun 2008) | 2 lines
  
  Added const to some static data.
................
  r32764 | jvprat | 2008-06-24 16:23:26 +0200 (Tue, 24 Jun 2008) | 2 lines
  
  Fixed mktemp usage in BSD systems (as noted in bug #2000931)
................
  r32769 | buddha_ | 2008-06-24 22:44:37 +0200 (Tue, 24 Jun 2008) | 7 lines
  
  Fixed opcodes:
  - 0xA0: o2_addGfxElementType20 (Was o2_addGfxElementA0)
  Implemented opcodes:
  - 0xA1: o2_removeGfxElementType20 (Was o2_removeGfxElementA0)
  - 0xA2: o2_addGfxElementType21 (Was o2_opA2)
  - 0xA3: o2_removeGfxElementType21 (Was o2_opA3)
  NOTE: Drawing of type 21 overlay elements isn't coded yet.
................
  r32777 | thebluegr | 2008-06-25 10:36:07 +0200 (Wed, 25 Jun 2008) | 1 line
  
  Possible fix for (for the drascula engine) for bug #2001583 - "WINCE: CRUISE and DRASCULA engines can not be compiled"
................
  r32783 | thebluegr | 2008-06-25 14:02:34 +0200 (Wed, 25 Jun 2008) | 1 line
  
  Added patch from bug report #2001189 - "DRASCULA: Wrong intro music in Spanish version"
................
  r32785 | buddha_ | 2008-06-25 17:09:24 +0200 (Wed, 25 Jun 2008) | 5 lines
  
  Implemented opcode:
  - 0x8D: o2_op8D (Didn't come up with a descriptive name yet)
  Compares ranges of x, y and mask parameters between two objects.
  Possibly some kind of an intersection testing function?
................
  r32786 | buddha_ | 2008-06-25 19:14:44 +0200 (Wed, 25 Jun 2008) | 4 lines
  
  Implemented opcode:
  - 0x82: o2_modifySeqListElement (Was o2_op82)
  Seeks a matching element from the seqList and modifies its values.
................
  r32789 | buddha_ | 2008-06-25 20:51:44 +0200 (Wed, 25 Jun 2008) | 1 line
  
  Added FIXME about the broken implementation of opcode 0x9A (o2_wasZoneChecked).
................
  r32790 | buddha_ | 2008-06-25 23:57:08 +0200 (Wed, 25 Jun 2008) | 5 lines
  
  Implemented support for zoneQuery (Operation Stealth specific).
  Fixed opcodes (related to zoneQuery):
  - 0x08: o1_checkCollision
  - 0x9A: o2_wasZoneChecked
  NOTE: Savegame support for the zoneQuery data is broken
................
  r32791 | buddha_ | 2008-06-26 00:13:18 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Fix for GCC warning (Warned about testing x >= 0 when x is unsigned and therefore the test is always true).
................
  r32798 | cyx | 2008-06-26 12:12:12 +0200 (Thu, 26 Jun 2008) | 1 line
  
  moved midi driver object creation to MidiPlayer class (to match delete call)
................
  r32799 | cyx | 2008-06-26 12:12:47 +0200 (Thu, 26 Jun 2008) | 1 line
  
  fix possible oob access
................
  r32801 | buddha_ | 2008-06-26 17:16:15 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Comments update.
................
  r32802 | buddha_ | 2008-06-26 17:44:26 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Comments update.
................
  r32803 | anotherguest | 2008-06-26 18:51:02 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Fixed Symbian buildsystem for new defines. Fixed ARM asm syntax for Symbian build.
................
  r32804 | buddha_ | 2008-06-26 19:29:21 +0200 (Thu, 26 Jun 2008) | 4 lines
  
  Fixed opcode:
  - 0x83: o2_isSeqRunning (Should it be named o2_isSeqNotRunning?)
  -- Added previously missing test part
  -- Negated the result (It was backwards before!)
................
  r32805 | anotherguest | 2008-06-26 20:31:33 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Changed default paths
................
  r32806 | anotherguest | 2008-06-26 20:45:46 +0200 (Thu, 26 Jun 2008) | 1 line
  
  Remove inclusion of .o in mmp.in
................
  r32807 | athrxx | 2008-06-26 21:42:59 +0200 (Thu, 26 Jun 2008) | 3 lines
  
  - improved hof music support for fm-towns (driver for *.twn tracks) (still needs quite some work)
  - some PC-98 music support since it uses a very similar driver, but this can't be considered working yet)
  - Kyra 1 PC-98 music doen't work at all since I haven't figured out yet how to turn track numbers into the corresponding music file names (might require a hard coded track map)
................
  r32809 | drmccoy | 2008-06-26 21:56:18 +0200 (Thu, 26 Jun 2008) | 2 lines
  
  Fixing compilation for me. There are still lots of "cast casts away constness" warnings, though
................
  r32810 | athrxx | 2008-06-26 22:13:04 +0200 (Thu, 26 Jun 2008) | 1 line
  
  cleanup
................
  r32811 | athrxx | 2008-06-26 22:30:43 +0200 (Thu, 26 Jun 2008) | 1 line
  
  more cleanup
................
  r32812 | athrxx | 2008-06-26 22:43:23 +0200 (Thu, 26 Jun 2008) | 1 line
  
  fix bad const casts
................
  r32816 | buddha_ | 2008-06-27 01:30:45 +0200 (Fri, 27 Jun 2008) | 1 line
  
  Implemented Operation Stealth's version of addOverlay(objectIndex, overlayType).
................
  r32817 | john_doe | 2008-06-27 11:57:38 +0200 (Fri, 27 Jun 2008) | 2 lines
  
  - Fixed umlauts in printText
  - Don't exit when a pmv video couldn't be found
................
  r32819 | athrxx | 2008-06-28 15:13:37 +0200 (Sat, 28 Jun 2008) | 2 lines
  
  - HOF: bug fix for music driver
  - KYRA1 PC98: fix music file selection
................
  r32820 | peres001 | 2008-06-28 15:31:58 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Added comment for fix for bug #2001193.
................
  r32821 | athrxx | 2008-06-28 15:40:03 +0200 (Sat, 28 Jun 2008) | 1 line
  
  hof: remove debug code
................
  r32823 | joostp | 2008-06-28 15:53:39 +0200 (Sat, 28 Jun 2008) | 2 lines
  
  add getFilesystemFactory() method to null backend
................
  r32824 | fingolfin | 2008-06-28 16:14:16 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Removed OSystem::getFilesystemFactory() default implentation, as announced
................
  r32825 | fingolfin | 2008-06-28 17:00:27 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Removed dead X11 backend
................
  r32826 | fingolfin | 2008-06-28 17:13:54 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Removed obsolete ::clearSoundCallback() code
................
  r32827 | fingolfin | 2008-06-28 17:27:40 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Doxygenified a comment
................
  r32828 | fingolfin | 2008-06-28 17:28:29 +0200 (Sat, 28 Jun 2008) | 1 line
  
  Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
................
  r32829 | athrxx | 2008-06-28 17:36:50 +0200 (Sat, 28 Jun 2008) | 1 line
  
  - implement music fading for Hof FM-Towns
................
  r32830 | eriktorbjorn | 2008-06-28 18:00:04 +0200 (Sat, 28 Jun 2008) | 2 lines
  
  Fixed warning. (Hopefully without breaking anything.)
................
  r32832 | marcus_c | 2008-06-29 00:16:51 +0200 (Sun, 29 Jun 2008) | 1 line
  
  Set $(DEPDIR).
................
  r32833 | peres001 | 2008-06-29 11:30:32 +0200 (Sun, 29 Jun 2008) | 1 line
  
  Changed all remaining code to use the GfxObj class to keep frames data. This allows for more uniform processing during rendering, and also fixes the display of dialogue faces for BRA.
................
  r32834 | peres001 | 2008-06-29 11:56:44 +0200 (Sun, 29 Jun 2008) | 1 line
  
  Merged the three render lists (for animations, doors and objects) into a single one.
................
  r32835 | djwillis | 2008-06-29 12:16:20 +0200 (Sun, 29 Jun 2008) | 1 line
  
  Small GP2X tidy (mostly svn:executable on scripts) and fixes needed to reflect "Patch ##1956946 (Audio::Mixer internal API revision)"
................
  r32836 | marcus_c | 2008-06-29 13:51:47 +0200 (Sun, 29 Jun 2008) | 1 line
  
  New Mixer API.
................
  r32838 | marcus_c | 2008-06-29 14:10:38 +0200 (Sun, 29 Jun 2008) | 1 line
  
  Updated to use new EngineMan.detectGames() API.
................
  r32839 | knakos | 2008-06-29 16:40:41 +0200 (Sun, 29 Jun 2008) | 1 line
  
  finish up new mixer changes
................
  r32840 | knakos | 2008-06-29 16:41:44 +0200 (Sun, 29 Jun 2008) | 1 line
  
  fix some quirks of the newer build system
................
  r32841 | athrxx | 2008-06-29 17:25:45 +0200 (Sun, 29 Jun 2008) | 2 lines
  
  - some more work on the Hof FM-Towns/PC98 music driver
  - move channels to a separate class
................
  r32842 | athrxx | 2008-06-29 17:59:35 +0200 (Sun, 29 Jun 2008) | 1 line
  
  cleanup
................
  r32843 | athrxx | 2008-06-29 18:07:29 +0200 (Sun, 29 Jun 2008) | 1 line
  
  fix warning
................
  r32844 | knakos | 2008-06-29 18:58:27 +0200 (Sun, 29 Jun 2008) | 1 line
  
  adding a fixme
................
  r32846 | joostp | 2008-06-30 01:36:44 +0200 (Mon, 30 Jun 2008) | 2 lines
  
  changes required for new mixer API + implement getMillis() and delayMillis() using gettimeofday() and usleep() resp.
................
  r32847 | peres001 | 2008-06-30 03:36:50 +0200 (Mon, 30 Jun 2008) | 1 line
  
  Small cleanup/shuffling of Gfx code.
................
  r32848 | buddha_ | 2008-06-30 05:33:08 +0200 (Mon, 30 Jun 2008) | 1 line
  
  Implemented resetGfxEntityEntry and made it used where appropriate (The function wasn't very easy to reverse engineer so it may have flaws still, but let's hope it doesn't ;-)).
................
  r32849 | thebluegr | 2008-06-30 10:46:20 +0200 (Mon, 30 Jun 2008) | 1 line
  
  Updated MSVC project files for commit #32828
................
  r32850 | buddha_ | 2008-06-30 19:24:23 +0200 (Mon, 30 Jun 2008) | 1 line
  
  Fixed addAni (A test before using resetGfxEntityEntry was incorrect). Also added comments and checked that most 8-bit values used in this function are used as signed integers.
................
  r32852 | buddha_ | 2008-06-30 20:15:34 +0200 (Mon, 30 Jun 2008) | 1 line
  
  Removed TODO from checkCollision: Updating zoneQuery each time checkCollision is called seems to be fine.
................
  r32853 | anotherguest | 2008-06-30 21:10:32 +0200 (Mon, 30 Jun 2008) | 1 line
  
  del instead of rm command
................
  r32854 | athrxx | 2008-06-30 23:55:08 +0200 (Mon, 30 Jun 2008) | 2 lines
  
  - this fixes Hof PC98 music initialization
  - music sounds exactly like FM-Towns for now
................
  r32858 | lordhoto | 2008-07-01 01:39:56 +0200 (Tue, 01 Jul 2008) | 2 lines
  
  Added support for Spanish fan translation of kyra3 (See fr #1994040 "KYRA3: Add support for Spanish fan translation").
................
  r32859 | lordhoto | 2008-07-01 01:44:33 +0200 (Tue, 01 Jul 2008) | 2 lines
  
  Fix game flags for detection entries of installed kyra3 versions.
................
  r32865 | fingolfin | 2008-07-01 12:33:25 +0200 (Tue, 01 Jul 2008) | 1 line
  
  Fixed unitialized variables
................
  r32866 | dreammaster | 2008-07-01 13:46:29 +0200 (Tue, 01 Jul 2008) | 1 line
  
  Made corrections to the Italian strings
................
  r32867 | dreammaster | 2008-07-01 13:48:06 +0200 (Tue, 01 Jul 2008) | 1 line
  
  New lure.dat with corrections to the Italian strings
................
  r32868 | fingolfin | 2008-07-01 16:51:44 +0200 (Tue, 01 Jul 2008) | 1 line
  
  Reverted accidental commit of Tinsel changes in engines.mk
................
  r32873 | peres001 | 2008-07-02 03:41:08 +0200 (Wed, 02 Jul 2008) | 2 lines
  
  - Changed labels to be GfxObj's, thus removing the Label object altogether.
  - Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it).
................
  r32874 | buddha_ | 2008-07-02 06:31:50 +0200 (Wed, 02 Jul 2008) | 5 lines
  
  Fully implemented processSeqListElement
  - Added parts that were missing and fixed a couple of errors
  -- One test was backwards and a global variable was written to when it shouldn't have been
  Added global variable inputVar0 that's used in processSeqListElement
  NOTE: inputVar0 isn't updated anywhere yet, so that's a TODO
................
  r32879 | sev | 2008-07-03 10:44:29 +0200 (Thu, 03 Jul 2008) | 1 line
  
  Fix for bug #2008054: Parallaction engine doesn't compile under MSVC9
................
  r32883 | peres001 | 2008-07-03 12:31:25 +0200 (Thu, 03 Jul 2008) | 1 line
  
  Changed balloons to use GfxObj as well. Next step is to integrate balloons for BRA.
................
  r32895 | drmccoy | 2008-07-03 18:25:59 +0200 (Thu, 03 Jul 2008) | 2 lines
  
  Fixing a crash when loading a save made within the cult/bargon building (bug #2005965)
................
  r32899 | athrxx | 2008-07-03 23:09:07 +0200 (Thu, 03 Jul 2008) | 1 line
  
  minor fix for Towns/PC98 music
................
  r32902 | peres001 | 2008-07-04 02:29:21 +0200 (Fri, 04 Jul 2008) | 2 lines
  
  - Moved dialogue balloon management code from Gfx to its own class
  - Added a class to draw balloons in BRA (still without text and with wrong placement)
................
  r32903 | Kirben | 2008-07-04 02:35:39 +0200 (Fri, 04 Jul 2008) | 1 line
  
  Correct typo.
................
  r32904 | buddha_ | 2008-07-04 11:38:03 +0200 (Fri, 04 Jul 2008) | 1 line
  
  Updated MSVC project files (Added Parallaction's balloons.cpp).
................
  r32910 | sev | 2008-07-05 06:28:17 +0200 (Sat, 05 Jul 2008) | 2 lines
  
  Mention merge of Chris Page's memory leak plugging code.
................
  r32911 | lordhoto | 2008-07-05 09:47:27 +0200 (Sat, 05 Jul 2008) | 2 lines
  
  Added spanish menu strings for spanish fan translation of Kyrandia 3.
................
  r32912 | lordhoto | 2008-07-05 10:20:10 +0200 (Sat, 05 Jul 2008) | 2 lines
  
  Added support for Italian fan translation of Kyrandia 3. (see fr#2003504 "KYRA: add support for Italian version of Kyrandia 2&3")
................
  r32923 | marcus_c | 2008-07-06 00:53:17 +0200 (Sun, 06 Jul 2008) | 1 line
  
  Enable all engines.
................
  r32924 | dhewg | 2008-07-06 14:04:19 +0200 (Sun, 06 Jul 2008) | 1 line
  
  adjustments to the recent mixer api changes
................
  r32930 | eriktorbjorn | 2008-07-06 20:37:52 +0200 (Sun, 06 Jul 2008) | 4 lines
  
  Implemented Good Enough(TM) XMIDI looping. This is used by Kyrandia 2 (the
  loop hack is no longer needed, and has been removed), and will be used by
  Discworld.
................
  r32931 | eriktorbjorn | 2008-07-06 21:25:32 +0200 (Sun, 06 Jul 2008) | 4 lines
  
  Fixed silly error. The NEXT_BREAK event should, of course, jump to the event
  *after* the FOR_LOOP event. Apart from simplifying things, this should allow
  limited number of repeats to work.
................
  r32938 | drmccoy | 2008-07-07 15:01:54 +0200 (Mon, 07 Jul 2008) | 2 lines
  
  Don't let listSavefiles() search subdirectories. Files with the same name (in different directories) would cause duplicate entries for the same file.
................
  r32940 | peres001 | 2008-07-07 16:51:27 +0200 (Mon, 07 Jul 2008) | 1 line
  
  Fixed regression after label code refactoring.
................
  r32948 | thebluegr | 2008-07-07 21:40:43 +0200 (Mon, 07 Jul 2008) | 1 line
  
  Some fixes for warnings under GCC 2.95
................
  r32949 | lordhoto | 2008-07-07 22:40:35 +0200 (Mon, 07 Jul 2008) | 1 line
  
  Fix for bug #2012293 "KYRA: Bad Spanish String in menu".
................
  r32951 | buddha_ | 2008-07-08 00:02:01 +0200 (Tue, 08 Jul 2008) | 1 line
  
  Fix for bathroom door opening crash in Operation Stealth's start.
................
  r32960 | fingolfin | 2008-07-08 12:29:35 +0200 (Tue, 08 Jul 2008) | 1 line
  
  Remove reference to kPlainSoundType
................
  r32961 | sev | 2008-07-08 13:18:44 +0200 (Tue, 08 Jul 2008) | 1 line
  
  Shut couple of MSVC warnings
................
  r32962 | drmccoy | 2008-07-08 13:35:09 +0200 (Tue, 08 Jul 2008) | 2 lines
  
  Modified the EGA story image delay to work for the Mac versions as well
................
  r32963 | drmccoy | 2008-07-08 13:36:52 +0200 (Tue, 08 Jul 2008) | 3 lines
  
  Added a Gob1 version supplied by raina in the forums.
  It does look like the Mac version with a DOS executable and stripped music to me, so let's hope the Mac level image workaround works there as well.
................
  r32964 | sev | 2008-07-08 13:48:16 +0200 (Tue, 08 Jul 2008) | 1 line
  
  One more MSVC warning
................
  r32966 | eriktorbjorn | 2008-07-08 18:25:39 +0200 (Tue, 08 Jul 2008) | 4 lines
  
  On reading some more about XMIDI, I believe the NEXT and BREAK variants of the
  controller are mutually exclusive cases, i.e. a BREAK simply means forget about
  the innermost loop, and continue as if nothing had happened.
................
  r32967 | joostp | 2008-07-08 19:20:26 +0200 (Tue, 08 Jul 2008) | 2 lines
  
  changes for new Mixer API
................
  r32968 | joostp | 2008-07-08 19:41:09 +0200 (Tue, 08 Jul 2008) | 2 lines
  
  Enable static engines -- time to start thinking about prx/plugin support!
................
  r32969 | joostp | 2008-07-08 19:46:26 +0200 (Tue, 08 Jul 2008) | 2 lines
  
  set DEPDIR
................
  r32970 | tramboi | 2008-07-09 04:19:57 +0200 (Wed, 09 Jul 2008) | 3 lines
  
  New configure flag --enable-profiling to compile and link with -pg (for 
  gprof)
................
  r32972 | peres001 | 2008-07-09 04:49:20 +0200 (Wed, 09 Jul 2008) | 1 line
  
  Added a couple of NULLity checks.
................
  r32973 | fingolfin | 2008-07-09 12:42:47 +0200 (Wed, 09 Jul 2008) | 1 line
  
  cleanup / code formatting
................
  r32974 | peres001 | 2008-07-09 12:52:46 +0200 (Wed, 09 Jul 2008) | 1 line
  
  Fixed regression introduced with GfxObj: the character sprite was sometimes removed from the rendering list.
................
  r32976 | peres001 | 2008-07-09 15:27:09 +0200 (Wed, 09 Jul 2008) | 1 line
  
  Fixed leaks in NS and BRA.
................
  r32978 | agent-q | 2008-07-09 18:50:23 +0200 (Wed, 09 Jul 2008) | 1 line
  
  DS: Backend changes for new mixer code
................
  r32983 | peres001 | 2008-07-10 04:00:54 +0200 (Thu, 10 Jul 2008) | 1 line
  
  Fixed destruction of sprites in BRA.
................
  r32986 | lordhoto | 2008-07-10 13:25:43 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Workaround for gcc 2.95 compiler bug.
................
  r32987 | lordhoto | 2008-07-10 13:28:51 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Fixed mem leak in MIDI related code.
................
  r32988 | lordhoto | 2008-07-10 14:05:38 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added filename to unknown opcode/command warnings of EMC scripts.
................
  r32989 | lordhoto | 2008-07-10 14:12:42 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added filename to unkown command/opcode warnings for TIM scripts.
................
  r32990 | lordhoto | 2008-07-10 14:14:00 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Typo.
................
  r32992 | eriktorbjorn | 2008-07-10 18:19:17 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Fixed Kyra 3 detection regression.
................
  r32994 | tramboi | 2008-07-10 20:01:54 +0200 (Thu, 10 Jul 2008) | 1 line
  
  Fixed a few warnings
................
  r33002 | peres001 | 2008-07-11 14:55:08 +0200 (Fri, 11 Jul 2008) | 2 lines
  
  Fixed leak in sound code by explicitly deleting the midi driver.
................
  r33003 | peres001 | 2008-07-11 15:06:28 +0200 (Fri, 11 Jul 2008) | 3 lines
  
  Moved program and command execution code out of the engine, into their own brand new 
  classes.
................
  r33004 | buddha_ | 2008-07-11 15:13:28 +0200 (Fri, 11 Jul 2008) | 1 line
  
  Update MSVC project files.
................
  r33006 | peres001 | 2008-07-11 15:36:22 +0200 (Fri, 11 Jul 2008) | 1 line
  
  Cleanup.
................
  r33007 | peres001 | 2008-07-11 17:07:13 +0200 (Fri, 11 Jul 2008) | 1 line
  
  Added a script (courtesy of salty-horse) to create/set properties for source files under version control by Subversion. Specifically, the mime-type, eol-style and keywords properties are handled.
................
  r33009 | fingolfin | 2008-07-11 22:28:14 +0200 (Fri, 11 Jul 2008) | 1 line
  
  Don't use kPlainSoundType if you don't have to
................
  r33010 | fingolfin | 2008-07-11 22:28:50 +0200 (Fri, 11 Jul 2008) | 1 line
  
  cleanup
................
  r33014 | drmccoy | 2008-07-12 17:21:38 +0200 (Sat, 12 Jul 2008) | 3 lines
  
  Changed tricky variable access from pointers to a new class that minds endianess.
  This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems).
................
  r33017 | tramboi | 2008-07-12 22:35:44 +0200 (Sat, 12 Jul 2008) | 2 lines
  
  Minor constness fix to help with aliasing
................
  r33021 | peres001 | 2008-07-13 05:30:14 +0200 (Sun, 13 Jul 2008) | 1 line
  
  Properly implemented the OFF command. The new rendering order for graphics let this mistake finally surface.
................
  r33022 | peres001 | 2008-07-13 05:39:42 +0200 (Sun, 13 Jul 2008) | 1 line
  
  Cleanup and improved debugging output for CommandExec::run()
................
  r33023 | peres001 | 2008-07-13 08:27:31 +0200 (Sun, 13 Jul 2008) | 1 line
  
  Cleanup of walk code.
................
  r33030 | athrxx | 2008-07-13 14:20:24 +0200 (Sun, 13 Jul 2008) | 1 line
  
  - fix for bug #2016965: KYRA: does not compile in MSVC71
................
  r33033 | peres001 | 2008-07-13 15:04:36 +0200 (Sun, 13 Jul 2008) | 1 line
  
  More refactoring of walk code.
................
  r33052 | peres001 | 2008-07-14 02:13:31 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Made sure characters are not removed from the rendering list during switches.
................
  r33053 | peres001 | 2008-07-14 02:21:05 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Fixed regression in walk code. Now standing frames are correctly selected when the character encounters an unexpected blocking object in his/her path.
................
  r33056 | fingolfin | 2008-07-14 09:54:18 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Fixed code formatting
................
  r33057 | dreammaster | 2008-07-14 12:33:57 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Fix for missing data in the savegame format that could result in not being able to talk to Goewin in the apothecary after restoring a savegame
................
  r33058 | peres001 | 2008-07-14 15:35:43 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Removed all labels from the rendering list to avoid random crashes after introduction is over.
................
  r33061 | fingolfin | 2008-07-14 21:14:26 +0200 (Mon, 14 Jul 2008) | 1 line
  
  cleanup (and test for Marwan's branch.... ;)
................
  r33062 | tramboi | 2008-07-14 22:34:31 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Register spilling avoided in AGOS background drawing (and 2x unrolling)
................
  r33063 | wjpalenstijn | 2008-07-14 23:00:39 +0200 (Mon, 14 Jul 2008) | 1 line
  
  Don't draw scumm saveload dialog while reflowing layout, as that would use uninitialized values
................
  r33064 | wjpalenstijn | 2008-07-14 23:04:42 +0200 (Mon, 14 Jul 2008) | 1 line
  
  remove accidentally committed debugging code; fix shadowing warning
................
  r33068 | buddha_ | 2008-07-15 01:10:51 +0200 (Tue, 15 Jul 2008) | 8 lines
  
  Fix for bug #2016647 (FW: crash with italian amiga version).
  - Consists of a workaround for a script bug that used local
    variable 251 when it should've used global variable 251.
  - Also added a fix for a crash when failing copy protection
    in Amiga or Atari ST versions of Future Wars.
  NOTE: That any of the Amiga or Atari ST versions of Future Wars
  haven't crashed right in the beginning before seems like plain
  luck because accessing local variable 251 is out of bounds!
................
  r33070 | fingolfin | 2008-07-15 12:47:24 +0200 (Tue, 15 Jul 2008) | 1 line
  
  config.log and tmp files should be put into the configure (= current) dir, not the source dir
................
  r33072 | peres001 | 2008-07-15 12:59:58 +0200 (Tue, 15 Jul 2008) | 1 line
  
  Made frame unpacking buffer dynamic (this frees some BSS space).
................
  r33075 | fingolfin | 2008-07-15 19:13:06 +0200 (Tue, 15 Jul 2008) | 1 line
  
  Implemented audio double buffering (for now OSX only)
................
  r33078 | cyx | 2008-07-15 22:26:12 +0200 (Tue, 15 Jul 2008) | 1 line
  
  fix bug #1995042: stop previous sfx playback when starting a new sfx (matches original dos code). Also removed the "sound skipping" hack in final bam scene.
................
  r33079 | cyx | 2008-07-15 22:31:11 +0200 (Tue, 15 Jul 2008) | 2 lines
  
  fix bug #1876741: changed .SB playback rate to 11840Hz (matches dos game)
................
  r33083 | tramboi | 2008-07-16 11:08:44 +0200 (Wed, 16 Jul 2008) | 3 lines
  
  Split the drawVertImage function in the agos engine to make it clearer 
  and easier to profile
................
  r33086 | peres001 | 2008-07-17 02:38:11 +0200 (Thu, 17 Jul 2008) | 1 line
  
  Fixed regression bug in dialogue, which de-facto allowed user to skip in-game protection.
................
  r33087 | buddha_ | 2008-07-17 09:13:41 +0200 (Thu, 17 Jul 2008) | 1 line
  
  Patch #2019455: Patch for reducing the BSS size of Cine engine.
................
  r33089 | fingolfin | 2008-07-17 17:56:24 +0200 (Thu, 17 Jul 2008) | 1 line
  
  Committing PS2 changes on behalf of the other Max ;)
................
  r33094 | eriktorbjorn | 2008-07-18 06:16:00 +0200 (Fri, 18 Jul 2008) | 4 lines
  
  Don't crash if you try to use music file #2 as music file #1. When the music
  wasn't found, it would close the file even if something else was already
  playing from it. (Some music is in both files.)
................
  r33095 | dreammaster | 2008-07-18 11:36:49 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  In OSystem_SDL::closeMixer moved the call to SDL_CloseAudio to before the deletion of the _mixer variable in  to fix an assert that was being generated in OSystem_SDL::mixCallback
................
  r33096 | buddha_ | 2008-07-18 16:01:53 +0200 (Fri, 18 Jul 2008) | 1 line
  
  Added savefile position comments to savegame loading routine (Helpful for debugging the formats).
................
  r33098 | anotherguest | 2008-07-18 21:02:40 +0200 (Fri, 18 Jul 2008) | 1 line
  
  Symbian soundsmixer update. (Compile fix)
................
  r33099 | anotherguest | 2008-07-18 22:40:48 +0200 (Fri, 18 Jul 2008) | 1 line
  
  Introduced cache for filereading to fix slowness in AGOS among others.
................
  r33104 | anotherguest | 2008-07-19 00:07:52 +0200 (Sat, 19 Jul 2008) | 1 line
  
  Fixed typo in filehandling
................
  r33108 | anotherguest | 2008-07-19 09:08:37 +0200 (Sat, 19 Jul 2008) | 1 line
  
  eof was not working properly with caching
................
  r33109 | anotherguest | 2008-07-19 09:44:12 +0200 (Sat, 19 Jul 2008) | 1 line
  
  Enable support to turn off ALL variations. all variation is most often the one used 
................
  r33114 | fingolfin | 2008-07-19 23:42:31 +0200 (Sat, 19 Jul 2008) | 1 line
  
  Removed -Wundef from the default list of compiler flags, and changed PLUGIN_ENABLED_DYNAMIC to not use 'defined()', thus avoiding compiler problems on e.g. BeOS
................
  r33115 | sunmax | 2008-07-20 03:30:47 +0200 (Sun, 20 Jul 2008) | 9 lines
  
  1. Re-added "rpckbd" as in 0.11.0
  
  2. Committed only its source, you will need to do a make inside its folder
     before being able to compile our beloved PlayStation2 backend.
  
  Enjoy,
   -max
................
  r33116 | sunmax | 2008-07-20 03:40:08 +0200 (Sun, 20 Jul 2008) | 4 lines
  
  Added the empty "elf" folder for the PS2 scummvm binary,
  so that developers won't have to mkdir it by hand.
................
  r33117 | sunmax | 2008-07-20 03:44:40 +0200 (Sun, 20 Jul 2008) | 5 lines
  
  Added "DEPDIR := .deps" in Makefile.ps2
  
  Thanks Max [the other one] for pointing it out!
................
  r33120 | knakos | 2008-07-20 13:15:29 +0200 (Sun, 20 Jul 2008) | 1 line
  
  workaround for bogus findfirstfile. kyra now starts up correctly
................
  r33135 | fingolfin | 2008-07-20 18:27:12 +0200 (Sun, 20 Jul 2008) | 1 line
  
  cleanup
................
  r33136 | fingolfin | 2008-07-20 18:28:06 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Fixed nasty bug in findPlainGameDescriptor -- contrary to is documentation, it would not return 0 upon failure to find a match, but rather a (0,0) record.
................
  r33137 | fingolfin | 2008-07-20 18:42:56 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Fixed potential issue in Common::String when asserting a substring of a string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr
................
  r33138 | fingolfin | 2008-07-20 18:47:34 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Two new TODO/FIXME comments for class File
................
  r33139 | fingolfin | 2008-07-20 18:47:52 +0200 (Sun, 20 Jul 2008) | 1 line
  
  New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted)
................
  r33140 | fingolfin | 2008-07-20 18:52:25 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Fix for bug #1971499: ALL: config manager crashes when reading too long lines
................
  r33141 | knakos | 2008-07-20 18:55:51 +0200 (Sun, 20 Jul 2008) | 1 line
  
  modified patch #1882942 - optimize and kill code for really old platforms
................
  r33142 | knakos | 2008-07-20 19:04:27 +0200 (Sun, 20 Jul 2008) | 1 line
  
  a little more cleanup
................
  r33143 | marcus_c | 2008-07-20 19:56:43 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Solaris tr does not like character classes in some locales.  Use "C" locale.
................
  r33144 | marcus_c | 2008-07-20 19:58:14 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Deps now go in the .deps directory.
................
  r33145 | athrxx | 2008-07-20 20:00:00 +0200 (Sun, 20 Jul 2008) | 1 line
  
  KYRA: disable incomplete PC-98 audio support for 0.12.0 release (use towns audio instead)
................
  r33146 | eriktorbjorn | 2008-07-20 21:25:16 +0200 (Sun, 20 Jul 2008) | 2 lines
  
  Commented out some more PC-98 audio stuff, to avoid warnings.
................
  r33160 | sev | 2008-07-21 07:09:29 +0200 (Mon, 21 Jul 2008) | 2 lines
  
  This is 0.13.0svn now
................
  r33162 | peres001 | 2008-07-21 08:08:30 +0200 (Mon, 21 Jul 2008) | 1 line
  
  Massive refactoring of dialogue code, which is now implemented as a finite state machine. Related code in other files has been updated has well.
................
  r33165 | peres001 | 2008-07-21 11:25:40 +0200 (Mon, 21 Jul 2008) | 1 line
  
  Some refactoring for tracking of floating labels.
................
  r33167 | tramboi | 2008-07-21 12:13:44 +0200 (Mon, 21 Jul 2008) | 1 line
  
  Avoid branching in the inner loop of AGOS drawVertImageCompressed
................
  r33168 | Kirben | 2008-07-21 12:32:20 +0200 (Mon, 21 Jul 2008) | 1 line
  
  Spacing.
................
  r33169 | buddha_ | 2008-07-21 13:33:30 +0200 (Mon, 21 Jul 2008) | 1 line
  
  Silence a warning which complains about using an uninitialized variable.
................
  r33188 | peres001 | 2008-07-22 11:00:39 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Changed comment display code so that input polling is integrated into the main loop, instead of being performed in a blocking way from a separate routine.
................
  r33189 | peres001 | 2008-07-22 11:12:10 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Removed unneeded input code.
................
  r33191 | peres001 | 2008-07-22 12:12:20 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Fixed regression in dialogue code: certain commands weren't executed anymore after dialogue ended.
................
  r33192 | buddha_ | 2008-07-22 12:15:58 +0200 (Tue, 22 Jul 2008) | 14 lines
  
  Fix for bug #2019355 (FW: broken compatibility with 0.11.1 saves):
  - Changed savegame loading related functions to use SeekableReadStream
    rather than InSaveFile so MemoryReadStream can be used transparently.
  - Fixed loadResourcesFromSave to load multiframe animations correctly
    and to load 0.11.0/0.11.1 Future Wars savegames which used a slightly
    different format.
  - Added a savegame format detector that tries to detect between the old
    Future Wars savegame format, the new one and a broken revision of the
    new one.
  - Changed makeLoad to first load the savegame fully into memory and only
    then handle it (If the savegame's packed then it's unpacked first). If
    the packed savegame can't tell its unpacked size (i.e. it's using zlib
    format) then we'll try to load up to 256kB of the savegame data.
  Thanks to wjp for his help with nailing this release critical bug.
................
  r33193 | peres001 | 2008-07-22 12:17:19 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Fix build.
................
  r33196 | buddha_ | 2008-07-22 14:17:44 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Fix CineSaveGameFormat enumeration's include order (Caused problems at least with GCC).
................
  r33198 | peres001 | 2008-07-22 14:35:46 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Merged inventory input code from different files.
................
  r33202 | fingolfin | 2008-07-22 16:38:54 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Fix warnings in CINE
................
  r33203 | fingolfin | 2008-07-22 16:39:26 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Added String::trim() method
................
  r33206 | aquadran | 2008-07-22 17:24:39 +0200 (Tue, 22 Jul 2008) | 1 line
  
  shutup valgrind warning
................
  r33210 | anotherguest | 2008-07-22 20:52:13 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Fixed seek problem when cached data is used.
................
  r33212 | anotherguest | 2008-07-22 21:09:10 +0200 (Tue, 22 Jul 2008) | 1 line
  
  Disable hashmemory pool for Symbian OS
................
  r33218 | anotherguest | 2008-07-22 22:13:57 +0200 (Tue, 22 Jul 2008) | 2 lines
  
  AddedAdded MAD as default feature
................
  r33219 | peres001 | 2008-07-23 03:07:39 +0200 (Wed, 23 Jul 2008) | 1 line
  
  More merging of input code.
................
  r33220 | peres001 | 2008-07-23 04:01:15 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Fixed mouse cursor when closing inventory.
................
  r33222 | drmccoy | 2008-07-23 04:41:02 +0200 (Wed, 23 Jul 2008) | 2 lines
  
  More savegame-endianness fixes :/
................
  r33224 | peres001 | 2008-07-23 04:45:09 +0200 (Wed, 23 Jul 2008) | 1 line
  
  More decoupling of inventory code.
................
  r33225 | peres001 | 2008-07-23 09:31:35 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Removed useless event management code and made readInput() more general.
................
  r33226 | peres001 | 2008-07-23 09:52:43 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Removed the historical waitUntilLeftClick function and adapted code to use the more general readInput and waitForButtonEvent.
................
  r33229 | Kirben | 2008-07-23 11:01:33 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Update NEWS.
................
  r33230 | fingolfin | 2008-07-23 11:02:47 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added Tinsel engine to main repos (no news item for it ON PURPOSE)
................
  r33231 | dreammaster | 2008-07-23 11:28:23 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Replaced the out of date file list in the MSVC8 project with the proper file list
................
  r33232 | dreammaster | 2008-07-23 11:37:15 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added the Tinsel engine to the Scummvm MSVC8 Solution
................
  r33233 | buddha_ | 2008-07-23 11:45:44 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Updated rest of the MSVC project and solution files for Tinsel.
................
  r33234 | fingolfin | 2008-07-23 11:53:29 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Fix String::trim to work right for shared strings; augemented test cases to cover this
................
  r33235 | fingolfin | 2008-07-23 12:27:24 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Got rid of some typedefs
................
  r33236 | fingolfin | 2008-07-23 12:29:37 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Removed some dead code
................
  r33237 | fingolfin | 2008-07-23 12:33:36 +0200 (Wed, 23 Jul 2008) | 1 line
  
  cleanup; removed const  bNoScroll variable
................
  r33238 | dreammaster | 2008-07-23 12:54:59 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added extra defines and include for Tinsel project
................
  r33239 | buddha_ | 2008-07-23 14:15:02 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Enable Tinsel also for MSVC 7 & 7.1 & 9 in addition to MSVC 8.
................
  r33240 | buddha_ | 2008-07-23 16:19:31 +0200 (Wed, 23 Jul 2008) | 3 lines
  
  Renamed opcodes 0x49 and 0x68:
  - Opcode 0x49: setDefaultMenuColor2 -> setDefaultMenuBgColor
  - Opcode 0x68: setDefaultMenuColor  -> setPlayerCommandPosY
................
  r33241 | fingolfin | 2008-07-23 16:42:27 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Moved POLYGON struct into polygon.cpp; got rid of some more typedefs
................
  r33242 | fingolfin | 2008-07-23 16:43:41 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added svn:ignore attribute
................
  r33243 | fingolfin | 2008-07-23 16:44:33 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added Tinsel to credits & NEWS
................
  r33246 | fingolfin | 2008-07-23 18:33:53 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Added convenience method String::makeUnique(); simplified String::operator=(char c); extended String unit tests
................
  r33248 | fingolfin | 2008-07-23 18:49:45 +0200 (Wed, 23 Jul 2008) | 1 line
  
  Reorder stuff a little bit, moving private String methods together: cleanup
................
  r33249 | fingolfin | 2008-07-23 18:55:52 +0200 (Wed, 23 Jul 2008) | 1 line
  
  TINSEL: Renamed CoroutineInstall back to ProcessCreate; got rid of yet another typedef; more cleanup
................
  r33250 | fingolfin | 2008-07-23 19:01:42 +0200 (Wed, 23 Jul 2008) | 1 line
  
  cleanup
................
  r33252 | sev | 2008-07-23 21:50:57 +0200 (Wed, 23 Jul 2008) | 2 lines
  
  Fix bug which was triggered by file named 'a' in current directory.
................
  r33258 | peres001 | 2008-07-24 10:04:17 +0200 (Thu, 24 Jul 2008) | 1 line
  
  Can't test a SharedPtr for nullity!
................
  r33259 | fingolfin | 2008-07-24 10:59:17 +0200 (Thu, 24 Jul 2008) | 1 line
  
  Moved scheduler / process managment code into a new class Scheduler
................
  r33260 | peres001 | 2008-07-24 11:24:32 +0200 (Thu, 24 Jul 2008) | 3 lines
  
  * Moved end intro and end game sequences code to gui.
  * Rewrote all gui code to be run inside the main loop
  * Added code to avoid crashes when a scene with no standard background is drawn
................
  r33261 | peres001 | 2008-07-24 11:42:44 +0200 (Thu, 24 Jul 2008) | 1 line
  
  Fixed leak in new gui code.
................
  r33263 | fingolfin | 2008-07-24 12:31:37 +0200 (Thu, 24 Jul 2008) | 1 line
  
  cleanup
................
  r33266 | eriktorbjorn | 2008-07-25 00:12:48 +0200 (Fri, 25 Jul 2008) | 2 lines
  
  Make sure _musicVolume and _sfxVolume are clipped to fit in a byte.
................
  r33270 | peres001 | 2008-07-25 04:37:55 +0200 (Fri, 25 Jul 2008) | 3 lines
  
  * Merged old input management flags into a single mouse status variable.
  * Mouse is now displayed when it is needed, and hidden when it is not ;)
................
  r33272 | peres001 | 2008-07-25 08:35:02 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Converted BRA to work with the new menu approach. It is not yet well plugged-in as in NS, but it suffices for the moment.
................
  r33273 | peres001 | 2008-07-25 10:27:44 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Made character visible in BRA.
................
  r33274 | fingolfin | 2008-07-25 11:05:04 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: Updating the palette should only require a call to OSystem::updateScreen and not a blit
................
  r33275 | fingolfin | 2008-07-25 11:12:03 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: Get rid of Graphics::Surface class
................
  r33276 | fingolfin | 2008-07-25 11:13:08 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: ActorTag & PolyTag abused a SCNHANDLE and some global enums to keep a trinary state -- fixed that by introducing a new enum HotSpotTag
................
  r33277 | fingolfin | 2008-07-25 11:15:03 +0200 (Fri, 25 Jul 2008) | 1 line
  
  cleanup
................
  r33278 | fingolfin | 2008-07-25 11:15:32 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: Got rid of NO_TAG (not used)
................
  r33279 | fingolfin | 2008-07-25 11:16:33 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Added Common::Rect::isEmpty() method
................
  r33280 | fingolfin | 2008-07-25 11:17:47 +0200 (Fri, 25 Jul 2008) | 1 line
  
  More tinsel cleanup
................
  r33281 | fingolfin | 2008-07-25 11:18:39 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: Fixed forgotten ClearScreen(0) call
................
  r33282 | fingolfin | 2008-07-25 11:19:06 +0200 (Fri, 25 Jul 2008) | 1 line
  
  TINSEL: Got rid of PIMAGE, PINT_CONTEXT, PINV_OBJECT, PINV_DEF, PCONFBOX, PCONFINIT
................
  r33283 | dreammaster | 2008-07-25 11:36:18 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Fix to prevent attempt to delete a non-initialised object during game exit
................
  r33285 | joostp | 2008-07-25 12:20:05 +0200 (Fri, 25 Jul 2008) | 2 lines
  
  change PPINIT struct to use ScummVM datatypes, so sizeof(PPINIT) is 28 on ppc/OSX as well.
................
  r33287 | buddha_ | 2008-07-25 13:39:58 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Update MSVC project files for Parallaction.
................
  r33288 | drmccoy | 2008-07-25 14:59:46 +0200 (Fri, 25 Jul 2008) | 2 lines
  
  Fixed the inventory bug that's been reported in the forums
................
  r33289 | peres001 | 2008-07-25 18:01:25 +0200 (Fri, 25 Jul 2008) | 2 lines
  
  * Changed walk code to use Common::Point instead of the clumsy WalkNode.
  * Changed walk code to use object copy instead of managing pointers.
................
  r33290 | peres001 | 2008-07-25 18:08:10 +0200 (Fri, 25 Jul 2008) | 1 line
  
  Changed the remaining references to Nodes into Points.
................
  r33295 | peres001 | 2008-07-26 04:09:50 +0200 (Sat, 26 Jul 2008) | 1 line
  
  BRA now parses path data from the scripts.
................
  r33296 | peres001 | 2008-07-26 06:01:11 +0200 (Sat, 26 Jul 2008) | 2 lines
  
  * Added walk calculations to BRA (doesn't walk yet, though).
  * Adapted Character and Animation to handle both versions of the engine.
................
  r33297 | peres001 | 2008-07-26 07:37:52 +0200 (Sat, 26 Jul 2008) | 1 line
  
  Cleanup.
................
  r33298 | peres001 | 2008-07-26 07:56:39 +0200 (Sat, 26 Jul 2008) | 1 line
  
  More cleanup.
................
  r33321 | Kirben | 2008-07-27 03:54:40 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Fix buffer overflow in error message.
................
  r33325 | peres001 | 2008-07-27 10:35:00 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Doug from BRA can now walk in his hotel room. He still stops in bizarre poses, though.
................
  r33326 | vinterstum | 2008-07-27 12:15:57 +0200 (Sun, 27 Jul 2008) | 1 line
  
  The iPhone backend is now (mostly) up to speed again, and works for firmware 2.0
................
  r33327 | Kirben | 2008-07-27 12:36:26 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Search common directory, when loading frames and talks in Amiga verison of BRA.
................
  r33328 | peres001 | 2008-07-27 12:37:54 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Added rudimental support for location changes when walking through doors. The best part of this commit is that Doug now stops in a normal position.
................
  r33329 | Kirben | 2008-07-27 12:43:15 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Add music/sound loading in Amiga version of BRA.
................
  r33330 | lordhoto | 2008-07-27 13:07:38 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Fixed win32 plugin provider.
................
  r33332 | lordhoto | 2008-07-27 14:05:40 +0200 (Sun, 27 Jul 2008) | 2 lines
  
  Fixed macro.
................
  r33333 | lordhoto | 2008-07-27 14:09:10 +0200 (Sun, 27 Jul 2008) | 2 lines
  
  Fixed typo.
................
  r33334 | lordhoto | 2008-07-27 14:12:40 +0200 (Sun, 27 Jul 2008) | 3 lines
  
  - Fixed fadePalette for HoF and Kyra3
  - Fixed bug in wsaFrameAnimationStep
................
  r33335 | peres001 | 2008-07-27 15:43:40 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Inventory icons are now loaded correctly (not yet displayed). BRA doesn't crash anymore when pressing the right button. :)
................
  r33337 | peres001 | 2008-07-27 16:21:16 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Moved inventory cursor drawing code to InventoryRenderer.
................
  r33338 | buddha_ | 2008-07-27 16:33:37 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Cut savegame loading into smaller functional parts (resetEngine, loadPlainSave etc).
................
  r33339 | buddha_ | 2008-07-27 16:36:53 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Clear the confusing usage of NUM_MAX_VAR (It's 255 actually, not 256).
................
  r33340 | anotherguest | 2008-07-27 20:22:23 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Fix for ftell error when caching. HOF now starts properly
................
  r33342 | sev | 2008-07-27 23:14:31 +0200 (Sun, 27 Jul 2008) | 2 lines
  
  Patch from bugreport #2020561: "MMNES : Incorrect detection (US/GB)"
................
  r33345 | anotherguest | 2008-07-27 23:35:39 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Fixed the Symbian default savepath, but adding the needed \ at the end.
................
  r33347 | anotherguest | 2008-07-27 23:37:47 +0200 (Sun, 27 Jul 2008) | 1 line
  
  Fixed the Symbian default savepath, but adding the needed \ at the end and now as a string.
................
  r33349 | buddha_ | 2008-07-28 00:50:36 +0200 (Mon, 28 Jul 2008) | 3 lines
  
  Added a preliminary saving routine for Operation Stealth (Disabled by default, needs more work still. WIP!).
  Added backgrounds' name saving (8 names in Operation Stealth instead of just 1 like in Future Wars).
  Added 256 color palette saving and restoring (One of the palettes isn't properly handled yet though).
................
  r33350 | peres001 | 2008-07-28 04:56:17 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Fixed constructor for WindowsFilesystemNode. On Windows, trailing slashes can be added only to directory names.
................
  r33352 | peres001 | 2008-07-28 07:18:23 +0200 (Mon, 28 Jul 2008) | 3 lines
  
  * Changed Disk code in BRA to use FilesystemNode (duplication has become truly visible!).
  * Fixed Inventory items loading.
................
  r33353 | peres001 | 2008-07-28 07:21:11 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Some unneeded references slipped in with the last commit.
................
  r33354 | Kirben | 2008-07-28 07:38:24 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Fix compile.
................
  r33355 | peres001 | 2008-07-28 08:06:35 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Inventory is now properly rendered. Item selection is not yet working.
................
  r33356 | Kirben | 2008-07-28 08:18:39 +0200 (Mon, 28 Jul 2008) | 1 line
  
  There is no mask or path directories for part0 of BRA (Amiga), so always check whether they exist.
................
  r33357 | Kirben | 2008-07-28 09:20:55 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Add basic support for running Amiga and PC demos of BRA.
................
  r33359 | peres001 | 2008-07-28 10:25:06 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Some instrumentation for script debugging.
................
  r33360 | peres001 | 2008-07-28 10:25:52 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Added support for text in BRA DOS demo.
................
  r33361 | Kirben | 2008-07-28 10:44:14 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Correct character name set by character location parser.
................
  r33362 | buddha_ | 2008-07-28 10:44:49 +0200 (Mon, 28 Jul 2008) | 3 lines
  
  Made the savegame loading routine choose between loading a Future Wars or an Operation Stealth savegame format.
  Added a stub for loading the Operation Stealth's temporary savegame format (Not yet implemented).
  Made mouse cursor change to a disk icon when loading a savegame and back to normal after its done.
................
  r33363 | peres001 | 2008-07-28 10:56:37 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Added a post processing step to runScripts, so that Animation can be validated after buggy scripts have been executed.
................
  r33364 | peres001 | 2008-07-28 11:00:00 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Preliminary code for traps.
................
  r33365 | buddha_ | 2008-07-28 12:09:00 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Now detects temporary Operation Stealth savegame format and saves it. No loading yet.
................
  r33366 | buddha_ | 2008-07-28 12:44:54 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Cut Future Wars savegame loading routine into parts that can be reused when loading the Operation Stealth savegame format.
................
  r33367 | buddha_ | 2008-07-28 12:54:53 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Added remaining load functions needed for the Operation Stealth savegame format loading (loadSeqList and loadZoneQuery). Not used yet.
................
  r33369 | peres001 | 2008-07-28 13:47:03 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Tiny readability aid for parser code.
................
  r33370 | peres001 | 2008-07-28 13:48:04 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Implemented opcodes for picking up/dropping/opening/closing items.
................
  r33371 | peres001 | 2008-07-28 13:50:36 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Pick up/drop/open/close actions are now available in game.
................
  r33373 | thebluegr | 2008-07-28 14:46:30 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Cleanup
................
  r33375 | peres001 | 2008-07-28 16:02:46 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Fixed loading of static items.
................
  r33376 | peres001 | 2008-07-28 16:22:44 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Moved validation step from revision 33363, so that it is executed for all animations.
................
  r33377 | peres001 | 2008-07-28 16:23:49 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Yet another hack to deal with labels... Must rethink this crap from scratch.
................
  r33379 | buddha_ | 2008-07-28 18:02:40 +0200 (Mon, 28 Jul 2008) | 6 lines
  
  Added loading of temporary Operation Stealth savegames. Needs testing!
  - Music related settings and adBgVar0 & adBgVar1 aren't loaded currently.
  Modified resetEngine to also reset more of the Operation Stealth specific variables.
  Added getter for background scrolling value.
  Changed additional background indices 1 & 2 from byte to uint16.
  Made savegame loading functions return !in.ioFailed() as return value instead of true as previously.
................
  r33380 | buddha_ | 2008-07-28 18:46:20 +0200 (Mon, 28 Jul 2008) | 1 line
  
  Fixed crash when running Operation Stealth introduced in r33339 (There are actually 256 global variables although only 255 of them are saved and loaded from savegames. The last one is VAR_BYPASS_PROTECTION and it is written to in the mainLoop so that's why there was a crash).
................
  r33383 | fingolfin | 2008-07-29 00:21:11 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Fixing 'warning: comparison of unsigned expression < 0 is always false'
................
  r33384 | peres001 | 2008-07-29 01:21:03 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Enforcing use of nullZonePtr only for nulling out pointers, as it is useless for comparisons.
................
  r33385 | fingolfin | 2008-07-29 02:02:06 +0200 (Tue, 29 Jul 2008) | 1 line
  
  SDL: Properly init vars related to mixer double buffering
................
  r33387 | fingolfin | 2008-07-29 02:49:44 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Changed output of --test-detector: multiple hits with same gameid now only are a warning, not a failure
................
  r33388 | fingolfin | 2008-07-29 02:50:12 +0200 (Tue, 29 Jul 2008) | 1 line
  
  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')
................
  r33389 | fingolfin | 2008-07-29 02:54:28 +0200 (Tue, 29 Jul 2008) | 1 line
  
  BASE: in runGame, do not set addDefaultDirectory() the game path before invoking createInstance() -- detectors must use FSNode for detection, not rely on File::open
................
  r33392 | peres001 | 2008-07-29 05:14:35 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  * Fixed positioning of balloons and faces in BRA (dos, at least).
  * Adapted loading of faces.
................
  r33393 | Kirben | 2008-07-29 06:00:07 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Add check common directories, in loadScenery() for Amiga version of BRA.
................
  r33394 | Kirben | 2008-07-29 06:06:10 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.
................
  r33400 | lordhoto | 2008-07-29 11:16:53 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  Added a reset method to SharedPtr, which allows NULLifying it.
................
  r33401 | lordhoto | 2008-07-29 11:23:54 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  Formatting.
................
  r33402 | peres001 | 2008-07-29 11:44:05 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Added dialogue text rendering for BRA.
................
  r33404 | buddha_ | 2008-07-29 12:13:53 +0200 (Tue, 29 Jul 2008) | 6 lines
  
  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...
................
  r33405 | peres001 | 2008-07-29 12:22:50 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  * Added flexible verb configuration for both NS and BRA.
  * Objects can now be really opened and closed in BRA.
................
  r33407 | buddha_ | 2008-07-29 14:56:32 +0200 (Tue, 29 Jul 2008) | 1 line
  
  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.
................
  r33408 | peres001 | 2008-07-29 14:59:55 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  * Implemented pause/resume of command execution
  * Implemented command opcode MOVE (not the script instruction).
................
  r33409 | buddha_ | 2008-07-29 15:44:14 +0200 (Tue, 29 Jul 2008) | 7 lines
  
  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)
................
  r33410 | buddha_ | 2008-07-29 15:46:42 +0200 (Tue, 29 Jul 2008) | 1 line
  
  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.
................
  r33412 | fingolfin | 2008-07-29 18:09:10 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
................
  r33413 | fingolfin | 2008-07-29 18:12:42 +0200 (Tue, 29 Jul 2008) | 1 line
  
  CONFIGMAN: Store domains in the order they were added
................
  r33414 | fingolfin | 2008-07-29 18:16:15 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Added convenience accessor method GameDescriptor::preferredtarget
................
  r33415 | fingolfin | 2008-07-29 18:29:28 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Mass detector: sort all newly detected games by target name before adding them to the config manager
................
  r33416 | lordhoto | 2008-07-29 19:00:15 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  Added documentation for the functions in algorithm.h.
................
  r33418 | fingolfin | 2008-07-29 19:38:07 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Set svn:ignore for tools/create_drascula
................
  r33419 | fingolfin | 2008-07-29 19:42:19 +0200 (Tue, 29 Jul 2008) | 1 line
  
  Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as proposed on scummvm-devel
................
  r33425 | lordhoto | 2008-07-29 22:09:30 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  Documentation for func.h.
................
  r33426 | lordhoto | 2008-07-29 22:15:29 +0200 (Tue, 29 Jul 2008) | 2 lines
  
  Little fix for documentation.
................
  r33427 | lordhoto | 2008-07-29 22:21:54 +0200 (Tue, 29 Jul 2008) | 3 lines
  
  - Formatting
  - Improved Functor#Mem::isValid implementations.
................
  r33432 | peres001 | 2008-07-30 08:25:17 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Reordered initialization lists to silence warning.
................
  r33436 | fingolfin | 2008-07-30 09:39:41 +0200 (Wed, 30 Jul 2008) | 1 line
  
  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)
................
  r33437 | peres001 | 2008-07-30 09:58:25 +0200 (Wed, 30 Jul 2008) | 2 lines
  
  * Unified implementation of flow control opcodes in NS and BRA
  * Simplified script execution loop and context
................
  r33438 | thebluegr | 2008-07-30 10:23:04 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Make sure that save game descriptions are 0-terminated
................
  r33444 | buddha_ | 2008-07-30 13:03:52 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Added some debug aids related to addAni and the processSeqList crashing.
................
  r33446 | buddha_ | 2008-07-30 13:36:14 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Debug printing a couple more relevant variables in addAni.
................
  r33452 | peres001 | 2008-07-30 17:01:15 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Reordered initialization order to kill a ton of warnings.
................
  r33453 | fingolfin | 2008-07-30 17:16:57 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Advanced detector: split out part of detectGame into a new function detectGameFilebased; some cleanup
................
  r33455 | fingolfin | 2008-07-30 17:38:42 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Simplified advanced detector file sys scanning code
................
  r33456 | fingolfin | 2008-07-30 17:44:34 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Revert my accidental commit of the OSystem changes (oops)
................
  r33457 | fingolfin | 2008-07-30 17:48:16 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Simplify/optimize/cleanup detectGameFilebased further
................
  r33458 | peres001 | 2008-07-30 18:06:46 +0200 (Wed, 30 Jul 2008) | 1 line
  
  Fixed Win32 build, after Fingolfin's commits (probably because of the revert in revision 33456).
................
  r33459 | fingolfin | 2008-07-30 18:26:38 +0200 (Wed, 30 Jul 2008) | 1 line
  
  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
................
  r33463 | lordhoto | 2008-07-31 12:47:15 +0200 (Thu, 31 Jul 2008) | 2 lines
  
  Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
................
  r33464 | lordhoto | 2008-07-31 12:52:29 +0200 (Thu, 31 Jul 2008) | 2 lines
  
  Removed debugging leftover.
................
  r33466 | buddha_ | 2008-07-31 13:16:48 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Update MSVC project files for Kyra Lands of Lore additions.
................
  r33467 | peres001 | 2008-07-31 13:29:37 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Set correct font for dialogues in BRA Amiga.
................
  r33468 | peres001 | 2008-07-31 14:26:12 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all z-buffering.
................
  r33469 | peres001 | 2008-07-31 14:50:43 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Made changing of background more flexible, in that the engine can now configure its BackgroundInfo before passing it to Gfx.
................
  r33470 | lordhoto | 2008-07-31 15:36:13 +0200 (Thu, 31 Jul 2008) | 3 lines
  
  - Added Common::mem_fun_ref for object references instead of pointers.
  - Added simple tests for a little bit functionallity from common/func.h
................
  r33471 | eriktorbjorn | 2008-07-31 15:45:58 +0200 (Thu, 31 Jul 2008) | 4 lines
  
  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.
................
  r33473 | peres001 | 2008-07-31 16:20:51 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Disabled masks in BRA Amiga, because the decoding is not known yet.
................
  r33474 | peres001 | 2008-07-31 17:15:42 +0200 (Thu, 31 Jul 2008) | 2 lines
  
  * Removed references to the current _backgroundInfo from parser code.
  * Re-enabled masks (in BRA DOS).
................
  r33478 | anotherguest | 2008-07-31 19:33:48 +0200 (Thu, 31 Jul 2008) | 1 line
  
  Enabled the correct features for standard builds
................

svn-id: r33486
2008-08-01 08:55:21 +00:00
Vicent Marti
e8278c4c68 GUI Layout parsing. Work in progress.
svn-id: r33475
2008-07-31 17:23:38 +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
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
Stephen Kennedy
8345c1b687 fix for new read-only File object
svn-id: r33451
2008-07-30 15:00:11 +00:00
Stephen Kennedy
a4ac44875e Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33450
2008-07-30 14:40:54 +00:00
Vicent Marti
f930bbac59 Finished documentation.
svn-id: r33449
2008-07-30 14:08:07 +00:00
Vicent Marti
e7959952bb Rewrote most of the XML parser class.
Added support for defining the XML layout when parsing, allows for safer parsing.
Updated all the documentation regarding the usage of the XMLParser class.

svn-id: r33447
2008-07-30 13:33:32 +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
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
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
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
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
1bf64890e5 Added Common::Rect::isEmpty() method
svn-id: r33279
2008-07-25 09:16:33 +00:00
Max Horn
918e0fe473 Reorder stuff a little bit, moving private String methods together: cleanup
svn-id: r33248
2008-07-23 16:49:45 +00:00
Max Horn
15c610a069 Added convenience method String::makeUnique(); simplified String::operator=(char c); extended String unit tests
svn-id: r33246
2008-07-23 16:33:53 +00:00
Max Horn
d5e2c6d4bf Fix String::trim to work right for shared strings; augemented test cases to cover this
svn-id: r33234
2008-07-23 09:53:29 +00:00
Vicent Marti
c5d6738011 Dirty rectangle handling, round four. :/
svn-id: r33216
2008-07-22 20:07:53 +00:00
Lars Persson
c296869108 Disable hashmemory pool for Symbian OS
svn-id: r33212
2008-07-22 19:09:10 +00:00
Max Horn
705c92ddc3 Added String::trim() method
svn-id: r33203
2008-07-22 14:39:26 +00:00
Stephen Kennedy
0861fa4c00 Merged revisions 32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033,33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33185
2008-07-22 00:15:13 +00:00
Christopher Page
09f4fd946e Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33183
2008-07-21 22:46:39 +00:00
Christopher Page
9560a4c3d3 Separated Speech from SFX in SAGA, improved configuration of SAGA sound settings through the GMM
svn-id: r33176
2008-07-21 19:15:28 +00:00
Stephen Kennedy
a58080bd58 Changed pushEvent to use a const& argument
svn-id: r33175
2008-07-21 18:53:55 +00:00
Kari Salminen
e09eb75ef7 Silence a warning which complains about using an uninitialized variable.
svn-id: r33169
2008-07-21 11:33:30 +00:00
Stephen Kennedy
757ed1a094 Moved UserAction and HardwareKey classes into their own respective header files.
Added HardwareKeySet class to manage a devices set of hardware keys.
Started implementing Keymapper class.

svn-id: r33157
2008-07-21 00:11:25 +00:00
Max Horn
ec1212eadf Fix for bug #1971499: ALL: config manager crashes when reading too long lines
svn-id: r33140
2008-07-20 16:52:25 +00:00
Max Horn
f7ec115f08 New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted)
svn-id: r33139
2008-07-20 16:47:52 +00:00
Max Horn
113352bbde Two new TODO/FIXME comments for class File
svn-id: r33138
2008-07-20 16:47:34 +00:00
Max Horn
c625a6a647 Fixed potential issue in Common::String when asserting a substring of a string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr
svn-id: r33137
2008-07-20 16:42:56 +00:00
Christopher Page
7f480ac571 Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
7ecd54a9da Reverted some incorrect changes and fixed sound settings issues for LURE. Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM.
svn-id: r33081
2008-07-15 22:54:39 +00:00
Christopher Page
d2e8d4831e Merged revisions 32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33051
2008-07-14 00:10:09 +00:00
Stephen Kennedy
8aa09cbb99 Better handling of virtual keyboard and gui being displayed at the same time. VK now also uses its own cursor.
svn-id: r33008
2008-07-11 20:10:14 +00:00
Stephen Kennedy
1f0b3ceb36 Added pushEvent to EventManager (from cpage88's branch) and changed VirtualKeyboard so that it uses this method to feed key presses its resulting key press events.
svn-id: r32977
2008-07-09 13:33:36 +00:00
Stephen Kennedy
b035101732 - keyboard fully tested with multiple modes - key press events successfully passed back to engine, mode switching also works
- added support to re-parse keyboard pack if overlay size changes (to find more suitable layouts)

svn-id: r32975
2008-07-09 11:30:49 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Stephen Kennedy
d1bc01b1a9 - Virtual keyboard now can now be dragged, when the user clicks on any part of it that is not a special area.
- Fixed non-virtual destructor warnings for Shape and Rect classes

svn-id: r32965
2008-07-08 15:03:39 +00:00
Christopher Page
94beb3037e Improved GMM implementation by adding unified quit() and quitGame() methods for all engines. Also implemented a Queue class before and forgot to svn add, common/queue.h is added here.
svn-id: r32958
2008-07-08 05:21:05 +00:00
Christopher Page
a4f56de13a Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
svn-id: r32952
2008-07-07 22:34:45 +00:00
Stephen Kennedy
641e3d752e MILESTONE: bitmap showing with key color transparency implemented!
- SurfaceKeyColored class handles blitting of keycolor transparency data
- ImageMap tested - Rect and Polygon areas seem to be working as expected

svn-id: r32950
2008-07-07 21:10:58 +00:00
Stephen Kennedy
ee8d55375b - updates for GCC compilation - still having linker errors though :(
svn-id: r32944
2008-07-07 15:45:48 +00:00
Stephen Kennedy
275ffece2f - changed VirtualKeyboard classes to Common namespace
- updated XMLParser from Tanoku's branch

svn-id: r32943
2008-07-07 15:42:26 +00:00
Stephen Kennedy
5840c2480f - renaming of files
svn-id: r32942
2008-07-07 15:06:43 +00:00
Vicent Marti
40bf717d3b closedKeyCallback on XMLParser (as asked by Kenny)
svn-id: r32909
2008-07-04 23:51:23 +00:00
Vicent Marti
96f2d9ca18 Memory leaks.
Bug fixes.

svn-id: r32908
2008-07-04 20:05:30 +00:00
Stephen Kennedy
950b68be7b - Added alignment and initial mode options to keyboard pack file
- More functionality to VirtualKeyboard class, including handling mouse clicks

svn-id: r32907
2008-07-04 17:55:19 +00:00
Stephen Kennedy
3b73b199a6 - XMLParser - small improvement to allow "key=value" syntax as well as "key = value" syntax
svn-id: r32906
2008-07-04 11:56:31 +00:00
Stephen Kennedy
1ef9d712da - MILESTONE - VirtualKeyboardParser successfully parsing a simple test pack
- XMLParser - small improvements

svn-id: r32905
2008-07-04 11:38:15 +00:00
Stephen Kennedy
5106bf4286 VirtualKeyboardParser mostly completed - needs to be tested
svn-id: r32900
2008-07-03 22:38:19 +00:00
Vicent Marti
8240e5b96d Rendering pipeline. WIP.
(I see working buttons)

svn-id: r32898
2008-07-03 19:42:04 +00:00
Stephen Kennedy
919d81f03b Changed XMLParser to internally use a Stack rather than a FixedStack
svn-id: r32897
2008-07-03 19:32:57 +00:00
Stephen Kennedy
7c60bb50e8 Changed XMLParser to internally use a Stack rather than a FixedStack
svn-id: r32896
2008-07-03 19:31:46 +00:00
Stephen Kennedy
52aba6b6da changed loadBuffer to use byte* rather than char*
svn-id: r32894
2008-07-03 16:09:54 +00:00
Stephen Kennedy
903a80ece3 changed loadBuffer to use byte* rather than char*
svn-id: r32893
2008-07-03 16:07:33 +00:00
Vicent Marti
48fd843e75 Rendering pipeline. WIP.
svn-id: r32882
2008-07-03 10:26:55 +00:00
Stephen Kennedy
d01594594e First commit:
- changed Rect to derive from Shape and added Polygon class (also derived from Shape)
- added ImageMap class that encapsulates generalised functionality of image maps
- skeletal classes for VirtualKeyboard and VirtualKeyboardParser

svn-id: r32880
2008-07-03 10:10:29 +00:00
Christopher Page
a14a0d16c1 Changes to implementation of the GMM
svn-id: r32872
2008-07-02 00:30:49 +00:00
Max Horn
c45d632f3b Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
svn-id: r32828
2008-06-28 15:28:29 +00:00
Max Horn
62713a8b1b Removed OSystem::getFilesystemFactory() default implentation, as announced
svn-id: r32824
2008-06-28 14:14:16 +00:00
Vicent Marti
2f5319e750 Bugfix: Empty integer key parsing.
svn-id: r32822
2008-06-28 13:44:10 +00:00
Vicent Marti
3f0f7fa08b Improved support for parsing integers in the XML parser.
Bug fixes.

svn-id: r32818
2008-06-28 00:02:54 +00:00
Vicent Marti
5534ce68a1 - MILESTONE: A widget is drawn on screen loaded straight from its XML description. Yippie.
- XMLParser: Bugfixes.
- ThemeParser: Support for default color values.

svn-id: r32808
2008-06-26 19:54:55 +00:00
Vicent Marti
0cd183b94b InterfaceManager now loads themes.
svn-id: r32800
2008-06-26 13:50:16 +00:00
Vicent Marti
3ae28530ef Actually reverted stupid changes in Common::String and Util.cpp regarding Regex and the platform function.
svn-id: r32797
2008-06-26 09:18:41 +00:00
Vicent Marti
73d5715a79 - XMLParser: Improved file stream support
- InterfaceManager: Config file loading/parsing added.
- ThemeParser: Fixed GCC warnings/various bugs.

svn-id: r32792
2008-06-25 22:30:28 +00:00
Vicent Marti
7fd6b3916f GCC Fixes
svn-id: r32788
2008-06-25 18:11:17 +00:00
Vicent Marti
917b750839 XMLParser:
- Bug fixes.

ThemeParser:
- Support for palette colors.
- Expanded theme syntax.

svn-id: r32787
2008-06-25 17:56:00 +00:00
Vicent Marti
2fcbb97005 XMLParser:
- Cleanup.
- Support for file/buffer loading.

ThemeParser:
- Triangle orientation.

svn-id: r32784
2008-06-25 14:19:56 +00:00
Vicent Marti
f0e63a49e3 - Reverted getHostPlatformString() from util.cpp (Yeah, Max was right)
- XMLParser now supports streams!
- Added remaining key values for DrawStep parsing.
- XMLParser parserError() bugfixes.

svn-id: r32782
2008-06-25 11:34:58 +00:00
Christopher Page
f878820bbe Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
2008-06-24 21:15:30 +00:00
Vicent Marti
8caa7d3f8b Common:
- Added function to get the active host type as a string.

XMLParser: 
- Added support for ignoring keys while parsing (check documentation). Backwards compatible.
- parserError() has been revamped. Shows all kinds of detailed information regarding the error ala Python

InterfaceManager/ThemeParser:
- DrawData keys and their DrawStep subkeys are now successfully parsed and loaded into structs. That's a win.
- Bug fixes.

svn-id: r32768
2008-06-24 19:48:01 +00:00
Filippos Karapetis
0b58aea011 Turned off overzealous warning 4800 - "forcing value to bool 'true' or 'false' (performance warning)"
svn-id: r32759
2008-06-22 17:57:06 +00:00
Vicent Marti
a4b4534a66 Split ThemeParser into XMLParser and ThemeParser as child class to have a common XML Parser.
svn-id: r32734
2008-06-18 23:49:47 +00:00
Vicent Marti
42036e7fd3 Expanded parser.
Added regex support for Common::String
Changed drawstep state saving.

svn-id: r32729
2008-06-18 00:15:21 +00:00
Max Horn
fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Max Horn
52747ff694 Re-enabled default Hash<String> template
svn-id: r32656
2008-06-10 21:50:07 +00:00
Max Horn
8b56010712 Removed unneeded #include
svn-id: r32654
2008-06-10 21:40:53 +00:00
Filippos Karapetis
b050430b41 Don't attempt to close the arj file if it hasn't been opened
svn-id: r32608
2008-06-08 02:02:06 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00
Johannes Schickel
73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Eugene Sandulenko
70dd879e2f Implement ADGF_KEEPMATCH
svn-id: r32497
2008-06-02 18:19:58 +00:00
Eugene Sandulenko
12c3798ffb Plug memory leak
svn-id: r32496
2008-06-02 18:19:18 +00:00
Filippos Karapetis
8a0abfb045 Fix for crash that occurs in the unarj's fallback code - _uncompressedData is not allocated when ARJ files have not been opened
svn-id: r32480
2008-06-01 21:57:30 +00:00
Eugene Sandulenko
452d46b3bf Implement file fallback for archives
svn-id: r32476
2008-06-01 21:10:29 +00:00
Filippos Karapetis
f5d9eb32f0 Fixed MSVC warnings
svn-id: r32474
2008-06-01 20:05:21 +00:00
Eugene Sandulenko
8728cd2881 Speed up decoding by memory caching
svn-id: r32472
2008-06-01 19:07:13 +00:00
Eugene Sandulenko
cc74ec5c39 Unarj code based on unarj 2.62. Used by Drascula engine
svn-id: r32460
2008-06-01 11:43:20 +00:00
Willem Jan Palenstijn
90bf3de2d6 Decrement _nele when erasing an element from hashmap, and add a test-case for this bug.
svn-id: r32343
2008-05-28 18:32:05 +00:00
Jordi Vilalta Prat
4306e1e0eb Made some methods virtual to allow File subclasses
svn-id: r32311
2008-05-27 02:39:51 +00:00
Jordi Vilalta Prat
6d6d634db1 Made fallbackDetect to allow subclasses to override it
svn-id: r32295
2008-05-26 18:03:55 +00:00
Neil Millstone
d019420649 Removing DS ifdef from getFileSystemFactory().
svn-id: r32248
2008-05-24 15:01:19 +00:00
Johannes Schickel
cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Johannes Schickel
26d6e2c68a Typo.
svn-id: r32191
2008-05-19 23:22:11 +00:00
Max Horn
ecf9d72ab4 Removed some more obsolete GP32 code
svn-id: r32179
2008-05-19 13:15:32 +00:00
Max Horn
df58a64ce0 Removed some dead code
svn-id: r32178
2008-05-19 13:13:41 +00:00
Max Horn
6206fb2a18 Removed the default OSystem::getTimeAndDate() implementation
svn-id: r32138
2008-05-15 11:36:56 +00:00
Johannes Schickel
311e9165ed Proper delete[] formatting (this time all occurences should've been changed...)
svn-id: r31929
2008-05-07 15:09:10 +00:00
Johannes Schickel
db04dd427d Formatting.
svn-id: r31852
2008-05-03 23:02:05 +00:00
Torbjörn Andersson
06dea14540 Changed spaces to tab, thus annoying everyone who now have to do a large
recompile.

svn-id: r31848
2008-05-03 21:15:25 +00:00
Johannes Schickel
bba003e53a Fixed segfault when trying to start invalid gameid from command line.
svn-id: r31731
2008-04-26 10:21:53 +00:00
Max Horn
e9abc1b191 Removed some dead code
svn-id: r31645
2008-04-21 17:07:57 +00:00
Johannes Schickel
f173041811 - moved kyra functor code to common/func.h
- adapted debugger code to use functor code from common/func.h
- adapted kyra engine to use functor code from common/func.h

svn-id: r31614
2008-04-20 15:47:11 +00:00
Filippos Karapetis
dcb6d4ed06 Reverted commit #31499
svn-id: r31502
2008-04-14 15:59:32 +00:00
Max Horn
805f21e369 Removed Common::Array::contains()
svn-id: r31501
2008-04-14 12:11:10 +00:00
Filippos Karapetis
c2e3572fe4 Added contains() method to Common::List, same as in Common::Array
svn-id: r31499
2008-04-14 10:07:15 +00:00
Filippos Karapetis
8cc1539315 Added eriktorbjorn's MemoryWriteStreamDynamic class - a stream that grows as it's written to
svn-id: r31498
2008-04-13 23:46:55 +00:00
Jordi Vilalta Prat
c1cd5d17c2 Correct documentation
svn-id: r31486
2008-04-11 19:05:44 +00:00
Eugene Sandulenko
1a5d45db68 Add way to denote CD versions of games and drop language in augmented
names per LordHoto's request.

svn-id: r31475
2008-04-10 21:41:57 +00:00
Johannes Schickel
48c9097672 Fixed compilation on gcc 2.95.
svn-id: r31447
2008-04-07 21:07:07 +00:00
Max Horn
1aac71ae34 Advanced detector: Let the user define a language/platform override for games which do not specify a fixed one (like multilingual versions)
svn-id: r31446
2008-04-07 20:56:34 +00:00
Eugene Sandulenko
04ff7cb1c1 Fix a recent regression reported in bug #1937042: "FEEBLE: Capitalization
variations when searching for files"

svn-id: r31445
2008-04-07 20:38:52 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Johannes Schickel
dd8676877e - cleanup
- sort savefiles in kyra from newest -> oldest

svn-id: r31397
2008-04-05 02:40:28 +00:00
Max Horn
595be54083 cleanup
svn-id: r31391
2008-04-04 21:00:58 +00:00
Johannes Schickel
a614273cf0 Oops forgot to enable friend statement.
svn-id: r31358
2008-04-02 02:15:47 +00:00
Johannes Schickel
da9701d19b Implemented transparent List::iterator to List::const_iterator conversion and updated our tests accordingly.
svn-id: r31357
2008-04-02 02:15:00 +00:00
Johannes Schickel
8436943bfd Committed patch #1929274 "HashMap: Iterator rework".
svn-id: r31356
2008-04-02 02:01:31 +00:00
Johannes Schickel
39995e29ad Added fixme regarding header 'new'.
svn-id: r31339
2008-03-30 18:59:24 +00:00
Torbjörn Andersson
a03547dc8e Some minor whitespace changes, and the customary "end of namespace" comment.
svn-id: r31338
2008-03-30 18:53:16 +00:00