|
Stardew Engine
|
#include "Game2DLayer.h"#include "GameFramework.h"#include "Atlas.h"#include <stdlib.h>#include <string.h>#include "BinarySerializer.h"#include "DrawContext.h"#include "AssertLib.h"#include "DynArray.h"#include <cglm/cglm.h>#include "GameFrameworkEvent.h"#include "Scripting.h"#include "XMLUIGameLayer.h"#include "FreeLookCameraMode.h"#include "EntityQuadTree.h"#include "FloatingPointLib.h"#include "Camera2D.h"#include "Network.h"#include "Log.h"#include "Game2DLayerNetwork.h"
Data Structures | |
| struct | InitEntitiesCtx |
| struct | UpdateEntityContext |
| struct | PostPhysEntityContext |
| struct | InputEntityContext |
Functions | |
| void | TilemapLayer_GetTLBR (vec2 tl, vec2 br, struct TileMapLayer *pTMLayer) |
| void | OutputSpriteVertices (AtlasSprite *pSprite, VECTOR(Worldspace2DVert) *pOutVert, VECTOR(VertIndexT) *pOutInd, VertIndexT *pNextIndex, int col, int row, struct Transform2D *pTMLayerTransform) |
| void | GameLayer2D_OnPush (struct GameFrameworkLayer *pLayer, DrawContext *drawContext, InputContext *inputContext) |
| void | Game2DLayer_OnPop (struct GameFrameworkLayer *pLayer, DrawContext *drawContext, InputContext *inputContext) |
| void | Game2DLayer_Get (struct GameFrameworkLayer *pLayer, struct Game2DLayerOptions *pOptions, DrawContext *pDC) |
| void | Game2DLayer_SaveLevelFile (struct GameLayer2DData *pData, const char *outputFilePath) |
Variables | |
| int | gTilesRendered = 0 |
| void Game2DLayer_Get | ( | struct GameFrameworkLayer * | pLayer, |
| struct Game2DLayerOptions * | pOptions, | ||
| DrawContext * | pDC | ||
| ) |
| void Game2DLayer_OnPop | ( | struct GameFrameworkLayer * | pLayer, |
| DrawContext * | drawContext, | ||
| InputContext * | inputContext | ||
| ) |
| void Game2DLayer_SaveLevelFile | ( | struct GameLayer2DData * | pData, |
| const char * | outputFilePath | ||
| ) |
| void GameLayer2D_OnPush | ( | struct GameFrameworkLayer * | pLayer, |
| DrawContext * | drawContext, | ||
| InputContext * | inputContext | ||
| ) |
| void OutputSpriteVertices | ( | AtlasSprite * | pSprite, |
| VECTOR(Worldspace2DVert) * | pOutVert, | ||
| VECTOR(VertIndexT) * | pOutInd, | ||
| VertIndexT * | pNextIndex, | ||
| int | col, | ||
| int | row, | ||
| struct Transform2D * | pTMLayerTransform | ||
| ) |
| void TilemapLayer_GetTLBR | ( | vec2 | tl, |
| vec2 | br, | ||
| struct TileMapLayer * | pTMLayer | ||
| ) |
| int gTilesRendered = 0 |