Bug in STARTPOLY?

Previous topic - Next topic

Armoured

When I compile the "Scramble" example:

Quote*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.2008.172 - 3D, NET
"Scramble.gbas"(297) warning : variable already exists : scale
"Scramble.gbas"(297) warning : variable already exists : gameover
"Scramble.gbas"(297) warning : variable already exists : scrn
"Scramble.gbas"(431) warning : variable already exists : tank
"Scramble.gbas"(565) warning : variable already exists : colormode
"Scramble.gbas"(614) warning : variable already exists : scrn
"Scramble.gbas"(634) warning : variable already exists : y
"Scramble.gbas"(637) warning : variable already exists : cave
"Scramble.gbas"(695) warning : variable already exists : score
"Scramble.gbas"(695) warning : variable already exists : name$
"Scramble.gbas"(695) warning : variable already exists : flicker
"Scramble.gbas"(589) error : wrong number or aguments : "STARTPOLY" called with 1 args. Required: 0 to 0

a Bug?

Moru

That bug is already reported, Gernot is looking into it

Armoured

Quote from: Moru on 2008-Jun-23
That bug is already reported, Gernot is looking into it

Ok I haven't read the post.  =)
GLBasic is very interesting

Kitty Hello

GLBasic/Compiler/platform/prototypes.txt
The line:
v:STARTPOLY:STARTPOLY SpriteID# // (ID=-1: No Texture)§STARTPOLY SpriteID# // (ID=-1: Keine Textur)
must be
va:STARTPOLY:STARTPOLY SpriteID# // (ID=-1: No Texture)§STARTPOLY SpriteID# // (ID=-1: Keine Textur)

(2nd character "a" must be inserted.)

I'll do an update soon.