de-lint. disable c++ parentheses warnings. fix casts in AROSPDFApp.cc
[AROS-Contrib.git] / fish / 362_rubik / blurb.c
blob734a6c7a68c9a7e199b12bc8224962b5e6c9bf2e
1 /* blurb for rubik */
3 #include <aros/oldprograms.h>
5 #include <string.h>
7 extern struct Window *window,*wnd1,*wnd2;
8 extern struct GfxBase * GfxBase;
9 struct Window *w;
11 void clean()
13 if (window == wnd1)
14 w = wnd2;
15 else
16 w = wnd1;
18 SetAPen (w->RPort,0);
19 SetDrMd (w->RPort,JAM1);
20 RectFill(w->RPort,2,10,190,198);
21 SetAPen (w->RPort,7);
24 void blurb (short line, char *p)
26 Move (w->RPort,2,20+10*line);
27 Text (w->RPort,p,strlen(p));
30 void helpblurb()
32 clean();
33 blurb(1,"Use SETUP mode to paint");
34 blurb(2,"the cube till it looks");
35 blurb(3,"like yours. Then click");
36 blurb(4,"SOLVE.");
37 blurb(5,"In NORMAL mode, you can");
38 blurb(6,"twist a face to the");
39 blurb(7,"left or right, by");
40 blurb(8,"pointing at it, and");
41 blurb(9,"clicking the left or");
42 blurb(10,"right mouse button.");
43 blurb(12,"The gadgets at the top");
44 blurb(13,"right of the screen");
45 blurb(14,"rotate the whole cube.");
46 blurb(16,"CLICK TO CONTINUE....");
49 void aboutblurb()
51 clean();
52 blurb(1,"Written by Martin Round");
53 blurb(2,"Halesowen England.");
54 blurb(4,"V 1.0 Public Domain.");
55 blurb(6,"Contact me on these BBs");
56 blurb(7,"MABBS: 021-444-8972");
57 blurb(8,"Plug Ole: 021-472-0256");
58 blurb(9,"AMLINK: 021-778-5868");
59 blurb(11,"Does anyone have some");
60 blurb(12,"code to solve cubes in");
61 blurb(13,"sixty moves or less?");
62 blurb(16,"CLICK TO CONTINUE....");