aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
AgeCommit message (Collapse)Author
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-11-01ENGINES: Remove some 'using' statementsMax Horn
svn-id: r54001
2010-10-15AGOS: Fixed code analysis warnings - bug #3087828Filippos Karapetis
svn-id: r53503
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-26AGOS: Hopefully fix bug #3000876 ("FF: Crackling/static popping")Torbjörn Andersson
We want the WAV stream in playSounData() to contain the entire WAV data, but the size we read does not include the eight first bytes. svn-id: r52908
2010-09-26AGOS: Fix bug #3011638 - WAXWORKS: Crash retrieving spear from the crocodile ↵Travis Howell
carcass. svn-id: r52906
2010-09-26AGOS: Fix Valgrind warnings on exit.Torbjörn Andersson
svn-id: r52904
2010-09-17I18N: Use a String instead of a char buffer.Johannes Schickel
This should improve r52751, since String does automatic memory handling, thus no more buffer overflows should by possible by having a too large translated string. svn-id: r52758
2010-09-16I18N: fix a buffer size issue with translated save/load strings in AGOSThierry Crozat
svn-id: r52751
2010-09-15I18N: Add translation for load/save success or failure messagesThierry Crozat
Also improve and update the french translation. svn-id: r52740
2010-09-15MIDI: Send a reset MIDI device signal on startup.Johannes Schickel
This is currently done in the engine code. I adapted AGI, AGOS, DRACI, GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset device on startup. The sound output still works fine (started up a game from every engine), so this should hopefully not introduce any regressions. As far as I can tell it seems that SCUMM does send a proper device reset, so I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am not sure about SCI though. This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI". svn-id: r52736
2010-09-07COMMON: Remove Rational::operator int/doubleWillem Jan Palenstijn
This prevents accidental implicit rounding and might also fix compilation on AmigaOS4 (bug #3060981). svn-id: r52616
2010-08-31AGOS: Add Polish version of Swampy Adventures.Travis Howell
svn-id: r52464
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-21AGOS: Make the "m" hotkey respect the mute setting.Johannes Schickel
svn-id: r51102
2010-07-21AGOS: Make AGOS respect the mute setting.Johannes Schickel
svn-id: r51100
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50929
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-04Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,Torbjörn Andersson
because that would cause some nasty regressions...) svn-id: r50643
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-15AGOS: Readd Simon1 Acorn CD detection.Eugene Sandulenko
svn-id: r49790
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-14AGOS: Fix bug #1777795.Eugene Sandulenko
Bug #1777795: "SIMON1: Acorn CD MD5s" fixed by specifying directory depth for AdvancedDetector to 2. svn-id: r49657
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-06-10Removed some unnecessary whitespace. (Or should I have saved that for theTorbjörn Andersson
rapidly approaching, much coveted r50000? :-) svn-id: r49558
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-23Fix compiler warning.Travis Howell
svn-id: r48365
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-10AGOS: cleanupMax Horn
svn-id: r48227
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-03-07Exclude font data tables for The Feeble Files, when AGOS2 games are disabled.Travis Howell
svn-id: r48174
2010-03-07Add font data for Polish Windows 4CD version of The Feeble Files.Travis Howell
svn-id: r48173
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716