mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
protobuf client->server communication almost working
This commit is contained in:
parent
4eb9dfc5bf
commit
314f17091d
96 changed files with 1633 additions and 860 deletions
|
|
@ -24,6 +24,14 @@ public:
|
|||
{
|
||||
return QColor(value / 65536, (value % 65536) / 256, value % 256);
|
||||
}
|
||||
color get_color() const // HACK
|
||||
{
|
||||
color c;
|
||||
c.set_r(value / 65536);
|
||||
c.set_g((value % 65536) / 256);
|
||||
c.set_b(value % 256);
|
||||
return c;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue