Oops.
[AROS-Contrib.git] / Games / Doom / p_pspr.h
blobfc4548a10b008ba3d17a1e47174d6cbb46f5d675
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.
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.
17 // DESCRIPTION:
18 // Sprite animation.
20 //-----------------------------------------------------------------------------
23 #ifndef __P_PSPR__
24 #define __P_PSPR__
26 // Basic data types.
27 // Needs fixed point, and BAM angles.
28 #include "m_fixed.h"
29 #include "tables.h"
33 // Needs to include the precompiled
34 // sprite animation tables.
35 // Header generated by multigen utility.
36 // This includes all the data for thing animation,
37 // i.e. the Thing Atrributes table
38 // and the Frame Sequence table.
39 #include "info.h"
41 #ifdef __GNUG__
42 #pragma interface
43 #endif
47 // Frame flags:
48 // handles maximum brightness (torches, muzzle flare, light sources)
50 #define FF_FULLBRIGHT 0x8000 // flag in thing->frame
51 #define FF_FRAMEMASK 0x7fff
56 // Overlay psprites are scaled shapes
57 // drawn directly on the view screen,
58 // coordinates are given for a 320*200 view screen.
60 typedef enum
62 ps_weapon,
63 ps_flash,
64 NUMPSPRITES
66 } psprnum_t;
68 typedef struct
70 state_t* state; // a NULL state means not active
71 int tics;
72 fixed_t sx;
73 fixed_t sy;
75 } pspdef_t;
77 #endif
78 //-----------------------------------------------------------------------------
80 // $Log$
81 // Revision 1.1 2000/02/29 18:21:06 stegerg
82 // Doom port based on ADoomPPC. Read README.AROS!
85 //-----------------------------------------------------------------------------