projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dead
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player.h
diff --git
a/player.h
b/player.h
index 137a1ad056896fb33289b2f24a4aa2f408847bf4..50929831ef0c81d93c79f8f94d11342500ec4f5f 100644
(file)
--- a/
player.h
+++ b/
player.h
@@
-6,7
+6,7
@@
#include "player_common.h"
#include "player_walk.h"
#include "player_skate.h"
#include "player_common.h"
#include "player_walk.h"
#include "player_skate.h"
-
//
#include "player_dead.h"
+#include "player_dead.h"
struct player_instance
{
struct player_instance
{
@@
-59,6
+59,9
@@
struct player_instance
*input_js2v,
*input_jump,
*input_push,
*input_js2v,
*input_jump,
*input_push,
+ *input_trick0,
+ *input_trick1,
+ *input_trick2,
*input_walk,
*input_walkh,
*input_walkv,
*input_walk,
*input_walkh,
*input_walkv,
@@
-95,7
+98,7
@@
struct player_instance
struct player_skate _skate;
struct player_walk _walk;
struct player_skate _skate;
struct player_walk _walk;
-
//
struct player_dead _dead;
+ struct player_dead _dead;
};
/*
};
/*
@@
-132,7
+135,7
@@
void( *_player_update[])( player_instance *player ) =
{
player__walk_update,
player__skate_update,
{
player__walk_update,
player__skate_update,
- NULL
+ player__dead_update,
};
VG_STATIC
};
VG_STATIC
@@
-156,7
+159,7
@@
void( *_player_animate[])( player_instance *player, player_animation *dest ) =
{
player__walk_animate,
player__skate_animate,
{
player__walk_animate,
player__skate_animate,
- NULL
+ player__dead_animate
};
VG_STATIC
};
VG_STATIC
@@
-164,7
+167,7
@@
void( *_player_post_animate[])( player_instance *player ) =
{
player__walk_post_animate,
player__skate_post_animate,
{
player__walk_post_animate,
player__skate_post_animate,
- NULL
+ player__dead_post_animate
};
/* implementation */
};
/* implementation */
@@
-173,7
+176,7
@@
void( *_player_post_animate[])( player_instance *player ) =
#include "player_common.c"
#include "player_walk.c"
#include "player_skate.c"
#include "player_common.c"
#include "player_walk.c"
#include "player_skate.c"
-
//
#include "player_dead.c"
+#include "player_dead.c"
#endif /* PLAYER_H */
#endif /* PLAYER_H */