Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

Error of compilation #1

Description

@Domosed-gamin

Hello. Cool pics! I fail to build game.

ringo@qwerty:~/Загрузки/AtariCentipedeGame-master$ gcc magic.c -lcurses -lmenu -lpanel -lpthread
magic.c: In function ‘CollisionCheck’:
magic.c:1005:13: error: ‘Sea_Mo’ undeclared (first use in this function)
(Sea_Mo nster[i].x == master_3_x && Sea_Monster[i].y == master_3_y) || (Sea_Monster[i].x == master_3_x + 1 && Sea_Monster[i].y == master_3_y) || (Sea_Monster[i].x == master_3_x + 2 && Sea_Monster[i].y == master_3_y))
^~~~~~
magic.c:1005:13: note: each undeclared identifier is reported only once for each function it appears in
magic.c:1005:20: error: expected ‘)’ before ‘nster’
(Sea_Mo nster[i].x == master_3_x && Sea_Monster[i].y == master_3_y) || (Sea_Monster[i].x == master_3_x + 1 && Sea_Monster[i].y == master_3_y) || (Sea_Monster[i].x == master_3_x + 2 && Sea_Monster[i].y == master_3_y))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions