m_random.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Emacs style mode select -*- C++ -*-
  2. //-----------------------------------------------------------------------------
  3. //
  4. // $Id:$
  5. //
  6. // Copyright (C) 1993-1996 by id Software, Inc.
  7. //
  8. // This source is available for distribution and/or modification
  9. // only under the terms of the DOOM Source Code License as
  10. // published by id Software. All rights reserved.
  11. //
  12. // The source is distributed in the hope that it will be useful,
  13. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
  15. // for more details.
  16. //
  17. // DESCRIPTION:
  18. //
  19. //
  20. //-----------------------------------------------------------------------------
  21. #ifndef __M_RANDOM__
  22. #define __M_RANDOM__
  23. #include "doomtype.h"
  24. // Returns a number from 0 to 255,
  25. // from a lookup table.
  26. int M_Random (void);
  27. // As M_Random, but used only by the play simulation.
  28. int P_Random (void);
  29. // Fix randoms for demos.
  30. void M_ClearRandom (void);
  31. #endif
  32. //-----------------------------------------------------------------------------
  33. //
  34. // $Log:$
  35. //
  36. //-----------------------------------------------------------------------------