random.h 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. Copyright (C) 2005, 2010 - Cryptic Sea
  3. This file is part of Gish.
  4. Gish is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License
  6. as published by the Free Software Foundation; either version 2
  7. of the License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. See the GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  15. */
  16. int rnd(void);
  17. int randomnum;
  18. int randomdata[1024]=
  19. {
  20. 18,128,343,225,194,401,505,437,346,206,120,473,327,61,461,309,
  21. 96,423,172,381,27,252,89,435,257,499,445,238,95,241,185,89,
  22. 63,300,442,126,406,16,398,453,191,482,374,55,40,419,380,136,
  23. 332,55,262,85,481,198,428,426,338,99,71,455,111,235,74,292,
  24. 356,304,342,178,487,87,264,100,438,127,278,238,321,164,410,205,
  25. 163,450,429,135,215,317,56,52,297,128,263,61,234,484,31,356,
  26. 360,212,338,4,30,304,16,154,295,494,384,389,505,263,207,10,
  27. 79,145,457,155,359,296,422,89,366,403,38,471,313,421,224,289,
  28. 53,96,214,253,161,353,78,368,506,376,221,388,439,150,453,73,
  29. 55,236,129,282,504,337,413,289,265,228,459,30,194,499,308,99,
  30. 434,28,268,35,473,434,361,493,279,99,341,116,485,279,289,401,
  31. 67,282,253,139,241,126,454,405,226,443,31,152,238,153,451,307,
  32. 455,80,282,1,46,237,266,282,359,503,271,476,490,83,398,491,
  33. 91,357,102,374,188,376,457,188,482,352,330,207,293,349,310,408,
  34. 92,323,40,284,9,472,216,509,464,382,52,324,302,18,434,349,
  35. 103,19,484,99,448,263,333,415,239,282,371,75,208,9,53,411,
  36. 345,318,351,510,464,317,124,417,315,62,235,52,281,27,53,498,
  37. 79,365,158,475,101,498,506,324,242,51,194,146,341,99,359,323,
  38. 166,137,486,302,493,482,413,267,145,384,349,53,275,56,448,431,
  39. 507,443,445,101,275,259,377,181,212,497,352,302,30,52,373,152,
  40. 44,364,230,308,198,143,484,325,184,140,433,206,132,47,251,158,
  41. 340,325,104,138,50,256,370,250,379,413,373,423,145,323,262,418,
  42. 465,47,391,153,197,14,248,342,154,170,16,392,212,457,141,198,
  43. 64,82,456,209,42,178,396,281,465,126,296,387,24,346,195,106,
  44. 382,281,240,484,80,294,131,70,286,290,162,490,363,206,287,47,
  45. 168,300,261,450,356,225,368,28,189,478,162,76,26,63,340,247,
  46. 284,115,74,413,465,158,42,285,299,315,398,380,433,262,344,226,
  47. 117,25,326,485,70,85,198,266,294,259,11,393,511,443,352,337,
  48. 145,133,188,76,431,319,407,228,427,63,253,454,271,57,481,230,
  49. 397,354,435,451,313,469,309,236,502,310,394,195,302,406,399,385,
  50. 455,407,367,122,82,465,114,163,389,372,278,81,235,46,353,67,
  51. 474,335,373,483,166,43,101,201,20,447,327,385,273,408,139,398,
  52. 164,497,395,174,34,284,98,352,417,35,2,164,174,174,129,258,
  53. 323,39,436,205,243,29,511,425,104,486,363,331,271,393,249,384,
  54. 274,475,55,369,391,487,272,37,231,403,488,71,449,385,489,298,
  55. 431,52,407,266,138,116,427,149,474,243,30,425,144,304,388,352,
  56. 248,412,155,330,233,252,36,505,63,270,241,195,394,111,64,195,
  57. 264,444,71,289,465,503,272,147,338,45,391,36,252,86,210,309,
  58. 61,381,480,193,176,289,325,485,145,474,325,415,371,320,46,470,
  59. 309,264,236,410,306,368,471,174,440,222,463,67,444,195,395,263,
  60. 203,454,302,94,324,287,27,239,197,320,267,99,227,443,93,105,
  61. 30,96,173,254,275,421,423,491,500,76,285,399,54,63,88,222,
  62. 137,191,428,170,269,445,79,34,451,136,108,152,322,425,370,135,
  63. 427,11,178,468,478,352,41,340,238,447,410,399,467,146,481,195,
  64. 351,175,131,44,116,453,393,131,115,250,399,453,503,210,24,53,
  65. 452,83,36,164,506,359,261,496,399,129,366,459,507,387,205,189,
  66. 309,480,218,364,479,509,368,284,445,478,157,370,108,254,245,381,
  67. 81,382,43,503,463,130,482,199,189,473,192,459,23,220,452,213,
  68. 499,152,474,243,439,303,429,244,138,123,445,295,8,501,177,102,
  69. 314,469,494,83,453,379,104,226,353,270,440,280,397,99,368,274,
  70. 386,288,171,328,101,33,488,275,448,26,280,109,51,382,501,248,
  71. 103,416,150,67,68,281,64,328,100,361,128,313,455,481,118,380,
  72. 456,448,116,244,79,412,456,130,73,3,213,203,85,355,361,316,
  73. 448,295,330,76,436,35,274,257,172,50,317,438,43,285,385,27,
  74. 174,191,94,125,479,103,245,72,267,382,285,458,470,362,436,313,
  75. 302,177,307,248,125,354,133,278,291,177,26,24,35,481,311,248,
  76. 28,103,400,109,380,332,280,365,240,467,24,240,31,348,382,248,
  77. 151,136,376,206,263,414,66,142,176,45,317,485,278,499,64,26,
  78. 507,254,306,331,397,273,473,250,223,73,493,456,150,256,369,127,
  79. 485,242,323,86,443,414,497,113,58,496,206,168,108,284,325,393,
  80. 49,205,110,416,124,127,223,502,447,41,197,471,164,32,51,472,
  81. 254,56,441,25,255,44,313,456,171,320,246,486,396,292,238,334,
  82. 168,28,106,499,176,94,467,361,122,187,199,167,433,130,108,267,
  83. 460,162,4,158,316,14,450,410,234,358,476,297,480,467,482,368
  84. };