Nicola Mettifogo
5eec5f6b17
More merging of input code.
...
svn-id: r33219
2008-07-23 01:07:39 +00:00
Lars Persson
62d4a469b9
AddedAdded MAD as default feature
...
svn-id: r33218
2008-07-22 20:13:57 +00:00
Lars Persson
c296869108
Disable hashmemory pool for Symbian OS
...
svn-id: r33212
2008-07-22 19:09:10 +00:00
Lars Persson
abecf0a5f7
Fixed seek problem when cached data is used.
...
svn-id: r33210
2008-07-22 18:52:13 +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
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
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
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
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
Nicola Mettifogo
5a71d764e7
Some refactoring for tracking of floating labels.
...
svn-id: r33165
2008-07-21 09:25:40 +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
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
Max Horn
a49a3c6aaa
cleanup
...
svn-id: r33135
2008-07-20 16:27:12 +00:00
Kostas Nakos
8b5e175af4
workaround for bogus findfirstfile. kyra now starts up correctly
...
svn-id: r33120
2008-07-20 11:15:29 +00:00
Max Lingua
8c807529a7
Added "DEPDIR := .deps" in Makefile.ps2
...
Thanks Max [the other one] for pointing it out!
svn-id: r33117
2008-07-20 01:44:40 +00:00
Max Lingua
282cb3c0df
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
svn-id: r33115
2008-07-20 01:30:47 +00:00
Max Horn
4ab211f673
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
...
svn-id: r33114
2008-07-19 21:42:31 +00:00
Lars Persson
ec02171268
Enable support to turn off ALL variations. all variation is most often the one used
...
svn-id: r33109
2008-07-19 07:44:12 +00:00
Lars Persson
6cff2e8239
eof was not working properly with caching
...
svn-id: r33108
2008-07-19 07:08:37 +00:00
Lars Persson
4657a52b07
Fixed typo in filehandling
...
svn-id: r33104
2008-07-18 22:07:52 +00:00
Lars Persson
0f03a7bcd8
Introduced cache for filereading to fix slowness in AGOS among others.
...
svn-id: r33099
2008-07-18 20:40:48 +00:00
Lars Persson
7b00db0312
Symbian soundsmixer update. (Compile fix)
...
svn-id: r33098
2008-07-18 19:02:40 +00:00
Kari Salminen
8757326b5f
Added savefile position comments to savegame loading routine (Helpful for debugging the formats).
...
svn-id: r33096
2008-07-18 14:01:53 +00:00
Paul Gilbert
cb366384f7
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
...
svn-id: r33095
2008-07-18 09:36:49 +00:00
Torbjörn Andersson
702e26965c
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.)
svn-id: r33094
2008-07-18 04:16:00 +00:00
Max Horn
0f74124d78
Committing PS2 changes on behalf of the other Max ;)
...
svn-id: r33089
2008-07-17 15:56:24 +00:00
Kari Salminen
67bef188d3
Patch #2019455 : Patch for reducing the BSS size of Cine engine.
...
svn-id: r33087
2008-07-17 07:13:41 +00:00
Nicola Mettifogo
17d86414cb
Fixed regression bug in dialogue, which de-facto allowed user to skip in-game protection.
...
svn-id: r33086
2008-07-17 00:38:11 +00:00
Bertrand Augereau
bd17a600dc
Split the drawVertImage function in the agos engine to make it clearer
...
and easier to profile
svn-id: r33083
2008-07-16 09:08:44 +00:00
Gregory Montoir
cdade7eff3
fix bug #1876741 : changed .SB playback rate to 11840Hz (matches dos game)
...
svn-id: r33079
2008-07-15 20:31:11 +00:00
Gregory Montoir
2bae0df17e
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.
...
svn-id: r33078
2008-07-15 20:26:12 +00:00
Max Horn
943b4c2036
Implemented audio double buffering (for now OSX only)
...
svn-id: r33075
2008-07-15 17:13:06 +00:00