Commit Graph

199 Commits

Author SHA1 Message Date
Eugene Sandulenko
6a3848a299 Make new Schiller previews names more consistent.
svn-id: r26807
2007-05-12 14:52:25 +00:00
Filippos Karapetis
069e84b33b Added MD5 from bug report "#1717129 - Schiller Preview No.2"
svn-id: r26803
2007-05-12 11:52:29 +00:00
Max Horn
750d0072ce Fixed warnings, cleanup
svn-id: r26799
2007-05-10 07:48:54 +00:00
Filippos Karapetis
633be17e7f Fixed bug #1715284: Roger sometimes disappears
svn-id: r26790
2007-05-08 22:35:21 +00:00
Filippos Karapetis
50800d5969 Fixed bug #1658514: AGI: SQ1 (2.2 DOS ENG) bizzare exploding roger
svn-id: r26782
2007-05-07 19:42:59 +00:00
Filippos Karapetis
3413dda0e9 Fixed some comments
svn-id: r26771
2007-05-07 05:06:22 +00:00
Filippos Karapetis
ae3e16c970 Changed a workaround made for Space Trek to apply to all AGI fanmade games. The original workaround was inactive for Space Trek in ScummVM, but was activated for some older AGI games, which was not its original purpose. If this causes regressions with other fanmade games, it'd be best to limit it to Space Trek only
svn-id: r26766
2007-05-06 14:57:35 +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
dc1e1a3f11 Removed several goto statements
svn-id: r26763
2007-05-06 10:35:47 +00:00
Filippos Karapetis
0ab860d60d Fixed bug #1658643: AGI: SQ1 (2.2 DOS ENG) Graphic error, ego leaves behind copy
Also, removed one of the two workarounds for the KQ4 intro, as it's not needed

svn-id: r26754
2007-05-05 23:54:29 +00:00
Filippos Karapetis
b82c68542c Fix bug #1712585
svn-id: r26753
2007-05-05 16:10:12 +00:00
Filippos Karapetis
0ba5afa585 Slight optimization
svn-id: r26745
2007-05-04 11:00:16 +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
21e5311650 Handle the escape key properly in KQ4. Fixes bug #1660158
svn-id: r26677
2007-04-29 14:06:46 +00:00
Torbjörn Andersson
6ba72121ad Changed abs() to ABS()
svn-id: r26639
2007-04-28 04:29:05 +00:00
Eugene Sandulenko
a3ca3a3a3f Make AGIPAL support more robust
svn-id: r26598
2007-04-26 20:18:12 +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
8d1a5da680 Patch #1705392: "Fix regression with patch #1704914"
svn-id: r26573
2007-04-23 08:12:43 +00:00
Eugene Sandulenko
f01fbb8467 Patch from bugreport #1678230: "AGI: Entering text while screen is shaking"
svn-id: r26568
2007-04-22 16:17:14 +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
Eugene Sandulenko
3be109b646 More safe version of patch #1689533: "AGI: Load from command line"
svn-id: r26560
2007-04-21 21:35:30 +00:00
Neil Millstone
c6d41c0755 Updating DS port for changes in main codebase. Code changes for DevkitArm r20 and latest libnds.
svn-id: r26394
2007-04-06 18:34:53 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Max Horn
00919e3a93 Renamed AGIs savegame.cpp to saveload.cpp, to match the other engines
svn-id: r26330
2007-03-30 22:59:45 +00:00
Johannes Schickel
69639ea0bf cleanup.
svn-id: r26315
2007-03-29 16:50:06 +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
Eugene Sandulenko
989f7b67cb - Save AGIPAL resource number properly
- Move GfxMgr constructor to .cpp file

svn-id: r26278
2007-03-22 22:29:00 +00:00
Matthew Hoops
a722b767a8 - adding support for saving AGIPAL games
- adding debug comment when using a new AGIPAL palette
- changing so that only pal.101-109 files are used and not pal.100, as AGIPAL starts at 101

svn-id: r26277
2007-03-22 22:03:21 +00:00
Matthew Hoops
cc93bea7b8 adding debug message if running AGIPAL game
svn-id: r26271
2007-03-21 21:38:53 +00:00
Matthew Hoops
080a76503b adding AGIPAL support (for changing palettes in some fan games) Patch:1684685
svn-id: r26270
2007-03-21 20:13:40 +00:00
Matthew Hoops
96823c885f updating shake.screen warning/comment to reflect that AGIPAL uses it, and not AGIMOUSE
svn-id: r26237
2007-03-18 23:35:24 +00:00
Matthew Hoops
82220883d1 adding GF_AGIPAL to those games which have that feature (the ones with pal.101) and fixing a typo
svn-id: r26236
2007-03-18 23:28:22 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +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
53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.

Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.

svn-id: r26170
2007-03-17 15:44:26 +00:00
Torbjörn Andersson
d378b78b6a Allow using the left/right keys to select button in a selection box. (Selection
boxes are used, for instance, when asking the player to verify that he wants to
save the game to a specific slot.)

svn-id: r26168
2007-03-17 13:31:48 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +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
Torbjörn Andersson
c7ce7ec614 Fixed error handling: we count the command itself in argc, and returning false
means "close the debug console" which probably isn't what we want.

svn-id: r26050
2007-03-10 11:16:16 +00:00
Max Horn
8778f121e2 Replaced uses of fprintf() with warning() or error()
svn-id: r26022
2007-03-08 17:23:19 +00:00
Kostas Nakos
1af4932242 Fix alignment issues in wince port.
This patch/bug is closely related to the behavior shown in agos engine (see https://sourceforge.net/tracker/?func=detail&aid=1657436&group_id=37116&atid=418822).
Every time structs are used to extract data from a buffer, these structs have to be packed.
It is not OK to assume that the compiler does not pad the struct, or that it doesn't have alignment assumptions voodoo (see cited patch).

svn-id: r25881
2007-02-26 18:34:00 +00:00
Max Horn
48a401d9dd Removing dead code
svn-id: r25878
2007-02-26 12:07:20 +00:00
Eugene Sandulenko
b6fdf74a25 Put back DDP entries, but #if 0 them for future reference and prevent
anyone from adding them again.

svn-id: r25801
2007-02-23 00:27:56 +00:00
Max Horn
227a080e5b Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by me
svn-id: r25752
2007-02-20 18:50:17 +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
Stuart George
edd8774836 AGI: Removed detection sums for DDP. DDP uses an unsupporeted agi engine 2.01, all DDP versions are booter disks and thus 'hacks' and is buggy under any agi version other than 2.01 (2.272 and 2.089 dont work correctly). This will also stop bug reports coming in for DDP
svn-id: r25711
2007-02-19 00:03:14 +00:00
Max Horn
b8aeefaffb Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
svn-id: r25660
2007-02-17 18:55:51 +00:00