Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75829

Casio Prizm/FX Development & Programming :: RE: Zeldaking's Official C help topic

$
0
0
Author: zeldaking
Posted: 18 Nov 2012 09:43:46 pm (GMT -5)

Okay so I changed some code around, and not it won't compile with KermM's code...
Errors/warnings:

Code:

C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c:17:14: error: expected identifier or '(' before '[' token
C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c: In function 'main':
C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c:39:15: error: 'sprite_ptrs' undeclared (first use in this function)
C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c:39:15: note: each undeclared identifier is reported only once for each function it appears in
C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c: At top level:
C:/PrizmSDK-0.3/projects/Electric_Moon/src/E_Moon.c:96:6: error: conflicting types for 'XORSprite'

Edit:
It seems to be throwing the error on the XORSprite declaration becuase in the function it uses data from char * data which was replaced with const color_t sprite[] what can I replace the data++ with?


Viewing all articles
Browse latest Browse all 75829

Latest Images

Trending Articles



Latest Images