mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:50:05 +00:00 
			
		
		
		
	Separate placefiles into their own layers
- Placefile rename is partially - Texture repack might be broken
This commit is contained in:
		
							parent
							
								
									0be94c4de3
								
							
						
					
					
						commit
						117a473689
					
				
					 5 changed files with 155 additions and 17 deletions
				
			
		|  | @ -2,6 +2,8 @@ | |||
| 
 | ||||
| #include <scwx/qt/map/draw_layer.hpp> | ||||
| 
 | ||||
| #include <string> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
|  | @ -12,9 +14,14 @@ namespace map | |||
| class PlacefileLayer : public DrawLayer | ||||
| { | ||||
| public: | ||||
|    explicit PlacefileLayer(std::shared_ptr<MapContext> context); | ||||
|    explicit PlacefileLayer(std::shared_ptr<MapContext> context, | ||||
|                            const std::string&          placefileName); | ||||
|    ~PlacefileLayer(); | ||||
| 
 | ||||
|    std::string placefile_name() const; | ||||
| 
 | ||||
|    void set_placefile_name(const std::string& placefileName); | ||||
| 
 | ||||
|    void Initialize() override final; | ||||
|    void Render(const QMapLibreGL::CustomLayerRenderParameters&) override final; | ||||
|    void Deinitialize() override final; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat