summaryrefslogtreecommitdiff
path: root/src/post/goom/lines.c
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 21:57:30 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-01-28 21:57:30 +0000
commit699cd1ced66dc1ae4b72afc45352c486b9a6a7b1 (patch)
tree3ddaa4de359986c0a49fee6615669148f45146fe /src/post/goom/lines.c
parentf56a12a85f48a02880ed1d073567d2d2c3e8bddb (diff)
downloadxine-lib-699cd1ced66dc1ae4b72afc45352c486b9a6a7b1.tar.gz
xine-lib-699cd1ced66dc1ae4b72afc45352c486b9a6a7b1.tar.bz2
- Patch from Jeff Smith (remove warnings)
- Last ppc asm code from Guillaume Borios (not used yet) - Add callbacks to config entries. Each change takes effect immediately (including resolution and fps) ;) CVS patchset: 4026 CVS date: 2003/01/28 21:57:30
Diffstat (limited to 'src/post/goom/lines.c')
-rw-r--r--src/post/goom/lines.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/post/goom/lines.c b/src/post/goom/lines.c
index 28c25d57e..7cda48ef4 100644
--- a/src/post/goom/lines.c
+++ b/src/post/goom/lines.c
@@ -22,7 +22,7 @@ static void
draw_line (int *data, int x1, int y1, int x2, int y2, int col, int screenx,
int screeny)
{
- int x, y, dx, dy, yy, xx, am, tmp;
+ int x, y, dx, dy, yy, xx;
int *p;
/* DATA32 *p; */
@@ -260,8 +260,6 @@ void
goom_lines_set_res (GMLine * gml, int rx, int ry)
{
if (gml != NULL) {
- int i;
-
gml->screenX = rx;
gml->screenY = ry;
@@ -355,10 +353,6 @@ goom_lines_init (int rx, int ry,
int IDsrc, float paramS, int coulS,
int IDdest, float paramD, int coulD)
{
- int i;
- unsigned char *color;
- unsigned char power = 4;
-
GMLine *l = (GMLine *) malloc (sizeof (GMLine));
l->points = (GMUnitPointer *) malloc (512 * sizeof (GMUnitPointer));