r3996 - in packages/trunk/rrootage/debian: . patches

Miriam Ruiz baby-guest at alioth.debian.org
Wed Aug 29 20:36:49 UTC 2007


Author: baby-guest
Date: 2007-08-29 20:36:48 +0000 (Wed, 29 Aug 2007)
New Revision: 3996

Added:
   packages/trunk/rrootage/debian/patches/06_rrootage_highres.patch
   packages/trunk/rrootage/debian/patches/08_use_system_bulletml.patch
   packages/trunk/rrootage/debian/patches/09_windowed_mode.patch
Removed:
   packages/trunk/rrootage/debian/patches/07_rrootage_highres.patch
Modified:
   packages/trunk/rrootage/debian/patches/series
   packages/trunk/rrootage/debian/rrootage.6
Log:
Fixed patches
Start in window mode



Added: packages/trunk/rrootage/debian/patches/06_rrootage_highres.patch
===================================================================
--- packages/trunk/rrootage/debian/patches/06_rrootage_highres.patch	                        (rev 0)
+++ packages/trunk/rrootage/debian/patches/06_rrootage_highres.patch	2007-08-29 20:36:48 UTC (rev 3996)
@@ -0,0 +1,171 @@
+Index: rrootage-0.23a/debian/rrootage.6
+===================================================================
+--- rrootage-0.23a.orig/debian/rrootage.6	2007-08-29 19:48:31.000000000 +0000
++++ rrootage-0.23a/debian/rrootage.6	2007-08-29 19:55:05.000000000 +0000
+@@ -15,7 +15,7 @@
+ .SH SYNOPSIS
+ .
+ .B rrootage
+-[\-lowres]
++[\-lowres|\-mediumres|\-highres]
+ [\-nosound]
+ [\-window]
+ [\-reverse]
+@@ -75,6 +75,12 @@
+ .B \-lowres
+ Low resolution mode.
+ .TP
++.B \-mediumres
++Medium resolution mode (default).
++.TP
++.B \-highres
++High resolution mode.
++.TP
+ .B \-nosound
+ Disable sound.
+ .TP
+Index: rrootage-0.23a/src/rr.c
+===================================================================
+--- rrootage-0.23a.orig/src/rr.c	2007-08-29 19:48:31.000000000 +0000
++++ rrootage-0.23a/src/rr.c	2007-08-29 19:50:14.000000000 +0000
+@@ -195,14 +195,18 @@
+ static int accframe = 0;
+ 
+ static void usage(char *argv0) {
+-  fprintf(stderr, "Usage: %s [-lowres] [-nosound] [-window] [-reverse] [-nowait] [-accframe]\n", argv0);
++  fprintf(stderr, "Usage: %s [-lowres|-mediumres|-highres] [-nosound] [-window] [-reverse] [-nowait] [-accframe]\n", argv0);
+ }
+ 
+ static void parseArgs(int argc, char *argv[]) {
+   int i;
+   for ( i=1 ; i<argc ; i++ ) {
+     if ( strcmp(argv[i], "-lowres") == 0 ) {
+-      lowres = 1;
++      resolution = LOW_RESOLUTION;
++    } else if ( strcmp(argv[i], "-mediumres") == 0 ) {
++      resolution = MEDIUM_RESOLUTION;
++    } else if ( strcmp(argv[i], "-highres") == 0 ) {
++      resolution = HIGH_RESOLUTION;
+     } else if ( strcmp(argv[i], "-nosound") == 0 ) {
+       noSound = 1;
+     } else if ( strcmp(argv[i], "-window") == 0 ) {
+@@ -249,6 +253,10 @@
+ 
+   while ( !done ) {
+     SDL_PollEvent(&event);
++
++    if ( event.type == SDL_VIDEORESIZE )
++      resized(event.resize.w, event.resize.h);
++
+     keys = SDL_GetKeyState(NULL);
+     if ( keys[SDLK_ESCAPE] == SDL_PRESSED || event.type == SDL_QUIT ) done = 1;
+     if ( keys[SDLK_p] == SDL_PRESSED ) {
+Index: rrootage-0.23a/src/screen.c
+===================================================================
+--- rrootage-0.23a.orig/src/screen.c	2007-08-29 19:50:13.000000000 +0000
++++ rrootage-0.23a/src/screen.c	2007-08-29 19:55:05.000000000 +0000
+@@ -33,19 +33,37 @@
+ #define LOWRES_SCREEN_HEIGHT 240
+ #define SHARE_LOC "/usr/share/games/rrootage/"
+ 
++static Uint32 videoFlags;
+ static int screenWidth, screenHeight;
+ 
+ // Reset viewport when the screen is resized.
+ static void screenResized() {
+-  glViewport(0, 0, screenWidth, screenHeight);
++  int viewWidth, viewHeight;
++  if ( screenWidth * SCREEN_HEIGHT > screenHeight * SCREEN_WIDTH ) {
++    viewWidth = screenHeight * SCREEN_WIDTH / SCREEN_HEIGHT;
++    viewHeight = screenHeight;
++  } else if ( screenWidth * SCREEN_HEIGHT < screenHeight * SCREEN_WIDTH ) {
++    viewWidth = screenWidth;
++    viewHeight = screenWidth * SCREEN_HEIGHT / SCREEN_WIDTH;
++  } else {
++    viewWidth = screenWidth;
++    viewHeight = screenHeight;
++  }
++
++  glViewport((screenWidth - viewWidth) / 2, screenHeight - viewHeight, viewWidth, viewHeight);
+   glMatrixMode(GL_PROJECTION);
+   glLoadIdentity();
+-  gluPerspective(45.0f, (GLfloat)screenWidth/(GLfloat)screenHeight, 0.1f, FAR_PLANE);
++  gluPerspective(45.0f, (GLfloat)viewWidth/(GLfloat)viewHeight, 0.1f, FAR_PLANE);
+   glMatrixMode(GL_MODELVIEW);
+ }
+ 
+ void resized(int width, int height) {
+   screenWidth = width; screenHeight = height;
++  if ( SDL_SetVideoMode(width, height, 0, videoFlags) == NULL ) {
++    fprintf(stderr, "Unable to create OpenGL screen: %s\n", SDL_GetError());
++    SDL_Quit();
++    exit(2);
++  }
+   screenResized();
+ }
+ 
+@@ -110,7 +128,7 @@
+ static GLuint titleTexture;
+ #define TITLE_BMP "title.bmp"
+ 
+-int lowres = 0;
++int resolution = MEDIUM_RESOLUTION;
+ int windowMode = 0;
+ int brightness = DEFAULT_BRIGHTNESS;
+ Uint8 *keys;
+@@ -118,11 +136,13 @@
+ int joystickMode = 1;
+ 
+ void initSDL() {
+-  Uint32 videoFlags;
+-
+-  if ( lowres ) {
++  if ( resolution == LOW_RESOLUTION ) {
+     screenWidth  = LOWRES_SCREEN_WIDTH;
+     screenHeight = LOWRES_SCREEN_HEIGHT;
++  } else if ( resolution == HIGH_RESOLUTION ) {
++    /* SDL will pick the desktop resolution, which should be the highest possible */
++    screenWidth = 0;
++    screenHeight = 0;
+   } else {
+     screenWidth  = SCREEN_WIDTH;
+     screenHeight = SCREEN_HEIGHT;
+@@ -144,11 +164,14 @@
+   } else {
+     videoFlags = SDL_OPENGL | SDL_FULLSCREEN;
+   }
+-  if ( SDL_SetVideoMode(screenWidth, screenHeight, 0, videoFlags) == NULL ) {
++  SDL_Surface * screen = SDL_SetVideoMode(screenWidth, screenHeight, 0, videoFlags);
++  if ( screen == NULL ) {
+     fprintf(stderr, "Unable to create OpenGL screen: %s\n", SDL_GetError());
+     SDL_Quit();
+     exit(2);
+   }
++  screenWidth = screen->w;
++  screenHeight = screen->h;
+ 
+   if (joystickMode == 1) {
+     stick = SDL_JoystickOpen(0);
+Index: rrootage-0.23a/src/screen.h
+===================================================================
+--- rrootage-0.23a.orig/src/screen.h	2007-08-29 19:48:31.000000000 +0000
++++ rrootage-0.23a/src/screen.h	2007-08-29 19:50:14.000000000 +0000
+@@ -23,13 +23,17 @@
+ 
+ #define DEFAULT_BRIGHTNESS 224
+ 
++#define MEDIUM_RESOLUTION 0
++#define LOW_RESOLUTION 1
++#define HIGH_RESOLUTION 2
++
+ extern float eyeX, eyeY, eyeZ;
+ extern float pitch, roll;
+ extern float zoom;
+ extern Uint8 *keys;
+ extern SDL_Joystick *stick;
+ extern int buttonReversed;
+-extern int lowres;
++extern int resolution;
+ extern int windowMode;
+ extern int brightness;
+ 

Deleted: packages/trunk/rrootage/debian/patches/07_rrootage_highres.patch
===================================================================
--- packages/trunk/rrootage/debian/patches/07_rrootage_highres.patch	2007-08-29 20:33:58 UTC (rev 3995)
+++ packages/trunk/rrootage/debian/patches/07_rrootage_highres.patch	2007-08-29 20:36:48 UTC (rev 3996)
@@ -1,171 +0,0 @@
-diff --git a/debian/rrootage.6 b/debian/rrootage.6
-index 4fdf8bb..f6dd7b2 100644
---- a/debian/rrootage.6
-+++ b/debian/rrootage.6
-@@ -15,7 +15,7 @@ rRootage \- an abstract arcade shooter
- .SH SYNOPSIS
- .
- .B rrootage
--[\-lowres]
-+[\-lowres|\-mediumres|\-highres]
- [\-nosound]
- [\-window]
- [\-reverse]
-@@ -75,6 +75,12 @@ These command line options are available:
- .B \-lowres
- Low resolution mode.
- .TP
-+.B \-mediumres
-+Medium resolution mode (default).
-+.TP
-+.B \-highres
-+High resolution mode.
-+.TP
- .B \-nosound
- Disable sound.
- .TP
-diff --git a/src/rr.c b/src/rr.c
-index 71d49fa..cfe3587 100644
---- a/src/rr.c
-+++ b/src/rr.c
-@@ -195,14 +195,18 @@ static void draw() {
- static int accframe = 0;
- 
- static void usage(char *argv0) {
--  fprintf(stderr, "Usage: %s [-lowres] [-nosound] [-window] [-reverse] [-nowait] [-accframe]\n", argv0);
-+  fprintf(stderr, "Usage: %s [-lowres|-mediumres|-highres] [-nosound] [-window] [-reverse] [-nowait] [-accframe]\n", argv0);
- }
- 
- static void parseArgs(int argc, char *argv[]) {
-   int i;
-   for ( i=1 ; i<argc ; i++ ) {
-     if ( strcmp(argv[i], "-lowres") == 0 ) {
--      lowres = 1;
-+      resolution = LOW_RESOLUTION;
-+    } else if ( strcmp(argv[i], "-mediumres") == 0 ) {
-+      resolution = MEDIUM_RESOLUTION;
-+    } else if ( strcmp(argv[i], "-highres") == 0 ) {
-+      resolution = HIGH_RESOLUTION;
-     } else if ( strcmp(argv[i], "-nosound") == 0 ) {
-       noSound = 1;
-     } else if ( strcmp(argv[i], "-window") == 0 ) {
-@@ -249,6 +253,10 @@ int main(int argc, char *argv[]) {
- 
-   while ( !done ) {
-     SDL_PollEvent(&event);
-+
-+    if ( event.type == SDL_VIDEORESIZE )
-+      resized(event.resize.w, event.resize.h);
-+
-     keys = SDL_GetKeyState(NULL);
-     if ( keys[SDLK_ESCAPE] == SDL_PRESSED || event.type == SDL_QUIT ) done = 1;
-     if ( keys[SDLK_p] == SDL_PRESSED ) {
-diff --git a/src/screen.c b/src/screen.c
-index 751c8fc..c67fde7 100644
---- a/src/screen.c
-+++ b/src/screen.c
-@@ -33,19 +33,37 @@
- #define LOWRES_SCREEN_HEIGHT 240
- #define SHARE_LOC "/usr/share/games/rrootage/"
- 
-+static Uint32 videoFlags;
- static int screenWidth, screenHeight;
- 
- // Reset viewport when the screen is resized.
- static void screenResized() {
--  glViewport(0, 0, screenWidth, screenHeight);
-+  int viewWidth, viewHeight;
-+  if ( screenWidth * SCREEN_HEIGHT > screenHeight * SCREEN_WIDTH ) {
-+    viewWidth = screenHeight * SCREEN_WIDTH / SCREEN_HEIGHT;
-+    viewHeight = screenHeight;
-+  } else if ( screenWidth * SCREEN_HEIGHT < screenHeight * SCREEN_WIDTH ) {
-+    viewWidth = screenWidth;
-+    viewHeight = screenWidth * SCREEN_HEIGHT / SCREEN_WIDTH;
-+  } else {
-+    viewWidth = screenWidth;
-+    viewHeight = screenHeight;
-+  }
-+
-+  glViewport((screenWidth - viewWidth) / 2, screenHeight - viewHeight, viewWidth, viewHeight);
-   glMatrixMode(GL_PROJECTION);
-   glLoadIdentity();
--  gluPerspective(45.0f, (GLfloat)screenWidth/(GLfloat)screenHeight, 0.1f, FAR_PLANE);
-+  gluPerspective(45.0f, (GLfloat)viewWidth/(GLfloat)viewHeight, 0.1f, FAR_PLANE);
-   glMatrixMode(GL_MODELVIEW);
- }
- 
- void resized(int width, int height) {
-   screenWidth = width; screenHeight = height;
-+  if ( SDL_SetVideoMode(width, height, 0, videoFlags) == NULL ) {
-+    fprintf(stderr, "Unable to create OpenGL screen: %s\n", SDL_GetError());
-+    SDL_Quit();
-+    exit(2);
-+  }
-   screenResized();
- }
- 
-@@ -110,7 +128,7 @@ static GLuint smokeTexture;
- static GLuint titleTexture;
- #define TITLE_BMP "title.bmp"
- 
--int lowres = 0;
-+int resolution = MEDIUM_RESOLUTION;
- int windowMode = 0;
- int brightness = DEFAULT_BRIGHTNESS;
- Uint8 *keys;
-@@ -118,11 +136,13 @@ SDL_Joystick *stick = NULL;
- int joystickMode = 1;
- 
- void initSDL() {
--  Uint32 videoFlags;
--
--  if ( lowres ) {
-+  if ( resolution == LOW_RESOLUTION ) {
-     screenWidth  = LOWRES_SCREEN_WIDTH;
-     screenHeight = LOWRES_SCREEN_HEIGHT;
-+  } else if ( resolution == HIGH_RESOLUTION ) {
-+    /* SDL will pick the desktop resolution, which should be the highest possible */
-+    screenWidth = 0;
-+    screenHeight = 0;
-   } else {
-     screenWidth  = SCREEN_WIDTH;
-     screenHeight = SCREEN_HEIGHT;
-@@ -144,11 +164,14 @@ void initSDL() {
-   } else {
-     videoFlags = SDL_OPENGL | SDL_FULLSCREEN;
-   }
--  if ( SDL_SetVideoMode(screenWidth, screenHeight, 0, videoFlags) == NULL ) {
-+  SDL_Surface * screen = SDL_SetVideoMode(screenWidth, screenHeight, 0, videoFlags);
-+  if ( screen == NULL ) {
-     fprintf(stderr, "Unable to create OpenGL screen: %s\n", SDL_GetError());
-     SDL_Quit();
-     exit(2);
-   }
-+  screenWidth = screen->w;
-+  screenHeight = screen->h;
- 
-   if (joystickMode == 1) {
-     stick = SDL_JoystickOpen(0);
-diff --git a/src/screen.h b/src/screen.h
-index 46f849c..38ca485 100644
---- a/src/screen.h
-+++ b/src/screen.h
-@@ -23,13 +23,17 @@
- 
- #define DEFAULT_BRIGHTNESS 224
- 
-+#define MEDIUM_RESOLUTION 0
-+#define LOW_RESOLUTION 1
-+#define HIGH_RESOLUTION 2
-+
- extern float eyeX, eyeY, eyeZ;
- extern float pitch, roll;
- extern float zoom;
- extern Uint8 *keys;
- extern SDL_Joystick *stick;
- extern int buttonReversed;
--extern int lowres;
-+extern int resolution;
- extern int windowMode;
- extern int brightness;
- 

Added: packages/trunk/rrootage/debian/patches/08_use_system_bulletml.patch
===================================================================
--- packages/trunk/rrootage/debian/patches/08_use_system_bulletml.patch	                        (rev 0)
+++ packages/trunk/rrootage/debian/patches/08_use_system_bulletml.patch	2007-08-29 20:36:48 UTC (rev 3996)
@@ -0,0 +1,99 @@
+# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: rrootage-0.23a/src/makefile.lin
+===================================================================
+--- rrootage-0.23a.orig/src/makefile.lin	2007-08-29 20:13:42.000000000 +0000
++++ rrootage-0.23a/src/makefile.lin	2007-08-29 20:16:12.000000000 +0000
+@@ -11,12 +11,12 @@
+ 
+ DEFAULT_CFLAGS = `sdl-config --cflags`
+ #LDFLAGS        = `sdl-config --libs` -L. -lglut -lbulletml -lSDL_mixer -mwindows -lstdc++
+-LDFLAGS        = `sdl-config --libs` -L. -lglut bulletml/libbulletml.a -lSDL_mixer -lstdc++
++LDFLAGS        = `sdl-config --libs` -L. -lglut -lbulletml -lSDL_mixer -lstdc++
+ #-lglu32 -lopengl32 -lmingw32 -lmingwex
+-MORE_CFLAGS = -DLINUX -O3 -Wall
++MORE_CFLAGS = -O2 -Wall
+ 
+-CFLAGS   = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
+-CPPFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -I./bulletml/
++CFLAGS   = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -DLINUX
++CPPFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -DLINUX
+ 
+ OBJS =	$(NAME).$(O) \
+ 	foe.$(O) foecommand.$(O) barragemanager.$(O) boss.$(O) ship.$(O) laser.$(O) \
+@@ -31,5 +31,6 @@
+ 
+ #$(NAME)_res.o: $(NAME).rc
+ #	windres -i $(NAME).rc -o $(NAME)_res.o
++
+ clean:
+ 	$(RM) $(PROG) *.$(O)
+Index: rrootage-0.23a/src/barragemanager.h
+===================================================================
+--- rrootage-0.23a.orig/src/barragemanager.h	2007-08-29 20:14:22.000000000 +0000
++++ rrootage-0.23a/src/barragemanager.h	2007-08-29 20:15:35.000000000 +0000
+@@ -12,9 +12,9 @@
+ #ifndef BARRAGEMANAGER_H_
+ #define BARRAGEMANAGER_H_
+ 
+-#include "bulletml/bulletmlparser.h"
+-#include "bulletml/bulletmlparser-tinyxml.h"
+-#include "bulletml/bulletmlrunner.h"
++#include <bulletml/bulletmlparser.h>
++#include <bulletml/bulletmlparser-tinyxml.h>
++#include <bulletml/bulletmlrunner.h>
+ 
+ typedef struct {
+   BulletMLParser *bulletml;
+Index: rrootage-0.23a/src/foe.h
+===================================================================
+--- rrootage-0.23a.orig/src/foe.h	2007-08-29 20:14:53.000000000 +0000
++++ rrootage-0.23a/src/foe.h	2007-08-29 20:16:05.000000000 +0000
+@@ -17,9 +17,9 @@
+ #include "foe_mtd.h"
+ }
+ 
+-#include "bulletml/bulletmlparser.h"
+-#include "bulletml/bulletmlparser-tinyxml.h"
+-#include "bulletml/bulletmlrunner.h"
++#include <bulletml/bulletmlparser.h>
++#include <bulletml/bulletmlparser-tinyxml.h>
++#include <bulletml/bulletmlrunner.h>
+ #include "foecommand.h"
+ #include "barragemanager.h"
+ #include "boss.h"
+Index: rrootage-0.23a/src/foecommand.cc
+===================================================================
+--- rrootage-0.23a.orig/src/foecommand.cc	2007-08-29 20:14:28.000000000 +0000
++++ rrootage-0.23a/src/foecommand.cc	2007-08-29 20:15:44.000000000 +0000
+@@ -9,9 +9,9 @@
+  *
+  * @version $Revision: 1.2 $
+  */
+-#include "bulletml/bulletmlparser.h"
+-#include "bulletml/bulletmlparser-tinyxml.h"
+-#include "bulletml/bulletmlrunner.h"
++#include <bulletml/bulletmlparser.h>
++#include <bulletml/bulletmlparser-tinyxml.h>
++#include <bulletml/bulletmlrunner.h>
+ #include "foe.h"
+ 
+ extern "C" {
+Index: rrootage-0.23a/src/foecommand.h
+===================================================================
+--- rrootage-0.23a.orig/src/foecommand.h	2007-08-29 20:14:34.000000000 +0000
++++ rrootage-0.23a/src/foecommand.h	2007-08-29 20:15:54.000000000 +0000
+@@ -12,9 +12,9 @@
+ #ifndef FOECOMMAND_H_
+ #define FOECOMMAND_H_
+ 
+-#include "bulletml/bulletmlparser.h"
+-#include "bulletml/bulletmlparser-tinyxml.h"
+-#include "bulletml/bulletmlrunner.h"
++#include <bulletml/bulletmlparser.h>
++#include <bulletml/bulletmlparser-tinyxml.h>
++#include <bulletml/bulletmlrunner.h>
+ #include "foe.h"
+ 
+ #define COMMAND_SCREEN_SPD_RATE 512

Added: packages/trunk/rrootage/debian/patches/09_windowed_mode.patch
===================================================================
--- packages/trunk/rrootage/debian/patches/09_windowed_mode.patch	                        (rev 0)
+++ packages/trunk/rrootage/debian/patches/09_windowed_mode.patch	2007-08-29 20:36:48 UTC (rev 3996)
@@ -0,0 +1,35 @@
+Index: rrootage-0.23a/src/rr.c
+===================================================================
+--- rrootage-0.23a.orig/src/rr.c	2007-08-29 20:34:12.000000000 +0000
++++ rrootage-0.23a/src/rr.c	2007-08-29 20:34:44.000000000 +0000
+@@ -195,7 +195,7 @@
+ static int accframe = 0;
+ 
+ static void usage(char *argv0) {
+-  fprintf(stderr, "Usage: %s [-lowres|-mediumres|-highres] [-nosound] [-window] [-reverse] [-nowait] [-accframe]\n", argv0);
++  fprintf(stderr, "Usage: %s [-lowres|-mediumres|-highres] [-nosound] [-window] [-fullscreen] [-reverse] [-nowait] [-accframe]\n", argv0);
+ }
+ 
+ static void parseArgs(int argc, char *argv[]) {
+@@ -211,6 +211,8 @@
+       noSound = 1;
+     } else if ( strcmp(argv[i], "-window") == 0 ) {
+       windowMode = 1;
++    } else if ( strcmp(argv[i], "-fullscreen") == 0 ) {
++      windowMode = 0;
+     } else if ( strcmp(argv[i], "-reverse") == 0 ) {
+       buttonReversed = 1;
+     }
+Index: rrootage-0.23a/src/screen.c
+===================================================================
+--- rrootage-0.23a.orig/src/screen.c	2007-08-29 20:33:26.000000000 +0000
++++ rrootage-0.23a/src/screen.c	2007-08-29 20:33:52.000000000 +0000
+@@ -129,7 +129,7 @@
+ #define TITLE_BMP "title.bmp"
+ 
+ int resolution = HIGH_RESOLUTION;
+-int windowMode = 0;
++int windowMode = 1;
+ int brightness = DEFAULT_BRIGHTNESS;
+ Uint8 *keys;
+ SDL_Joystick *stick = NULL;

Modified: packages/trunk/rrootage/debian/patches/series
===================================================================
--- packages/trunk/rrootage/debian/patches/series	2007-08-29 20:33:58 UTC (rev 3995)
+++ packages/trunk/rrootage/debian/patches/series	2007-08-29 20:36:48 UTC (rev 3996)
@@ -6,3 +6,4 @@
 06_rrootage_highres.patch
 07_rrootage_make_highres_default.patch
 08_use_system_bulletml.patch
+09_windowed_mode.patch

Modified: packages/trunk/rrootage/debian/rrootage.6
===================================================================
--- packages/trunk/rrootage/debian/rrootage.6	2007-08-29 20:33:58 UTC (rev 3995)
+++ packages/trunk/rrootage/debian/rrootage.6	2007-08-29 20:36:48 UTC (rev 3996)
@@ -1,33 +1,33 @@
-.ig
-rRootage manual page.
-
-Miriam Ruiz <little_miry at yahoo.es>, 2005.
-Dafydd Harries <daf at muse.19inch.net>, 2005.
-
-This next line loads the www macro package so that the .URL macro can be used.
-..
-.mso www.tmac
-.TH rRootage 6 "22 January 2005" rRootage Games
-.SH NAME
+.\" .ig
+.\" rRootage manual page.
+.\" 
+.\" Miriam Ruiz <little_miry at yahoo.es>, 2005.
+.\" Dafydd Harries <daf at muse.19inch.net>, 2005.
+.\" 
+.\" This next line loads the www macro package so that the .URL macro can be used.
+.\" ..
+.\" .mso www.tmac
+.TH "rRootage" "6" "22 January 2005" "rRootage" "Games"
+.SH "NAME"
 .
 rRootage \- an abstract arcade shooter
 .
-.SH SYNOPSIS
+.SH "SYNOPSIS"
 .
 .B rrootage
-[\-lowres|\-mediumres|\-highres]
+[\-lowres]
 [\-nosound]
 [\-window]
 [\-reverse]
 [\-nowait]
 [\-accframe]
 .
-.SH DESCRIPTION
+.SH "DESCRIPTION"
 .
 rRootage is an arcade style shooting game. Avoid the barrage of bullets while
 using your laser to destroy the enemy's battle ship.
 .
-.SH USAGE
+.SH "USAGE"
 .
 You can play the game with a keyboard or a joystick. On the keyboard the
 following keys are used:
@@ -46,12 +46,12 @@
 .
 This is the standard game mode. Your ship slows down while your laser is being
 fired. The special key releases a bomb, which destroys enemy bullets. The
-number of bombs you have is displayed in the bottom-right corner.
+number of bombs you have is displayed in the bottom\-right corner.
 .
 .SS PSY Mode
 .
 When bullets graze your ship the graze meter, which is displayed in the
-bottom-right corner, increases. When the meter becomes full, your ship is
+bottom\-right corner, increases. When the meter becomes full, your ship is
 temporarily invincible. The special key increases the range within which
 bullets graze your ship, but also slows your ship down.
 .
@@ -68,55 +68,52 @@
 However, you can only use it while the reflector meter, shown in the bottom
 right corner, displays "OK".
 .
-.SH OPTIONS
+.SH "OPTIONS"
 .
 These command line options are available:
-.TP
+.TP 
 .B \-lowres
 Low resolution mode.
-.TP
-.B \-mediumres
-Medium resolution mode.
-.TP
-.B \-highres
-High resolution mode (default).
-.TP
+.TP 
 .B \-nosound
 Disable sound.
-.TP
+.TP 
 .B \-window
-Launch the game in a window, rather than full\-screen.
-.TP
+Launch the game in a window, rather than fullscreen.
+.TP 
+.B \-fullscreen
+Launch the game in fullscreen mode.
+.TP 
 .B \-reverse
 Reverse the fire key and the special key.
-.TP
+.TP 
 .B \-nowait
 When there are a large number of bullets on the screen, the game is slowed
 down. This option prevents this slowdown so that the game speed is constant.
-.TP
+.TP 
 .B \-accframe
 Use the alternative frame rate management algorithm. (If you have a problem
 with the frame rate, try this option.)
 .
-.SH FILES
+.SH "FILES"
 .
-.TP
+.TP 
 .I ~/.rr.prf
 This is where rRootage records which levels you have completed in which modes.
-.SH AUTHOR
+.SH "AUTHOR"
 rRootage was written by Kenta Cho, and ported to Linux by Evil Mr Henry.
 .P
 This manual page was written for Debian by Miriam Ruiz <little_miry at yahoo.es>
 and Dafydd Harries <daf at muse.19inch.net>.
 .
-.SH SEE ALSO
+.SH "SEE ALSO"
 .
 .ig
-This is rather hacky -- the turn off line adjustment temporarily using .na/.ad
+This is rather hacky \-\- the turn off line adjustment temporarily using .na/.ad
 since lines with very long words (like URLs) look ugly.
 ..
 .na
-.URL "http://www.asahi-net.or.jp/~cs8k-cyu/windows/rr_e.html" "The rRootage homepage" ""
+.URL "http://www.asahi\-net.or.jp/~cs8k\-cyu/windows/rr_e.html" "The rRootage homepage" ""
 .P
 .URL "http://rrootage.sourceforge.net" "The homepage of the Linux port" ""
 .ad




More information about the Pkg-games-commits mailing list