aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/preagi_troll.cpp
AgeCommit message (Collapse)Author
2017-08-06JANITORIAL: Silence more GCC 7 warningsTorbjörn Andersson
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
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-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
2014-02-18AGI: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-15AGI: Mark fall-through. Detected by CID 1003771Eugene Sandulenko
2013-07-15AGI: Fix CID 1003769. Missing break in switchEugene Sandulenko
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-09-26AGI: doUpdate() already calls updateScreen()Filippos Karapetis
2011-08-15AGI: Make Troll inherit from PreAgiEngineMatthew Hoops
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
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-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-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-01-05fix infinite loop when trying to quit in Troll's TaleMatthew Hoops
svn-id: r35734
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-08PreAGI works with the new GMM implementationChristopher Page
svn-id: r32956
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-03Fix another -Wuninitialized warnings - n could have been returned w/o having ↵Max Horn
been set first svn-id: r30211
2007-11-19Hook PC Speaker to Troll's Tale. Though pitch and duration are wrongEugene Sandulenko
svn-id: r29569
2007-09-22Switch Troll's Tale to booter imageEugene Sandulenko
svn-id: r29028
2007-09-20allow for using up/down in menusMatthew Hoops
svn-id: r28996
2007-09-20Last pieces of Troll's Tale. Only missing thing is soundEugene Sandulenko
svn-id: r28992
2007-09-20Implement inventory in Troll's TaleEugene Sandulenko
svn-id: r28987
2007-09-19show the cursor in Troll after the first intro screenMatthew Hoops
svn-id: r28974
2007-09-19Merge several choice-related functionsEugene Sandulenko
svn-id: r28967
2007-09-18Fix picture drawing in Troll's Tale. Implement room navigation.Eugene Sandulenko
svn-id: r28946
2007-09-18Fix compiler warningMax Horn
svn-id: r28943
2007-09-18First room is shown.Eugene Sandulenko
svn-id: r28942
2007-09-18Fix menu and tutorial it Troll's TaleEugene Sandulenko
svn-id: r28941
2007-09-18WIP for Troll's TaleEugene Sandulenko
svn-id: r28939