ongoing work, check of touching other objects won't work so far

This commit is contained in:
Wolfgang Hottgenroth 2024-03-02 18:24:22 +01:00
parent 38bbd5a2bb
commit 35113cc6cd

View File

@ -166,6 +166,9 @@ int checkOtherObjectsTouchedForObject() {
// return true if another object is touched // return true if another object is touched
int res = 0; int res = 0;
// BROKEN! That doesn't work, pixels of the moving object would also be considered.
// The direction must be considered, only the first pixels in the moving direction
// must be checked.
switch (object.shape) { switch (object.shape) {
case e_O: case e_O:
switch (object.rotation) { switch (object.rotation) {