Commit Graph

66 Commits

Author SHA1 Message Date
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