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
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Travis Howell
7fc7234312
Fix startup of the Amiga versions of Manhunter NY/SF, which seem to require the older platform value of 20.
...
svn-id: r38341
2009-02-16 04:45:29 +00:00
Filippos Karapetis
0015657caa
Fix for bug #2541237 - "AGI: Restart quits ScummVM"
...
svn-id: r36279
2009-02-12 15:13:52 +00:00
Eugene Sandulenko
c31a0f7089
Fix bug #1942471 : "AGI: Fan(Get Outta SQ): No Word wrapping"
...
svn-id: r35767
2009-01-07 13:27:58 +00:00
Filippos Karapetis
2b59700d2a
AGI save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
...
svn-id: r34989
2008-11-10 19:02:47 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
61aadb378d
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
...
svn-id: r34896
2008-11-04 16:11:40 +00:00
Christopher Page
c9e0422722
Added Autosave support for AGI
...
svn-id: r33772
2008-08-10 22:53:43 +00:00
Christopher Page
0bffc3cb7b
Sound settings for AGI are now configurable through the GMM
...
svn-id: r32936
2008-07-07 05:51:39 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Filippos Karapetis
0de56ea1f9
Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
...
svn-id: r31776
2008-04-29 16:24:54 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Kari Salminen
b8a455db9b
Define and use enumerations for AGI Mouse protocol 1.0's button states.
...
svn-id: r30620
2008-01-23 00:06:10 +00:00
Kari Salminen
8d1dd18bda
Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should fix bug #1733297 (GR: Actor stuck (Amiga version)). Savegames when using adj.ego.move.to.x.y-command may be broken at the moment.
...
svn-id: r30602
2008-01-21 21:09:42 +00:00
Kari Salminen
931b4abe5e
Confirmed that the Amiga version of Space Quest II v2.0F using Amiga AGI 2.202 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
...
svn-id: r30533
2008-01-17 11:36:54 +00:00
Kari Salminen
d6e2e1431c
Confirmed that Amiga version of King's Quest III (v1.01 1986-11-08) using Amiga AGI 2.090 uses value 5 for v20 (i.e. the computer type variable). Thanks to Raziel for the info!
...
svn-id: r30516
2008-01-16 15:19:33 +00:00
Kari Salminen
0ddfc0a64e
Fix for the Space Trek sprite duplication bug ( #1659209 ). Makes commands position and position.v use coordinate clipping for Space Trek.
...
svn-id: r30190
2008-01-03 08:41:40 +00:00
Kari Salminen
5e7cc8b2d9
Add GF_OLDAMIGAV20 game flag for correctly setting computer type (v20 i.e. vComputer) for particular old Amiga AGI games (Space Quest I v1.2 at the moment).
...
svn-id: r30164
2008-01-02 19:10:01 +00:00
Kari Salminen
6dfaaf3018
Set AGI's computer type variable (v20 i.e. vComputer) according to the used platform. Now using different values for IBM-PC, Atari ST, Amiga and Apple IIGS platforms.
...
svn-id: r30153
2008-01-02 16:36:47 +00:00
Max Horn
a47446600a
get rid of unused globals
...
svn-id: r29916
2007-12-20 14:26:03 +00:00
Max Horn
402a3dbbe3
cleanup
...
svn-id: r29617
2007-11-23 10:51:16 +00:00
Max Horn
207ecdb332
Change the AGI image stack to use Common::Stack
...
svn-id: r29608
2007-11-22 10:32:36 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Filippos Karapetis
39da7deefb
Fix for bug #1751483 - "AGI: The -x command-line option appears to be broken"
...
svn-id: r29346
2007-10-31 21:28:33 +00:00
Eugene Sandulenko
38d8105e4e
Add support for Russian versions of AGI games
...
svn-id: r29056
2007-09-23 16:43:43 +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
Eugene Sandulenko
13a73a70b6
WIP for Troll's Tale
...
svn-id: r28939
2007-09-18 16:20:44 +00:00
Matthew Hoops
f4414ac084
remove the rest of the PreAGI loader
...
svn-id: r28895
2007-09-11 21:39:16 +00:00
Matthew Hoops
c1c7b5f563
PreAGI does not need an AGI resource loader, as it only needs to load pictures and doesn't use directories. So, this allows Winnie to decode pictures without using the loader
...
svn-id: r28893
2007-09-11 20:09:39 +00:00
Matthew Hoops
898043d967
Winnie now enters the main loop and allows for movement (via the menu)
...
svn-id: r28867
2007-09-06 20:51:40 +00:00
Matthew Hoops
cea837ef7d
WIP Winnie the Pooh code (PreAGI). Shows only the intro currently
...
svn-id: r28865
2007-09-06 10:48:00 +00:00
Filippos Karapetis
5a97b3d9be
Some updates for Mickey:
...
- Click to move functionality (improvement over the original game). It's now possible to navigate around using the mouse as well, together with the menu commands. The mouse cursor changes when the player hovers it at the picture's edges, towards a direction where Mickey is able to move to (north, south, east or west)
- waitAnyKey has been moved into Mickey's code (because of the animation part)
- Implemented the circle flag for AGI picture decoding
svn-id: r28853
2007-09-05 15:43:56 +00:00
Filippos Karapetis
51554b6f20
Some updates to preagi's sound system and code cleanup
...
svn-id: r28844
2007-09-03 09:39:15 +00:00
Matthew Hoops
5a5e994e4f
make Mickey use the SaveFileManager for saving/loading
...
svn-id: r28843
2007-09-03 01:55:56 +00:00
Filippos Karapetis
39de6091e2
Implemented clearRow for preagi games. Mickey save games should work now. Some code cleanup
...
svn-id: r28838
2007-09-03 00:47:51 +00:00
Filippos Karapetis
314d7c1736
Implemented clearScreen() for preagi games
...
svn-id: r28837
2007-09-02 23:25:39 +00:00
Filippos Karapetis
2dd4f61b5e
Text in Mickey is shown correctly now. Also, removed an obsolete function declaration of PutPixel()
...
svn-id: r28835
2007-09-02 22:47:53 +00:00
Filippos Karapetis
7909ce3986
Removed rand() and substituted it with Common::RandomSource
...
svn-id: r28825
2007-09-02 15:19:20 +00:00
Matthew Hoops
957e421bfa
fix more warnings
...
svn-id: r28822
2007-09-02 13:50:26 +00:00
Matthew Hoops
f3ae0182e0
fix a warning and some code formatting
...
svn-id: r28820
2007-09-02 13:44:23 +00:00
Filippos Karapetis
afac94340a
Some more updates to preagi string drawing function
...
svn-id: r28813
2007-09-02 02:25:13 +00:00
Filippos Karapetis
2182d758d0
Initial implementation of preagi string drawing functions. They still need work, though
...
svn-id: r28812
2007-09-02 01:45:59 +00:00
Filippos Karapetis
1a85c98598
Implemented the rnd() function. Some cleanup to remove unneeded functionality
...
svn-id: r28810
2007-09-01 23:30:37 +00:00
Filippos Karapetis
9db1525e50
Added WIP logic code for Mickey's Space Adventure
...
svn-id: r28800
2007-09-01 18:46:55 +00:00
Eugene Sandulenko
554cff0384
GIve some files more logical names
...
svn-id: r28791
2007-09-01 17:28:15 +00:00
Eugene Sandulenko
7f08865ec5
An early WIP of PreAGI (TrollVM) support
...
svn-id: r28787
2007-09-01 14:58:46 +00:00
Kari Salminen
c987d6aaf0
Added rudimentary classes for different AGI sound resources (IIgsMidi, IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound.
...
svn-id: r28630
2007-08-15 22:00:31 +00:00
Kari Salminen
fe9bb43622
Removed use of USE_IIGS_SOUND (#define).
...
svn-id: r28626
2007-08-15 16:40:45 +00:00
Kari Salminen
e888aa1217
Shuffled around AgiGameID's declaration and an include to get stuff hopefully working now with GCC too.
...
svn-id: r28616
2007-08-14 13:36:03 +00:00
Torbjörn Andersson
3447c0e264
Tell the user if saving a game fails. (I haven't tested the saveGameSimple()
...
function, since I don't know when it's used.) This should fix bug #1767237
("AGI: Saving games to non existing path").
svn-id: r28441
2007-08-04 06:18:28 +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
Kari Salminen
969df42d01
Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
...
svn-id: r28014
2007-07-10 18:08:35 +00:00
Kari Salminen
b2cae8fe15
Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
...
svn-id: r28011
2007-07-10 17:04:09 +00:00
Kari Salminen
be23a6e188
Change AgiTextColor's default color to black text on white background.
...
svn-id: r28010
2007-07-10 15:45:30 +00:00
Kari Salminen
80cdd532bc
Add AgiButtonStyle and create correct style according to render mode (Supports PC and Amiga styles).
...
svn-id: r28009
2007-07-10 15:28:43 +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
Kari Salminen
2ff0ffadb8
Oops. An extra comma in the enum list's end. Removed.
...
svn-id: r27775
2007-06-29 18:41:06 +00:00
Kari Salminen
3a03470caa
Set AGI monitor type variable (vMonitor/v26) according to render mode.
...
svn-id: r27774
2007-06-29 15:58:48 +00:00
Kari Salminen
ae74b06756
Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
...
svn-id: r27564
2007-06-20 22:54:51 +00:00
Max Horn
cbb378de1f
Some cleanup to the pred.dic AGI code
...
svn-id: r27386
2007-06-13 13:26:46 +00:00
Kostas Nakos
a0cd025a16
implement predictive dictionary using ascii based operations, replacing the 10ary tree
...
svn-id: r27383
2007-06-13 12:48:14 +00:00
Kostas Nakos
f935b6981b
permit only one instance of predictive dialog, add handling of keypad keys
...
svn-id: r27047
2007-06-02 08:15:06 +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
Filippos Karapetis
aa8fa78f62
Patch #1705791 : Patch for #1648396 - AGI : SQ2 / 2.0F / IBM / priority line
...
Modify a workaround made for SQ1 to work on SQ1 only, not all AGI games. This fixes bug #1648396 with SQ2, a bug with LSL1 (Sarien bug #925074 ) and possibly others
svn-id: r26589
2007-04-24 15:43:16 +00:00
Eugene Sandulenko
55152e4055
Fix for loading savegames from the command line.
...
svn-id: r26567
2007-04-22 16:06:00 +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
Torbjörn Andersson
0c5d862ab1
Removed code that at least for now is presumed dead.
...
svn-id: r26304
2007-03-25 20:23:14 +00:00
Torbjörn Andersson
8a2529b2d6
Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat
...
when scrolling the list of savegames.
svn-id: r26175
2007-03-17 16:08:29 +00:00
Torbjörn Andersson
5771a9c730
Some usability improvements to the save/load dialog: The scrollbar uses the
...
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-12 19:19:30 +00:00
Eugene Sandulenko
b12db77620
Patch #1678264 : "AGI: Extending the number of save slots"
...
svn-id: r26098
2007-03-12 08:43:13 +00:00
Max Horn
48a401d9dd
Removing dead code
...
svn-id: r25878
2007-02-26 12:07:20 +00:00
Torbjörn Andersson
11682377e4
More header consistency fixes. (Actually, there was nothing at all to keep
...
font.h from being included multiple times.)
svn-id: r25744
2007-02-20 17:22:58 +00:00
Eugene Sandulenko
80eb248a0e
Get rid of _opt. Cleanup.
...
svn-id: r25549
2007-02-13 15:27:36 +00:00
Eugene Sandulenko
f2dff4dec6
Fingolfin's patch for improving dictionary loading speed. Applied as is.
...
svn-id: r25503
2007-02-12 00:21:30 +00:00
Eugene Sandulenko
b14bb6206a
Improve detection. Remove redundant md5s
...
svn-id: r25486
2007-02-11 11:23:30 +00:00
Eugene Sandulenko
90a7cbd6d7
Get rid of AGI_AMIGA and use platform setting instead.
...
svn-id: r25469
2007-02-10 17:10:55 +00:00
Max Horn
73c3625f1f
Fixing various doxygen warnings
...
svn-id: r25362
2007-02-03 21:37:52 +00:00
Eugene Sandulenko
d3b0ff8ade
Reduce dependency from common/advancedDetector.h
...
svn-id: r25156
2007-01-21 20:24:38 +00:00
Paweł Kołodziejski
b47eb95316
Formating names in source code
...
svn-id: r25101
2007-01-16 12:40:51 +00:00
Stuart George
baf9d63f5b
Fixed version number printing in alt-d dialogue box
...
svn-id: r25070
2007-01-12 02:31:04 +00:00
Eugene Sandulenko
1403c8e6b0
Slighty modified patch #1631229 : "Revamp of AGI savegame system"
...
svn-id: r25069
2007-01-12 02:29:20 +00:00
Max Horn
29f59fc468
Renamed amiga -> amigaMode and agds -> agdsMode; also some minor cleanup
...
svn-id: r25047
2007-01-07 18:02:54 +00:00
David Symonds
ee1d36b915
Removed almost all the remaining hires code.
...
svn-id: r25037
2007-01-06 17:53:15 +00:00
David Symonds
fc2454556a
Another set of unused hires code bites the dust.
...
svn-id: r25036
2007-01-06 17:21:33 +00:00
David Symonds
61d741514e
Extended text rendering code to allow "checkerboarding", and switch menu code
...
to using this checkerboard effect for disabled menu items (this is how Sierra's
interpreter works).
svn-id: r25024
2007-01-06 05:11:41 +00:00
Stuart George
374f87d7cb
Added AdvancedDetection to AGI engine. Only added KQ1 for testing
...
svn-id: r24877
2006-12-19 01:11:41 +00:00
Max Horn
d1b570d9e5
Fixing some compiler warnings
...
svn-id: r24812
2006-12-06 21:23:01 +00:00
Torbjörn Andersson
efb38a5d60
Fixed compile errors (for me at least). Still plenty of warnings, though.
...
svn-id: r24809
2006-12-06 19:44:27 +00:00
Paweł Kołodziejski
1d3ca2e409
first phase of objectisation of agi engine
...
svn-id: r24808
2006-12-06 19:27:02 +00:00
Eugene Sandulenko
1a85adfa83
Enable yet unfinished IIgs sound, but this prevents IIgs games from crashing.
...
svn-id: r24807
2006-12-06 15:31:35 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
a2dc897fe5
Reduce code duplication
...
svn-id: r23888
2006-09-16 15:01:14 +00:00
Eugene Sandulenko
17fd8e5ed0
Minor cleanup and formatting
...
svn-id: r22634
2006-05-25 19:56:05 +00:00
Eugene Sandulenko
4859de9ae7
Made CGA rendering, EGA/VGA palette selectable via render_mode
...
svn-id: r22632
2006-05-25 19:46:28 +00:00
Paweł Kołodziejski
383b598c5c
converted to scummvm console style
...
svn-id: r22618
2006-05-24 21:40:24 +00:00