File GameFramework.c
FileList > engine > src > gameframework > GameFramework.c
Go to the source code of this file
#include "GameFramework.h"#include "InputContext.h"#include "DynArray.h"#include "DrawContext.h"#include "AssertLib.h"#include "GameFrameworkEvent.h"#include <string.h>#include <stdint.h>#include <stdbool.h>
Classes
| Type | Name |
|---|---|
| struct | LayerChange |
Public Functions
| Type | Name |
|---|---|
| void | GF_DestroyGameFramework () |
| void | GF_DrawGameFramework (DrawContext * context) |
| void | GF_EndFrame (DrawContext * drawContext, InputContext * inputContext) |
| struct GameFrameworkLayer * | GF_GetLayerBelow (struct GameFrameworkLayer * pLayer) Returns NULL if no layer below. |
| void | GF_InputGameFramework (InputContext * context) |
| void | GF_OnWindowDimsChanged (int newW, int newH) |
| void | GF_PopGameFrameworkLayer () |
| void | GF_PushGameFrameworkLayer (const struct GameFrameworkLayer * layer) |
| void | GF_UpdateGameFramework (float deltaT) |
Public Static Functions
| Type | Name |
|---|---|
| int | FindNewItrStart (GameFrameworkLayerFlags type) |
| static | VECTOR (struct GameFrameworkLayer) |
Public Functions Documentation
function GF_DestroyGameFramework
void GF_DestroyGameFramework ()
function GF_DrawGameFramework
void GF_DrawGameFramework (
DrawContext * context
)
function GF_EndFrame
void GF_EndFrame (
DrawContext * drawContext,
InputContext * inputContext
)
function GF_GetLayerBelow
Returns NULL if no layer below.
struct GameFrameworkLayer * GF_GetLayerBelow (
struct GameFrameworkLayer * pLayer
)
function GF_InputGameFramework
void GF_InputGameFramework (
InputContext * context
)
function GF_OnWindowDimsChanged
void GF_OnWindowDimsChanged (
int newW,
int newH
)
function GF_PopGameFrameworkLayer
void GF_PopGameFrameworkLayer ()
function GF_PushGameFrameworkLayer
void GF_PushGameFrameworkLayer (
const struct GameFrameworkLayer * layer
)
function GF_UpdateGameFramework
void GF_UpdateGameFramework (
float deltaT
)
Public Static Functions Documentation
function FindNewItrStart
static int FindNewItrStart (
GameFrameworkLayerFlags type
)
function VECTOR
static static VECTOR (
struct GameFrameworkLayer
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/GameFramework.c