home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / games / gemamigo / src / main.cc < prev    next >
C/C++ Source or Header  |  1994-04-17  |  473b  |  35 lines

  1. #include "gemui.h"
  2. #include "ui.h"
  3. #include "amigo.h"
  4.  
  5. void
  6. main(int argc, char**argv)
  7. {
  8.     GEM_UI gemui;
  9.  
  10.     if (!!gemui) {
  11.         ui=&gemui;
  12.         ui->Go();
  13.     }
  14. }
  15.  
  16. void placestone(bVal color, short x, short y)
  17. {
  18.     ui->PlaceStone(color,x,y);
  19. }
  20.  
  21. void removestone(short x, short y)
  22. {
  23.     ui->RemoveStone(x,y);
  24. }
  25.  
  26. void showresult(short wt, short bp, short bt, short wp)
  27. {
  28.     ui->ShowResult(wt,bp,bt,wp);
  29. }
  30.  
  31. void intrPrisonerReport(short black, short white)
  32. {
  33.     ui->PrisonerReport(black,white);
  34. }
  35.