projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
basic npc
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_npc.h
1
#pragma once
2
#include
"player_render.h"
3
#include
"entity.h"
4
5
struct
npc
6
{
7
glmesh mesh
;
8
GLuint texture
;
9
10
mdl_context meta
;
11
struct
skeleton skeleton
;
12
13
m4x3f
*
final_mtx
;
14
}
15
extern
npc_gumpa
;
16
17
enum
npc_id
18
{
19
k_npc_id_none
=
0
,
20
k_npc_id_gumpa
=
1
21
};
22
23
void
npc_load_model
(
struct
npc
*
npc
,
const char
*
path
);
24
void
npc_update
(
ent_npc
*
ent
);
25
void
npc_render
(
ent_npc
*
ent
,
world_instance
*
world
,
vg_camera
*
cam
);
26
void
npc_init
(
void
);