Change the gamedata folder for doom to /.rockbox/doom to go in line with other game plugins. Closes FS#5903. Adjust manual too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11998 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-01-13 15:16:10 +00:00
parent 20171c181f
commit 028e8e9ee2
3 changed files with 38 additions and 36 deletions

View file

@ -2770,7 +2770,7 @@ boolean G_CheckDemoStatus (void)
int endtime = I_GetTime (); int endtime = I_GetTime ();
// killough -- added fps information and made it work for longer demos: // killough -- added fps information and made it work for longer demos:
unsigned realtics = endtime-starttime; unsigned realtics = endtime-starttime;
int fd=open("/games/doom/timedemo.txt",O_WRONLY | O_CREAT); int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT);
fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second",
(unsigned) gametic, realtics, (unsigned) gametic, realtics,
(unsigned) gametic * (double) TICRATE / realtics); (unsigned) gametic * (double) TICRATE / realtics);

View file

@ -89,7 +89,7 @@ char *my_strtok( char * s, const char * delim );
inline void* memcpy(void* dst, const void* src, size_t size); inline void* memcpy(void* dst, const void* src, size_t size);
#define PACKEDATTR __attribute__((packed)) // Needed for a few things #define PACKEDATTR __attribute__((packed)) // Needed for a few things
#define GAMEBASE "/games/doom/" #define GAMEBASE ROCKBOX_DIR "/doom/"
//#define SIMPLECHECKS //#define SIMPLECHECKS
#define NO_PREDEFINED_LUMPS #define NO_PREDEFINED_LUMPS
#define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer #define TABLES_AS_LUMPS // This frees up alot of space in the plugin buffer

View file

