|
|
1.1 root 1: // Emacs style mode select -*- C++ -*-
2: //-----------------------------------------------------------------------------
3: //
4: // $Id:$
5: //
6: // Copyright (C) 1993-1996 by id Software, Inc.
7: //
1.1.1.2 ! root 8: // This program is free software; you can redistribute it and/or
! 9: // modify it under the terms of the GNU General Public License
! 10: // as published by the Free Software Foundation; either version 2
! 11: // of the License, or (at your option) any later version.
1.1 root 12: //
1.1.1.2 ! root 13: // This program is distributed in the hope that it will be useful,
1.1 root 14: // but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.2 ! root 15: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 16: // GNU General Public License for more details.
1.1 root 17: //
18: // DESCRIPTION:
19: //
20: //
21: //-----------------------------------------------------------------------------
22:
23:
24: #ifndef __M_RANDOM__
25: #define __M_RANDOM__
26:
27:
28: #include "doomtype.h"
29:
30:
31:
32: // Returns a number from 0 to 255,
33: // from a lookup table.
34: int M_Random (void);
35:
36: // As M_Random, but used only by the play simulation.
37: int P_Random (void);
38:
39: // Fix randoms for demos.
40: void M_ClearRandom (void);
41:
42:
43: #endif
44: //-----------------------------------------------------------------------------
45: //
46: // $Log:$
47: //
48: //-----------------------------------------------------------------------------
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.