Free Hero Mesh

Check-in [92d021271e]
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:Display the PC character set in the internal test mode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 92d021271ef8ed2df63e94e7a16c61160d8e80c3
User & Date: user on 2021-04-19 21:12:24
Other Links: manifest | tags
Context
2021-04-19
22:04
Implement some more array operations. check-in: f731355880 user: user tags: trunk
21:12
Display the PC character set in the internal test mode. check-in: 92d021271e user: user tags: trunk
2021-04-18
22:54
Add the "next" pattern operator. check-in: 81587e71b1 user: user tags: trunk
Changes

Modified main.c from [7b04ae5810] to [af1be27721].

637
638
639
640
641
642
643






644
645
646
647
648
649
650
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656







+
+
+
+
+
+







  SDL_Event ev;
  char buf[32];
  const UserCommand*uc;
  int i;
  set_cursor(XC_tcross);
  SDL_LockSurface(screen);
  draw_text(0,0,"Hello, World!",0xF0,0xFF);
  buf[16]=0;
  for(i=0;i<16;i++) {
    for(n=0;n<16;n++) buf[n]=(i<<4)+n?:255;
    draw_text(4,(i<<3)+12,buf,0xF0,0xF7);
  }
  n=0;
  SDL_UnlockSurface(screen);
  SDL_Flip(screen);
  while(SDL_WaitEvent(&ev)) switch(ev.type) {
    case SDL_KEYDOWN:
      switch(ev.key.keysym.sym) {
        case SDLK_BACKSPACE:
          n/=10;