aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2007-09-18Code formatting fixesMax Horn
svn-id: r28945
2007-09-18Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break ↵Max Horn
compilation on some ports) svn-id: r28944
2007-09-15- added PC-98 platform entryJohannes Schickel
- added Kyrandia 1 PC-98 detection entries svn-id: r28907
2007-09-05Make debug level 11 magic. It turns on all special debug level messages.Eugene Sandulenko
svn-id: r28858
2007-09-01Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)Chris Apers
svn-id: r28803
2007-08-18Merged some of the changes from the trunk patch back in to the GSoC fsnode ↵David Corrales
branch. svn-id: r28649
2007-08-13Add possibility to serve engines with complex Engine class instantiationEugene Sandulenko
svn-id: r28582
2007-08-11Changed OSystem (A)RGBToColor and colorTo(A)RGB methods to use ColorMasks ↵Max Horn
templates; clarified some OSystem comments svn-id: r28517
2007-08-05Merged fsnode with trunk: r27971:28460David Corrales
svn-id: r28462
2007-08-01Initial commit of the new BaseFile implementation. It provides a common ↵David Corrales
ground for file objects across platforms and divides responsibilities between the Common::File class and a base file implementation. Also rearranged the factories into a new directory for clarity. Note 1: The posix-file.h and cpp files are for testing only. Only the ds, ps2 and symbian architecture will use special BaseFile based objects. Note 2: The current code does not yet make use of this new structure, since the Common::File remains intact. svn-id: r28395
2007-07-30Renamed some typedefs to avoid clashes with sky engineEugene Sandulenko
svn-id: r28321
2007-07-29Add a removeSavefile() to the default savefile manager based on the new ↵David Corrales
Common::File::remove(). svn-id: r28282
2007-07-27Early in the morning, strrev() looks like a more difficult problem than itTorbjörn Andersson
really is. It's actually quite simple. In fact, the only magical thing about Bob's version was the way it swapped variables without using any temporary variable. Rewrote the function to use our SWAP() instead, since that actually makes it readable. Moved it to util.cpp (outside the Common namespace, for consistency with scumm_stricmp()) since Kirben knew of other places where it could be used. svn-id: r28231
2007-07-20Added a remove() function to the Common::File class. Also changed the ↵David Corrales
exists() function to account for new capabilities in the FSNode layer. svn-id: r28150
2007-07-18Added error codes to the SaveFileManager via the SFMError enum. Also, solved ↵David Corrales
TODO's in the default-saves implementation. svn-id: r28140
2007-07-12Changed SaveFileManager::listSavegames() function to be engine agnostic. It ↵David Corrales
now returns a list will the full paths of existing files that match a given regex. Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly. svn-id: r28046
2007-07-08Merged the FSNode branch with trunk r27681:27969David Corrales
svn-id: r27970
2007-07-08Removed various obsolete methods from OSystem (screenToOverlayX/Y, ↵Max Horn
overlayToScreenX/Y) svn-id: r27961
2007-07-01Patch #1595026: engine init/shutdown OSystem methodsMax Horn
svn-id: r27837
2007-07-01Re-added __attribute__(packed)Max Horn
svn-id: r27830
2007-06-28Switched Paula (Amiga MOD) code to use fixed point math instead of doubles ↵Max Horn
(caveat: this only works for samples < 32k right now; if this ever turns out to be a problem, I can fix it, though) svn-id: r27767
2007-06-28Changed GOB to use common/frac.hMax Horn
svn-id: r27763
2007-06-28Moved some fixed point code to its own header file; simplified the ↵Max Horn
LinearRateConverter code a bit; corrected some comments; split makeRateConverter into two funcs (one of them being a template func), for easier maintenance svn-id: r27760
2007-06-23Missed some files in the branch/trunk merge.David Corrales
svn-id: r27682
2007-06-23Merged the FSNode branch with trunk r27031:27680David Corrales
svn-id: r27681
2007-06-23Added more flexible KeyState constructor; updated comment in gui/Key.hMax Horn
svn-id: r27654
2007-06-22Do not use SCUMMVM_USE_LONG_INT on _MSC_VER anymore (if it *is* needed after ↵Max Horn
all, speak up -- that FIXME has been in there for far too long, however) svn-id: r27641
2007-06-22Moved keyboard stuff to a separate header fileMax Horn
svn-id: r27640
2007-06-22Added constructor & reset() method to Common::KeyStateMax Horn
svn-id: r27634
2007-06-22Promoted the struct inside Common::Event which captures the keystate to a ↵Max Horn
full-blown independent struct named KeyState (makes it easier for engines to capture the full keystate, instead of only the keycode or only the ascii/unicode value) svn-id: r27626
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Added Common::KEYCODE_INALIDMax Horn
svn-id: r27622
2007-06-22Added 'ASCII_' enum values for certain standard keys, and update commentMax Horn
svn-id: r27619
2007-06-22Replace tabs by spaces in keycode enum, to ensure proper indentionMax Horn
svn-id: r27618
2007-06-22Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* ↵Max Horn
constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/ svn-id: r27616
2007-06-22Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)Max Horn
svn-id: r27612
2007-06-21Modified version of patch #1740493 (EVENTS: Event Key Codes)Max Horn
svn-id: r27592
2007-06-20typo - (returh => return) -- jvpratMatthew Hoops
svn-id: r27558
2007-06-20Initial implementation of the lookupFile() function. It's meant to search ↵David Corrales
recursively for given filename within a set of directories. svn-id: r27551
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax. svn-id: r27548
2007-06-17Added a new parameter to the getChildren function, which allows including ↵David Corrales
hidden files in the results. svn-id: r27514
2007-06-16Small bugfix. Wrong logical operator.David Corrales
svn-id: r27474
2007-06-16Removed the isValid operation from the FilesystemNode class in favor of the ↵David Corrales
much richer combinations possible with the new operations (exists, isReadable and isWritable). The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473
2007-06-15Added a FIXME comment to the adv. detector code regarding (not) using ↵Max Horn
FSNode/FSList svn-id: r27425
2007-06-15ADV detector: Refactored findGameID() a bit, making it possible to use it ↵Max Horn
outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs svn-id: r27424
2007-06-12Patch #1733764: "Fallback detection patch". GSoC student.Eugene Sandulenko
svn-id: r27375
2007-06-11Fix for bug #1719463: "DETECTOR: Launching undefined target adds launcher entry"Eugene Sandulenko
svn-id: r27352
2007-06-06Adv detector: Merged upgradeTargetIfNecessary() into ↵Max Horn
detectGameForEngineCreation() svn-id: r27144
2007-06-05Renamed methods in the FilesystemNode class to match the AbstractFSNode ↵David Corrales
implementations. Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode. svn-id: r27113
2007-06-04Expose new fs backend methods in the FilesystemNode class.David Corrales
svn-id: r27089