XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
Doomgeneric
m_random.h
Go to the documentation of this file.
1
//
2
// Copyright(C) 1993-1996 Id Software, Inc.
3
// Copyright(C) 2005-2014 Simon Howard
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// DESCRIPTION:
16
//
17
//
18
19
20
#ifndef __M_RANDOM__
21
#define __M_RANDOM__
22
23
24
#include "
doomtype.h
"
25
26
27
28
// Returns a number from 0 to 255,
29
// from a lookup table.
30
int
M_Random
(
void
);
31
32
// As M_Random, but used only by the play simulation.
33
int
P_Random
(
void
);
34
35
// Fix randoms for demos.
36
void
M_ClearRandom
(
void
);
37
38
39
#endif
doomtype.h
P_Random
int P_Random(void)
Definition
m_random.c:50
M_Random
int M_Random(void)
Definition
m_random.c:56
M_ClearRandom
void M_ClearRandom(void)
Definition
m_random.c:62
Generated by
1.9.8