Mail Archives: djgpp/1998/03/05/05:01:06
Dan <dyoon AT home DOT com> writes:
> myship(int newX, int newY)
> {
> x = newX;
> y = newY;
> image = (BITMAP*)data[myship].dat;
> }
> }
When you refer to data[myship].dat, I presume the <myship> is one of
the object identifiers defined in your grabber header file? If so,
you can't also have a class called myship, because this has been
#defined to something else.
If this doesn't explain your problem, try to isolate the smallest
possible complete code example that demonstrates the problem
(something that we can actually compile and run).
Shawn Hargreaves.
- Raw text -