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
Max Horn
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
696fd7af20
Reduce usage of Common::String::emptyString
...
svn-id: r44603
2009-10-04 11:58:52 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Nicola Mettifogo
9be8a6e4f6
Simplified inventory handling (too much information hiding will kill you).
...
svn-id: r44485
2009-09-30 13:41:19 +00:00
Nicola Mettifogo
eb5beef6a1
* Added secondary inventories for BRA.
...
* Added comments where code must be added/updated to support multiple inventories.
svn-id: r44476
2009-09-30 07:47:58 +00:00
Nicola Mettifogo
e660f31ed8
Provide only the data that is strictly needed when creating a new Inventory.
...
svn-id: r44475
2009-09-30 07:09:07 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
6b79910bcb
Fixed some more warnings about unreachable code
...
svn-id: r44300
2009-09-24 10:15:50 +00:00
Torbjörn Andersson
762d2dc03a
Removed unnecessary semi-colons.
...
svn-id: r43409
2009-08-15 14:13:48 +00:00
Nicola Mettifogo
a811c1cfea
When renaming old savefiles for Nippon Safes, don't assert if a file that matches the pattern game.* and is not a savefile is found in the savepath.
...
svn-id: r42958
2009-07-31 12:39:31 +00:00
Nicola Mettifogo
7fd0890e14
Cleanup the header file as I removed one function in r42922.
...
svn-id: r42924
2009-07-30 13:44:50 +00:00
Nicola Mettifogo
000dd0a880
Fixed typo in user message.
...
svn-id: r42923
2009-07-30 13:42:08 +00:00
Nicola Mettifogo
4f85e9d00d
Use SaveFileMan::listSaveFiles() to build list of old savegames for Nippon Safes.
...
svn-id: r42922
2009-07-30 13:41:22 +00:00
Nicola Mettifogo
83c8679127
Moved parser functions arrays to file scope, as they were tripping up the obsolete gcc used for the BeOS/Haiku port. If anybody can work out a better solution please apply it, because this makes me sick.
...
svn-id: r42793
2009-07-26 08:37:03 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Filippos Karapetis
8a783bdd76
Renamed sound/iff.* to sound/iff_sound.* to fix an issue with the upcoming changes to the MSVC project files (sound/iff.* produces iff.obj, which clashes with iff.obj from graphics/iff.*)
...
svn-id: r42287
2009-07-09 13:17:46 +00:00
Nicola Mettifogo
36828287ad
* Moved the updated IFF code from Parallaction to common/
...
* Updated Parallaction and SAGA to use the new decoder infrastructure.
svn-id: r41465
2009-06-12 08:51:05 +00:00
Nicola Mettifogo
657e37985e
Cleanup of sound code.
...
svn-id: r41461
2009-06-12 07:55:44 +00:00
Nicola Mettifogo
df1534ffd0
* Replaced the A8SVXDecoder class with a function to return an AudioStream in trunk/sound/.
...
* Refactored sound code in Parallaction to use the new Audio::make8SVXStream.
svn-id: r41460
2009-06-12 07:18:01 +00:00
Nicola Mettifogo
5915e60452
Removed a leftover printf().
...
svn-id: r41459
2009-06-12 06:20:11 +00:00
Nicola Mettifogo
5fccc0f98d
* Final version of the IFF parsing code.
...
* Refactored ILBMDecoder usage from disk code.
svn-id: r41458
2009-06-12 05:03:18 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Nicola Mettifogo
465da49782
Made BRA demos start again by partially reverting commit 39773. Multiple inventory support must be done somehow differently.
...
svn-id: r40750
2009-05-21 08:06:15 +00:00
Nicola Mettifogo
3607c63758
Refactoring.
...
svn-id: r40210
2009-04-29 16:59:10 +00:00
Nicola Mettifogo
a8cccd0ced
Removed obsolete TODO.
...
svn-id: r40194
2009-04-29 07:33:01 +00:00
Travis Howell
804cd38c83
Enable music and sound effects in BRA, by default.
...
svn-id: r40193
2009-04-29 05:47:10 +00:00
Nicola Mettifogo
9a78f6ef41
* Refactored existing save/load code to ease extension
...
* Added load/save dialogs using ScummVM's overlay for the moment (no actual saving is performed yet)
* Plugged the main menu so that it displays the load dialog when needed.
svn-id: r40191
2009-04-29 05:30:58 +00:00
Nicola Mettifogo
01fceec37c
Implemented quit dialog box in BRA.
...
svn-id: r40181
2009-04-28 15:00:56 +00:00
Nicola Mettifogo
9108871833
Added in-game menu for BRA. Load/save is not supported yet.
...
svn-id: r40176
2009-04-28 12:25:41 +00:00
Nicola Mettifogo
19bd929a5d
* Disk code cleanup.
...
* Added ability to load in-game menu graphics.
svn-id: r40175
2009-04-28 12:23:52 +00:00
Nicola Mettifogo
8151a1d878
Removed useless references to the global _vm.
...
svn-id: r39879
2009-04-06 17:31:22 +00:00
Nicola Mettifogo
0e05ec8cc8
Cleanup of Balloon and Dialogue code:
...
* moved version-specific code into DialogueManager's derivatives
* reworked construction of BalloonManager's derivatives
* moved a couple of globals used in dialogues (NS specific) to engine
svn-id: r39878
2009-04-06 17:21:23 +00:00
Nicola Mettifogo
20bdfe4173
Moved background and character loading code from LocationParser_br to the engine for BRA.
...
svn-id: r39814
2009-04-03 17:09:12 +00:00
Nicola Mettifogo
58df840a13
Moved Nippon Safes specific code from Parallaction to Parallaction_ns and adapted client code.
...
svn-id: r39813
2009-04-03 16:32:47 +00:00
Max Horn
fb6d0a7119
PARALLACTION: Fix silly Mingw 'shadowed declaration' warnings
...
svn-id: r39809
2009-04-03 14:53:15 +00:00