Ticket #8537: residual-text.diff
File residual-text.diff, 907 bytes (added by , 19 years ago) |
---|
-
lua.cpp
static void BlastText() { 2439 2439 if (lua_istable(tableObj)) 2440 2440 getTextObjectParams(textObject, tableObj); 2441 2441 2442 while (TextObjectExists((char *)text.c_str()) != NULL) 2443 text += TEXT_NULL; 2444 2445 //printf("Make: %s\n", (char *)text.c_str()); 2442 //printf("Blast: %s\n", (char *)text.c_str()); 2446 2443 2447 2444 textObject->setText((char *)text.c_str()); 2448 2445 textObject->createBitmap(); -
engine.h
public: 125 125 void registerTextObject(TextObject *a) { _textObjects.push_back(a); } 126 126 void killTextObject(TextObject *a) { 127 127 _textObjects.remove(a); 128 delete a; 128 129 } 129 130 void killTextObjects() { 130 131 while (!_textObjects.empty()) {