Correct memory leak in consuming items from inventory. Added overworld menu layout. Warrior Up walk animation has head bobbing like all the others now. Fixed alignment of items for ScrollableWindowComponents, fix scrollbar resizing when parent component has offsets.
This commit is contained in:
+4
-1
@@ -28,11 +28,11 @@ public:
|
||||
static float SIZE_CHANGE_SPEED;
|
||||
float levelTime;
|
||||
Camera2D camera;
|
||||
std::map<MapName,Map>MAP_DATA;
|
||||
private:
|
||||
std::vector<std::unique_ptr<Effect>>foregroundEffects,backgroundEffects,foregroundEffectsToBeInserted,backgroundEffectsToBeInserted;
|
||||
std::vector<TileRenderData*>tilePreparationList,tileForegroundList;
|
||||
std::vector<vf2d>circleCooldownPoints;
|
||||
std::map<MapName,Map>MAP_DATA;
|
||||
std::map<std::string,TilesetData>MAP_TILESETS;
|
||||
vf2d worldShake={};
|
||||
float worldShakeTime=0;
|
||||
@@ -58,6 +58,7 @@ private:
|
||||
float encounterDuration=0;
|
||||
bool encounterStarted=false;
|
||||
int totalBossEncounterMobs=0;
|
||||
int chapter=1; //We start at chapter 1.
|
||||
|
||||
std::vector<Monster>monstersToBeSpawned;
|
||||
|
||||
@@ -135,6 +136,8 @@ public:
|
||||
void InitializeGraphics();
|
||||
void RenderVersionInfo();
|
||||
MapTag GetCurrentMap();
|
||||
int GetCurrentChapter();
|
||||
void SetChapter(int chapter);
|
||||
|
||||
struct TileGroupData{
|
||||
vi2d tilePos;
|
||||
|
||||
Reference in New Issue
Block a user