From 0be25a41ca793c3c03814f529890492adfac8ad5 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 9 Nov 2017 22:50:32 +0300 Subject: Resolve weird crash caused by Tetris inside ADLMIDI2 and other changes - Move most of inline classes methods into own CC file - Move Input into own header with own CC file to share it with the puzzle game - Created virtual destructors and resolved weak vtable trouble between of Tetris's classes - Remove static declarisons of Tetris class. Instead, let it be member of UserInterface - Fixed forgot note-offs while sorting events row with zero length notes - Fixed crash caused by unsafe access by reference to element of array that was modified/reallocated one or multiple times - Stabilize dealing with zero-length notes --- utils/adlmidi-2/adlmidi-2.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/adlmidi-2/adlmidi-2.pro') diff --git a/utils/adlmidi-2/adlmidi-2.pro b/utils/adlmidi-2/adlmidi-2.pro index f4214c1..8808504 100644 --- a/utils/adlmidi-2/adlmidi-2.pro +++ b/utils/adlmidi-2/adlmidi-2.pro @@ -57,6 +57,6 @@ SOURCES += \ $$PWD/../../src/nukedopl3.c \ $$PWD/../../src/dbopl.cpp \ \ - midiplay.cc - + midiplay.cc \ + puzzlegame.cc -- cgit v1.2.3