1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-25 23:39:43 +00:00
openmw/libs/openengine
dteviot 4b0aeb4066 consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.

(cherry picked from commit 3f28634d1f)

# Conflicts:
#	apps/openmw/mwclass/creature.cpp
#	apps/openmw/mwclass/npc.cpp
#	apps/openmw/mwgui/pickpocketitemmodel.cpp
#	apps/openmw/mwgui/waitdialog.cpp
#	apps/openmw/mwmechanics/combat.cpp
#	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
#	components/CMakeLists.txt
#	libs/openengine/misc/rng.cpp
2018-10-05 18:45:57 +10:00
..
bullet more const-ness fixes 2015-11-01 17:07:40 +11:00
gui Silence -Wreorder warnings. 2015-04-28 18:48:02 -05:00
misc consolidate random number logic 2018-10-05 18:45:57 +10:00
ogre consolidate random number logic 2015-03-15 14:07:47 +13:00
.gitignore Merged openengine into openmw 2012-03-11 18:16:29 +04:00
CMakeLists.txt consolidate random number logic 2015-03-15 14:07:47 +13:00
README Merged openengine into openmw 2012-03-11 18:16:29 +04:00

OpenEngine README
=================

OpenEngine is a bunch of stand-alone game engine modules collected from the OpenMW project (see http://github.com/korslund/openmw or http://openmw.com ) and from certain other projects.

It is currently a very early work in progress, and development will follow OpenMW closely for a while forward.

OpenEngine will depend heavily on Mangle ( http://github.com/korslund/mangle/ ) and will thus aim to be backend agnostic. When finished it should work with a variety for free and commercial middleware libraries as backends for graphics, sound, physics, input and so on.

All questions can be directed to Nicolay Korslund at korslund@gmail.com

- Nicolay