═══════════════════════════════════════════════════════════════════ Constructor / Destructor ═══════════════════════════════════════════════════════════════════
| 66 | // Constructor / Destructor |
| 67 | // ═══════════════════════════════════════════════════════════════════ |
| 68 | ParticleLabApp::ParticleLabApp() |
| 69 | : _screen(nullptr) |
| 70 | , _drawObj(nullptr) |
| 71 | , _infoLabel(nullptr) |
| 72 | , _simTimer(nullptr) |
| 73 | , _renderBuf(nullptr) |
| 74 | , _cursorX(PG_W / 2) |
| 75 | , _cursorY(PG_H / 2) |
| 76 | , _brushRadius(0) |
| 77 | , _brushShape(BrushShape::CIRCLE) |
| 78 | , _selectedMat(0) |
| 79 | , _drawing(false) |
| 80 | , _drawStartX(PG_W / 2) |
| 81 | , _drawStartY(PG_H / 2) |
| 82 | , _thermoMode(false) |
| 83 | , _paletteOpen(false) |
| 84 | , _paletteCurX(0) |
| 85 | , _paletteCurY(0) |
| 86 | , _paused(false) |
| 87 | { |
| 88 | _infoBuf[0] = '\0'; |
| 89 | memset(&_imgDsc, 0, sizeof(_imgDsc)); |
| 90 | } |
| 91 | |
| 92 | ParticleLabApp::~ParticleLabApp() { |
| 93 | end(); |
nothing calls this directly
no outgoing calls
no test coverage detected