Commit Graph
251 Commits
Author SHA1 Message Date
Max Horn e7da62763e AGI: Turn timerHack and curLogic into AgiEngine members; get rid of some #defines
svn-id: r50125
2010-06-21 21:33:22 +00:00
Max Horn df569a6c82 AGI: Change AGI commands/opcodes to member methods
svn-id: r50124
2010-06-21 21:32:56 +00:00
Max Horn da28fde4c6 AGI: Change some #defines to enums
svn-id: r50033
2010-06-18 22:07:32 +00:00
Eugene Sandulenko 2bcafcb02d Sound: add PCJR as a pseudodriver.
Since AGI distinguishes between PCSPK and PCJR/Tandy, make it as a
pseudodriver.

svn-id: r49782
2010-06-15 10:55:31 +00:00
Eugene Sandulenko 6903fc7a07 AGI: Implement FR #2813133.
FR #2813133: "AGI: Proper Tandy 3-Voice/IBM PCjr Sound Support".
Add proper Tandy music. Heavily based on NAGI source, thus attached
its X11 license.

To run it now use -e pcjr. Old one is still default for adlib but
most likely will be changed in the future.

Also lied ground for further separation of different sound generators.

svn-id: r49755
2010-06-15 10:36:10 +00:00
Eugene Sandulenko 0a1a919406 AGI: Implement FR #1913900.
FR #1913900: "AGI: MIDI support".
Currently it gets selected when Adlib is chosen. Finding a better
way to do it is a todo.

Also default instrument mapping is plain.

Based on original code by Jens. Christian Restemeier.

svn-id: r49751
2010-06-15 10:34:45 +00:00
Max Horn 970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn b3e404109c Move initGraphics and initCommonGFX from to new header.
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-04 11:58:12 +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
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 aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Eugene Sandulenko 8ad5694cb1 Reduce header dependencies for AGI engine.
svn-id: r46942
2010-01-03 20:15:44 +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 50435d6bae AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBase
svn-id: r45259
2009-10-20 11:13:00 +00:00
Johannes Schickel fd88dbacd7 Properly uninitialize timer used in AgiEngine.
svn-id: r43623
2009-08-22 00:18:22 +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
Eugene Sandulenko 483a4c0eeb Move functions from agi.cpp to more appropriate files.
svn-id: r42662
2009-07-22 15:55:33 +00:00
Eugene Sandulenko 7c1df4cbff Fix bug #2823762: "AGI: PQ1 All function keys are broken after restart"
svn-id: r42658
2009-07-22 11:48:51 +00:00
Eugene Sandulenko c96ec85dbb Preliminary support for CoCo3 music.
svn-id: r41618
2009-06-17 23:16:21 +00:00
Eugene Sandulenko 3bfca53709 Disable music for CoCo3 games. It has different format.
svn-id: r41598
2009-06-16 21:59:20 +00:00
Eugene Sandulenko ea3373708c Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, F3 hotkey dosent work", removed number of hacks
svn-id: r41259
2009-06-06 17:48:09 +00:00
Eugene Sandulenko d6a4dbeb1d Implement fence.mouse opcode
svn-id: r41258
2009-06-06 17:47:29 +00:00
Eugene Sandulenko c393144b19 Implement hold.key and release.key opcodes
svn-id: r41255
2009-06-06 17:46:19 +00:00
Eugene Sandulenko 1a321a2064 Cleanup
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko 72d25455e0 Implement scummvm.ini flag features for AGI engine
svn-id: r41252
2009-06-06 17:44:46 +00:00
Eugene Sandulenko 2eb7e914e8 Fix bug #2026605: "SQ2: Have to wait after dying to do anything."
svn-id: r41250
2009-06-06 17:43:51 +00:00
Eugene Sandulenko c5f41b29fa Stop abusing game flag.
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko a5d762c029 Fix bug #1745954: "GR: Intro "jumpy" in parts (Amiga version)"
svn-id: r41244
2009-06-06 17:41:29 +00:00
Eugene Sandulenko 26d8b2bb72 Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"
svn-id: r41243
2009-06-06 17:40:56 +00:00
Eugene Sandulenko 194ab100c7 Fix bug #2434187: "SQ2: message not displayed, or vanishes too quickly"
svn-id: r41240
2009-06-06 17:39:42 +00:00
Eugene Sandulenko 93d62da652 Whitespace fixes and C++ comments
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko 565c23b601 Fix bug #1946262: "LSL1: Age Verification answer input not working"
svn-id: r40468
2009-05-11 20:58:55 +00:00
Johannes Schickel e2d33d81ab Add FIXME comment in AgiEngine::syncSoundSettings.
svn-id: r39321
2009-03-10 22:36:06 +00:00
Filippos Karapetis 0015657caa Fix for bug #2541237 - "AGI: Restart quits ScummVM"
svn-id: r36279
2009-02-12 15:13:52 +00:00
Max Horn 7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Johannes Schickel 5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn 40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn 6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Christopher Page c9e0422722 Added Autosave support for AGI
svn-id: r33772
2008-08-10 22:53:43 +00:00
Christopher Page 00aee7dd73 Reverted an incorrect change to AGI
svn-id: r33077
2008-07-15 19:35:40 +00:00
Christopher Page 30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page 61d25a912e Agi works with the new GMM implementation
svn-id: r32953
2008-07-07 23:24:12 +00:00
Christopher Page 0bffc3cb7b Sound settings for AGI are now configurable through the GMM
svn-id: r32936
2008-07-07 05:51:39 +00:00
Christopher Page f878820bbe Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page 369f7b0d08 AGI: Modified AGI Engine to shutdown without using system->quit
svn-id: r32329
2008-05-27 20:15:36 +00:00
Christopher Page e41bd1eae8 AGI: Fixed two memory leaks when returning to launcher from AGI Engine
svn-id: r32236
2008-05-24 00:08:13 +00:00
Eugene Sandulenko d1d227db83 Fix initialization of Apple //gs sound
svn-id: r31659
2008-04-22 20:33:46 +00:00
Filippos Karapetis 71f6a7e855 Allow the predictive dialog to be shown when ego cannot be moved (i.e. when _game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page"
svn-id: r31462
2008-04-10 08:27:09 +00:00