Refactored.
This commit is contained in:
25
include/dawn/game/game.h
Normal file
25
include/dawn/game/game.h
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2021 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
#include "../display/shader.h"
|
||||
#include "../display/camera.h"
|
||||
|
||||
/** Name of the current game */
|
||||
#define GAME_NAME "Dawn"
|
||||
|
||||
/** Describes the current game */
|
||||
typedef struct {
|
||||
/** Describes the name of a specific game. */
|
||||
char *name;
|
||||
|
||||
/** World Rendering stuff. */
|
||||
shader_t *shaderWorld;
|
||||
camera_t cameraWorld;
|
||||
} game_t;
|
||||
|
||||
/** The current running game state. */
|
||||
extern game_t GAME_STATE;
|
Reference in New Issue
Block a user