aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/text.cpp
AgeCommit message (Collapse)Author
2016-02-01AGI: Rename _game.lognum to _game.curLogicNrMartin Kiewitz
Also a bit of cleanup
2016-02-01AGI: implement predictive dialogMartin Kiewitz
2016-01-31AGI: getflag/setflag/etc. cleanupMartin Kiewitz
renamed getflag() to getFlag() renamed setflag() to setFlag() renamed flipflag() to flipFlag() preagi: renamed setFlag for this engine to setWinnieFlag
2016-01-31AGI: VM Var code cleanupMartin Kiewitz
Don't access variables directly, but through method Shouldn't include any functional differences Also changed several hardcoded values to the corresponding enums.
2016-01-29AGI: use Common::RenderMode instead of its ownMartin Kiewitz
AppleIIgs + Atari ST weren't available back then in the enum. They now are, so I can use the Common one.
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
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2011-12-10AGI: Replace usage of 'goto'.D G Turner
2011-11-02AGI: Fix warningsEugene Sandulenko
2011-10-10AGI: Fixed bug #3420859 - "AGI: SQ0 - Scummvm Crash"Filippos Karapetis
The length requested in this case is 250, which overflows a char variable
2011-09-26AGI: Removed leftover dead codeFilippos Karapetis
2011-09-26AGI: Fixed invalid memory writes in wordWrapString()Filippos Karapetis
2011-09-26AGI: Fixed the line changing code, and added EOL checksFilippos Karapetis
The extra checks make sure that there isn't an extra line added at the end of the string. They're added as a precautionary measure
2011-09-26AGI: Cleanup, added some comments, removed an obsolete FIXMEFilippos Karapetis
2011-09-26AGI: Add FIXME for wordwrap buffer overflowWillem Jan Palenstijn
2011-09-26AGI: Fixed the actual cause of bug #3295652, and partially fixed bug #3080415Filippos Karapetis
2011-09-26AGI: Fix bug #3080041 - "AGI Mother Goose: White bar in intro"Filippos Karapetis
2011-09-25SCI: Added a workaround for bug #3295652 - "AGI: (Fan) SQ0: Animation ↵Filippos Karapetis
overdraws some of the text window" and removed some duplicate code
2011-09-25AGI: Fixed EOF in text.cppFilippos Karapetis
2011-09-25AGI: Resolved an old FIXME concerning OOB accessFilippos Karapetis
2011-06-18AGI: Replace vsprintf by Common::String::vformatMax Horn
2011-05-17AGI: CleanupWillem Jan Palenstijn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-14ALL: colour -> colorMax Horn
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
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-15AGI: Fix bug #2960563.Eugene Sandulenko
Bug #2960563: "AGI: (Fan) SQ0: Text input field overdraws Text window". Now our text wrapping code matches original. svn-id: r49736
2010-06-15AGI: Fix bug #2959630.Eugene Sandulenko
Bug #2959630: "LSL1: Security in blackjack" fixed by partially reverting r41241. Do not clear prompt without on disabling input. svn-id: r49732
2010-06-15AGI: add more status-related debug output.Eugene Sandulenko
svn-id: r49731
2009-10-21Fix another regression that didn't append data in safeStrcat.Matthew Hoops
svn-id: r45296
2009-10-21Fix a regression in agiSprintf.Matthew Hoops
svn-id: r45295
2009-10-20AGI: Cleanup AgiEngine::agiSprintfMax Horn
svn-id: r45267
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-06Fix bug #2026605: "SQ2: Have to wait after dying to do anything."Eugene Sandulenko
svn-id: r41250
2009-06-06Stop abusing game flag.Eugene Sandulenko
svn-id: r41247
2009-06-06Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"Eugene Sandulenko
svn-id: r41243
2009-06-06Fix bug #2026570: "SQ2: Prompt disappears when it shouldn't"Eugene Sandulenko
svn-id: r41242
2009-06-06Fix implementation of prevent.input. This fixes SQ2 introEugene Sandulenko
svn-id: r41241
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-05-21Proper fix for bug #2537054: "AGI: Using GMM to load causes graphics glitches".Eugene Sandulenko
Save/load via GMM is not allowed in certain situations now. svn-id: r40773
2009-05-19Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"Eugene Sandulenko
The engine still crashes when load from GMM occured with a text box on screen. svn-id: r40733
2009-02-12Fix for bug #2541237 - "AGI: Restart quits ScummVM"Filippos Karapetis
svn-id: r36279
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-07Fix bug #1942471: "AGI: Fan(Get Outta SQ): No Word wrapping"Eugene Sandulenko
svn-id: r35767
2009-01-02Fix bugs #1940871: "AGI: Fan(Beyond Titanic 2) - Lockup" and #1874918:Eugene Sandulenko
"AGI GR: Text wrapping broken on long strings in the mines" by replacing our text wrap routine with one based on GBAGI. Also made debug messages more clear. svn-id: r35664
2008-12-19Allow quitting / returning to launcher while showing "selection boxes", e.g. theTorbjörn Andersson
pause game dialog. svn-id: r35445