diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 19:40:14 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-13 19:40:14 +0000 |
commit | 0c0f50821c89129e6c14686a6b03f7fd3cef6b86 (patch) | |
tree | 6c992143aa558480909662ef13ee9450b9a99521 /games/airrox/files | |
parent | - update to p5-Mail-Webmail-Gmail-1.04 (diff) |
An 3D Air Hockey, which uses SDL & OpenGL with some features like single, and
multiplayer mode, sound fx, music, camera control, etc.
PR: ports/83342
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes:
svn path=/head/; revision=139116
Diffstat (limited to 'games/airrox/files')
-rw-r--r-- | games/airrox/files/patch-jogo.cpp | 20 | ||||
-rw-r--r-- | games/airrox/files/pkg-message.in | 6 | ||||
-rw-r--r-- | games/airrox/files/readme.txt | 41 |
3 files changed, 67 insertions, 0 deletions
diff --git a/games/airrox/files/patch-jogo.cpp b/games/airrox/files/patch-jogo.cpp new file mode 100644 index 000000000000..3e63c68bb123 --- /dev/null +++ b/games/airrox/files/patch-jogo.cpp @@ -0,0 +1,20 @@ +--- jogo.cpp.orig Sat Oct 9 10:35:22 2004 ++++ jogo.cpp Tue Jul 12 15:28:30 2005 +@@ -45,7 +45,16 @@ + + void Jogo::inicializacao() + { +- config = new Config("config.txt"); ++ char *home, *pathtocfg, *cfgname = ".airrox"; ++ int len1, len2; ++ ++ home = getenv("HOME"); ++ len1 = strlen(home); ++ len2 = strlen(cfgname); ++ pathtocfg = new char[len1 + len2]; ++ sprintf(pathtocfg, "%s/%s", home, cfgname); ++ ++ config = new Config(pathtocfg); + // parametros de configuracao + config->cria("TelaLargura", INT); + config->cria("TelaAltura", INT); diff --git a/games/airrox/files/pkg-message.in b/games/airrox/files/pkg-message.in new file mode 100644 index 000000000000..d42e1f828321 --- /dev/null +++ b/games/airrox/files/pkg-message.in @@ -0,0 +1,6 @@ +To play airrox you have to copy the file %%DATADIR%%/config.txt to your +home directory, with the name ".airrox". + +Example: + +cp %%DATADIR%%/config.txt ~/.airrox diff --git a/games/airrox/files/readme.txt b/games/airrox/files/readme.txt new file mode 100644 index 000000000000..7d67f481b06c --- /dev/null +++ b/games/airrox/files/readme.txt @@ -0,0 +1,41 @@ +Match options: + +Key Esc - Exit game + +Visualization options: + +Key F11 - Decrease video resolution +Key F12 - Increase video resolution +Key Ctrl F - Toggle Full Screen + +Control options: + +Key F9 - Decrease mouse sensibility +Key F10 - Increase mouse sensibility + +Player movement: + +Mouse + +Camera options: + +Key Up - Increase Zoom +Key Down - Decrease Zoom +Key Right - Rotate Right +Key Left - Rotate Left +Key F5 - Stop Camera +Key F6 - Complete turn around the table +Key F7 - TV Camera Mode +Mouse Wheel - Move camera vertically + +Sound options: + +Key + - Increase music volume +Key - - Decrease music volume + +Command-line options: + +Server: airrox S <port> +Client: airrox C <host> <port> +Spectator: airrox O <host> <port> +Single Player: airrox P |