diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/gun.h | 2 | ||||
| -rw-r--r-- | include/idManager.h | 12 | ||||
| -rw-r--r-- | include/item.h | 2 | ||||
| -rw-r--r-- | include/modules.h | 1 | ||||
| -rw-r--r-- | include/shot.h | 1 | ||||
| -rw-r--r-- | include/tux.h | 2 |
6 files changed, 11 insertions, 9 deletions
diff --git a/include/gun.h b/include/gun.h index 7389757..4986660 100644 --- a/include/gun.h +++ b/include/gun.h @@ -8,7 +8,7 @@ #define GUN_SHOT_WIDTH 5 #define GUN_SHOT_HEIGHT 5 -#define GUN_LASSER_HORIZONTAL 20 +#define GUN_LASSER_HORIZONTAL 50 #define GUN_SHOT_VERTICAL 5 #define GUN_BOMBBALL_WIDTH 20 diff --git a/include/idManager.h b/include/idManager.h index 1684186..62e2651 100644 --- a/include/idManager.h +++ b/include/idManager.h @@ -9,11 +9,11 @@ #include "list.h" -extern list_t * newListID(); -extern int getNewID(list_t *p); -extern int isRegisterID(list_t *p, int id); -extern void delID(list_t *p, int id); -extern void replaceID(list_t *p, int old_id, int new_id); -extern void destroyListID(list_t *p); +extern void initListID(); +extern int getNewID(); +extern int isRegisterID(int id); +extern void delID(int id); +extern void replaceID(int old_id, int new_id); +extern void quitListID(); #endif diff --git a/include/item.h b/include/item.h index 7c1043a..423b813 100644 --- a/include/item.h +++ b/include/item.h @@ -36,7 +36,7 @@ typedef struct item_struct #endif } item_t; -#define ITEM_MAX_COUNT 2 +#define ITEM_MAX_COUNT 1 #define ITEM_GUN_MAX_FRAME 8 #define ITEM_MINE_MAX_FRAME 1 diff --git a/include/modules.h b/include/modules.h index 872cab7..f05234f 100644 --- a/include/modules.h +++ b/include/modules.h @@ -39,6 +39,7 @@ typedef struct export_fce_s void (*fce_destroyShot)(shot_t *p); void (*fce_boundBombBall)(shot_t *shot); + void (*fce_transformOnlyLasser)(shot_t *shot); int (*fce_pokus)(char *s); diff --git a/include/shot.h b/include/shot.h index 526727b..4ec8acf 100644 --- a/include/shot.h +++ b/include/shot.h @@ -47,6 +47,7 @@ extern int isConflictWithListShot(list_t *listShot, int x, int y, int w, int h); extern void eventMoveListShot(list_t *listShot); extern void boundBombBall(shot_t *shot); +extern void transformOnlyLasser(shot_t *shot); extern void destroyShot(shot_t *p); extern void quitShot(); diff --git a/include/tux.h b/include/tux.h index 1343274..4b655ff 100644 --- a/include/tux.h +++ b/include/tux.h @@ -6,7 +6,7 @@ #include "main.h" #include "list.h" -#define TUX_STEP 6 +#define TUX_STEP 7 #define TUX_LAYER 0 #define TUX_MAX_ANIMATION_FRAME 10 |