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
Max Horn
7572d2b4f2
Changed detectBestMatchingGame to return a pointer to a ADGameDescription (or a subclass of it); added a (currently fake) fallback callback entry in ADParams
...
svn-id: r25574
2007-02-13 23:37:44 +00:00
Gregory Montoir
1ce912e106
made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
...
svn-id: r25564
2007-02-13 21:06:57 +00:00
Max Horn
832d066532
Fixed compilation
...
svn-id: r25552
2007-02-13 16:20:28 +00:00
Joachim Eberhard
235a7173c0
added GF_AGIMOUSE for all fangames who seem to use it
...
svn-id: r25551
2007-02-13 16:11:13 +00:00
Eugene Sandulenko
d5f52d7775
Add FNAMADE_LF() macro
...
svn-id: r25550
2007-02-13 15:30:52 +00:00
Eugene Sandulenko
80eb248a0e
Get rid of _opt. Cleanup.
...
svn-id: r25549
2007-02-13 15:27:36 +00:00
Max Horn
4968e912ce
AdvancedDetector changes:
...
* Renamed genGameList to gameIDList to make it match the corresponding
plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN
svn-id: r25547
2007-02-13 14:55:11 +00:00
Eugene Sandulenko
08079c9dec
Fix Apocalyptic Quests.
...
svn-id: r25546
2007-02-13 14:47:07 +00:00
Eugene Sandulenko
da7d8c9f35
Rename Common::GF_XXX to Common::ADGF_XXX
...
svn-id: r25545
2007-02-13 13:42:28 +00:00
Max Horn
2afe07992f
Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and add it for AGOS, too
...
svn-id: r25543
2007-02-13 13:17:46 +00:00
Max Horn
55adc889e7
(re)added flags field to ADGameDescription, with currently only one value (GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet)
...
svn-id: r25539
2007-02-13 01:28:18 +00:00
Joachim Eberhard
611d1a018e
autodistinguish sq2 2.0F dos+amiga
...
svn-id: r25516
2007-02-12 10:58:07 +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
Torbjörn Andersson
3bc0661065
Merged the "palette manager" into the cursor manager. It was only used to
...
manage *cursor* palettes, so the name was misleading.
svn-id: r25500
2007-02-12 00:04:56 +00:00
Torbjörn Andersson
59eaade15d
Make the mouse cursor white (instead of green) with a black outline on
...
platforms that support cursor palettes. Changed the cursor design slightly.
It's not necessarily better than the old one, but it matches the arrow cursor
used in early SCI games, which seems appropriate.
svn-id: r25499
2007-02-11 23:46:23 +00:00
Eugene Sandulenko
b14bb6206a
Improve detection. Remove redundant md5s
...
svn-id: r25486
2007-02-11 11:23:30 +00:00
Eugene Sandulenko
dcfd2e9224
Make Amiga v3 games work.
...
svn-id: r25477
2007-02-10 20:50:00 +00:00
Max Horn
2ff7f04cc7
Speed up loading of pred.txt, by using a sort algorithm that doesn't choke on pre-sorted data as our current (sloooow) Common::sort does
...
svn-id: r25476
2007-02-10 18:48:28 +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
Joachim Eberhard
e7c98ad5d6
fixing Amiga games detection
...
svn-id: r25468
2007-02-10 17:00:36 +00:00
Eugene Sandulenko
1cfac7fda3
Patch #1637824 : AGI: Allow mouse use in save / load dialogs
...
svn-id: r25467
2007-02-10 16:34:45 +00:00
Joachim Eberhard
4c1f958297
minor consistency improvement for dates
...
svn-id: r25461
2007-02-10 11:18:10 +00:00
Joachim Eberhard
f8cbf22042
make extra info consistent and add missing dates
...
svn-id: r25459
2007-02-10 11:01:13 +00:00
Torbjörn Andersson
ea131c6049
Select default render mode based on platform: Amiga mode for Amiga games, EGA
...
mode for PC games. You can, of course, still override it.
svn-id: r25457
2007-02-10 10:27:07 +00:00
Joachim Eberhard
dcb757fa4b
remove redundant LSL1 DOS
...
svn-id: r25456
2007-02-10 10:02:40 +00:00
Torbjörn Andersson
2d84b43dfc
Fixed syntax error.
...
svn-id: r25449
2007-02-09 16:49:02 +00:00
Joachim Eberhard
2ebccb23c9
Correct detection of Amiga versions
...
svn-id: r25448
2007-02-09 15:43:41 +00:00
Joachim Eberhard
a52b507bfc
Correct entry for mh1
...
svn-id: r25447
2007-02-09 13:31:57 +00:00
Joachim Eberhard
c2876e4350
Minor consistency improvements
...
svn-id: r25446
2007-02-09 13:06:57 +00:00
Joachim Eberhard
679c2fc5aa
Added all info on games from Sarien
...
svn-id: r25445
2007-02-09 12:45:46 +00:00
Eugene Sandulenko
6854f25740
Add md5s reported in bugreport #1654500 "AGI: Some MD5 checksums"
...
svn-id: r25422
2007-02-07 23:23:10 +00:00
Max Horn
ae5fb74aef
Use full game titles for the official AGI games (small exception: we also number part 1 of series, to avoid user confusion)
...
svn-id: r25385
2007-02-04 13:40:11 +00:00
Eugene Sandulenko
7b6bdd231d
AdvancedDetector now has built-in fallback detection based on file lists.
...
Currently only gob engine benefits from it.
svn-id: r25374
2007-02-04 03:10:27 +00:00
Max Horn
73c3625f1f
Fixing various doxygen warnings
...
svn-id: r25362
2007-02-03 21:37:52 +00:00
Torbjörn Andersson
586a01d038
Fixed warning.
...
svn-id: r25325
2007-02-01 20:05:30 +00:00
Eugene Sandulenko
7429748bae
Removed Unicode from some fanmade game titles.
...
Assigned separate ids to some fanmade games.
svn-id: r25271
2007-01-30 00:22:58 +00:00
Stuart George
7845d3ba9f
Added Gold Rush 3.5 md5sum
...
svn-id: r25270
2007-01-29 23:57:55 +00:00
Eugene Sandulenko
adcfd2cc5f
Now AdvancedDetector could use single ID per engine. Also it can suggest
...
more complex game IDs with platform and language specified.
AGI engine benefits most from that.
Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID.
svn-id: r25269
2007-01-29 23:25:51 +00:00
Eugene Sandulenko
93687d376b
Add more paramteres to AdvancedDetector. Not used yet.
...
svn-id: r25241
2007-01-28 07:31:26 +00:00