1195 Commits

Author SHA1 Message Date
Max Horn
0a7bb215d9 Added a FIXME comment to the adv. detector code regarding (not) using FSNode/FSList
svn-id: r27425
2007-06-15 17:37:28 +00:00
Max Horn
d6e47d5fd3 ADV detector: Refactored findGameID() a bit, making it possible to use it outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs
svn-id: r27424
2007-06-15 17:36:41 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +00:00
Eugene Sandulenko
add3243e5e Fix for bug #1719463: "DETECTOR: Launching undefined target adds launcher entry"
svn-id: r27352
2007-06-11 08:38:23 +00:00
Max Horn
9e651592ec Adv detector: Merged upgradeTargetIfNecessary() into detectGameForEngineCreation()
svn-id: r27144
2007-06-06 18:35:37 +00:00
Kostas Nakos
5df28554ac Adding the new kFeatureDisableKeyFiltering OSystem feature.
This feature is used by agi's prediction dialog and is a hint to the backend
to temporarily switch off any keyboard mapping, used in devices with limited
keyboard input. Also, supply some comments to the newly added event & feature.

svn-id: r27069
2007-06-03 18:44:03 +00:00
Max Horn
95ba2986d3 Enhanced Common::String by adding char constructor and operator+ for chars
svn-id: r27051
2007-06-02 12:42:40 +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
Max Horn
5006dbd932 AdvDetector changes: made upgradeTargetIfNecessary internal; cleanup to findGameID
svn-id: r27020
2007-05-30 18:39:35 +00:00
Max Horn
04ee67bd71 Hash<T> is an UnaryFunction (very pedantic and effectively effectless change *g*)
svn-id: r27013
2007-05-30 16:42:19 +00:00
Kostas Nakos
f66fb12718 added EVENT_PREDICTIVE_DIALOG event to bring up the predictive dialog on demand by the backends
svn-id: r27005
2007-05-29 20:07:19 +00:00
Max Horn
3144ab58a6 Paranoia changes (shouldn't have any real effect, though...)
svn-id: r26972
2007-05-27 12:43:06 +00:00
Johannes Schickel
86104e0bf0 Reverted r26922.
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
ad03c72bdb Commit of patch #1715313 ("CORE: STL like algorithm implementation").
svn-id: r26929
2007-05-23 12:02:31 +00:00
Johannes Schickel
8ff17142c5 Simpilified Singleton implementation and usage.
svn-id: r26922
2007-05-22 14:17:44 +00:00
Nicola Mettifogo
ae18ce3e4a Fix compilation (step 2).
svn-id: r26721
2007-05-01 15:47:49 +00:00
Nicola Mettifogo
008042ac25 Implemented a IFF (Interchange File Format) parser and added subclasses to parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code.
svn-id: r26719
2007-05-01 15:39:40 +00:00
Kostas Nakos
424b738d5b also dump debug to stdout in ce
svn-id: r26711
2007-05-01 13:13:40 +00:00
Chris Apers
e0a77867cc Cleanup, remove PalmOS dependencies from the ScummVM core
svn-id: r26690
2007-05-01 09:37:40 +00:00
Max Horn
7ca6b29f35 Double-invert the logic on some big/little endian checks (the idea is that we want to fallback to safe code unless we definitely know no endian/alignment issues are in the way; this way it will work even if the endianess is unknown)
svn-id: r26649
2007-04-28 10:40:00 +00:00
Max Horn
ff2ed4b0a9 More cleanup
svn-id: r26602
2007-04-26 20:40:28 +00:00
Max Horn
672ad9928a cleanup
svn-id: r26601
2007-04-26 20:36:52 +00:00
Max Horn
02fd340b8c Patch #1697907: Small patches for AdvancedDetector
svn-id: r26600
2007-04-26 20:35:10 +00:00
Max Horn
e9f8035b53 Remove bogus use of tstr2 (which is empty at this point anyway)
svn-id: r26599
2007-04-26 20:26:49 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Max Horn
00b9bc7b36 Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
svn-id: r26594
2007-04-25 19:31:23 +00:00
Eugene Sandulenko
de9e72bc76 Patch #1706179: "GUI: Sort languages list"
svn-id: r26587
2007-04-24 06:31:04 +00:00
Max Horn
aecd100f93 Added Common::String::contains() method
svn-id: r26514
2007-04-15 18:27:10 +00:00
Kostas Nakos
258753e82c also copy debug output to the (redirected) log files
svn-id: r26439
2007-04-09 18:00:22 +00:00
Eugene Sandulenko
c2b2880287 Improve report of unknown MD5, to ease copy-pasting to detection code
svn-id: r26433
2007-04-09 11:29:44 +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
Johannes Schickel
7909c312bd Corrected some c&p error in the documentation.
svn-id: r26298
2007-03-24 23:35:48 +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
Robert Göffringmann
4a11e7299a fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
svn-id: r26171
2007-03-17 15:45:05 +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
Max Horn
9751421434 Added class NonCopyable, and made various things derive from it
svn-id: r26163
2007-03-17 10:36:14 +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
Max Horn
8fc8c4847d Implemented a simple EventManager class
svn-id: r26154
2007-03-17 00:07:34 +00:00
Max Horn
30e975f9db Protect Array<> and HashMap<> instances against self assignments
svn-id: r26115
2007-03-12 22:34:29 +00:00
Lars Persson
e8c941c128 Added shared filed support using native file APIs.
svn-id: r26087
2007-03-11 14:28:03 +00:00
Eugene Sandulenko
477372de61 Shut useless MSVC8 warning. We use pack-start.h and pack-end.h and it
complained that alignment state changed after #include. I.e. exactly what
we wanted to do.

svn-id: r26061
2007-03-10 15:00:56 +00:00
Max Horn
728d01cb17 Removing some unnecessary #includes
svn-id: r26044
2007-03-09 23:46:45 +00:00
Max Horn
6d9cb5498f Avoid double frees in HashMap::erase
svn-id: r26040
2007-03-09 16:19:50 +00:00
Nicola Mettifogo
1e985051a9 reduced dependency from windows-specific header files
svn-id: r26034
2007-03-09 00:13:07 +00:00
Gregory Montoir
801771db87 removed kADFlagFilebasedFallback, this flag is never used (and filename based detection is done if fileBasedFallback is non-0 anyway)
svn-id: r26032
2007-03-08 21:40:47 +00:00
Max Horn
fa6a35f9b1 cleaned up stdafx.h, removing various unnecessary #includes (there are still some windows ones which look fishy, though)
svn-id: r26031
2007-03-08 21:40:21 +00:00
Gregory Montoir
ee664dc62d added a flag to enable/disable printing a warning when filename based detection find a match, also updated some comments.
svn-id: r26029
2007-03-08 21:33:55 +00:00
Max Horn
a63c1cf3bd Moved the printf #define for the NDS into scummsys.h (not sure if that suits your needs Neil, feel free to change it again if necessary)
svn-id: r26024
2007-03-08 17:38:11 +00:00
Max Horn
d19adc0514 common/util.cpp needs fprintf; various std I/O functions are not used by anything in our code, so there is no need to emulate them -- mark these; my previous commits likely broke compilation of the DS backend, try to reduce the brokeness a bit
svn-id: r26023
2007-03-08 17:36:52 +00:00
Max Horn
47bc9aae19 Moving Nintendo DS std C I/O emulation wrappers to common/file.cpp; also add a FIXME comment (why is assert redefined in ds-fs.h ?)
svn-id: r26020
2007-03-08 16:57:14 +00:00