Reply to Re: The Intro-duck-tion
If you don't have an account, just leave the password field blank.
@ Toof:
> I always thought that int is short of initiate or something, it never occurred to me that int is probably integer. Is that integer sprite's object number that is generated automatically or what?
To quote the Dink Bible*, "The only type of variables that may be defined in DinkC are 32-bit integers (range of values +2147483647 to -2147483648)." So, yes, you are right. In your example, &someSprite is indeed an integer that becomes an "&active_sprite" number for this object, suitable for use in any sp_xxxxx() function, etc.
*=DINKC Reference v3.1 text file.
> I always thought that int is short of initiate or something, it never occurred to me that int is probably integer. Is that integer sprite's object number that is generated automatically or what?
To quote the Dink Bible*, "The only type of variables that may be defined in DinkC are 32-bit integers (range of values +2147483647 to -2147483648)." So, yes, you are right. In your example, &someSprite is indeed an integer that becomes an "&active_sprite" number for this object, suitable for use in any sp_xxxxx() function, etc.
*=DINKC Reference v3.1 text file.