Update to version 0.70.

- booster
- wall acceleration
- better handling of .ini file (versioning & protection against partly
  written files)
- simplified GUI
- new bot AI
This commit is contained in:
cube 2004-01-18 13:58:57 +00:00
parent 576534810a
commit 554c77a7b7
7 changed files with 2546 additions and 87 deletions

View file

@ -1,15 +1,14 @@
# $NetBSD: Makefile,v 1.7 2003/12/08 14:41:39 wiz Exp $
# $NetBSD: Makefile,v 1.8 2004/01/18 13:58:57 cube Exp $
#
DISTNAME= gltron-0.62-source
DISTNAME= gltron-0.70-source
PKGBASE= ${DISTNAME:S/-source$//}
PKGNAME= ${PKGBASE}
PKGREVISION= 3
WRKSRC= ${WRKDIR}/${PKGBASE}
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gltron/}
MAINTAINER= cube@cubidou.net
MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://gltron.sourceforge.net/
COMMENT= 3D lightcycle game inspired by the movie Tron

View file

@ -1,55 +1,5 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/11 00:14:12 salo Exp $
@comment $NetBSD: PLIST,v 1.2 2004/01/18 13:58:57 cube Exp $
bin/gltron
man/man6/gltron.6
share/gltron/art/arcade_spots/artpack.lua
share/gltron/art/arcade_spots/gltron_floor.png
share/gltron/art/arcade_spots/gltron_traildecal.png
share/gltron/art/arcade_spots/gltron_wall_1.png
share/gltron/art/arcade_spots/gltron_wall_2.png
share/gltron/art/arcade_spots/gltron_wall_3.png
share/gltron/art/arcade_spots/gltron_wall_4.png
share/gltron/art/arcade_spots/skybox0.png
share/gltron/art/arcade_spots/skybox1.png
share/gltron/art/arcade_spots/skybox2.png
share/gltron/art/arcade_spots/skybox3.png
share/gltron/art/arcade_spots/skybox4.png
share/gltron/art/arcade_spots/skybox5.png
share/gltron/art/biohazard/artpack.lua
share/gltron/art/biohazard/babbage.0.png
share/gltron/art/biohazard/babbage.1.png
share/gltron/art/biohazard/gltron.png
share/gltron/art/biohazard/gltron_floor.png
share/gltron/art/biohazard/gltron_logo.png
share/gltron/art/biohazard/gltron_trail.png
share/gltron/art/biohazard/gltron_traildecal.png
share/gltron/art/biohazard/gltron_wall_1.png
share/gltron/art/biohazard/gltron_wall_2.png
share/gltron/art/biohazard/gltron_wall_3.png
share/gltron/art/biohazard/gltron_wall_4.png
share/gltron/art/biohazard/skybox0.png
share/gltron/art/biohazard/skybox1.png
share/gltron/art/biohazard/skybox2.png
share/gltron/art/biohazard/skybox3.png
share/gltron/art/biohazard/skybox4.png
share/gltron/art/biohazard/skybox5.png
share/gltron/art/classic/artpack.lua
share/gltron/art/classic/babbage.0.png
share/gltron/art/classic/babbage.1.png
share/gltron/art/classic/gltron_floor.png
share/gltron/art/classic/gltron_trail.png
share/gltron/art/classic/gltron_traildecal.png
share/gltron/art/classic/gltron_wall_1.png
share/gltron/art/classic/gltron_wall_2.png
share/gltron/art/classic/gltron_wall_3.png
share/gltron/art/classic/gltron_wall_4.png
share/gltron/art/classic/skybox0.png
share/gltron/art/classic/skybox1.png
share/gltron/art/classic/skybox2.png
share/gltron/art/classic/skybox3.png
share/gltron/art/classic/skybox4.png
share/gltron/art/classic/skybox5.png
share/gltron/art/classic/xenotron.0.png
share/gltron/art/classic/xenotron.1.png
share/gltron/art/default/artpack.lua
share/gltron/art/default/babbage.0.png
share/gltron/art/default/babbage.1.png
@ -73,18 +23,6 @@ share/gltron/art/default/skybox5.png
share/gltron/art/default/test.bitmap.png
share/gltron/art/default/xenotron.0.png
share/gltron/art/default/xenotron.1.png
share/gltron/art/metalTron/artpack.lua
share/gltron/art/metalTron/gltron_floor.png
share/gltron/art/metalTron/gltron_wall_1.png
share/gltron/art/metalTron/gltron_wall_2.png
share/gltron/art/metalTron/gltron_wall_3.png
share/gltron/art/metalTron/gltron_wall_4.png
share/gltron/art/metalTron/skybox0.png
share/gltron/art/metalTron/skybox1.png
share/gltron/art/metalTron/skybox2.png
share/gltron/art/metalTron/skybox3.png
share/gltron/art/metalTron/skybox4.png
share/gltron/art/metalTron/skybox5.png
share/gltron/data/babbage.ftx
share/gltron/data/fonts.txt
share/gltron/data/game_crash.ogg
@ -100,32 +38,22 @@ share/gltron/data/lightcycle.mtl
share/gltron/data/recognizer.mtl
share/gltron/data/recognizer.obj
share/gltron/data/recognizer_quad.obj
share/gltron/data/settings.txt
share/gltron/data/test.fbmp
share/gltron/data/xenotron.ftx
share/gltron/music/song_revenge_of_cats.it
share/gltron/scripts/artpack.lua
share/gltron/scripts/audio.lua
share/gltron/scripts/basics.lua
share/gltron/scripts/config.lua
share/gltron/scripts/joystick.lua
share/gltron/scripts/main.lua
share/gltron/scripts/menu.lua
share/gltron/scripts/menu_functions.lua
share/gltron/scripts/save.lua
share/gltron/scripts/video.lua
share/gltron/sounds/game_crash.wav
share/gltron/sounds/game_engine.wav
share/gltron/sounds/game_lose.wav
share/gltron/sounds/game_start.wav
share/gltron/sounds/game_win.wav
share/gltron/sounds/menu_action.wav
share/gltron/sounds/menu_highlight.wav
@dirrm share/gltron/art/arcade_spots
@dirrm share/gltron/art/biohazard
@dirrm share/gltron/art/classic
@dirrm share/gltron/art/default
@dirrm share/gltron/art/metalTron
@dirrm share/gltron/art
@dirrm share/gltron/data
@dirrm share/gltron/music
@dirrm share/gltron/scripts
@dirrm share/gltron/sounds
@dirrm share/gltron/music
@dirrm share/gltron/data
@dirrm share/gltron/art/default
@dirrm share/gltron/art
@dirrm share/gltron

