Free Hero Mesh

Check-in [2da745c85b]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Allow left and right arrow keys in class select menu to select which image
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2da745c85b8857334d6360e0894281d0a19ee58a
User & Date: user on 2019-02-10 18:10:47
Other Links: manifest | tags
Context
2019-05-18
03:37
Start writing code for executing class codes (untested) check-in: 52a2dcb87d user: user tags: trunk
2019-02-10
18:10
Allow left and right arrow keys in class select menu to select which image check-in: 2da745c85b user: user tags: trunk
2018-10-31
23:35
Implement more of the class/image select menu check-in: 39715134ca user: user tags: trunk
Changes

Modified edit.c from [ac0c1161ab] to [edf43e2b05].

263
264
265
266
267
268
269












270
271
272
273
274
275
276
                    continue;
                  }
                }
              }
              ++namei;
            }
            goto redraw;












          default:
            j=ev.key.keysym.unicode;
            if(j=='$' || j==21) {
              namei=0;
              goto redraw;
            }
            if(j>32 && j<127 && namei<254) {







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







263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
                    continue;
                  }
                }
              }
              ++namei;
            }
            goto redraw;
          case SDLK_LEFT:
            for(i=0;i<imgcount-1;i++) if(img==imglist[i+1]) {
              img=imglist[i];
              goto redraw;
            }
            break;
          case SDLK_RIGHT:
            for(i=0;i<imgcount-1;i++) if(img==imglist[i]) {
              img=imglist[i+1];
              goto redraw;
            }
            break;
          default:
            j=ev.key.keysym.unicode;
            if(j=='$' || j==21) {
              namei=0;
              goto redraw;
            }
            if(j>32 && j<127 && namei<254) {