Renamed JB_VERSION to JNB_VERSION (GS).
authorFlorian Schulze <crow@icculus.org>
Fri, 5 Jul 2002 13:51:20 +0000 (13:51 +0000)
committerFlorian Schulze <crow@icculus.org>
Fri, 5 Jul 2002 13:51:20 +0000 (13:51 +0000)
globals.h
main.c
menu.c

index 30641f4..7445907 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -65,7 +65,7 @@
 # endif
 #endif
 
-#define JB_VERSION "1.3"
+#define JNB_VERSION "1.3"
 
 #define JNB_WIDTH 400
 #define JNB_HEIGHT 256
diff --git a/main.c b/main.c
index f664039..0403512 100644 (file)
--- a/main.c
+++ b/main.c
@@ -224,8 +224,8 @@ static flip_pixels(unsigned char *pixels)
        for (y = 0; y < JNB_HEIGHT; y++) {
                for (x = 0; x < (352/2); x++) {
                        temp = pixels[y*JNB_WIDTH+x];
-                       pixels[y*JNB_WIDTH+x] = pixels[y*JNB_WIDTH+(352-x)];
-                       pixels[y*JNB_WIDTH+(352-x)] = temp;
+                       pixels[y*JNB_WIDTH+x] = pixels[y*JNB_WIDTH+(352-x)-1];
+                       pixels[y*JNB_WIDTH+(352-x)-1] = temp;
                }
        }
 }
@@ -1906,7 +1906,7 @@ int init_program(int argc, char *argv[], char *pal)
                                }
                        }
                        else if (strstr(argv[1],"-v")) {
-                               printf("jumpnbump %s compiled %s at %s with",JB_VERSION,__DATE__,__TIME__);
+                               printf("jumpnbump %s compiled %s at %s with",JNB_VERSION,__DATE__,__TIME__);
 #ifndef _SDLnet_h
                                printf("out");
 #endif
@@ -1926,6 +1926,7 @@ int init_program(int argc, char *argv[], char *pal)
                                printf("  -nosound                 play without sound\n");
                                printf("  -nogore                  play without blood\n");
                                printf("  -mirror                  play with mirrored level\n");
+                               printf("  -scaleup                 play with doubled resolution (800x512)\n");
                                printf("\n");
                                return 1;
                        }
diff --git a/menu.c b/menu.c
index 948cde1..2f4e7b3 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -35,7 +35,7 @@ char menu_pal[768];
 char menu_cur_pal[768];
 
 char *message[] = {
-       "Jump 'n Bump "JB_VERSION,
+       "Jump 'n Bump "JNB_VERSION,
        "by Brainchild Design in 1998.",
        "Code by Mattias Brynervall.",
        "Graphics by Martin Magnusson",