1396 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
9001a8fbc3 Fix uninitialized variable
svn-id: r48844
2010-04-28 22:33:17 +00:00
Nicola Mettifogo
503ee78008 Initialize _requested*ScrollDir variables in constructor.
svn-id: r48840
2010-04-28 22:16:48 +00:00
Willem Jan Palenstijn
a4dcfdd907 Fix uninitialized variables
svn-id: r48839
2010-04-28 22:13:11 +00:00
Nicola Mettifogo
122fde0775 Fixed leaks in parsing of examine and door zones.
svn-id: r48838
2010-04-28 22:13:02 +00:00
Willem Jan Palenstijn
ee63bf51bd Fix Nippon Safes test result label memory leak
svn-id: r48837
2010-04-28 21:50:54 +00:00
Willem Jan Palenstijn
9793430e58 Fix a destruction order issue and note two remaining issues from the label fixes (r48811)
svn-id: r48827
2010-04-28 18:50:22 +00:00
Max Horn
460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Nicola Mettifogo
498d8000ca Fix bug 2969257 (labels) and hopefully plug all the leaks.
svn-id: r48811
2010-04-27 08:59:13 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Travis Howell
45651803f1 Disable the load from launcher button, in all games of Parallaction game engine.
svn-id: r48488
2010-04-03 14:16:36 +00:00
Travis Howell
1c7752d982 Fix bug #2976376 - NIPPON: Load from Launcher fails. By removing the kSupportsLoadingDuringStartup MetaEngineFeature flag (which was never supported).
svn-id: r48485
2010-04-03 14:01:12 +00:00
Travis Howell
397553cc56 Fix bug #2970141 - NIPPON: Crash at end of the game (regression). By reverting part of the changes to Parallaction_ns::cleanupGame() in revision 34939.
svn-id: r48480
2010-04-03 04:48:20 +00:00
Willem Jan Palenstijn
fe51070977 Fix whitespace
svn-id: r48477
2010-04-02 22:14:18 +00:00
Travis Howell
7e1f395e34 Fix bug #2969232 - NIPPON: Kos sprite broken (Regression). The current disk archive requires a higher priority, compared to the default disk archives.
svn-id: r48469
2010-04-02 13:49:59 +00:00
Travis Howell
a55cb7fa10 Fix bug #2979193 - NIPPON: Crash at character introduction (regression). By restoring the kEngineBlockInput engine flag.
svn-id: r48464
2010-04-02 12:51:42 +00:00
Nicola Mettifogo
1d2122d466 Let Parallaction return game-specific gameids. This completes the fix for bug 2969234 after LordHoto's patch. Users might need to readd their games.
svn-id: r48422
2010-03-30 05:53:36 +00:00
Johannes Schickel
db3f6be777 Use ConfMan to query the gameid of the passed target instead of deducing from the target to the gameid. Along with it fix the removeSaveState implementation.
Note that this is untested! Someone with some parallaction game should test it
before it can be considered to backport it to branch-1-1-0.

svn-id: r48418
2010-03-29 21:01:19 +00:00
Nicola Mettifogo
2872f197d8 Fixed bug 2969234 by tampering with the gameId. Probably not a nice solution, but hopefully ok for a while.
svn-id: r48415
2010-03-29 18:47:40 +00:00
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
b036392a7b Get rid of deprecated makeRawDiskStream variants; rename deprecated makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change
svn-id: r47472
2010-01-23 13:34:29 +00:00
Max Horn
8508a97add Get rid of two more FLAG_LOOP instances
svn-id: r47459
2010-01-23 00:35:14 +00:00
Torbjörn Andersson
1928a7ba38 Silenced some cppcheck warnings.
svn-id: r47427
2010-01-21 23:05:33 +00:00
Max Horn
24ae816395 cleanup
svn-id: r47399
2010-01-19 23:52:49 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
69be747621 Move raw audio streams to new header sound/raw.h
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71 Rename 'Linear' audio streams to 'raw'
svn-id: r47367
2010-01-19 00:52:41 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Nicola Mettifogo
8e54ce73a5 Moved creation of 'beep' sound buffer to sound manager constructor.
svn-id: r47124
2010-01-07 15:38:29 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +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
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Nicola Mettifogo
1535ae7f6e Rollback additional file committed in r45147.
svn-id: r45148
2009-10-16 04:25:28 +00:00
Nicola Mettifogo
c0a4881f5a Start the correct music inside the Hot Sushi. This fixes the part of ticket 2879793 that is actually a bug.
svn-id: r45147
2009-10-16 04:19:16 +00:00
Nicola Mettifogo
7e154726ff Fixed bug 2879799. Freshly loaded data was erased when changing to the new location and the character stayed the same.
svn-id: r45145
2009-10-16 03:49:27 +00:00
Nicola Mettifogo
1dfc808aad Fixed bug 2879805. Typo in inventory code made the inventory impossible to cleanup on loadgame.
svn-id: r45140
2009-10-16 00:08:18 +00:00
Nicola Mettifogo
d560de5234 Fixed bug 2879795. Ensure cursor is visible after save/load dialog and debugger are closed.
svn-id: r45138
2009-10-15 23:58:13 +00:00
Nicola Mettifogo
017b0e0acb Fixed bug 2879785. Dialogue commands were partly executed too early: see comment at line 480 in dialogue.cpp.
svn-id: r45120
2009-10-15 13:40:39 +00:00
Nicola Mettifogo
e5c88ffc7a Save/load dialog now uses GUI::SaveLoadChooser.
svn-id: r45119
2009-10-15 13:37:25 +00:00
Nicola Mettifogo
8c17b257ea Fixed regression bug #2874229. Regression had happened in r39878, when the dialogue code was refactored.
svn-id: r45053
2009-10-14 06:12:16 +00:00