@ -5,18 +5,19 @@ This is the famous Doom game.
\subsubsection{Getting started} \subsubsection{Getting started}
For the game to run you need \fname{.wad} game files located in For the game to run you need \fname{.wad} game files located in
\fname{/games/doom/} on your player. Create the directory and save the \fname{/.rockbox/doom/} on your player. Create the directory and save the
following files there: following files there:
\begin{description} \begin{description}
\item[rockdoom.wad] The Rockbox \fname{.wad}, based on \fname{prboom.wad} \item[rockdoom.wad.] The Rockbox \fname{.wad}, based on \fname{prboom.wad}
from prboom-2.2.6 from prboom-2.2.6
\item[Your wad files] Copy all Doom wads you wish to play into that directory. \item[Your wad files.] Copy all Doom wads you wish to play into that directory.
\end{description} \end{description}
The needed files can be found at The needed files can be found at
\wikilink{PluginDoom} \wikilink{PluginDoom}
To play addon wads create the \fname{addons} directory within doom. To play addon wads create the \fname{addons} directory within the doom folder.
Place wad files in this directory. Currently doom only supports 10 addons Place \fname{wad} files in this directory. Currently doom only supports
a maximum number of 10 addons
in the directory. in the directory.
A free alternative for Doom 2 is FreeDoom (\url{http://freedoom.sourceforge.net}). A free alternative for Doom 2 is FreeDoom (\url{http://freedoom.sourceforge.net}).
@ -25,49 +26,50 @@ Doom, by placing it in the \fname{addons} directory.
\subsubsection{Menus} \subsubsection{Menus}
\begin{description} \begin{description}
\item[Rockdoom Menu: ] The Rockdoom menu is shown when Doom is first launched. \item[Rockdoom Menu. ] The Rockdoom menu is shown when Doom is first launched.
This is the only time it can be accessed (before starting the game). To re-adjust This is the only time it can be accessed (before starting the game). To re-adjust
Rockdoom options, you will need to quit your current game and restart the plugin. Rockdoom options, you will need to quit your current game and restart the plugin.
\item[Main Menu: ] \item[Main Menu. ]
The Doom plugin has a main menu, which is brought up before a game is started. It The Doom plugin has a main menu, which is brought up before a game is started. It
has the following entries: has the following entries:
\emph{Game } Select which (official) wad to launch\\ \emph{Game. } Select which (official) wad to launch\\
\emph{Addon } Select which unofficial addon wad to launch (From /games/doom/addons directory)\\ \emph{Addon. } Select which unofficial addon wad to launch (From
\emph{Demos } Select which demo file to play on game start\\ \fname{/.rockbox/doom/addons} directory)\\
\emph{Options } Configure low-level Doom options\\ \emph{Demos. } Select which demo file to play on game start\\
\emph{Play Game } Launch the wad/addon/Demo chosen%\\ \emph{Options. } Configure low-level Doom options\\
\emph{Play Game. } Launch the wad/addon/Demo chosen%\\
\item[Options Menu: ]This menu has the following options: \item[Options Menu. ]This menu has the following options:
\emph{Sound } Enable or Disable sound in Doom\\ \emph{Sound. } Enable or Disable sound in Doom\\
\emph{Set Keys } Change the game key configuration\\ \emph{Set Keys. } Change the game key configuration\\
\emph{Time Demo } Run a timed demo, to test game speed on a player (Only runs on Doom Shareware)\\ \emph{Time Demo. } Run a timed demo, to test game speed on a player (Only runs on Doom Shareware)\\
\emph{Player Bobbing } Enable or Disable player up/Down movement\\ \emph{Player Bobbing. } Enable or Disable player up/Down movement\\
\emph{Translucency } Enable or Disable sprite translucency (Fireballs, Plasma...)\\ \emph{Translucency. } Enable or Disable sprite translucency (Fireballs, Plasma...)\\
\emph{Fake Contrast} Enable or Disable modified game lighting\\ \emph{Fake Contrast.} Enable or Disable modified game lighting\\
\emph{Always Run} Make the player always run\\ \emph{Always Run.} Make the player always run\\
\emph{Headsup Display} Show the player status when in fullscreen\\ \emph{Headsup Display.} Show the player status when in fullscreen\\
\emph{Statusbar Always Red} Disable color response statusbar%\\ \emph{Statusbar Always Red.} Disable color response statusbar%\\
\item[InGame Main Menu: ]This menu can only be accessed from within a running game, and is displayed by \item[InGame Main Menu. ]This menu can only be accessed from within a running game, and is displayed by
\opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{pressing \ButtonOff} \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{pressing \ButtonOff}
\opt{IPOD_3G_PAD,IPOD_4G_PAD}{flipping your hold switch a couple of times} \opt{IPOD_3G_PAD,IPOD_4G_PAD}{flipping your hold switch a couple of times}
\opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{pressing \ButtonPower} \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{pressing \ButtonPower}
\emph{New Game } Start a new game\\ \emph{New Game. } Start a new game\\
\emph{Options } In game options\\ \emph{Options. } In game options\\
\emph{Load Game } Load a saved game\\ \emph{Load Game. } Load a saved game\\
\emph{Save Game } Save the current game\\ \emph{Save Game. } Save the current game\\
\emph{Quit } Quit the game%\\ \emph{Quit. } Quit the game%\\
\item[InGame Options Menu: ]This menu has the folloing options: \item[InGame Options Menu. ]This menu has the folloing options:
\emph{End Game } Ends the current game\\ \emph{End Game. } Ends the current game\\
\emph{Messages } Enable or Disable in game messages\\ \emph{Messages. } Enable or Disable in game messages\\
\emph{Screen Size } Shrink or Enlarge the displayed portion of the game\\ \emph{Screen Size. } Shrink or Enlarge the displayed portion of the game\\
\emph{Gamma } Change the brightness (Gamma) of the game\\ \emph{Gamma. } Change the brightness (Gamma) of the game\\
\emph{Sound Volume } Change the sound, music and system volume%\\ \emph{Sound Volume. } Change the sound, music and system volume%\\
\note{In game music is not currently supported} \note{In game music is not currently supported}
\end{description} \end{description}