X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=edac5c489d6bf4a50c78371a773ae59d5c81b332;hb=7db0a9ae54a91806b66eb918f28309bb875e3b69;hp=a6db091175f0cf7a12959d5f1b27f95ad2ffa87d;hpb=df964230e1ecbfec8ef120bfcab2ddb1ba0751fa;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index a6db0911..edac5c48 100644 --- a/src/main.h +++ b/src/main.h @@ -1567,7 +1567,7 @@ struct ElementInfo int graphic[NUM_GFX_ACTIONS_MAPPED]; /* special graphics for left/right/up/down */ - int direction_graphic[NUM_GFX_ACTIONS_MAPPED][4]; + int direction_graphic[NUM_GFX_ACTIONS_MAPPED][NUM_MV_DIRECTIONS]; boolean has_direction_graphic[NUM_GFX_ACTIONS_MAPPED]; }; @@ -1639,6 +1639,8 @@ extern int SiebCount; extern boolean network_player_action_received; +extern int graphics_action_mapping[]; + extern struct LevelInfo level; extern struct PlayerInfo stored_player[], *local_player; extern struct HiScore highscore[];