Rip out the old sprite update code

This commit is contained in:
Kovid Goyal
2017-10-31 14:23:09 +05:30
parent 38a5e76c50
commit f25d2ea540
14 changed files with 216 additions and 343 deletions

View File

@@ -363,13 +363,6 @@ as_ansi(LineBuf *self, PyObject *callback) {
Py_RETURN_NONE;
}
void
linebuf_refresh_sprite_positions(LineBuf *self) {
for (index_type i = 0; i < self->ynum; i++) {
update_sprites_in_line(lineptr(self, i), self->xnum);
}
}
static PyObject*
__str__(LineBuf *self) {
PyObject *lines = PyTuple_New(self->ynum);