Smaxx patch with tuning by me:
- hogs might worry/panic if they're next to explosives (grenade, dynamite, etc.)
- play sndVaporice for each fire extinguished only once (not 3 times)
- allow "on attack" voices/sounds for weapons (similar to water melon bomb)
- allow one voice/sound to be played during emotes
- print protocol version in version info (console)
- rope sounds (disabled atm)
- landscape background
- optimized/rewrote explosion drawing
- fixed "StopSound" called with an inactive sound to stop some random sound
- disabled npott
#ifndef TEAMEDIT_H
#define TEAMEDIT_H
#include <QtGui/QWidget>
namespace Ui {
class TeamEdit;
}
class TeamEdit : public QWidget {
Q_OBJECT
public:
TeamEdit(QWidget *parent = 0);
~TeamEdit();
void reset();
void setTeam(const QString & teamName = QString(), quint32 color = 0xdd0000);
void addHedgehog(quint32 level = 0, quint32 health = 100, const QString & name = QString());
void setFort(const QString & name);
void setGrave(const QString & name);
void setLastHHHat(const QString & name);
void setLastHHCoords(int x, int y);
void setVoicepack(const QString & name);
protected:
void changeEvent(QEvent *e);
private:
Ui::TeamEdit *m_ui;
};
#endif // TEAMEDIT_H