Subversion Repositories Kolibri OS

Rev

Rev 5582 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5582 Rev 5598
Line -... Line 1...
-
 
1
#ifndef INCLUDE_RANDOM_H
1
/*******************************************************************************
2
#define INCLUDE_RANDOM_H
Line 2... Line 3...
2
 
3
 
3
    MenuetOS MineSweeper
4
#ifndef INCLUDE_KOLIBRI_H
-
 
5
#include "../lib/kolibri.h"
Line 4... Line -...
4
    Copyright (C) 2003  Ivan Poddubny
-
 
5
 
-
 
6
    This program is free software; you can redistribute it and/or modify
-
 
7
    it under the terms of the GNU General Public License as published by
-
 
8
    the Free Software Foundation; either version 2 of the License, or
-
 
9
    (at your option) any later version.
-
 
10
 
-
 
11
    This program is distributed in the hope that it will be useful,
-
 
12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-
 
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-
 
14
    GNU General Public License for more details.
-
 
15
 
-
 
16
    You should have received a copy of the GNU General Public License
-
 
17
    along with this program; if not, write to the Free Software
-
 
18
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
 
19
 
6
#endif
20
*******************************************************************************/
7
 
21
#define MASK_RAND 123456789
8
#define MASK_RAND 123456789
22
#define IQ_RAND 12773
9
#define IQ_RAND 12773
23
#define IA_RAND 16807
10
#define IA_RAND 16807
Line 91... Line 78...
91
  }
78
  }
92
  //if(EAX == __generator)return randomize();
79
  //if(EAX == __generator)return randomize();
93
  __generator = EAX;
80
  __generator = EAX;
94
}
81
}
Line -... Line 82...
-
 
82
 
95
>
83
#endif