//--------------------------------------------- CONSTRUCTOR ------------------------------------------------ PlayerImpl::PlayerImpl(u8 index) : index(index) { resetResources(); self->color = index < 12 ? BW::BWDATA::PlayerColors[index] : Colors::Black; }
QEGLPlatformCursor::~QEGLPlatformCursor() { resetResources(); delete m_deviceListener; }