-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from AEFeinstein/breakout
Breakout - part 2: electric boogaloo
- Loading branch information
Showing
13 changed files
with
214 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#ifndef BREAKOUT_TYPEDEF_INCLUDED | ||
#define BREAKOUT_TYPEDEF_INCLUDED | ||
|
||
typedef struct breakout_t breakout_t; | ||
typedef struct entityManager_t entityManager_t; | ||
typedef struct tilemap_t tilemap_t; | ||
typedef struct entity_t entity_t; | ||
|
||
typedef enum { | ||
ST_NULL, | ||
ST_TITLE_SCREEN, | ||
ST_READY_SCREEN, | ||
ST_GAME, | ||
ST_DEAD, | ||
ST_LEVEL_CLEAR, | ||
ST_GAME_CLEAR, | ||
ST_GAME_OVER, | ||
ST_HIGH_SCORE_ENTRY, | ||
ST_HIGH_SCORE_TABLE, | ||
ST_PAUSE | ||
} gameStateEnum_t; | ||
|
||
typedef enum { | ||
BGM_NO_CHANGE, | ||
BGM_MAIN, | ||
BGM_ATHLETIC, | ||
BGM_UNDERGROUND, | ||
BGM_FORTRESS, | ||
BGM_NULL | ||
} bgmEnum_t; | ||
|
||
typedef enum { | ||
SP_PADDLE_0, | ||
SP_PADDLE_1, | ||
SP_PADDLE_2, | ||
SP_PADDLE_VERTICAL_0, | ||
SP_PADDLE_VERTICAL_1, | ||
SP_PADDLE_VERTICAL_2, | ||
SP_BALL, | ||
SP_BOMB_0, | ||
SP_BOMB_1, | ||
SP_BOMB_2, | ||
SP_EXPLOSION_0, | ||
SP_EXPLOSION_1, | ||
SP_EXPLOSION_2, | ||
SP_EXPLOSION_3 | ||
} spriteDef_t; | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.