35739 Commits

Author SHA1 Message Date
Travis Howell
74abd8de64 Update credits.
svn-id: r46148
2009-11-26 00:55:18 +00:00
Travis Howell
34b781199c Add patch #2853844 - MM C64: walksounds.
svn-id: r46146
2009-11-26 00:45:06 +00:00
Johannes Schickel
ef5d0226c1 Fix warnings.
svn-id: r46145
2009-11-26 00:43:43 +00:00
Johannes Schickel
117bcfde95 Remove dependancy on STL.
svn-id: r46144
2009-11-26 00:42:24 +00:00
Travis Howell
8783b0f2f7 Add patch #2839048 - MM C64 sound/music player, with minor changes.
svn-id: r46143
2009-11-26 00:31:19 +00:00
Robert Špalek
4e830d821c Fix SIGSEGV found by ValGrind
svn-id: r46142
2009-11-26 00:09:17 +00:00
Johannes Schickel
611a58f19c Extend documentation slightly.
svn-id: r46141
2009-11-25 23:17:16 +00:00
Johannes Schickel
776d735c2e Do not fall back to a auto detection of the OPL emulator, when the user selected OPL emulator does not support a mode asked for.
We will now output a warning to the user in this case. That should be fine,
since SCI is the only engine so far, which uses Dual OPL2 emulation.
Albeit this is not supported by our MAME emulator the user will still get
sound output, since the SCI engine will do proper recovery and fallback
to single OPL2 emulation, which is supported by the MAME emulator.
In case a engine would require a specifc mode (like OPL3) and the
user selects MAME emulation, this might result in no sound output
(or a crash), in case the engine does not take any care of testing whether
the OPL creation succeeded. But luckily so far no engine does this,
so it should be fine to not worry about that for now.

svn-id: r46140
2009-11-25 23:02:03 +00:00
Eugene Sandulenko
12828d3aaf Cache resource file size to avoid excess file->size() calls.
svn-id: r46138
2009-11-25 20:43:49 +00:00
Max Horn
413a048a06 Fix 'randomly placed' doxygen comments (which lead to incorrect documentation, e.g. some of those ended up as doxygen comment for various namespaces, such as Common)
svn-id: r46136
2009-11-25 10:55:25 +00:00
Filippos Karapetis
9a39135758 Typo
svn-id: r46135
2009-11-25 08:07:20 +00:00
Joost Peters
a04f2e4aff apply patch #2903175: "PSP: compile cleanup/fix for gprof and Windows"
svn-id: r46134
2009-11-25 00:22:38 +00:00
Travis Howell
3fda71b10c Add patch #2903170 - MM C64: costume fix.
svn-id: r46133
2009-11-24 23:34:03 +00:00
Travis Howell
c43d9cacda Add comment.
svn-id: r46132
2009-11-24 23:33:51 +00:00
Max Horn
494a2ab94d TEST: Workaround for 'make test' when using -Werror
svn-id: r46131
2009-11-24 22:11:27 +00:00
Max Horn
1a313a7eca COMMON: Remove dependency on engines code (by using the inversion principle).
svn-id: r46130
2009-11-24 22:11:07 +00:00
Max Horn
5e0f79a2ed typo
svn-id: r46129
2009-11-24 22:10:34 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
0d9609f7f9 Fix incorrectly placed doxygen comments; replace Common::ID2string by Common::tag2string
svn-id: r46127
2009-11-24 22:08:34 +00:00
Max Horn
bfc553081c PSP: Fix whitespace usage and code formatting
svn-id: r46126
2009-11-24 14:18:46 +00:00
Joost Peters
7c90d8ff64 fix spelling -> force buildbot rebuilding
svn-id: r46125
2009-11-24 12:34:31 +00:00
Joost Peters
8109867acb formatting
svn-id: r46124
2009-11-24 12:16:10 +00:00
Joost Peters
3d7155bd62 fix building via Makefile
svn-id: r46123
2009-11-24 12:10:39 +00:00
Joost Peters
e5a919e132 revert psp.spec mutilation too
svn-id: r46122
2009-11-24 11:59:38 +00:00
Joost Peters
8355693040 fix psp port building
svn-id: r46121
2009-11-24 11:54:17 +00:00
Yotam Barnoy
b8b042d4bf PSP: Replaced virtual keyboard and cleaned up makefiles in the process.
svn-id: r46120
2009-11-24 10:33:30 +00:00
Travis Howell
47e358cd12 Exclude PCE sound player, from non-16bit color build.
svn-id: r46119
2009-11-24 00:15:10 +00:00
Max Horn
65eae0b53e SCI: Reduce header interdependency
svn-id: r46118
2009-11-23 23:55:19 +00:00
Max Horn
e34f1415db DRACI: Reduce header interdependency
svn-id: r46117
2009-11-23 23:54:20 +00:00
Max Horn
ebcb9b0ff0 GROOVIE: Reduce header interdependency
svn-id: r46116
2009-11-23 23:53:25 +00:00
Max Horn
e68a05ea60 PS2: Further tweak PS2FileStream; fix potential leak in ps2_fopen
svn-id: r46115
2009-11-23 23:32:34 +00:00
Travis Howell
dd0b4ed5dd Update credits.
svn-id: r46114
2009-11-23 23:26:16 +00:00
Travis Howell
ddc4cc55fe Add PCE version of Loom.
svn-id: r46112
2009-11-23 23:20:54 +00:00
Max Horn
fc84e258b2 PS2: Add new PS2FileStream class for std I/O.
* Add new class PS2FileStream as substitute for class StdioStream on PS2
* Remove PS2 specific hacks from stdiostream.cpp / class StdioStream
* Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream

