mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-04 17:17:56 -08:00
game is almost playable again
This commit is contained in:
@@ -2,18 +2,6 @@
|
||||
#include <QXmlStreamReader>
|
||||
#include <QXmlStreamWriter>
|
||||
|
||||
class ColorConverter {
|
||||
public:
|
||||
static int colorToInt(const QColor &color)
|
||||
{
|
||||
return color.red() * 65536 + color.green() * 256 + color.blue();
|
||||
}
|
||||
static QColor colorFromInt(int colorValue)
|
||||
{
|
||||
return QColor(colorValue / 65536, (colorValue % 65536) / 256, colorValue % 256);
|
||||
}
|
||||
};
|
||||
|
||||
ServerInfo_Player::~ServerInfo_Player()
|
||||
{
|
||||
for (int i = 0; i < zoneList.size(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user