aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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-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-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-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-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-03Adding the new kFeatureDisableKeyFiltering OSystem feature.Kostas Nakos
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-02Enhanced Common::String by adding char constructor and operator+ for charsMax Horn
svn-id: r27051
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30AdvDetector changes: made upgradeTargetIfNecessary internal; cleanup to ↵Max Horn
findGameID svn-id: r27020
2007-05-30Hash<T> is an UnaryFunction (very pedantic and effectively effectless change ↵Max Horn
*g*) svn-id: r27013
2007-05-29added EVENT_PREDICTIVE_DIALOG event to bring up the predictive dialog on ↵Kostas Nakos
demand by the backends svn-id: r27005
2007-05-27Paranoia changes (shouldn't have any real effect, though...)Max Horn
svn-id: r26972
2007-05-27Reverted r26922.Johannes Schickel
svn-id: r26967
2007-05-23Commit of patch #1715313 ("CORE: STL like algorithm implementation").Johannes Schickel
svn-id: r26929
2007-05-22Simpilified Singleton implementation and usage.Johannes Schickel
svn-id: r26922
2007-05-01Fix compilation (step 2).Nicola Mettifogo
svn-id: r26721
2007-05-01Implemented a IFF (Interchange File Format) parser and added subclasses to ↵Nicola Mettifogo
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-01also dump debug to stdout in ceKostas Nakos
svn-id: r26711
2007-05-01Cleanup, remove PalmOS dependencies from the ScummVM coreChris Apers
svn-id: r26690
2007-04-28Double-invert the logic on some big/little endian checks (the idea is that ↵Max Horn
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-26More cleanupMax Horn
svn-id: r26602
2007-04-26cleanupMax Horn
svn-id: r26601
2007-04-26Patch #1697907: Small patches for AdvancedDetectorMax Horn
svn-id: r26600
2007-04-26Remove bogus use of tstr2 (which is empty at this point anyway)Max Horn
svn-id: r26599
2007-04-26Removing more semicolaMax Horn
svn-id: r26597
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-04-24Patch #1706179: "GUI: Sort languages list"Eugene Sandulenko
svn-id: r26587
2007-04-15Added Common::String::contains() methodMax Horn
svn-id: r26514
2007-04-09also copy debug output to the (redirected) log filesKostas Nakos
svn-id: r26439