aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/preagi.cpp
AgeCommit message (Collapse)Author
2019-08-25AGI: Fix Remaining GCC Compiler WarningsD G Turner
These were the remaining memset on non-trivial structure warnings.
2019-08-25AGI: Fix GCC Compiler Warnings from memset of Game State StructuresD G Turner
This fixes these, but adding constructors causes further memset usage warnings on the structures which are now "non-trivial" due to the addition of constructors. Should be able to fix by repeating this process to remove further memset usage.
2019-08-24AGI: Fix some GCC Compilation WarningsD G Turner
These were associated with memset() of Mouse structure which now has a constructor method to do this instead.
2017-08-11AGI: PREAGI: Add one more missing break statementEugene Sandulenko
2017-08-11AGI: PREAGI: Add missing break statementsEugene Sandulenko
2016-05-22AGI: Reduce audio header dependenciesOri Avtalion
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-02-27AGI: Add support for upscaling and Hercules hires fontMartin Kiewitz
- User option to force Hercules hires font for any rendering mode - Also change mouse cursor hotspots from 1,1 to 0,0 - Fix inaccuracy in mouse controlled game menu - Change render_Block(), drawBox(), drawDisplayRect() to use upper Y instead of lower Y. Original AGI uses lower Y, but upper Y makes upscaling way easier.
2016-02-10AGI: CleanupMartin Kiewitz
2016-02-02AGI: Fix formatting.Johannes Schickel
This mostly enforces tabs for indentation and spaces for formatting. But also fixes spaces on empty lines, some extra/missing spaces. astyle + manual fixup
2016-01-31AGI: remove timer hack, implement in game timerMartin Kiewitz
in game timer is now updated, when scripts read in game timer VM variables and during main loop. ScummVM total play time feature is used for it. Game cycle syncing is done at the same time.
2016-01-29AGI: new font class createdMartin Kiewitz
moved font stuff into GfxFont class removed Mickey Mouse font data (is loaded from mickey.exe)
2016-01-29AGI: graphics rewrite + cleanupMartin Kiewitz
- graphics code fully rewritten - Apple IIgs font support - Amiga Topaz support - Word parser rewritten - menu code rewritten - removed forced 2 second delay on all room changes replaced with heuristic to detect situations, where it's required - lots of naming cleanup - new console commands show_map, screenobj, vmvars and vmflags - all sorts of hacks/workarounds removed - added SCI wait mouse cursor - added Apple IIgs mouse cursor - added Atari ST mouse cursor - added Amiga/Apple IIgs transition - added Atari ST transition - user can select another render mode and use Apple IIgs palette + transition for PC versions - inventory screen rewritten - SetSimple command now properly implemented - PreAGI Mickey: Sierra logo now shown - saved games: now saving controller key mapping also saving automatic save data (SetSimple command) - fixed invalid memory access when saving games (31 bytes were saved using Common::String c_ptr() Special Thanks to: - fuzzie for helping out with the Apple IIgs font + valgrind - eriktorbjorn for helping out with valgrind - LordHoto for figuring out the code, that caused invalid memory access in the original code, when saving a game - sev for help out with reversing the Amiga transition currently missing: - mouse support for menu - mouse support for system dialogs - predictive dialog support
2015-05-19AGI: implement original sierra font, fix bug #6405Martin Kiewitz
custom font is still used for fanmade games i cannot test preAGI games, because I don't own those.
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2011-09-26AGI: Fixed bug #3196882 - "KQ3: PCSpeaker affects render mode"Filippos Karapetis
2011-09-26AGI: doUpdate() already calls updateScreen()Filippos Karapetis
2011-08-15AGI: Cleanup PreAGI console codeMatthew Hoops
2011-08-15AGI: Reorganize the PreAGI code a bitMatthew Hoops
2011-08-15AGI: Make Troll inherit from PreAgiEngineMatthew Hoops
2011-08-15AGI: Make Mickey inherit from PreAgiEngineMatthew Hoops
2011-08-15AGI: Make Winnie inherit from PreAgiEngineMatthew Hoops
2011-08-14AGI: Enable sound support for Winnie DOSMatthew Hoops
2011-05-17AGI: Unify RandomSource instantiationMax Horn
This fixes a leak in PreAGI games (which never deleted their RandomSource), ensures that PreAGI's RandomSource has a name (and hence is registered with the event recorder) and even slightly simplifies the AgiEngine destructor.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-19PREAGI: Cleanup volume levels initializationdhewg
2011-03-05AGI: Kill the timer based counterdhewg
Using the timer mechanism for just a simple counter is not just overkill, its also inaccurate. When using a call frequency of x, and waiting for y callbacks, the passed time will not be x*y. The problem amplifies on slower platforms and/or fair thread schedulers. Use absolute times instead. Most notably, the walking speed of the avatar is now smooth on android, but probably on all other handhelds we support too.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-03-08some cleanupMax Horn
svn-id: r39241
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-08PreAGI works with the new GMM implementationChristopher Page
svn-id: r32956
2008-02-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2008-01-13IndentationKari Salminen
svn-id: r30478
2007-12-20get rid of unused globalsMax Horn
svn-id: r29916
2007-11-23cleanupMax Horn
svn-id: r29617
2007-11-19_speakerStream should be public. Also, when preAGI engine closes, the ↵Filippos Karapetis
speaker handle is freed svn-id: r29573