scummvm/common
Torbjörn Andersson c2516db9ac Early in the morning, strrev() looks like a more difficult problem than it
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-27 05:15:24 +00:00
..
advancedDetector.cpp Added a FIXME comment to the adv. detector code regarding (not) using FSNode/FSList 2007-06-15 17:37:28 +00:00
advancedDetector.h 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 2007-06-15 17:36:41 +00:00
algorithm.h 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 2007-05-30 21:56:52 +00:00
array.h 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 2007-05-30 21:56:52 +00:00
config-file.cpp 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 2007-05-30 21:56:52 +00:00
config-file.h 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 2007-05-30 21:56:52 +00:00
config-manager.cpp 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 2007-05-30 21:56:52 +00:00
config-manager.h 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 2007-05-30 21:56:52 +00:00
endian.h 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 2007-05-30 21:56:52 +00:00
events.h Moved keyboard stuff to a separate header file 2007-06-22 23:20:50 +00:00
file.cpp 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 2007-05-30 21:56:52 +00:00
file.h 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 2007-05-30 21:56:52 +00:00
frac.h Switched Paula (Amiga MOD) code to use fixed point math instead of doubles (caveat: this only works for samples < 32k right now; if this ever turns out to be a problem, I can fix it, though) 2007-06-28 22:21:32 +00:00
fs.cpp 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 2007-05-30 21:56:52 +00:00
fs.h 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 2007-05-30 21:56:52 +00:00
func.h 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 2007-05-30 21:56:52 +00:00
hash-str.h 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 2007-05-30 21:56:52 +00:00
hashmap.cpp 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 2007-05-30 21:56:52 +00:00
hashmap.h 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 2007-05-30 21:56:52 +00:00
iff_container.h 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 2007-05-30 21:56:52 +00:00
keyboard.h Added more flexible KeyState constructor; updated comment in gui/Key.h 2007-06-23 10:06:39 +00:00
list.h 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 2007-05-30 21:56:52 +00:00
md5.cpp 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 2007-05-30 21:56:52 +00:00
md5.h 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 2007-05-30 21:56:52 +00:00
module.mk Fix compilation (step 2). 2007-05-01 15:47:49 +00:00
mutex.cpp 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 2007-05-30 21:56:52 +00:00
mutex.h 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 2007-05-30 21:56:52 +00:00
noncopyable.h 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 2007-05-30 21:56:52 +00:00
pack-end.h 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 2007-05-30 21:56:52 +00:00
pack-start.h 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 2007-05-30 21:56:52 +00:00
rect.h 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 2007-05-30 21:56:52 +00:00
savefile.h 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 2007-05-30 21:56:52 +00:00
scummsys.h Re-added __attribute__(packed) 2007-07-01 18:18:43 +00:00
singleton.h 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 2007-05-30 21:56:52 +00:00
stack.h 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 2007-05-30 21:56:52 +00:00
stdafx.h 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 2007-05-30 21:56:52 +00:00
str.cpp Enhanced Common::String by adding char constructor and operator+ for chars 2007-06-02 12:42:40 +00:00
str.h Enhanced Common::String by adding char constructor and operator+ for chars 2007-06-02 12:42:40 +00:00
stream.cpp 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 2007-05-30 21:56:52 +00:00
stream.h 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 2007-05-30 21:56:52 +00:00
system.cpp Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All 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. 2007-06-19 22:39:59 +00:00
system.h Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y) 2007-07-08 12:02:38 +00:00
timer.h 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 2007-05-30 21:56:52 +00:00
unzip.cpp 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 2007-05-30 21:56:52 +00:00
unzip.h 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 2007-05-30 21:56:52 +00:00
util.cpp Early in the morning, strrev() looks like a more difficult problem than it 2007-07-27 05:15:24 +00:00
util.h Early in the morning, strrev() looks like a more difficult problem than it 2007-07-27 05:15:24 +00:00