/[dtapublic]/swprojs/trunk/projs/20120418_blackjacksim/source/bjcceval/random.h
ViewVC logotype

Contents of /swprojs/trunk/projs/20120418_blackjacksim/source/bjcceval/random.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations) (download)
Fri Oct 7 03:35:12 2016 UTC (6 years, 3 months ago) by dashley
File MIME type: text/plain
File size: 2948 byte(s)
Commit of Blackjack simulation project.
1 //----------------------------------------------------------------------------------------------------
2 //$Header: /home/dashley/cvsrep/e3ft_gpl01/e3ft_gpl01/dtaipubs/cron/2010/blackjack_201010/source/bjcceval/random.h,v 1.5 2012/04/11 03:31:51 dashley Exp $
3 //----------------------------------------------------------------------------------------------------
4 //Copyright (C) 2012, David T. Ashley.
5 //
6 //This file is part of BJCCEVAL, a program that evaluates by simulation
7 //the best basic strategy, card-counting, and other playing strategies
8 //for several variants of the game of Blackjack.
9 //
10 //BJCCEVAL is free software: you can redistribute it and/or modify
11 //it under the terms of the GNU General Public License as published by
12 //the Free Software Foundation, either version 3 of the License, or
13 //(at your option) any later version.
14 //
15 //BJCCEVAL is distributed in the hope that it will be useful,
16 //but WITHOUT ANY WARRANTY; without even the implied warranty of
17 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 //GNU General Public License for more details.
19 //
20 //You should have received a copy of the GNU General Public License
21 //along with this program. If not, see <http://www.gnu.org/licenses/>.
22 //(A copy of the GNU General Public License, Version 3 is provided in
23 //the file "COPYING" distributed with BJCCEVAL.)
24 //
25 //David T. Ashley can be contacted at DASHLEY@GMAIL.COM and/or at
26 //P.O. Box 918, Marshall MI 49068.
27 //----------------------------------------------------------------------------------------------------
28 #ifndef RANDOM_H_INCLUDED
29 #define RANDOM_H_INCLUDED
30
31 #ifdef MODULE_RANDOM
32 #define DECMOD_RANDOM
33 #else
34 #define DECMOD_RANDOM extern
35 #endif
36
37 DECMOD_RANDOM unsigned RANDOM_Bit(void);
38 DECMOD_RANDOM unsigned RANDOM_Uint32(void);
39 DECMOD_RANDOM unsigned RANDOM_UintBounded32(unsigned min, unsigned max);
40 DECMOD_RANDOM int RANDOM_Int32(void);
41 DECMOD_RANDOM int RANDOM_IntBounded32(int min, int max);
42
43 DECMOD_RANDOM const char *RANDOM_Vcinfo_C(void);
44 DECMOD_RANDOM const char *RANDOM_Vcinfo_H(void);
45
46 #define RANDOM_VCINFO_H "$Revision: 1.5 $"
47
48 #if defined(P_TEST) || defined(P_TEST_RANDOM)
49 DECMOD_RANDOM int RANDOM_Test(void);
50 #endif
51
52 #endif
53
54 //----------------------------------------------------------------------------------------------------
55 //$Log: random.h,v $
56 //Revision 1.5 2012/04/11 03:31:51 dashley
57 //Edits.
58 //
59 //Revision 1.4 2012/03/30 00:20:15 dashley
60 //Edits.
61 //
62 //Revision 1.3 2012/03/29 23:44:01 dashley
63 //Edits.
64 //
65 //Revision 1.2 2012/03/15 23:38:08 dashley
66 //License text enhanced.
67 //
68 //Revision 1.1 2012/03/11 21:01:46 dashley
69 //Initial checkin.
70 //----------------------------------------------------------------------------------------------------
71 //End of $RCSfile: random.h,v $
72 //----------------------------------------------------------------------------------------------------

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25