Replace invalid characters with HTML entities

— with —
’ with ’
+ with +
× with x
ç with ç
“ with “
” with ”
‘ with ‘
• with •
– with -
µ with µ
† with †
Fix C++
θ with θ
Yen symbol instead of times
Fix broken apos
Bullet again
E-circumflex
This commit is contained in:
James Gregory 2013-12-30 12:50:32 +11:00
commit 500e7f5654
353 changed files with 5091 additions and 5091 deletions

View file

@ -43,7 +43,7 @@
#include &ltstdlib.h&gt
#include &ltmath.h&gt
#include “polygon.h”
#include “polygon.h”
#define ROT_6 (M_PI / 30.0) /* rotate 6 degrees at a time */
#define ROT_3 (M_PI / 60.0) /* rotate 3 degrees at a time */
@ -101,7 +101,7 @@ void InitializeCubes()
for (i=0; i&ltNUM_CUBES; i++) {
if ((WorkingCube = malloc(sizeof(PObject))) == NULL) {
printf(“Couldn't get memory\n”); exit(1); }
printf(“Couldn't get memory\n”); exit(1); }
WorkingCube-&gtDrawFunc = DrawPObject;
WorkingCube-&gtRecalcFunc = XformAndProjectPObject;
WorkingCube-&gtMoveFunc = RotateAndMovePObject;
@ -142,16 +142,16 @@ void InitializeCubes()
WorkingCube-&gtMove.MaxZ = INT_TO_FIXED(InitialMove[i].MaxZ);
if ((WorkingCube-&gtXformedVertexList =
malloc(NUM_CUBE_VERTS*sizeof(Point3))) == NULL) {
printf(“Couldn't get memory\n”); exit(1); }
printf(“Couldn't get memory\n”); exit(1); }
if ((WorkingCube-&gtProjectedVertexList =
malloc(NUM_CUBE_VERTS*sizeof(Point3))) == NULL) {
printf(“Couldn't get memory\n”); exit(1); }
printf(“Couldn't get memory\n”); exit(1); }
if ((WorkingCube-&gtScreenVertexList =
malloc(NUM_CUBE_VERTS*sizeof(Point))) == NULL) {
printf(“Couldn't get memory\n”); exit(1); }
printf(“Couldn't get memory\n”); exit(1); }
if ((WorkingCube-&gtFaceList =
malloc(NUM_CUBE_FACES*sizeof(Face))) == NULL) {
printf(“Couldn't get memory\n”); exit(1); }
printf(“Couldn't get memory\n”); exit(1); }
/* Initialize the faces */
for (j=0; j&ltNUM_CUBE_FACES; j++) {
WorkingCube-&gtFaceList[j].VertNums = VertNumList[j];