Menu

Commit [r931]  Maximize  Restore  History

Trunk 1.1: reengineering of random functions

- replace all access to OS dependent random functions
- implementation of fast 31 bit BSD rand function for all OS
- managment of 2 seeds for level logic and other "system" random needs
- replace LUA random function by a compatible function that is based
on Enimgas internal random algorithm.

ral 2007-12-03

changed /trunk/data/init.lua
changed /trunk/src/d_models.cc
changed /trunk/src/display.cc
changed /trunk/src/enigma.cc
changed /trunk/src/enigma.hh
changed /trunk/src/floors.cc
changed /trunk/src/gui/GameMenu.cc
changed /trunk/src/items.cc
changed /trunk/src/lev/ScoreManager.cc
changed /trunk/src/lua.cc
changed /trunk/src/main.cc
changed /trunk/src/server.cc
changed /trunk/src/server.hh
changed /trunk/src/stones_simple.cc
changed /trunk/src/video.cc
/trunk/data/init.lua Diff Switch to side-by-side view
Loading...
/trunk/src/d_models.cc Diff Switch to side-by-side view
Loading...
/trunk/src/display.cc Diff Switch to side-by-side view
Loading...
/trunk/src/enigma.cc Diff Switch to side-by-side view
Loading...
/trunk/src/enigma.hh Diff Switch to side-by-side view
Loading...
/trunk/src/floors.cc Diff Switch to side-by-side view
Loading...
/trunk/src/gui/GameMenu.cc Diff Switch to side-by-side view
Loading...
/trunk/src/items.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lev/ScoreManager.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/main.cc Diff Switch to side-by-side view
Loading...
/trunk/src/server.cc Diff Switch to side-by-side view
Loading...
/trunk/src/server.hh Diff Switch to side-by-side view
Loading...
/trunk/src/stones_simple.cc Diff Switch to side-by-side view
Loading...
/trunk/src/video.cc Diff Switch to side-by-side view
Loading...