diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-10-23 22:33:51 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-10-23 22:33:51 +0000 |
commit | d802c575d3184c2ebbb755128681e14422f3f1b7 (patch) | |
tree | 7c38d9cdc13eb5889dddaf57914221bb87101637 | |
parent | 6ec436c305a5eda73824534b2189c88c0deb8aa4 (diff) | |
download | mana-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.gz mana-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.bz2 mana-d802c575d3184c2ebbb755128681e14422f3f1b7.tar.xz mana-d802c575d3184c2ebbb755128681e14422f3f1b7.zip |
Grammar Corrections, and a little bit of work on getting the name of the Db.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | docs/INSTALL/debian.txt | 33 | ||||
-rw-r--r-- | src/main.cpp | 6 |
3 files changed, 20 insertions, 24 deletions
@@ -1,3 +1,8 @@ +2005-10-24 Ferreira Yohann <Bertram@cegetel.net> + + * src/main.cpp: Add version displaying at startup. + * docs/NSTALL/debian.txt: Updated Debian Install Doc. + 2005-10-20 Björn Steinbrink <B.Steinbrink@gmx.de> * src/gui/item_amount.cpp: Fix scrollbar not being updated when the diff --git a/docs/INSTALL/debian.txt b/docs/INSTALL/debian.txt index 349451c0..12f9ccfc 100644 --- a/docs/INSTALL/debian.txt +++ b/docs/INSTALL/debian.txt @@ -3,7 +3,6 @@ How to install TMW on my GNU/Debian Box Author: FERREIRA Yohann (Bertram) Email: Bertram@cegetel.net -Homepage: http://www.behemoth.fr.fm (Take a tour on it with mozilla !) The Mana World project ====================== @@ -18,29 +17,13 @@ IRC: irc.freenode.net / #manaworld 1. Installing The Mana World and Dependencies ============================================= -N.B: XXX is a version number. - The Mana World Debian Package can be installed under the Debian Testing and Unstable (Sarge/Sid). In order to have Mana World working, you'll need packages -for SDL, SDL_mixer, SDL_image, libxml2, libphysfs and libguichan. +for SDL, SDL_mixer, SDL_image, libxml2, libphysfs and libguichan0. To install the dependencies, you can do type (as root): - apt-get install libsdl-mixer1.2 libsdl-image1.2 libxml2 libphysfs-1.0-0 - -Guichan can be found at : - -http://guichan.sourceforge.net/downloads.shtml - -After downloading it, you can install it by typing as root : - - dpkg -i libguichan_XXX_i386.deb - -We try to release a Debian Package as soon as there a monthly release, -you can download it at http://www.themanaworld.org, -and then install it by typing : - - dpkg -i tmw_XXX_i386.deb + apt-get install libsdl-mixer1.2 libsdl-image1.2 libxml2 libphysfs-1.0-0 libguichan0 Type tmw as a normal user to play ! (Enjoy !) @@ -61,7 +44,7 @@ Download tmw from CVS using the command (You'll need CVS installed on your syste Rename the tmw folder into tmw-XXX and open a console in it. You can now type : - + fakeroot dpkg-buildpackage The package will create itself, including sources and diffs. You only need deb file. @@ -91,12 +74,14 @@ A Debian Repository has been created. Simply add in your /etc/apt/sources.list file : - deb http://themanaworld.org/files/debrepo ./ - deb-src http://themanaworld.org/files/debrepo ./ + deb http://bertram.ifrance.com ./ + deb-src http://bertram.ifrance.com ./ Then, as root, do : - apt-get update - apt-get install tmw + apt-get update + apt-get install tmw and you're done ! + +N.B.: The tmw-music, libguichan0, and libguichan0-dev packages are also provided in this repository. diff --git a/src/main.cpp b/src/main.cpp index d4766bfe..f2dcbf9d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,9 @@ #include "main.h" +// For version support +#include "../config.h" + #include <getopt.h> #include <iostream> #include <physfs.h> @@ -379,6 +382,7 @@ void parseOptions(int argc, char *argv[], Options &options) /** Main */ int main(int argc, char *argv[]) { + std::cout << "The Mana World v" << PACKAGE_VERSION << std::endl; logger = new Logger(); Options options; @@ -452,6 +456,8 @@ int main(int argc, char *argv[]) } graphics->drawImage(login_wallpaper, 0, 0); + graphics->setFont(gui->getFont()); + graphics->drawText(PACKAGE_VERSION, 0, 0); gui->draw(); graphics->updateScreen(); |