Overview
| Comment: | Fix another mistake in saving levels |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
5a0f5f4cb4c83f39eda0cb4d5c6f537c |
| User & Date: | user on 2021-03-02 23:07:51.494 |
| Other Links: | manifest | tags |
Context
|
2021-03-03
| ||
| 00:45 | Implement and document user-defined function calls. Also document the goto and gosub operators. check-in: 939a14c642 user: user tags: trunk | |
|
2021-03-02
| ||
| 23:07 | Fix another mistake in saving levels check-in: 5a0f5f4cb4 user: user tags: trunk | |
|
2021-02-27
| ||
| 00:49 | Reserve two more of the HIT/HITBY bits for future check-in: c0bb41bad2 user: user tags: trunk | |
Changes
Modified edit.c
from [e1933f37c4]
to [2014453d2e].
| ︙ | ︙ | |||
114 115 116 117 118 119 120 |
if(o->class!=p->class || o->image!=p->image || !ValueEq(o->misc1,p->misc1) || !ValueEq(o->misc2,p->misc2) || !ValueEq(o->misc3,p->misc3)) goto nrle;
if(0x0F&~r) {
r++;
} else {
sqlite3_str_appendchar(s,1,r);
if(r&0x20) sqlite3_str_appendchar(s,1,rx);
if(r&0x10) sqlite3_str_appendchar(s,1,ry);
| | | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
if(o->class!=p->class || o->image!=p->image || !ValueEq(o->misc1,p->misc1) || !ValueEq(o->misc2,p->misc2) || !ValueEq(o->misc3,p->misc3)) goto nrle;
if(0x0F&~r) {
r++;
} else {
sqlite3_str_appendchar(s,1,r);
if(r&0x20) sqlite3_str_appendchar(s,1,rx);
if(r&0x10) sqlite3_str_appendchar(s,1,ry);
r=0xC0;
}
return;
nrle:
if(r) {
sqlite3_str_appendchar(s,1,r);
if(r&0x20) sqlite3_str_appendchar(s,1,rx);
if(r&0x10) sqlite3_str_appendchar(s,1,ry);
|
| ︙ | ︙ |