diff options
author | Vincent Hamm | 2007-11-03 22:47:19 +0000 |
---|---|---|
committer | Vincent Hamm | 2007-11-03 22:47:19 +0000 |
commit | 3620b19b214796ff7fce11bf54fca9db8ee673cb (patch) | |
tree | ca03e226196f1000b8ce3bc68c6f0c7315953a32 /engines/cruise | |
parent | 121fc7d5691a3409f7501e3e8e2ae6ecff7abf94 (diff) | |
download | scummvm-rg350-3620b19b214796ff7fce11bf54fca9db8ee673cb.tar.gz scummvm-rg350-3620b19b214796ff7fce11bf54fca9db8ee673cb.tar.bz2 scummvm-rg350-3620b19b214796ff7fce11bf54fca9db8ee673cb.zip |
Fix build
svn-id: r29391
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/ctp.cpp | 2 | ||||
-rw-r--r-- | engines/cruise/mainDraw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/ctp.cpp b/engines/cruise/ctp.cpp index 708d12a72e..7922d2c720 100644 --- a/engines/cruise/ctp.cpp +++ b/engines/cruise/ctp.cpp @@ -160,7 +160,7 @@ void renderCTPWalkBox(int X1, int Y1, int X2, int scale, int Y2, walkboxTable[i] = i; } - drawPolyMode2((char *)walkboxTable, numPoints); + drawPolyMode2((unsigned char *)walkboxTable, numPoints); } // this process the walkboxes diff --git a/engines/cruise/mainDraw.h b/engines/cruise/mainDraw.h index 70f7eab11b..90dd4881a8 100644 --- a/engines/cruise/mainDraw.h +++ b/engines/cruise/mainDraw.h @@ -42,8 +42,8 @@ void buildPolyModel(int X, int Y, int scale, char *ptr2, char *destBuffer, char *dataPtr); void mainDrawSub4(int objX1, int var_6, cellStruct * currentObjPtr, char *data1, int objY2, int objX2, char *output, char *data2); -char *drawPolyMode2(char *si, int cx); +unsigned char *drawPolyMode2(unsigned char *dataPointer, int linesToDraw); } // End of namespace Cruise #endif |