mirror of
https://github.com/jonthysell/MacLO.git
synced 2024-06-18 10:29:27 +00:00
I've imported some of the "character" images from ArduLO, converted to GIFs because they're easier to work with. They've been imported into a new Bitmaps structure so they only need to be loaded once at app start. I've also cleaned up some of the drawing code, and created a series of helpers for dividing Rects into a 3x3 grid, to make it easier to define the layout. I've also stubbed out "theme-support". :)
39 lines
516 B
C
39 lines
516 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;
|
|
} TitleScene;
|
|
|
|
typedef struct sPlayScene
|
|
{
|
|
Rect PlayfieldRect;
|
|
Rect HUDRect;
|
|
} PlayScene;
|
|
|
|
typedef struct sLevelEndScene
|
|
{
|
|
Rect temp;
|
|
} LevelEndScene;
|
|
|
|
typedef struct sGameEndScene
|
|
{
|
|
Rect temp;
|
|
} GameEndScene;
|
|
|
|
#endif
|