1 --- allegro-4.4.1.1/docs/src/allegro._tx~ 2010-03-03 11:07:40.000000000 +0100
2 +++ allegro-4.4.1.1/docs/src/allegro._tx 2010-03-15 15:43:49.924691978 +0100
4 @# This should remain commented at the moment (dvi output) @$@finalout
7 -@$@dircategory Libraries
8 +@$@dircategory Libraries:
10 -@$* Allegro: (allegro). The Allegro game programming library.
11 +@$* Allegro: (allegro). The Allegro game programming library
13 @$This is the Info version of the Allegro manual
15 @@ -12197,7 +12197,7 @@
16 0, 0, 0, /* Viewer position, in this case, 0/0/0. */
17 0, 0, -1, /* Viewer direction, in this case along negative z. */
18 0, 1, 0, /* Up vector, in this case positive y. */
19 - 32, /* The FOV, here 45°. */
20 + 32, /* The FOV, here 45°. */
21 (float)SCREEN_W / (float)SCREEN_H)); /* Aspect ratio. */
23 /* Applying the matrix transforms the point 100/200/-300
24 @@ -12384,7 +12384,7 @@
25 The fov parameter specifies the field of view (ie. width of the camera
26 focus) in binary, 256 degrees to the circle format. For typical
27 projections, a field of view in the region 32-48 will work well. 64
28 - (90°) applies no extra scaling - so something which is one unit away
29 + (90°) applies no extra scaling - so something which is one unit away
30 from the viewer will be directly scaled to the viewport. A bigger FOV
31 moves you closer to the viewing plane, so more objects will appear. A
32 smaller FOV moves you away from the viewing plane, which means you see a
33 --- allegro-4.4.3.1/docs/src/makedoc/makedoc.c.orig 2019-03-04 02:30:11.000000000 +0100
34 +++ allegro-4.4.3.1/docs/src/makedoc/makedoc.c 2019-12-03 16:16:18.533920627 +0100
44 static void _add_line(char *buf, int flags);
45 static void _add_toc_line(const char *buf, const char *alt, int root, int num, int texinfoable, int htmlable, int otherfile);
46 static void _add_external_file(const char *buf, int line_number);
47 -static char *_my_fgets(char *p, int max, FILE *f);
48 +static char *_my_fgets(char *p, int max, FILE *f, bool expand);
49 static void _add_toc(char *buf, int root, int num, int texinfoable, int htmlable);
50 static void _activate_email_mangling(const char *txt);
51 static void _mangle_email_links(char *buf);
58 /*printf("reading %s\n", filename);*/
64 - while (_my_fgets(buf, 1023, f)) {
65 + while (_my_fgets(buf, 1023, f, expand)) {
66 char *end = strpbrk(buf, "\r\n");
70 else if (strincmp(buf+1, "external-css=") == 0)
71 html_css_filename = m_strdup(buf+14);
72 else if (buf[1] == '$')
74 + if (strincmp(buf+2, "@direntry") == 0)
76 + else if (strincmp(buf+2, "@end direntry") == 0)
78 _add_line(buf+2, TEXINFO_FLAG | TEXINFO_CMD_FLAG);
80 else if (buf[1] == '@') {
81 char *found_struct_definition = strstr(buf+2, "struct @");
82 if(!found_struct_definition)
84 * on the character buffer being modifiable, so cleaning this would
85 * practically mean having to rewrite the other functions too.
87 -static char *_my_fgets(char *p, int max, FILE *f)
88 +static char *_my_fgets(char *p, int max, FILE *f, bool expand)
94 else if (p[c] == '\n')
96 - else if (p[c] == '\t') {
97 + else if (expand && (p[c] == '\t')) {