Ticket #2954: gob2debug2.diff
File gob2debug2.diff, 1.6 KB (added by , 18 years ago) |
---|
-
draw_v2.cpp
714 714 break; 715 715 716 716 case DRAW_PRINTTEXT: 717 debugC(5, DEBUG_FUNCOP, "PrintText(%d, %d, %d, \"%s\")", _destSurface, _destSpriteX, _destSpriteY, _textToPrint); 717 718 len = strlen(_textToPrint); 718 719 left = _destSpriteX; 719 720 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { -
global.h
196 196 } 197 197 198 198 inline void writeVar(uint32 offset, uint32 val) { 199 debugC(5, DEBUG_FUNCOP, "SETTING Var %d (%d) to (uint32) %d", offset, offset >> 2, (uint32) val); 199 200 (*(uint32 *)(_inter_variables + offset)) = val; 200 201 writeVarSize(offset, 3); 201 202 } 202 203 inline void writeVar(uint32 offset, uint16 val) { 204 debugC(5, DEBUG_FUNCOP, "SETTING Var %d (%d) to (uint16) %d", offset, offset >> 2, (uint16) val); 203 205 (*(uint16 *)(_inter_variables + offset)) = val; 204 206 writeVarSize(offset, 1); 205 207 } 206 208 inline void writeVar(uint32 offset, uint8 val) { 209 debugC(5, DEBUG_FUNCOP, "SETTING Var %d (%d) to (uint8) %d", offset, offset >> 2, (uint8) val); 207 210 (*(uint8 *)(_inter_variables + offset)) = val; 208 211 writeVarSize(offset, 0); 209 212 } -
parse.cpp
163 163 164 164 void Parse::printExpr(char stopToken) { 165 165 // Expression printing disabled by default 166 return;166 // return; 167 167 168 168 char* savedPos = _vm->_global->_inter_execPtr; 169 169 printExpr_internal(stopToken);