Free Hero Mesh

Diff
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.

Differences From Artifact [50c4e83094]:

To Artifact [3ade7c9610]:


1944
1945
1946
1947
1948
1949
1950












1951
1952
1953
1954
1955
1956
1957
      if(!level_title) fatal("Allocation failed\n");
      return 0;
    case 'lv': // Set level version
      discard_solution();
      level_version=number;
      level_changed=0;
      return 0;












    case 'mR': // Select MRU relative
      number+=curmru;
      // fall through
    case 'mr': // Select MRU absolute
      if(number>=0 && number<MRUCOUNT) curmru=number;
      return 0;
    case 're': // Resize and clear







>
>
>
>
>
>
>
>
>
>
>
>







1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
      if(!level_title) fatal("Allocation failed\n");
      return 0;
    case 'lv': // Set level version
      discard_solution();
      level_version=number;
      level_changed=0;
      return 0;
    case 'mm': // Modify MRU
      if(curmru>=MRUCOUNT) return prev;
      if(argc>1 && sqlite3_column_type(args,1)!=SQLITE_NULL) {
        x=sqlite3_column_int(args,1)&0x3FFF;
        if(x) mru[curmru].class=x;
      }
      if(argc>2 && sqlite3_column_type(args,2)!=SQLITE_NULL) mru[curmru].img=sqlite3_column_int(args,2)&0xFF;
      if(argc>3 && sqlite3_column_type(args,3)!=SQLITE_NULL) mru[curmru].misc1=UVALUE(sqlite3_column_int64(args,3),sqlite3_column_int64(args,3)>>32);
      if(argc>4 && sqlite3_column_type(args,4)!=SQLITE_NULL) mru[curmru].misc2=UVALUE(sqlite3_column_int64(args,4),sqlite3_column_int64(args,4)>>32);
      if(argc>5 && sqlite3_column_type(args,5)!=SQLITE_NULL) mru[curmru].misc3=UVALUE(sqlite3_column_int64(args,5),sqlite3_column_int64(args,5)>>32);
      if(argc>6 && sqlite3_column_type(args,6)!=SQLITE_NULL) mru[curmru].dir=sqlite3_column_int64(args,6)&7;
      return prev;
    case 'mR': // Select MRU relative
      number+=curmru;
      // fall through
    case 'mr': // Select MRU absolute
      if(number>=0 && number<MRUCOUNT) curmru=number;
      return 0;
    case 're': // Resize and clear