View Single Post
Old 23 May 2017, 01:55   #6
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 2,336
Ah, interesting... It doesn't appear to be in either the AB3 version of bb2objtypes.res or the BB2 version I have here. I've added it anyway to the AmigaCoding list.

Be careful here though, and remember that lower-case Newtypes are generally Blitz internal objects, whereas CamelCase Newtypes are generally OS structs as defined in amigalibs.res (and prepended with an underscore in all.res). I was a little confused about that earlier, and it's the OS struct that earok appears to be using in his code.

The attachment is the AB3 definition of the .CopList Newtype (the OS-defined one), which is the one you appear to be using earok. It matches the struct defined in the Amiga SDK (includes/graphics/copper.h), but just like for other objects, is different to the Blitz internal .coplist Newtype.
Attached Thumbnails
Click image for larger version

Name:	Grab_Definition Browser_22-May-17_000.png
Views:	33
Size:	28.4 KB
ID:	53194  
Daedalus is offline  
 
Page generated in 0.07135 seconds with 11 queries