aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2007-03-30Renamed AGIs savegame.cpp to saveload.cpp, to match the other enginesMax Horn
svn-id: r26330
2007-03-29cleanup.Johannes Schickel
svn-id: r26315
2007-03-25Removed code that at least for now is presumed dead.Torbjörn Andersson
svn-id: r26304
2007-03-22- Save AGIPAL resource number properlyEugene Sandulenko
- Move GfxMgr constructor to .cpp file svn-id: r26278
2007-03-22- adding support for saving AGIPAL gamesMatthew Hoops
- adding debug comment when using a new AGIPAL palette - changing so that only pal.101-109 files are used and not pal.100, as AGIPAL starts at 101 svn-id: r26277
2007-03-21adding debug message if running AGIPAL gameMatthew Hoops
svn-id: r26271
2007-03-21adding AGIPAL support (for changing palettes in some fan games) Patch:1684685Matthew Hoops
svn-id: r26270
2007-03-18updating shake.screen warning/comment to reflect that AGIPAL uses it, and ↵Matthew Hoops
not AGIMOUSE svn-id: r26237
2007-03-18adding GF_AGIPAL to those games which have that feature (the ones with ↵Matthew Hoops
pal.101) and fixing a typo svn-id: r26236
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Allow synthetic events in dialog windows, e.g. so you can use keyboard repeatTorbjörn Andersson
when scrolling the list of savegames. svn-id: r26175
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Allow using the left/right keys to select button in a selection box. (SelectionTorbjörn Andersson
boxes are used, for instance, when asking the player to verify that he wants to save the game to a specific slot.) svn-id: r26168
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-12Some usability improvements to the save/load dialog: The scrollbar uses theTorbjörn Andersson
top/bottom position only when the first/last slot is in view, save slots are numbered, and when saving over an old savegame, the description input field is pre-filled with the old description. That last one is particularly useful if you save to the same slot repeatedly while doing something insanely dangerous like, say, walking from one side of the screen to the other. ("Almost there... almost there... oops.") svn-id: r26105
2007-03-12Patch #1678264: "AGI: Extending the number of save slots"Eugene Sandulenko
svn-id: r26098
2007-03-10Fixed error handling: we count the command itself in argc, and returning falseTorbjörn Andersson
means "close the debug console" which probably isn't what we want. svn-id: r26050
2007-03-08Replaced uses of fprintf() with warning() or error()Max Horn
svn-id: r26022
2007-02-26Fix alignment issues in wince port.Kostas Nakos
This patch/bug is closely related to the behavior shown in agos engine (see https://sourceforge.net/tracker/?func=detail&aid=1657436&group_id=37116&atid=418822). Every time structs are used to extract data from a buffer, these structs have to be packed. It is not OK to assume that the compiler does not pad the struct, or that it doesn't have alignment assumptions voodoo (see cited patch). svn-id: r25881
2007-02-26Removing dead codeMax Horn
svn-id: r25878
2007-02-23Put back DDP entries, but #if 0 them for future reference and preventEugene Sandulenko
anyone from adding them again. svn-id: r25801
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-20More header consistency fixes. (Actually, there was nothing at all to keepTorbjörn Andersson
font.h from being included multiple times.) svn-id: r25744
2007-02-19AGI: Removed detection sums for DDP. DDP uses an unsupporeted agi engine ↵Stuart George
2.01, all DDP versions are booter disks and thus 'hacks' and is buggy under any agi version other than 2.01 (2.272 and 2.089 dont work correctly). This will also stop bug reports coming in for DDP svn-id: r25711
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13made rtrim() and ltrim() global functions, to reduce code duplication (it ↵Gregory Montoir
seems parallaction/parser.cpp code re-use them too svn-id: r25564
2007-02-13Fixed compilationMax Horn
svn-id: r25552
2007-02-13added GF_AGIMOUSE for all fangames who seem to use itJoachim Eberhard
svn-id: r25551
2007-02-13Add FNAMADE_LF() macroEugene Sandulenko
svn-id: r25550
2007-02-13Get rid of _opt. Cleanup.Eugene Sandulenko
svn-id: r25549
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Fix Apocalyptic Quests.Eugene Sandulenko
svn-id: r25546
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-13(re)added flags field to ADGameDescription, with currently only one value ↵Max Horn
(GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet) svn-id: r25539
2007-02-12autodistinguish sq2 2.0F dos+amigaJoachim Eberhard
svn-id: r25516
2007-02-12Fingolfin's patch for improving dictionary loading speed. Applied as is.Eugene Sandulenko
svn-id: r25503
2007-02-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2007-02-11Make the mouse cursor white (instead of green) with a black outline onTorbjörn Andersson
platforms that support cursor palettes. Changed the cursor design slightly. It's not necessarily better than the old one, but it matches the arrow cursor used in early SCI games, which seems appropriate. svn-id: r25499
2007-02-11Improve detection. Remove redundant md5sEugene Sandulenko
svn-id: r25486
2007-02-10Make Amiga v3 games work.Eugene Sandulenko
svn-id: r25477
2007-02-10Speed up loading of pred.txt, by using a sort algorithm that doesn't choke ↵Max Horn
on pre-sorted data as our current (sloooow) Common::sort does svn-id: r25476
2007-02-10Get rid of AGI_AMIGA and use platform setting instead.Eugene Sandulenko
svn-id: r25469
2007-02-10fixing Amiga games detectionJoachim Eberhard
svn-id: r25468
2007-02-10Patch #1637824: AGI: Allow mouse use in save / load dialogsEugene Sandulenko
svn-id: r25467
2007-02-10minor consistency improvement for datesJoachim Eberhard
svn-id: r25461
2007-02-10make extra info consistent and add missing datesJoachim Eberhard
svn-id: r25459
2007-02-10Select default render mode based on platform: Amiga mode for Amiga games, EGATorbjörn Andersson
mode for PC games. You can, of course, still override it. svn-id: r25457