mirror of
https://github.com/jonthysell/MacLO.git
synced 2024-06-17 19:29:29 +00:00
d3b5a77eaa
TitleScene now shows A and B "buttons" to start a game. PlayScene now shows just the level name in the HUD. Lots of new helpers added to scale and align rects where I want them.
42 lines
569 B
C
42 lines
569 B
C
// Copyright (c) Jon Thysell <http://jonthysell.com>
|
|
// Licensed under the MIT License.
|
|
|
|
#ifndef SCENES_H
|
|
#define SCENES_H
|
|
|
|
#define NumScenes 4
|
|
|
|
typedef enum eSceneId
|
|
{
|
|
Title,
|
|
Play,
|
|
LevelEnd,
|
|
GameEnd
|
|
} SceneId;
|
|
|
|
typedef struct sTitleScene
|
|
{
|
|
Rect TitleRect;
|
|
Rect SetARect;
|
|
Rect SetBRect;
|
|
} TitleScene;
|
|
|
|
typedef struct sPlayScene
|
|
{
|
|
Rect PlayfieldRect;
|
|
Rect HUDRect;
|
|
Rect LevelRect;
|
|
} PlayScene;
|
|
|
|
typedef struct sLevelEndScene
|
|
{
|
|
Rect temp;
|
|
} LevelEndScene;
|
|
|
|
typedef struct sGameEndScene
|
|
{
|
|
Rect temp;
|
|
} GameEndScene;
|
|
|
|
#endif
|