Diff for games/_shared/my-graph.c between version 1.9 and 1.10
| version 1.9, 2003/08/12 20:50:59 |
version 1.10, 2003/08/15 16:18:42 |
|
|
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon: games/_shared/my-graph.c,v 1.8 2003/08/03 21:34:18 nepto Exp $ */ |
/* $Platon: games/_shared/my-graph.c,v 1.9 2003/08/12 20:50:59 nepto Exp $ */ |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
| Line 67 int my_graph_init(int pagging) /* {{{ */ |
|
| Line 67 int my_graph_init(int pagging) /* {{{ */ |
|
| /* read result of initialization */ |
/* read result of initialization */ |
| errorcode = graphresult(); |
errorcode = graphresult(); |
| if (errorcode != grOk) /* an error occurred */ { |
if (errorcode != grOk) /* an error occurred */ { |
| printf("Graphics error: %s\n", grapherrormsg(errorcode)); |
printf("Graphics error %d: %s\n", errorcode, grapherrormsg(errorcode)); |
| return -1; |
return -1; |
| } |
} |
| pagging = pagging; /* not implemented */ |
pagging = pagging; /* not implemented */ |
Platon Group <platon@platon.org> http://platon.org/
|
|