You want to talk ugly:
Here is just one of the faulty protos you referred to followed by some code to call the function (written in ASM) i found:
gluPerspective PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
push _100d0
push _100d1
push _01d0
push _01d1
push dword ptr [_aspd+4]
push dword ptr [_aspd]
push _45d0
push _45d1
call gluPerspective
Compare that to your fixed up proto and your invoke:
gluPerspective PROTO :REAL8, :REAL8, :REAL8, :REAL8
invoke gluPerspective,$dConst(45.0),dRatio,$dConst(0.1),$dConst(100.0)
which lays down nicely with the function definition from MSDN:
void gluPerspective(
GLdouble fovy,
GLdouble aspect,
GLdouble zNear,
GLdouble zFar
);
And that is just one example.
I don't know how anyone could work with the masm32 GL includes that way.
Savage, your Xopengl32.inc is destined to be in every household. Keep up the good work
edit~
I see you cleaned it up some
GLprotos.inc it is then - hehe
Nice grunt work.