mirror of
https://github.com/celisej567/Fake-CSM-Mapbase.git
synced 2026-09-21 20:09:02 +03:00
Angles
-Now You not have to copy pitch from "Pitch" to "Angles" in light_env. -Fixed pitch problems
This commit is contained in:
@@ -48,10 +48,32 @@ private:
|
||||
class CEnvLight : public CLight
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS(CEnvLight, CLight);
|
||||
DECLARE_CLASS( CEnvLight, CLight );
|
||||
DECLARE_DATADESC();
|
||||
|
||||
bool KeyValue(const char* szKeyName, const char* szValue);
|
||||
void Spawn(void);
|
||||
|
||||
|
||||
bool KeyValue( const char *szKeyName, const char *szValue );
|
||||
void Spawn( void );
|
||||
|
||||
void FadeThink(void);
|
||||
|
||||
void TurnOn(void);
|
||||
void TurnOff(void);
|
||||
void Toggle(void);
|
||||
|
||||
void InputToggle(inputdata_t& inputdata);
|
||||
void InputTurnOn(inputdata_t& inputdata);
|
||||
void InputTurnOff(inputdata_t& inputdata);
|
||||
|
||||
int m_iPitch;
|
||||
|
||||
private:
|
||||
int m_iStyle;
|
||||
int m_iDefaultStyle;
|
||||
string_t m_iszPattern;
|
||||
char m_iCurrentFade;
|
||||
char m_iTargetFade;
|
||||
};
|
||||
|
||||
#endif // LIGHTS_H
|
||||
|
||||
Reference in New Issue
Block a user