TODO: Merge class Ps2File into PS2FileStream

svn-id: r46111
2009-11-23 23:17:50 +00:00
Travis Howell
9b8c088af5 Add patch #2898231 - LOOM: Sound player for PC-Engine.
svn-id: r46110
2009-11-23 23:17:15 +00:00
Max Horn
fe48378eb2 Remove unnecessary #include errno.h
svn-id: r46109
2009-11-23 23:15:44 +00:00
Max Horn
6b8dd7ab7a COMMON: Remove various variants of the md5_file / md5_file_string funcs; turned the (disabled) MD5 test code into a working unit test
svn-id: r46108
2009-11-23 22:30:22 +00:00
Max Horn
3d342bec3c PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn
f3c6e07feb Fix bug #2901669: AMIGAOS4: Compiler error
svn-id: r46106
2009-11-23 22:29:02 +00:00
Max Horn
6312da6d13 PS2: cleanup
svn-id: r46105
2009-11-23 22:28:44 +00:00
Max Horn
68ebbf9022 Remove obsolete OSX & NDS specific stuff from StdioStream code
svn-id: r46104
2009-11-23 22:28:14 +00:00
Max Horn
016f343ca7 Remove SCUMMVM_USE_LONG_INT
svn-id: r46103
2009-11-23 22:27:52 +00:00
Benjamin Haisch
ecbd0a0d53 Optimized object property access speed
svn-id: r46102
2009-11-23 15:31:58 +00:00
Robert Špalek
95d4c62efb Fixed breaking long lines instead of using smaller font (which is sometimes not enough)
svn-id: r46101
2009-11-23 06:44:40 +00:00
Matthew Hoops
a7e6745ba4 Some PCE BIOSROM's have a 0x200 byte header. We need to skip that if it's present to get to the correct font data.
svn-id: r46100
2009-11-22 23:33:58 +00:00
Robert Špalek
604ed73b87 Move setIsReloaded(false) in enterNewRoom() to the right place.
Last commit moved it below, but that cancelled GPL2 programs run right
after loading the game.

svn-id: r46099
2009-11-22 21:27:30 +00:00
Robert Špalek
f6f8b66d45 Remove obsolete and unneeded logic bypassing reloading a location.
I have tested that this could only possibly happen when the game has been
loaded with last location being the map.  Then pressing Escape calls
enterNewRoom() and this superfluous optimization takes place.  It is harmless
to simply reload the map.  After having removed it, enterNewRoom() needs not
return any return value, because the test at the tail can be done by the
caller.  I have then restructured the code a little to make it cleaner.

svn-id: r46098
2009-11-22 21:12:23 +00:00
Robert Špalek
d3d16422e0 Further cleaned up the hack with removing old animations.
Now only a long-term (complete rewrite) TODO is left in the code, but nothing
urgent to solve.

svn-id: r46097
2009-11-22 20:44:37 +00:00
Robert Špalek
772b89682d Make sure hands are empty after loading the game
(otherwise we could have in our hands an unreachable object).  This works
thanks to moving clearing _currentItem into putItem(), which gets called
in inventoryReload().

svn-id: r46096
2009-11-22 20:25:27 +00:00
Robert Špalek
00063b1423 Clearing object animations in a cleaner way
Verified that we really do not need object animations even if they are in
a different location, and clearing them thus regardless of their location.
Although the game was not crashing due to previous work-arounds at this
moment, this cleanup obliterates the most horrible hack and makes sure
animations will never get stale.

svn-id: r46095
2009-11-22 20:17:39 +00:00