Ticket #8480: kyra_msvc_warnings.diff

File kyra_msvc_warnings.diff, 1.4 KB (added by SF/doc_wagon, 19 years ago)

the patch as .diff file

  • kyra/kyra.cpp

    RCS file: /cvsroot/scummvm/scummvm/kyra/kyra.cpp,v
    retrieving revision 1.63
    diff -u -3 -p -r1.63 kyra.cpp
    void KyraEngine::setCharactersPositions(  
    11851185               0x00CA, 0x00F0, 0x0082, 0x00A2, 0x0042, 0x6767,
    11861186               0x5A60
    11871187       };
    1188        static int8 initYPosTable[] = {
     1188       static uint8 initYPosTable[] = {
    11891189               0x00, 0xA2, 0x00, 0x42, 0x00,
    11901190               0x67, 0x67, 0x60, 0x5A, 0x71,
    11911191               0x76
  • kyra/staticres.cpp

    RCS file: /cvsroot/scummvm/scummvm/kyra/staticres.cpp,v
    retrieving revision 1.13
    diff -u -3 -p -r1.13 staticres.cpp
    const char *KyraEngine::_xmidiFiles[] =  
    574574const int KyraEngine::_xmidiFilesCount = ARRAYSIZE(_xmidiFiles);
    575575
    576576const int8 KyraEngine::_charXPosTable[] = {
    577        0x00, 0x04, 0x04, 0x04, 0x00, 0xFC, 0xFC, 0xFC
     577       0, 4, 4, 4, 0, -4, -4, -4
    578578};
    579579
    580580const int8 KyraEngine::_charYPosTable[] = {
    581        0xFE, 0xFE, 0x00, 0x03, 0x02, 0x02, 0x00, 0xFE
     581       -2, -2, 0, 3, 2, 2, 0, -2
    582582};
    583583
    584584} // End of namespace Kyra