hedgewars/uRandom.pas
changeset 2630 079ef82eac75
parent 2599 c7153d2348f3
child 2699 249adefa9c1c
equal deleted inserted replaced
2629:be70fd3458c0 2630:079ef82eac75
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  *)
    17  *)
    18 
    18 
       
    19 {$INCLUDE "options.inc"}
       
    20 
    19 unit uRandom;
    21 unit uRandom;
    20 interface
    22 interface
    21 uses uFloat;
    23 uses uFloat;
    22 {$INCLUDE "options.inc"}
       
    23 {$INCLUDE "proto.inc"}
    24 {$INCLUDE "proto.inc"}
    24 
    25 
    25 procedure SetRandomSeed(Seed: shortstring);
    26 procedure SetRandomSeed(Seed: shortstring);
    26 function  GetRandom: hwFloat; overload;
    27 function  GetRandom: hwFloat; overload;
    27 function  GetRandom(m: LongWord): LongWord; overload;
    28 function  GetRandom(m: LongWord): LongWord; overload;