When i try to compile my source code, this appears:
GoAsm.Exe Version 0.56.4 - Copyright Jeremy Gordon 2001/7 - JG@JGnet.co.uk
Error!
Structures are nested too deep (five max)
In the struct at Line 1211 of the include file C:\Documents and Settings\Admin
istrador\Mis documentos\Juan\Proj\DDraw\Ddraw.inc
OBJ file not made
and the structure at line 1211 is:
DDSURFACEDESC2 STRUCT
dwSize DD
dwFlags DD
dwHeight DD
dwWidth DD
UNION
lPitch DD
dwLinearSize DD
ENDS
UNION
dwBackBufferCount DD
dwDepth DD
ENDS
UNION
dwMipMapCount DD
dwRefreshRate DD
dwSrcVBHandle DD
ENDS
dwAlphaBitDepth DD
dwReserved DD
lpSurface DD
UNION
ddckCKDestOverlay DDCOLORKEY
dwEmptyFaceColor DD
ENDS
ddckCKDestBlt DDCOLORKEY
ddckCKSrcOverlay DDCOLORKEY
ddckCKSrcBlt DDCOLORKEY
UNION
ddpfPixelFormat DDPIXELFORMAT
dwFVF DD
ENDS
ddsCaps DDSCAPS2
dwTextureStage DD
ENDS
What can i do to solve this problem???
The last UNION with DDPIXELFORMAT is where the added depth goes beyond the max, but only by one, so for now this could be solved by commenting as follows:
; UNION
ddpfPixelFormat DDPIXELFORMAT
; dwFVF DD
; ENDS
Also, if you needed access to the DWORD at dwFVF, use ddpfPixelFormat.dwSize instead.