-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiflist.cpp
177 lines (164 loc) · 5.05 KB
/
giflist.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/*
Copyright (C) 1993 Dunbar Aitken
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Glass Plate Game DOS Copyright (C) 1993 Dunbar Aitken
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
*/
#include <stdio.h>
#include <conio.h> /* trace directory */
extern void print_cards(char language);
extern int get1char(char *prompt);
void clrscr();
void print_cards(char language)
{
char list = 'a', response_gl;
if(language == 'e')
while(response_gl != 'c')
{
if(list == 'a')
{
//window(1,11,80,24);
// clrscr();
printf("1. Ambivalence 20. Metamorphosis\n");
printf("2. Anthropomorphism 21. Monetary Value\n");
printf("3. Art vs. Nature 22. Myth\n");
printf("4. Fundamental Theorem of Calculus 23. Nature Tending\n");
printf("5. City as Artifact Towards Perfection\n");
printf("6. Coding 24. Ontogeny Recapitulating\n");
printf("7. Contemplation Phylogeny\n");
printf("8 Creation 25. Perspective\n");
printf("9 Education 26. Reaching out / Trying\n");
printf("10 Emotional Manipulation 27. Return\n");
printf(" 28. Society as active / Passive Hierarchy\n");
}
if(list == 'b')
{
// window(1,11,80,24);
clrscr();
printf("11. Freedom 29. Structural Strength\n");
printf("12. Gestalt 30. Structured Improvisation\n");
printf("13. Harmoney 31. Struggle\n");
printf("14. Struggle 32. Synergy\n");
printf("15. Hidden Potential 33. Syntax\n");
printf("16. Intuition 34. Unwanted Relationships\n");
printf("17. Joy 35. Wavicle\n");
printf("18. Magic\n");
printf("19. Multiplicatio of Mechanical Advantage");
printf("\n");
}
printf("\nChoose card? Toggle list? (c,t) ");
response_gl = getch();
clrscr();
if(response_gl == 't')
{
if(list == 'a')
list = 'b';
else
if(list == 'b')
list = 'a';
}
} // endwhile in English
//window(1,11,80,24);
clrscr();
if(language == 'g')
while(response_gl != 'c')
{
if(list == 'a')
{
// window(1,11,80,24);
clrscr();
printf("1. Ambivalenz\n");
printf("2. Anthropomorphismus\n");
printf("3. Der Gegensatz von Kunst und Natur\n");
printf("4. Unerwnschte Verbindung\n");
printf("5. Die Stadt als Kunstwerk\n");
printf("6. Coding\n");
printf("7. Kontemplation\n");
printf("8. Sch\"pfung\n");
printf("9. Ausbildung und Erziehung\n");
printf("10. Manipulation von Gefhlen\n");
}
if(list == 'b')
{
// window(1,11,80,24);
clrscr();
printf("11. Freiheit\n");
printf("12. Gestalt\n");
printf("13. Harmonie\n");
printf("14. Kampf\n");
printf("15. Unentdeckte M\"glichkeiten\n");
printf("16. Intuition\n");
printf("17. Freude\n");
printf("18. Magik\n");
printf("19. Multiplikation des mechanishen Vorteils\n");
printf("20. Metamorphosis\n");
}
if(list == 'c')
{
// window(1,11,80,24);
clrscr();
printf("21. Geldwert\n");
printf("22. Mythen\n");
printf("23. Natur entwickelt sich zur Perfektion\n");
printf("24. Ontogenie wiederholt Phylogenie\n");
printf("25. Perspektive\n");
printf("26. Sich Ausstrecken\n");
printf("27. Rckkehr\n");
printf("28. (like 16)\n");
printf("29. St„rke von Struktur\n");
printf("30. Strukturelle Improvisation\n");
}
if(list == 'd')
{
// window(1,11,80,24);
clrscr();
printf("31. (like some other card)\n");
printf("32. Synergetik\n");
printf("33. Syntax\n");
printf("34. (like 4)\n");
printf("35. Welle-Teilchen Dualismus\n");
}
printf("\nChoose card? Toggle list? (c,t) ");
response_gl = getch();
clrscr();
if(response_gl == 't')
{
switch(list)
{
case 'a' :
{
list = 'b';
break;
}
case 'b' :
{
list = 'c';
break;
}
case 'c' :
{
list = 'd';
break;
}
case 'd' :
{
list = 'a';
break;
}
}
} /* endif toggle */
} /* endwhile in German */
// window(1,11,80,24);
clrscr();
}