DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
model_sprite.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 1996-1997 Id Software, Inc.
3
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; either version 2
7
of the License, or (at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13
See the GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19
*/
20
21
#ifndef MODEL_SPRITE_H
22
#define MODEL_SPRITE_H
23
24
/*
25
==============================================================================
26
27
SPRITE MODELS
28
29
==============================================================================
30
*/
31
32
#include "
spritegn.h
"
33
34
// FIXME: shorten these?
35
typedef
struct
mspriteframe_s
36
{
37
float
up
,
down
, left,
right
;
38
}
mspriteframe_t
;
39
40
typedef
struct
model_sprite_s
41
{
42
int
sprnum_type
;
43
mspriteframe_t
*
sprdata_frames
;
44
}
45
model_sprite_t
;
46
47
#endif
48
spritegn.h
model_sprite_t
Definition
model_sprite.h:41
model_sprite_t::sprnum_type
int sprnum_type
Definition
model_sprite.h:42
model_sprite_t::sprdata_frames
mspriteframe_t * sprdata_frames
Definition
model_sprite.h:43
mspriteframe_t
Definition
model_sprite.h:36
mspriteframe_t::down
float down
Definition
model_sprite.h:37
right
static vec3_t right
Definition
sv_user.c:305
up
static vec3_t up
Definition
sv_user.c:305
model_sprite.h
Generated on Mon Mar 10 2025 16:50:16 for DarkPlaces by
1.12.0