Layering rendering now proper.
This commit is contained in:
+3
-1
@@ -6,6 +6,7 @@
|
||||
#include "olcPGEX_TransformedView.h"
|
||||
#include "Player.h"
|
||||
#include "olcUTIL_Camera2D.h"
|
||||
#include "Bullet.h"
|
||||
#include "Effect.h"
|
||||
#include "Map.h"
|
||||
#include "TMXParser.h"
|
||||
@@ -38,7 +39,7 @@ private:
|
||||
MapName currentLevel=MapName::CAMPAIGN_1_1;
|
||||
std::vector<TileGroup>foregroundTileGroups;
|
||||
std::vector<TileGroup>upperForegroundTileGroups;
|
||||
|
||||
int bridgeLayerIndex=-1;
|
||||
public:
|
||||
Crawler();
|
||||
|
||||
@@ -86,4 +87,5 @@ public:
|
||||
MapName GetCurrentLevel();
|
||||
bool IsBridgeLayer(LayerTag&layer);
|
||||
std::map<std::string,std::vector<geom2d::rect<int>>>&GetZoneData(MapName map);
|
||||
void PopulateRenderLists(std::vector<Monster*>&monstersBeforeLower,std::vector<Monster*>&monstersBeforeUpper,std::vector<Monster*>&monstersAfterLower,std::vector<Monster*>&monstersAfterUpper,std::vector<Bullet*>&bulletsLower,std::vector<Bullet*>&bulletsUpper,std::vector<Effect*>&backgroundEffectsLower,std::vector<Effect*>&backgroundEffectsUpper,std::vector<Effect*>&foregroundEffectsLower,std::vector<Effect*>&foregroundEffectsUpper);
|
||||
};
|
||||
Reference in New Issue
Block a user