Commit Graph
86814 Commits
Author SHA1 Message Date
Vicent Marti 10dff40de6 Dirty screen handling, round three.
svn-id: r33209
2008-07-22 17:39:30 +00:00
Paweł Kołodziejski b422f0ba73 shutup valgrind warning
svn-id: r33206
2008-07-22 15:24:39 +00:00
Max Horn 705c92ddc3 Added String::trim() method
svn-id: r33203
2008-07-22 14:39:26 +00:00
Max Horn c92f154b90 Fix warnings in CINE
svn-id: r33202
2008-07-22 14:38:54 +00:00
Vicent Marti a9ab9c0189 Cleanup.
svn-id: r33201
2008-07-22 13:33:32 +00:00
Vicent Marti daa32f77f8 Segfault in dirty rectangles is no longer a 'feature'. Fixed segfault with the last tab in config dialogs.
svn-id: r33200
2008-07-22 13:32:18 +00:00
Nicola Mettifogo 5ea9bdd99a Merged inventory input code from different files.
svn-id: r33198
2008-07-22 12:35:46 +00:00
Kari Salminen a38234d6e6 Fix CineSaveGameFormat enumeration's include order (Caused problems at least with GCC).
svn-id: r33196
2008-07-22 12:17:44 +00:00
Vicent Marti 1558fdb918 Bugfix: Segmentation fault when removing unused dirty rects.
svn-id: r33195
2008-07-22 12:07:03 +00:00
Nicola Mettifogo cc0f95ce74 Fix build.
svn-id: r33193
2008-07-22 10:17:19 +00:00
Kari Salminen 2a90435e5d 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.

svn-id: r33192
2008-07-22 10:15:58 +00:00
Nicola Mettifogo 446a0406de Fixed regression in dialogue code: certain commands weren't executed anymore after dialogue ended.
svn-id: r33191
2008-07-22 10:12:20 +00:00
Vicent Marti 7f3b60e2da Dirty screen handling!
svn-id: r33190
2008-07-22 09:23:37 +00:00
Nicola Mettifogo 85f56095bf Removed unneeded input code.
svn-id: r33189
2008-07-22 09:12:10 +00:00
Nicola Mettifogo 791d2b3ba2 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.
svn-id: r33188
2008-07-22 09:00:39 +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
Vicent Marti 7071a95a57 Fixed several segfaults and graphical glitches when drawing at low resolutions. Fixed dialog stack redrawing.
svn-id: r33182
2008-07-21 21:23:23 +00:00
Christopher Page 0cae5552db Improved GMM sound setting config for Parallaction
svn-id: r33181
2008-07-21 21:11:28 +00:00
Christopher Page 34d3d74b97 Fixed a small SFX issue with AGOS
svn-id: r33180
2008-07-21 19:46:23 +00:00
Vicent Marti c7b624d91e Bugfix: Rounded squares at low resolutions were not drawn.
Cleanup.

svn-id: r33179
2008-07-21 19:42:35 +00:00
Christopher Page 8b01922317 Improved GMM sound settings support for SKY
svn-id: r33178
2008-07-21 19:37:12 +00:00
Vicent Marti 0883615a23 Cleanup.
Massive documentation update. (zzzzz)

svn-id: r33177
2008-07-21 19:15:59 +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
Vicent Marti 8bfaacf587 Cleanup.
Fix: Scroll widget background.

svn-id: r33174
2008-07-21 16:14:06 +00:00
Stephen Kennedy 871adba671 Refactored KeymapManager to use Domain's of Keymaps rather than a single list.
Further development of Keymapper interface: 
- switchKeymap method to change Keymaps
- initGame/deInitGame methods to control loading/unloading of game-specific maps

svn-id: r33173
2008-07-21 15:55:25 +00:00
Vicent Marti f218ab3a9d Milestone: Rendering pipeline is fully working. 'Yay...'
svn-id: r33172
2008-07-21 14:03:37 +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
Travis Howell e1c71dab99 Spacing.
svn-id: r33168
2008-07-21 10:32:20 +00:00
Bertrand Augereau ecd44b8f90 Avoid branching in the inner loop of AGOS drawVertImageCompressed
svn-id: r33167
2008-07-21 10:13:44 +00:00
Vicent Marti 89a21f1613 Valgrind fix: Invalid read/write while restoring background
svn-id: r33166
2008-07-21 09:53:06 +00:00
Nicola Mettifogo 5a71d764e7 Some refactoring for tracking of floating labels.
svn-id: r33165
2008-07-21 09:25:40 +00:00
Vicent Marti 5a4fcb83e2 Valgrind fix: Invalid write in rounded square shadows
svn-id: r33164
2008-07-21 09:19:57 +00:00
Nicola Mettifogo 361bed0a95 Massive refactoring of dialogue code, which is now implemented as a finite state machine. Related code in other files has been updated has well.
svn-id: r33162
2008-07-21 06:08:30 +00:00
Eugene Sandulenko f82cf58780 This is 0.13.0svn now
svn-id: r33160
2008-07-21 05:09:29 +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
Vicent Marti b7edb14e55 Fixed: Backbuffer blitting
svn-id: r33155
2008-07-20 22:49:24 +00:00
Vicent Marti 4e7b9f287e Fixed: Text/button drawing
svn-id: r33154
2008-07-20 22:23:35 +00:00
Vicent Marti 9aa07d206e Rendering pipeline. Broken WIP.
svn-id: r33152
2008-07-20 21:47:28 +00:00
Torbjörn Andersson 0b8602f995 Commented out some more PC-98 audio stuff, to avoid warnings.
svn-id: r33146
2008-07-20 19:25:16 +00:00
Florian Kagerer 2354ea80c6 KYRA: disable incomplete PC-98 audio support for 0.12.0 release (use towns audio instead)
svn-id: r33145
2008-07-20 18:00:00 +00:00
Marcus Comstedt e54ac15109 Solaris tr does not like character classes in some locales. Use "C" locale.
svn-id: r33143
2008-07-20 17:56:43 +00:00
Kostas Nakos 0d08240e45 a little more cleanup
svn-id: r33142
2008-07-20 17:04:27 +00:00
Kostas Nakos 90781369cb modified patch #1882942 - optimize and kill code for really old platforms
svn-id: r33141
2008-07-20 16:55:51 +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
Max Horn 22ab05aa8a 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.
svn-id: r33136
2008-07-20 16:28:06 +00:00