*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 9 Jan 2007 21:30:28 +0000 (21:30 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 9 Jan 2007 21:30:28 +0000 (21:30 +0000)
mmsoftware/paradise_adventure/src/main.c

index 8b62b85..d126e69 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.12 2007/01/09 20:53:50 mmondor Exp $ */
+/* $Id: main.c,v 1.13 2007/01/09 21:30:28 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006, Matthew Mondor
@@ -308,22 +308,12 @@ scene_switch(const char *img, const char *mus, int vol, const char *text)
                SDL_Surface     *s;
                int             i, y, h;
 
-               /* XXX */printf("%d, %p\n", txt->numlines, txt->lines);
-               printf("%p\n", txt->lines[0]);
-               {
-                       char    *cptr;
-
-                       for (cptr = txt->lines[0]; *cptr != '\0'; cptr++)
-                               printf("0x%02x\n", *cptr);
-               }
-
                r = (SDL_Rect){ 798, 16, 0, 0 };
                (void) SDL_BlitSurface(img_textarea, NULL, screen_surface, &r);
 
                h = TTF_FontHeight(txt->fnt);
                y = 32;
                for (i = 0; i < txt->numlines; i++, y += h) {
-                       /* XXX */printf("-%s\n", txt->lines[i]);
                        if ((s = TTF_RenderText_Blended(txt->fnt,
                            txt->lines[i], fontcol)) != NULL) {
                                r = (SDL_Rect){ 815, y, 0, 0 };
@@ -483,7 +473,6 @@ text_create(TTF_Font *font, const char *string)
            ptr = text_tok(NULL, &term)) {
                int     l, w;
 
-               /* XXX */printf("!%s\n", ptr);
                l = strlen(ptr);
 
 again:
@@ -523,11 +512,9 @@ again:
                *olptr = '\0';
                lptr = text->lines[text->numlines++] = olptr;
 
-               /* Reiterate. */ /* XXX problem here!? */
+               /* Reiterate. */
                if (term != '\n')
                        goto again;
-///* XXX */    else
-//                     lptr++;
        }
 
        free(str);