Commit Graph

73 Commits

Author SHA1 Message Date
Nicola Mettifogo
4e6e57eb53 adjusted wrong comment
svn-id: r25670
2007-02-18 08:45:22 +00:00
Nicola Mettifogo
be878d60db fixed regression bug causing labels not to be aligned properly when near the right border
svn-id: r25665
2007-02-17 21:19:55 +00:00
Nicola Mettifogo
b1a63e8a16 changed mapChar to use unsigned (byte) instead of char, to avoid possible sign issues
svn-id: r25664
2007-02-17 20:54:25 +00:00
Nicola Mettifogo
33d04d5aa4 changed CNV loading code to be endian-safe
svn-id: r25663
2007-02-17 20:50:50 +00:00
Torbjörn Andersson
24a36cbb3f Changed spaces to tabs again.
svn-id: r25656
2007-02-17 16:06:34 +00:00
Nicola Mettifogo
e29ddfe156 more conventional termination handling. Event loops are going to get merged soon, so there are FIXME remainders around there.
svn-id: r25655
2007-02-17 15:57:49 +00:00
Torbjörn Andersson
f33da9e412 Some indentation and format changes. Mostly replacing spaces with tabs.
svn-id: r25654
2007-02-17 15:37:49 +00:00
Nicola Mettifogo
9ab2ca5bc7 changed some debug levels
svn-id: r25653
2007-02-17 13:39:22 +00:00
Nicola Mettifogo
5e38eab640 fixed regression bug caused by ZoneTypeData being declared as a struct instead of an union. Should have taken care of this when the switch was actually made...
svn-id: r25652
2007-02-17 10:58:54 +00:00
Nicola Mettifogo
e3e76b59b6 fixed a bug in the original engine causing memory-protected systems to occasionally crash
svn-id: r25614
2007-02-15 21:43:56 +00:00
Nicola Mettifogo
22c7239796 fixed warning pointed out by _Q
svn-id: r25613
2007-02-15 21:42:57 +00:00
Eugene Sandulenko
d910b545c5 More skip_whitespace -> Common::ltrim(). For real now.
svn-id: r25577
2007-02-14 00:36:06 +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
Eugene Sandulenko
de02e840a6 skip_whitespace() -> Common::ltrim()
svn-id: r25573
2007-02-13 23:15:46 +00:00
Nicola Mettifogo
9317aec6a2 cancel button on load/save dialog is now handled correctly
svn-id: r25565
2007-02-13 21:07:33 +00:00
Nicola Mettifogo
75fab28be2 cleanup
svn-id: r25562
2007-02-13 21:06:13 +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
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
Nicola Mettifogo
f644986f87 changed structure packing to use pack-start.h and pack-end.h
svn-id: r25537
2007-02-12 21:14:34 +00:00
Max Horn
ccd6417f88 Fix warnings
svn-id: r25498
2007-02-11 22:40:32 +00:00
Nicola Mettifogo
f0cdab74a5 added load/save support
svn-id: r25496
2007-02-11 21:17:37 +00:00
Nicola Mettifogo
b8087fe1a8 fixed wrong implementation: zones and animations now survive location switches according to their properties and/or system flags
svn-id: r25478
2007-02-10 21:00:15 +00:00
Nicola Mettifogo
6cbdf9ad59 fixed bug: dialogue questions don't clutter the screen anymore when user is selecting an answer
svn-id: r25429
2007-02-08 21:56:51 +00:00
Nicola Mettifogo
65dfc335ef fixed bug in dialogue parsing code: available answers now really depend on game flags
svn-id: r25427
2007-02-08 21:08:54 +00:00
Nicola Mettifogo
d1eb91882e fixed location script parsing error causing irritatingly inconsistent gameplay
svn-id: r25421
2007-02-07 23:02:51 +00:00
Nicola Mettifogo
98bd5a6680 changed multiplexed uint32 to const void* to avoid errors on 64 bits systems
svn-id: r25418
2007-02-07 20:28:59 +00:00
Nicola Mettifogo
710105d1c1 solved 64 bit casting issue from BUG #1648325
svn-id: r25391
2007-02-05 12:53:40 +00:00
Nicola Mettifogo
890ee97285 applied 2nd workaround to avoid crashes caused by labels when switching location
svn-id: r25388
2007-02-04 15:48:51 +00:00
Nicola Mettifogo
8f084baf66 added more debug levels and comments
svn-id: r25386
2007-02-04 15:43:45 +00:00
Nicola Mettifogo
5007d82ec7 solved array out of bound issue in quickFadePalette
svn-id: r25380
2007-02-04 12:14:11 +00:00
Nicola Mettifogo
9832736f9a added game palette static initializers to avoid warnings
svn-id: r25379
2007-02-04 11:19:14 +00:00
Nicola Mettifogo
854e351e5b Implemented workaround to avoid crashes on location switches, using knowledge from Big Red Adventure.
svn-id: r25378
2007-02-04 11:16:40 +00:00
Nicola Mettifogo
d89bfde4a6 oops fixed 64 bit warnings in the last revision
svn-id: r25377
2007-02-04 08:26:44 +00:00
Nicola Mettifogo
e3b9bda909 changed handling of zone labels to match original engine
svn-id: r25376
2007-02-04 08:12:33 +00:00
Nicola Mettifogo
b7d72fd959 _hoverZone now is handled as in the original engine
svn-id: r25375
2007-02-04 08:10:00 +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
Torbjörn Andersson
0a18259d78 Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)

svn-id: r25327
2007-02-01 20:16:32 +00:00
Nicola Mettifogo
74b655f8df fixed casting bug as suggested by fingolfin on tracker item #1648325
svn-id: r25304
2007-01-31 10:21:36 +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
Eugene Sandulenko
281ee019e0 Oops. Revert accidental commit
svn-id: r25233
2007-01-27 22:41:18 +00:00
Eugene Sandulenko
6365546fc5 Fixes and gfx rendering works
svn-id: r25232
2007-01-27 22:38:27 +00:00
Nicola Mettifogo
c77ac3380a removed printf's spewing out tons of debug messages
svn-id: r25217
2007-01-27 00:20:41 +00:00
Nicola Mettifogo
3be5b0cca2 fixed out-of-bounds error causing random crashes in dialogues
svn-id: r25215
2007-01-26 23:26:28 +00:00
Nicola Mettifogo
da096e4b17 added more debug messages
svn-id: r25214
2007-01-26 23:24:12 +00:00
Nicola Mettifogo
b5a04fc2df added NULLity checks
svn-id: r25213
2007-01-26 23:21:04 +00:00
Nicola Mettifogo
221e9e77dd make sure current archive is closed before opening a new one
svn-id: r25212
2007-01-26 23:19:50 +00:00
Max Horn
d70c83bd4b Lots of cleanup in the AdvancedDetector
svn-id: r25194
2007-01-25 21:16:57 +00:00