View file

@ -1,4 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2003/04/11 00:14:12 salo Exp $
$NetBSD: distinfo,v 1.2 2004/01/18 13:58:57 cube Exp $
SHA1 (gltron-0.62-source.tar.gz) = 742e7df98197dcee1feffbc45c26c6da911714e2
Size (gltron-0.62-source.tar.gz) = 3726643 bytes
SHA1 (gltron-0.70-source.tar.gz) = 267bffa75c2c9f8bb1fa8a2d2254eef8b90be1d6
Size (gltron-0.70-source.tar.gz) = 2182440 bytes
SHA1 (patch-aa) = ab420d8775693c0e609879659f9d5cd2b9644398
SHA1 (patch-ab) = 3890e5b3c5c1ba27056e6f6030eac7309816bacb
SHA1 (patch-ac) = b7b42d8bce2c320650bfc45244e98b4ad2769c84
SHA1 (patch-ad) = 1e390a56003edb09ac19d5d29b98447ee8f3b2b2

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2004/01/18 13:58:57 cube Exp $
--- configure.in.orig 2003-12-14 09:42:54.000000000 +0100
+++ configure.in
@@ -137,7 +137,7 @@ $have_gl_h || {
}
dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
+dnl AC_C_CONST
dnl Checks for library functions.
AC_CHECK_FUNCS(strstr mkstemp)

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,24 @@
$NetBSD: patch-ac,v 1.1 2004/01/18 13:58:57 cube Exp $
--- nebu/scripting/scripting.c.orig 2003-12-12 10:05:55.000000000 +0100
+++ nebu/scripting/scripting.c
@@ -169,16 +169,16 @@ int scripting_CopyStringResult(char *s,
return status;
}
-void scripting_RunFile(char *name) {
+void scripting_RunFile(const char *name) {
lua_dofile(L, name);
}
-void scripting_Run(char *command) {
+void scripting_Run(const char *command) {
/* fprintf(stderr, "[command] %s\n", command); */
lua_dostring(L, command);
}
-void scripting_RunFormat(char *format, ... ) {
+void scripting_RunFormat(const char *format, ... ) {
char buf[4096];
va_list ap;
va_start(ap, format);

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2004/01/18 13:58:57 cube Exp $
--- src/gltron.c.orig 2003-07-12 19:15:17.000000000 +0200
+++ src/gltron.c
@@ -9,7 +9,7 @@
#include "base/util.h"
#include "SDL.h"
-int main(int argc, char *argv[] ) {
+int main(int argc, const char *argv[] ) {
initSubsystems(argc, argv);
runScript(PATH_SCRIPTS, "main.lua");
return 0;