Differences From Artifact [fba48953dd]:
- File edit.c — part of check-in [2f8784fac0] at 2021-02-16 07:11:26 on branch trunk — In the level editor, add the possibility to clear levels, resize levels, and to fill the playfield with one kind of object. (user: user, size: 19041) [annotate] [blame] [check-ins using]
To Artifact [7b51e96b29]:
- File edit.c — part of check-in [a87bcb73f5] at 2021-02-16 22:21:11 on branch trunk — In add_mru function in editor, do not add blank MRUs (user: user, size: 19059) [annotate] [blame] [check-ins using]
︙ | |||
193 194 195 196 197 198 199 200 201 202 203 204 205 206 | 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | + | s=sqlite3_str_finish(m); if(s) SDL_WM_SetCaption(s,s); else SDL_WM_SetCaption("Free Hero Mesh","Free Hero Mesh"); sqlite3_free(s); } static void add_mru(int cl,int img) { int i; if(!cl) return; for(i=0;i<MRUCOUNT-1;i++) if(mru[i].class==cl && mru[i].img==img) break; memmove(mru+1,mru,i*sizeof(MRU)); mru[0].class=cl; mru[0].img=img; mru[0].dir=0; mru[0].misc1=mru[0].misc2=mru[0].misc3=NVALUE(0); } |
︙ |