Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
325 serge 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
 
22
 
23
#ifndef __M_RANDOM__
24
#define __M_RANDOM__
25
 
26
 
27
#include "doomtype.h"
28
 
29
 
30
 
31
// Returns a number from 0 to 255,
32
// from a lookup table.
33
int M_Random (void);
34
 
35
// As M_Random, but used only by the play simulation.
36
int P_Random (void);
37
 
38
// Fix randoms for demos.
39
void M_ClearRandom (void);
40
 
41
 
42
#endif
43
//-----------------------------------------------------------------------------
44
//
45
// $Log:$
46
//
47
//-----------------------------------------------------------------------------