Differences From Artifact [7dea84fa1f]:
- File function.c — part of check-in [98625fd224] at 2022-06-28 06:49:58 on branch trunk — Use the new user state format in the level table implementation. (user: user, size: 66422) [annotate] [blame] [check-ins using]
To Artifact [9d360dcc17]:
- File function.c — part of check-in [063db0939e] at 2022-06-29 05:54:45 on branch trunk — Make do_load_moves and the SQL solution move list function using the new move list decoding functions. (user: user, size: 66443) [annotate] [blame] [check-ins using]
︙ | |||
459 460 461 462 463 464 465 466 467 468 469 470 471 472 | 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | + | long sz; int i=3; unsigned char*d=read_lump(FIL_SOLUTION,level_id,&sz); if(sz<4 || !d || ((!argc || !sqlite3_value_int(*argv)) && (d[0]|(d[1]<<8))!=level_version)) { free(d); return; } if(d[2]&128) i+=4; if(d[2]&1) { while(i<sz && d[i]) i++; i++; } if(d[2]&2) i+=8; if(i<sz) sqlite3_result_blob(cxt,d+i,sz-i,SQLITE_TRANSIENT); free(d); |
︙ |