diff options
author | Johannes Schickel | 2010-07-30 22:47:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-07-30 22:47:01 +0000 |
commit | e29d6e681a2eccbfbedaf584f4cc530311ce1eb0 (patch) | |
tree | 62874911622559f9d63c0c082a8ec47ea3d4c0b9 /gui/ListWidget.h | |
parent | 062d9eedce06e79526b478441d2eefe85cf41113 (diff) | |
download | scummvm-rg350-e29d6e681a2eccbfbedaf584f4cc530311ce1eb0.tar.gz scummvm-rg350-e29d6e681a2eccbfbedaf584f4cc530311ce1eb0.tar.bz2 scummvm-rg350-e29d6e681a2eccbfbedaf584f4cc530311ce1eb0.zip |
SCI: Switch to Common::RandomSource.
Since I got no response to my mail to -devel, I just assume that there is
no specific reason for using rand() in SCI.
As explained in my mail to -devel about why SCI uses rand, this might allow
SCI to work with our event recording, when that ever gets finished.
I adapted kRandom so that it also supports negative random numbers. And
furthermore that the toNumber argument is smaller than the fromNumber
argument. I am not sure whether that really happens though, but it should
be safer to have this. I marked that place with an TODO/CHECKME.
svn-id: r51521
Diffstat (limited to 'gui/ListWidget.h')
0 files changed, 0 insertions, 0 deletions