LAB: Remove interface.h, get rid of a lot of useless defines

This commit is contained in:
Strangerke 2015-12-13 14:12:18 +01:00 committed by Willem Jan Palenstijn
parent c837e67070
commit 7c1401264c
9 changed files with 23 additions and 107 deletions

View file

@ -33,7 +33,6 @@
#include "lab/anim.h"
#include "lab/dispman.h"
#include "lab/eventman.h"
#include "lab/interface.h"
#include "lab/intro.h"
#include "lab/music.h"
#include "lab/resource.h"
@ -61,7 +60,7 @@ void Intro::introEatMessages() {
if (msg == NULL)
return;
else {
if (((msg->_msgClass == MOUSEBUTTONS) && (IEQUALIFIER_RBUTTON & msg->_qualifier)) ||
if (((msg->_msgClass == MOUSEBUTTONS) && (IEQUALIFIER_RIGHTBUTTON & msg->_qualifier)) ||
((msg->_msgClass == RAWKEY) && (msg->_code == 27))
)
_quitIntro = true;
@ -156,7 +155,7 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) {
qualifier = msg->_qualifier;
code = msg->_code;
if (((cls == MOUSEBUTTONS) && (IEQUALIFIER_RBUTTON & qualifier)) ||
if (((cls == MOUSEBUTTONS) && (IEQUALIFIER_RIGHTBUTTON & qualifier)) ||
((cls == RAWKEY) && (code == 27))) {
_quitIntro = true;