Some code
- A main() - A Scene type - Some functions on Scenes
This commit is contained in:
commit
495d3802e2
5 changed files with 148 additions and 0 deletions
22
src/scene.h
Normal file
22
src/scene.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* scene.h
|
||||
*
|
||||
* Definition of Scene type and related functions.
|
||||
*
|
||||
* Eryn Wells <eryn@erynwells.me>
|
||||
*/
|
||||
|
||||
#ifndef __SCENE_H__
|
||||
#define __SCENE_H__
|
||||
|
||||
|
||||
typedef struct _Scene
|
||||
{
|
||||
int height, width; /* Pixel dimensions. */
|
||||
} Scene;
|
||||
|
||||
|
||||
void scene_init(Scene *scene);
|
||||
void scene_destroy(Scene *scene);
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue