Commit Graph

49 Commits

Author SHA1 Message Date
Max Horn
651e2760a3 Fix spelling, cleanup
svn-id: r49843
2010-06-15 12:33:20 +00:00
Eugene Sandulenko
81870dba58 AGI: Fix bug #2825273.
Bug #2825273: "AGI: KQ4: Dwarf sequence". Always allow ESC to work
in KQ4.

svn-id: r49746
2010-06-15 10:32:44 +00:00
Eugene Sandulenko
462d1afed8 AGI: Fix bug #1875842.
Bug #1875842: "AGI: Character loses final walking position".
Do not reset ADJ_EGO_XY if non-directional keys were pressed.

svn-id: r49744
2010-06-15 10:32:01 +00:00
Eugene Sandulenko
14205bdbc0 AGI: add more status-related debug output.
svn-id: r49731
2010-06-15 10:27:23 +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
3a1495f247 AGI: Make scancodeTable const
svn-id: r45261
2009-10-20 11:13:42 +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
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
88395007fb Fix bug #2823759: "AGI: PQ1 help not showing the first time you press F1"
svn-id: r42659
2009-07-22 12:24:55 +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
1a321a2064 Cleanup
svn-id: r41254
2009-06-06 17:45:52 +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
93d62da652 Whitespace fixes and C++ comments
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko
40dd214789 Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"
The engine still crashes when load from GMM occured with a text box on screen.

svn-id: r40733
2009-05-19 21:09:43 +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
Filippos Karapetis
0015657caa Fix for bug #2541237 - "AGI: Restart quits ScummVM"
svn-id: r36279
2009-02-12 15:13:52 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Willem Jan Palenstijn
e5bff7bf92 typo
svn-id: r36109
2009-01-27 19:58:30 +00:00
Torbjörn Andersson
9a9c1a40d9 Added a few more shouldQuit() checks. It's now possible to quit while, for
instance, Leisure Suit Larry is waiting for you to enter your age.

svn-id: r35761
2009-01-06 23:29:58 +00:00
Filippos Karapetis
b804175684 Update AGI timers while waiting for a key to be pressed (e.g. when showing blocking text windows). Fixes bugs #1935909 and #1943872
svn-id: r31777
2008-04-29 18:50:17 +00:00
Filippos Karapetis
58b78bae07 Initial attempt at handling non-default AGI game input prompt
svn-id: r31477
2008-04-10 21:58:59 +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
Kari Salminen
286a3da49b Remove disabling of moving using mouse in mines in Amiga's Gold Rush introduced in r30375. So bug #1733297 remains although not stricly in its original form (Moving using mouse in the mines bugs still but not identically as when the bug report was given).
svn-id: r30377
2008-01-10 12:40:57 +00:00
Kari Salminen
6b372d97ee Disable moving using mouse in mines (Rooms 147-162) and 'adj.ego.move.to.x.y'-command (Which uses 2 arguments) in Amiga's Gold Rush. This temporary hack fixes bug #1733297 (GR: Actor stuck (Amiga version)).
svn-id: r30375
2008-01-10 12:02:03 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Filippos Karapetis
a5e6b75edb Re-enabled the 3 entries that can't have menus (KQ3 ST, KQ3 DOS 1.01, SQ1 DOS 1.0X). The ESC key will pause the game in those 3 games
svn-id: r28129
2007-07-17 20:17:28 +00:00
Filippos Karapetis
6376321e5a Enabled menus in some old AGI games (released in 1986) which did not have menus them originally: KQ1 Amiga and ST and early versions of KQ3 Amiga, SQ1 ST, SQ1 DOS and SQ1 Amiga. The GF_FORCEMENUS flag has been remaned to GF_MENUS. Also, two problematic versions of KQ3, a problematic version of SQ1 and a problematic version of Mixed up Mother Goose have been disabled. Finally, a duplicate detection entry for SQ1 has been removed
svn-id: r28095
2007-07-15 06:24:39 +00:00
Filippos Karapetis
e10a6e6515 Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"
svn-id: r27989
2007-07-09 12:03:53 +00:00
Neil Millstone
91648d68e0 Adding hooks for word completion interface on DS port
svn-id: r27871
2007-07-02 22:45:21 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Filippos Karapetis
d4d04a150d Added a game ID field for all Sierra AGI games. Removed many types which are now obsolete from the game features field
svn-id: r26764
2007-05-06 14:36:02 +00:00
Filippos Karapetis
3fccd9c06f AGI: Changed a nasty workaround regarding views to only apply to a specific view in the KQ4 introduction. This fixes several bugs and crashes in AGI V3 games and closes KQ4 bugs #1660486, #1660169, #1660192, #1660162 and #1660354
svn-id: r26743
2007-05-04 08:55:28 +00:00
Eugene Sandulenko
8d1a5da680 Patch #1705392: "Fix regression with patch #1704914"
svn-id: r26573
2007-04-23 08:12:43 +00:00
Eugene Sandulenko
b0ae4bf1a3 Patch #1704914: "Fix for #1671426: MH2 : Doesn't recognize Enter for actions"
svn-id: r26562
2007-04-21 21:47:14 +00:00
Eugene Sandulenko
08f5b5f31d Patch #1704575: 'Fix for #1692346: "KQ2: Cannot leave menu"'
svn-id: r26561
2007-04-21 21:39:27 +00:00
Eugene Sandulenko
80eb248a0e Get rid of _opt. Cleanup.
svn-id: r25549
2007-02-13 15:27:36 +00:00
Max Horn
73c3625f1f Fixing various doxygen warnings
svn-id: r25362
2007-02-03 21:37:52 +00:00
David Symonds
a2f49d31fb Remove #include "agi/text.h"; fixes build. Pointyhat to aquadran.
svn-id: r25103
2007-01-16 13:09:42 +00:00
Paweł Kołodziejski
b47eb95316 Formating names in source code
svn-id: r25101
2007-01-16 12:40:51 +00:00
Paweł Kołodziejski
1d3ca2e409 first phase of objectisation of agi engine
svn-id: r24808
2006-12-06 19:27:02 +00:00
Torbjörn Andersson
1114480ece Only bring up the predictive dialog on left clicks, not just any event. (I.e.
now we can still type commands, even if the mouse cursor is hovering over the
text input area.) I hope this is the desired behaviour.

svn-id: r24774
2006-11-23 18:14:16 +00:00
Max Horn
98e7abcbfc fix (un)signedness warnings
svn-id: r24651
2006-11-07 21:09:18 +00:00
Eugene Sandulenko
da3e724a99 Predictive input for AGI engine. To Do:
- Multitap
- scummvm.ini-based dictionary path
- speedup dictionary loading

svn-id: r24635
2006-11-06 13:19:12 +00:00
James Brown
f5fdbcddfb Pop AGIs text.cpp into a class, for later cleanup.
svn-id: r23011
2006-06-10 13:20:29 +00:00
Paweł Kołodziejski
b07798783c fixed regression after conversion console
svn-id: r22626
2006-05-25 12:17:50 +00:00
Paweł Kołodziejski
383b598c5c converted to scummvm console style
svn-id: r22618
2006-05-24 21:40:24 +00:00
Paweł Kołodziejski
691ae72a59 include mouse support always
svn-id: r22605
2006-05-24 11:39:29 +00:00
Paweł Kołodziejski
107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00