AC3D loader for 2D polygon shapes

Previous topic - Next topic

Kitty Hello

I made a quick update to the poly shape library in the showroom:
http://www.glbasic.com/showroom.php?game=AC3DPoly

That's the library I used for Dr. Shiver

bigsofty

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Hatonastick

I just downloaded this to try it and for some reason I'm getting a syntax error in GLB 7 (with all the updates, haven't upgraded to 8 Beta yet) in the 'AC3D_intern_col_poly_poly' function here:
Code (glbasic) Select
?IFDEF GLB_DEBUG

I'm guessing that it doesn't recognise 'GLB_DEBUG'?  There certainly isn't anything that leaps out at me when I go through the code in that function and it does seem to think the error is in that one line.
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

Kitty Hello

Very strange. Just comment that part out then.

Hatonastick

Well if it's a bug it's not worth looking at as v8 is the future.  Just thought it was odd. :)

Yeah by the looks of it, it's having problems with all lines that use that command.  Took them out and it all works fine.
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).