aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15AGI: Fix some code analysis warnings (bug #3087825)Eugene Sandulenko
svn-id: r53470
2010-10-12AGI: Fix bug #3017908 with MIDI musicEugene Sandulenko
Bug #3017908: "AGI: No music with the new MIDI patch" Thanks to Raziel^ for pinpointing the bug. svn-id: r53166
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-11AGI: Fix one more strncpy/strncat issueWillem Jan Palenstijn
svn-id: r53148
2010-10-11AGI: Fix possible buffer overflow.Johannes Schickel
This is based on patch #3085298 "overflows in agi and parallaction". svn-id: r53147
2010-10-03AGI: Properly detect the autosave slot in the save dialogTorbjörn Andersson
Forward-ported from branch. Let's do this the easy way for now, even if I'm not sure why the save dialog shows the autosave slot anyway. svn-id: r52997
2010-09-26AGI: Fix bug in cmd_cancel_line()Torbjörn Andersson
We have to update cursor position, not just terminate the input buffer. This makes Ctrl-C work as intended, which fixes one half of bug #3054184 ("SQ1 AGI: keyboard special keys are not functioning properly"). I'm not sure if the second half actually is a bug. svn-id: r52899
2010-09-25AGI: Fix C64 AGI picturesMatthew Hoops
The initial screen color needs to be 0 and not 0xf for these. Winnie C64/Apple II should be completable now, with some graphical glitches and palette problems. svn-id: r52881
2010-09-22AGI: Fix for Bug #3067263 "SQ2: ScummVM hanging on the inventory screen"David Turner
This was due to a loop in AgiEngine::selectItems(int n), which lacked a check that the engine was quitting or restarting. svn-id: r52856
2010-09-21AGI: Deconfusify the AGI music driverTorbjörn Andersson
(After a brief discussion with sev.) AdLib is now the old Sarien sound, PCjr is the new PCjr emulation. PCjr is still the default; we don't need to ask getMusicType() how to get there. svn-id: r52838
2010-09-21AGI: Changed meaning of pcjr sound device. Now it is Sarien emuEugene Sandulenko
Music drivers: default: proper Tandy/PCJr adlib: proper Tandy/PCJr pcjr: old Sarien emu amiga: old Sarien emu in Amiga mode pcspk: Sarien emu in PCSpk mode (quite wrong) midi: 4 channel MIDI svn-id: r52836
2010-09-20AGI: Fix bug #3061578: AGI: PCjr Mode Not Default for DOS GamesEugene Sandulenko
svn-id: r52831
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-16AGI: Initialise PCjr emulator channels on creationTorbjörn Andersson
Because chanGen() gets called very early, and sometimes it crashes ScummVM as soon as the game starts. Actually, it's probably enough to initialise a couple of fields in _tchannel[], but I figured it couldn't hurt to clear all of _channel[] and _tchannel[]. svn-id: r52741
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-14AGI: Fix compilation.Travis Howell
svn-id: r52719
2010-09-14AGI: Improve support for MT-32 in the MIDI output.Johannes Schickel
Formerly the AGI MIDI code did not setup the channel mask properly, in case "native_mt32" was set. This resulted in one missing channel (i.e. channel 0), since the MT-32 only responds to data for channels 1-9. svn-id: r52718
2010-08-25AGI: Respect mute settingEugene Sandulenko
svn-id: r52373
2010-08-25AGI: Fix bug #3034370Eugene Sandulenko
Bug #3034370: "Manhunter: New York keyboard unresponsive". Actually the keyboard was made responsive after June implementation of set.key, still the game speed was increasing. Fixed that too. svn-id: r52369
2010-08-25AGI: Reset controllers on game restartEugene Sandulenko
svn-id: r52368
2010-08-24AGI: Fix bug #3017908: "AGI: No music with the new MIDI patch"Eugene Sandulenko
Fixed by performing proper MIDI initialization. svn-id: r52332
2010-07-26AGI: Fix valgrind warningEugene Sandulenko
svn-id: r51312
2010-07-26AGI: Fix crash on exit thanks to valgrindEugene Sandulenko
svn-id: r51311
2010-07-26AGI: Fix spelling and formattingEugene Sandulenko
svn-id: r51310
2010-07-23AGI: Fix bug #3017911Eugene Sandulenko
Bug #3017911: "AGI (Fan): SQ0 - Ego flickering". It is a regression from r49745, as it appeared, some of the screen updates were too much. svn-id: r51223
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-16Use "true" instead of "1" in if statements to make clang a bit more happier ↵Johannes Schickel
with -Werror. svn-id: r50943
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50928
2010-07-14Fix non-PCSPK sound types in AGI.Matthew Hoops
svn-id: r50891
2010-07-02AGI: Removed the deprecated (and confusing) getGameId() function inside the ↵Filippos Karapetis
AgiEngine class, and fixed a related bug, too svn-id: r50607
2010-07-02AGI: Fixed bug #3017905 - "AGI: GR - Crash on start". A free() was done on ↵Filippos Karapetis
an already freed reference svn-id: r50606
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21AGI: Turn some more AGI static functions into AgiEngine methodsMax Horn
svn-id: r50127
2010-06-21AGI: Change a static var to member var AgiEngine::_lastTickTimerMax Horn
svn-id: r50126
2010-06-21AGI: Turn timerHack and curLogic into AgiEngine members; get rid of some ↵Max Horn
#defines svn-id: r50125
2010-06-21AGI: Change AGI commands/opcodes to member methodsMax Horn
svn-id: r50124
2010-06-20Don't go into "menu input mode" unless the game currently allows the menus toTorbjörn Andersson
be displayed. I hope this is the correct fix to keep Police Quest 1 from hanging if you press Escape while reading the newspaper in the briefing room. svn-id: r50072
2010-06-19AGI: Get rid of GID_SQ0Max Horn
svn-id: r50049
2010-06-19AGI: Fix detection of AGI Tetris and Caitlyn's DestinyMax Horn
svn-id: r50048
2010-06-18AGI: Change some #defines to enumsMax Horn
svn-id: r50033
2010-06-18AGI: cleanupMax Horn
svn-id: r50032
2010-06-18AGI: Fix serguei1/serguei2/sqx detectionMax Horn
svn-id: r50031
2010-06-15Added the same quit/restart test to print() as we have in so many other places.Torbjörn Andersson
This makes it easier to quit the game during the text box in the King's Quest 3 into, and probably other places as well. svn-id: r49881
2010-06-15Remove unnecessary svn:executable propertiesWillem Jan Palenstijn
svn-id: r49870
2010-06-15AGI: Specify bug reference for workaroundMax Horn
svn-id: r49845
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
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-15Sound: add PCJR as a pseudodriver.Eugene Sandulenko
Since AGI distinguishes between PCSPK and PCJR/Tandy, make it as a pseudodriver. svn-id: r49782
2010-06-15AGI: enable MIDI in options since now there are ways to play it.Eugene Sandulenko
svn-id: r49781