pipe-game

Un jeu de cartes à piper les une dans les autres - retour accueil

git clone git://bebou.netlib.re/pipe-game
Log | Files | Refs | README |

commit 47e8088efaec277474fce37e5832e8708ddfdaa7
parent 982e9d400df7154591e7a94fae2b4d8f31dd1789
Auteurice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Thu, 23 Jan 2025 15:12:05 +0100

Les infos de debug un peu plus haut

Sinon je les vois pas sur mon xterm un peu zoomé de mon bsd

Diffstat:
Minterface.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/interface.c b/interface.c @@ -173,14 +173,14 @@ int displaytextblock(char *text, int rowoffset, int lineoffset) { } void debug(pile curmenu,struct tb_event ev) { - tb_printf(0,30,TB_DEFAULT,TB_DEFAULT,curmenu.name); + tb_printf(0,20,TB_DEFAULT,TB_DEFAULT,curmenu.name); char str[100];sprintf(str,"%d",curmenu.cardCount); - tb_printf(0,31,TB_DEFAULT,TB_DEFAULT,str); + tb_printf(0,21,TB_DEFAULT,TB_DEFAULT,str); char str2[100]; sprintf(str2,"%d",curmenu.curline); - tb_printf(0,32,TB_DEFAULT,TB_DEFAULT,str2); - tb_printf(0,33,TB_DEFAULT,TB_DEFAULT,"touche %d, char %d, x %d, y %d\n",ev.key,ev.ch,ev.x,ev.y); - tb_printf(0,34,TB_DEFAULT,TB_DEFAULT,"type %d",ev.type); + tb_printf(0,22,TB_DEFAULT,TB_DEFAULT,str2); + tb_printf(0,23,TB_DEFAULT,TB_DEFAULT,"touche %d, char %d, x %d, y %d\n",ev.key,ev.ch,ev.x,ev.y); + tb_printf(0,24,TB_DEFAULT,TB_DEFAULT,"type %d",ev.type); } void display(pile** piles, pile curmenu, bool selection, char* cmd, char* res, char* intern) {