|
|
|
|
 | |  |
| const unsigned char * const bmprgb=(((BITMAP *)bitmaps[0][checkbmp].dat)->line[yyy-((yyy/((BITMAP *)bitmaps[1][checkbmp].dat)->h)*(bitmaps[2][checkbmp].dat)->h)]); | |
 | |  |
|
 |
 | |  |
| Ugh. Why the shit won't this compile? | |
 | |  |
|
|
|
|
|
|
|
 |
 | |  |
| You need to cast that third dat member to a BITMAP pointer. But you shouldn't have got yourself into that mess in the first place. C++ is type-safe for a reason, you know. | |
 | |  |
|
|
|
|
|
|
|
 | |  |
| Is there anything John Smeaton can't do?? | |
 | |  |
|
 |
|
|