mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-08 06:30:22 -08:00
589e25948e
* add manual seed input for rando generation * add tooltip for seed input * switch to calloc * add seed testing count generator * add console command for rando gen * add boost and custom hash_32 functions * use hash_32 funcs for rando generation * limit seed input field to uint32 * rename custom boost header imports to boost_custom
26 lines
550 B
C++
26 lines
550 B
C++
// 32 bit implementation based off of Boost hash
|
|
|
|
#ifndef BOOST_FUNCTIONAL_HASH_FWD_32_HPP
|
|
#define BOOST_FUNCTIONAL_HASH_FWD_32_HPP
|
|
|
|
#include <boost/container_hash/hash_fwd.hpp>
|
|
|
|
namespace boost
|
|
{
|
|
|
|
namespace container_hash
|
|
{
|
|
|
|
} // namespace container_hash
|
|
|
|
template<class T> struct hash_32;
|
|
|
|
template<class T> void hash_combine_32( uint32_t& seed, T const& v );
|
|
|
|
template<class It> void hash_range_32( uint32_t&, It, It );
|
|
template<class It> uint32_t hash_range_32( It, It );
|
|
|
|
} // namespace boost
|
|
|
|
#endif // #ifndef BOOST_FUNCTIONAL_HASH_FWD_32_HPP
|