diff options
author | Paul Gilbert | 2009-02-19 09:57:39 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-02-19 09:57:39 +0000 |
commit | 935e748e624b307647208c7072bd6a8c8424cf08 (patch) | |
tree | f41a5c76c49a3ea45e6ddb3f9bb51a1d0f9da62b /engines/cruise/cell.cpp | |
parent | fc6221e781001f3f59e5b6822d94c00c24bae51c (diff) | |
download | scummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.tar.gz scummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.tar.bz2 scummvm-rg350-935e748e624b307647208c7072bd6a8c8424cf08.zip |
In progress work on cleaning up the font system - giving proper variable names, types, and converted memory accesses to endian safe structures
svn-id: r38540
Diffstat (limited to 'engines/cruise/cell.cpp')
-rw-r--r-- | engines/cruise/cell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/cell.cpp b/engines/cruise/cell.cpp index 8eaeb6d15c..799a4a1770 100644 --- a/engines/cruise/cell.cpp +++ b/engines/cruise/cell.cpp @@ -128,7 +128,7 @@ cellStruct *addCell(cellStruct *pHead, int16 overlayIdx, int16 objIdx, int16 typ void createTextObject(cellStruct *pObject, int overlayIdx, int messageIdx, int x, int y, int width, int16 color, int backgroundPlane, int parentOvl, int parentIdx) { - char *ax; + const char *ax; cellStruct *savePObject = pObject; cellStruct *cx; @@ -173,7 +173,7 @@ void createTextObject(cellStruct *pObject, int overlayIdx, int messageIdx, int x ax = getText(messageIdx, overlayIdx); if (ax) { - pNewElement->gfxPtr = renderText(width, (uint8 *) ax); + pNewElement->gfxPtr = renderText(width, ax); } } |