[Scummvm-cvs-logs] CVS: scummvm TODO,1.72,1.73

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Mon Feb 2 05:57:09 CET 2004


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2597

Modified Files:
	TODO 
Log Message:
Added issue about always using RandomSource for random numbers.


Index: TODO
===================================================================
RCS file: /cvsroot/scummvm/scummvm/TODO,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- TODO	31 Jan 2004 22:12:35 -0000	1.72
+++ TODO	2 Feb 2004 13:54:36 -0000	1.73
@@ -38,6 +38,12 @@
   a replacement for File::open() which (optionally) takes a list of subdirs.
   E.g. for Scumm, only certain files are to be expected in the VIDEO subdir).
 * Add test(s) for backend usability in the configure script.
+* Use RandomSource for all random numbers. Right now there are a few places
+  where we don't:
+  - INSANE uses rand() in numerous places
+  - sound/fmopl.cpp uses rand() in one function
+  - backends/midi/adlib.cpp has its own random_nr() function.
+  Any others?
 
 Documentation
 =============





More information about the Scummvm-git-logs mailing list