upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
@@ -0,0 +1,35 @@
#ifndef TILEGEN_PLACEDROOMTEMPLATEPANEL_H
#define TILEGEN_PLACEDROOMTEMPLATEPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "RoomTemplatePanel.h"
class CRoom;
// draws a particlar room template (based on its image and grid/exits)
class CPlacedRoomTemplatePanel : public CRoomTemplatePanel
{
DECLARE_CLASS_SIMPLE( CPlacedRoomTemplatePanel, CRoomTemplatePanel );
public:
CPlacedRoomTemplatePanel(CRoom* pRoom, Panel *parent, const char *name);
virtual ~CPlacedRoomTemplatePanel();
virtual void PerformLayout();
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
virtual void OnMouseReleased(vgui::MouseCode code);
virtual void OnMousePressed(vgui::MouseCode code);
virtual void MarkForDeletion();
virtual void OnDragged();
CRoom *m_pRoom;
private:
bool m_bSetAlpha, m_bStartedGrowAnimation, m_bSelectedOnThisPress, m_bDragged;
};
#endif TILEGEN_PLACEDROOMTEMPLATEPANEL_H