Change HTML4 entities to HTML5

&lt to <
&gt to >
&amp to &
This commit is contained in:
James Gregory 2013-12-30 14:33:39 +11:00
commit b8e7ce7165
105 changed files with 1117 additions and 1117 deletions

View file

@ -66,8 +66,8 @@ void DrawPObject(PObject * ObjectToXform)
must be the first and second entries in the polgyon's vertex list.
Note that the second point is also an active polygon vertex */
VertNumsPtr = FacePtr->VertNums;
NormalEndpoint = &ampObjectToXform->XformedVertexList[*VertNumsPtr++];
NormalStartpoint = &ampObjectToXform->XformedVertexList[*VertNumsPtr];
NormalEndpoint = &ObjectToXform->XformedVertexList[*VertNumsPtr++];
NormalStartpoint = &ObjectToXform->XformedVertexList[*VertNumsPtr];
/* Copy over the face's vertices from the vertex list */
NumVertices = FacePtr->NumVerts;
for (j=0; j<NumVertices; j++)
@ -118,14 +118,14 @@ void DrawPObject(PObject * ObjectToXform)
} else {
/* Handle shading */
/* Do ambient shading, if enabled */
if (AmbientOn &amp&amp (FacePtr->ShadingType &amp AMBIENT-SHADING)) {
if (AmbientOn && (FacePtr->ShadingType & AMBIENT-SHADING)) {
/* Use the ambient shading component */
IntensityTemp = AmbientIntensity;
} else {
SET-INTENSITY(IntensityTemp, 0, 0, 0);
}
/* Do diffuse shading, if enabled */
if (FacePtr->ShadingType &amp DIFFUSE-SHADING) {
if (FacePtr->ShadingType & DIFFUSE-SHADING) {
/* Calculate the unit normal for this polygon, for use in dot
products */
UnitNormal.X = NormalEndpoint->X - NormalStartpoint->X;
@ -155,12 +155,12 @@ void DrawPObject(PObject * ObjectToXform)
}
/* Convert the drawing color to the desired fraction of the
brightest possible color */
IntensityAdjustColor(&ampColorTemp, &ampFacePtr->FullColor,
&ampIntensityTemp);
IntensityAdjustColor(&ColorTemp, &FacePtr->FullColor,
&IntensityTemp);
/* Draw with the cumulative shading, converting from the general
color representation to the best-match color index */
DRAW-POLYGON(Vertices, NumVertices,
ModelColorToColorIndex(&ampColorTemp), 0, 0);
ModelColorToColorIndex(&ColorTemp), 0, 0);
}
}
}