gokernel
(usa Linux Mint)
Enviado em 17/04/2009 - 17:06h
Desculpe foi erro meu pois so testei no WINDOWS.
Realmente existe uma DUPLICACAO DE DEFINES para ALLEGRO.
Voce sem querer ME AJUDOU. OBRIGADO.
No arquivo: "as.h"
Mova esses DEFINES(ate o 24) para a linha logo abaixo de: "#undef main"
// messages for the dialog procedures
#define MSG_START 1 // start the dialog, initialise
#define MSG_END 2 // dialog is finished - cleanup
#define MSG_DRAW 3 // draw the object
#define MSG_CLICK 4 // mouse click on the object
#define MSG_DCLICK 5 // double click on the object
#define MSG_KEY 6 // keyboard shortcut
#define MSG_CHAR 7 // other keyboard input
#define MSG_UCHAR 8 // unicode keyboard input
#define MSG_XCHAR 9 // broadcast character to all objects
#define MSG_WANTFOCUS 10 // does object want the input focus?
#define MSG_GOTFOCUS 11 // got the input focus
#define MSG_LOSTFOCUS 12 // lost the input focus
#define MSG_GOTMOUSE 13 // mouse on top of object
#define MSG_LOSTMOUSE 14 // mouse moved away from object
// NO exist "MSG_IDLE" SEE: GUI->idle( GUI )
//#define MSG_IDLE 15 // update any background stuff
#define MSG_RADIO 16 // clear radio buttons
#define MSG_WHEEL 17 // mouse wheel moved
#define MSG_LPRESS 18 // mouse left button pressed
#define MSG_LRELEASE 19 // mouse left button released
#define MSG_MPRESS 20 // mouse middle button pressed
#define MSG_MRELEASE 21 // mouse middle button released
#define MSG_RPRESS 22 // mouse right button pressed
#define MSG_RRELEASE 23 // mouse right button released
#define MSG_USER 24 // from here on are free...
#ifdef _SDL_H
#undef main
//mova para aqui <----------------------
#endif
gokernel
gokernel@hotmail.com