delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/01/04:33:22

From: Kevin Joiner <fritz AT flash DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: need help with a 3d routine!!
Date: Thu, 29 Jan 1998 22:13:01 -0500
Organization: Section 6
Lines: 22
Sender: fritz AT remote86 DOT server1 DOT local DOT premium DOT dialup DOT unt DOT edu
Message-ID: <34D1453D.1173@flash.net>
Reply-To: fritz AT flash DOT net
NNTP-Posting-Host: remote86.server1.local.premium.dialup.unt.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ok here's the problem. I want to use some 3d routines from Andre
Lamothe's book, Black Art of 3d Game Programming. Unfortunately the code
is for Borland and doesn't want to compile. I am attempting to take some
of the routines and use them with allegro for a project i am working on. 

I keep getting this error though:

Error: type specifier omitted for parameter
Error: parse error before '*'

they are referring to this function declaration:

char *PLG_Get_Line(char *string, int max_length, FILE *fp);

i think that the char type might be a typo since in the definition the
return type is int. Anyway, I was wondering if anyone can see something
dumb that I'm trying to do at a glance. Any advice would be appreciated.

thanks

fritz AT flash DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019