Commit Graph

152 Commits

Author SHA1 Message Date
Torbjörn Andersson
16e7a12878 Some very obvious cleanups.
svn-id: r25635
2007-02-16 17:13:29 +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
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
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
Eugene Sandulenko
70833e89a4 Fix warning.
svn-id: r25384
2007-02-04 13:37:02 +00:00
Gregory Montoir
c9cb0ca8bf removed preallocation of sprite tables (the previous values were taken from the original but it seems they can be lowered)
svn-id: r25351
2007-02-03 17:50:29 +00:00
Gregory Montoir
5bdfd2d102 added checks to prevent crash if no datafiles can be found, also fixed a typo
svn-id: r25283
2007-01-30 20:18:06 +00:00
Eugene Sandulenko
843ac74c0e Moved Touche engine to AdvancedDetector.
svn-id: r25272
2007-01-30 00:24:09 +00:00
Gregory Montoir
3341f49429 cleanup
svn-id: r25157
2007-01-21 22:06:54 +00:00
Eugene Sandulenko
cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Gregory Montoir
53d842f377 renamed an opcode, fixed an assert condition
svn-id: r25056
2007-01-08 12:39:31 +00:00
Gregory Montoir
ef2d914742 Enabled exit from in-game options
svn-id: r25017
2007-01-05 23:51:50 +00:00
Gregory Montoir
d1ecb0122c got rid of an assertion triggered when trying to play a speech file after switching from silent mode to talk mode. Minor cleanup.
svn-id: r25010
2007-01-05 22:45:29 +00:00
Gregory Montoir
7db298ecd1 workaround a scripting bug (see tracker item #1623356)
svn-id: r24968
2007-01-02 02:46:53 +00:00
Gregory Montoir
7f01700ac5 workaround a scripting bug (see tracker item #1622114)
svn-id: r24949
2006-12-29 23:44:08 +00:00
Gregory Montoir
c553807bfc minor simplification
svn-id: r24948
2006-12-29 23:43:36 +00:00
Gregory Montoir
cfc50e7850 workaround a scripting bug (see tracker item #1618700) and renamed an opcode
svn-id: r24900
2006-12-20 01:52:46 +00:00
Gregory Montoir
3e5240d702 fixed bug #1618695
svn-id: r24888
2006-12-19 14:34:03 +00:00
Gregory Montoir
cf30537765 added details for demo version of touche
svn-id: r24848
2006-12-14 12:41:55 +00:00
Gregory Montoir
80dfce00a5 cleanup (added a few more constants, renamed some opcodes) and reverted my previous change to op_sleep.
svn-id: r24830
2006-12-10 00:41:45 +00:00
Gregory Montoir
f6ed99acee force mouse cursor display if first script is different from 90 (startup script number)
svn-id: r24826
2006-12-09 19:07:40 +00:00
Gregory Montoir
60bac00314 cleanup
svn-id: r24825
2006-12-09 18:57:27 +00:00
Eugene Sandulenko
066149b04a Better implementation of op_sleep() which doesn't freeze mouse.
svn-id: r24824
2006-12-09 18:30:34 +00:00
Gregory Montoir
993b004b22 added missing opcode (bug report #1612252)
svn-id: r24823
2006-12-09 17:51:05 +00:00
Gregory Montoir
8b00f19f31 added a few comments and details for another Touche version (tracker item #1602360)
svn-id: r24786
2006-11-25 00:31:51 +00:00
Gregory Montoir
82601174f3 update the screen at the end of each engine cycle, it should make the mouse cursor more responsive
svn-id: r24781
2006-11-24 18:18:48 +00:00
Gregory Montoir
a77ae86c43 fixed bug #1602037 - TOUCHE: Map not shown correctly in Intro.
svn-id: r24779
2006-11-24 00:00:27 +00:00
Gregory Montoir
c7c6eb7fb9 added details for another Touche version as reported in tracker item #1601818.
svn-id: r24778
2006-11-23 22:55:05 +00:00
Gregory Montoir
b373ab1a38 minor cleanup, _spritesTable is no more static
svn-id: r24777
2006-11-23 22:25:04 +00:00
Gregory Montoir
e28a1ca46d added game details for german version of Touche
svn-id: r24730
2006-11-18 11:57:25 +00:00
Gregory Montoir
318c50913d added font data for french version (and probably all other localized versions)
svn-id: r24729
2006-11-18 11:53:36 +00:00
Gregory Montoir
dd075b312f fixed palette glitches during introduction/on restart, cleanup
svn-id: r24728
2006-11-18 01:20:41 +00:00
Gregory Montoir
f93c693ab9 added dirty rects handling
svn-id: r24725
2006-11-15 23:00:41 +00:00
Gregory Montoir
24df07d29d added handler for flag 618 (cursor display on/off) and workaround a palette glitch
svn-id: r24724
2006-11-15 22:35:45 +00:00
Gregory Montoir
f527da0953 fixed valgrind warnings (unitialized data)
svn-id: r24692
2006-11-12 17:39:47 +00:00
Max Horn
8d37c135c0 Since we now generate warnings/messages for engine instantiation failures in a central place, get rid of such messages printed by engines
svn-id: r24686
2006-11-12 03:26:44 +00:00
Gregory Montoir
196c8a3771 cleanup
svn-id: r24683
2006-11-12 03:02:20 +00:00
Gregory Montoir
c305f6f12c various fixes, Touche should now be completable without any major glitches
svn-id: r24672
2006-11-11 04:42:36 +00:00
Gregory Montoir
588a6842c8 font char width is always equal 16 pixels, removed unneeded parameter
svn-id: r24669
2006-11-10 20:57:26 +00:00
Gregory Montoir
4e8d042e5c new menu code
workaround a possible scripting bug in introduction screen

svn-id: r24668
2006-11-10 20:48:52 +00:00
Gregory Montoir
f6f1dac199 cleanup
svn-id: r24654
2006-11-07 22:24:48 +00:00
Gregory Montoir
c9cb98291d some fixes, some cleanup
svn-id: r24644
2006-11-06 23:32:37 +00:00
Gregory Montoir
ec177bc6ce various fixes
svn-id: r24628
2006-11-05 22:24:15 +00:00
Gregory Montoir
424e9e362e enabled MIDI volume changes
svn-id: r24627
2006-11-05 13:00:20 +00:00
Gregory Montoir
4f4be11631 removed unneeded opcodes
svn-id: r24618
2006-11-05 00:40:35 +00:00
Gregory Montoir
102969f820 added basic MIDI playback
svn-id: r24617
2006-11-05 00:29:34 +00:00
Gregory Montoir
6fb623284c cleanup
svn-id: r24614
2006-11-05 00:20:36 +00:00
Chris Apers
67f6ea16fd Fixed zero filled Rect with PalmOS compiler
svn-id: r24606
2006-11-04 17:44:11 +00:00
Chris Apers
6f0c12fe86 Fixed zero filled _opcodeTable[] with PalmOS ARM compiler
svn-id: r24599
2006-11-04 15:09:20 +00:00
Sven Hesse
b9019637f8 Fix compilation in Linux (itoa() isn't available here, it's non-standard)
svn-id: r24594
2006-11-03 21:54:08 +00:00
Gregory Montoir
13d9cdbd26 added 'touche' engine for the game 'Touche: The Adventures of the 5th Musketeer'
svn-id: r24592
2006-11-03 21:23:07 +00:00