From d3b41bb251a94ff24e3804c1b591ce02d9097d0b Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 31 Oct 2007 22:18:48 +0000 Subject: [PATCH] config file SAVINg is also endian-aware now. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@38 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- divers.c | 8 +++++- gfx2.cfg | Bin 10351 -> 10351 bytes init.c | 78 ++++++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 70 insertions(+), 16 deletions(-) diff --git a/divers.c b/divers.c index 0ce490f1..caec9a87 100644 --- a/divers.c +++ b/divers.c @@ -72,7 +72,13 @@ void Set_palette(T_Palette Palette) void Attendre_fin_de_click(void) { - puts("Attendre_fin_de_click non implémenté!\n"); + do + { + SDL_PumpEvents(); + puts("Attente fin clic..."); + } + while(SDL_GetMouseState(NULL, NULL)&(SDL_BUTTON(1) | SDL_BUTTON(2) | SDL_BUTTON(3))); //On attend tant que l'un des trois boutons est enfoncé + Mouse_K=0; } void Effacer_image_courante_Stencil(byte Couleur, byte * Pochoir) diff --git a/gfx2.cfg b/gfx2.cfg index a15e8851fa49a03c76c472e1e357fe119b37ea26..d827fb227a29e9d4f61560d1f690ffa6b5ef862f 100644 GIT binary patch delta 326 zcmWm6u?fOZ7)9atlGLfJG=+#@qm5($M@ShEt?w4m4KBEdkOfjYhE9--;D4G^9lp7n zyZ5;q@+EyzjPy5Qp)14{9nar7*_CMjOKbumL5B(fYOkHn_w^OjrOr$9TE`jNpCEmw$2h zTiT_4U9-NHPiSgMWF