Differences From Artifact [28b7846922]:
- File
test/TestMain.m
— part of check-in
[4719f25709]
at
2012-08-26 12:17:52
on branch trunk
— Only call al_*_destroy if Allegro is initialized.
Otherwise, it would crash if al_uinstall_system() has already been
called. Handling it this way eliminates the need to dealloc all objects
before calling al_uninstall_system(), which meant that it was the users
repsonsibility to call al_uninstall_system() after the user made sure
all objects are deallocated. Now the user does not get to see any
al_*() function. (user: js, size: 3399) [annotate] [blame] [check-ins using] - File tests/TestMain.m — part of check-in [b82dc2eabe] at 2012-08-26 12:21:57 on branch trunk — Add a proper build system. (user: js, size: 3399) [annotate] [blame] [check-ins using]
To Artifact [00aa33180c]:
- File tests/TestMain.m — part of check-in [d49c4b05b0] at 2012-08-26 13:42:00 on branch trunk — Rename -[handleNextEvent] -> -[handleEvents]. (user: js, size: 3396) [annotate] [blame] [check-ins using]
︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | - + | of_log(@"Mouse button was released: %d (X=%.f Y=%.f WX=%.f WY=%.f)", event.button, event.cursor.x, event.cursor.y, event.wheel.x, event.wheel.y); } - (void)handleEvents { |
︙ |