No functional changes here.
---
bearoff.h | 2 +-
board3d/ChangeLog | 4 ++--
board3d/DrawOGL.c | 6 +++---
board3d/ShimOGL.c | 12 ++++++------
board3d/drawboard3d.c | 6 +++---
board3d/font3d.c | 12 ++++++------
board3d/font3dOGL.c | 8 ++++----
board3d/fun3d.h | 4 ++--
board3d/misc3d.c | 4 ++--
eval.h | 2 +-
10 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/bearoff.h b/bearoff.h
index e741e057..6d29c6c9 100644
--- a/bearoff.h
+++ b/bearoff.h
@@ -37,7 +37,7 @@ typedef struct {
/* one sided dbs */
int fCompressed; /* is database compressed? */
int fGammon; /* gammon probs included */
- int fND; /* normal distibution instead of exact dist? */
+ int fND; /* normal distribution instead of exact dist?
*/
int fHeuristic; /* heuristic database? */
/* two sided dbs */
int fCubeful; /* cubeful equities included */
diff --git a/board3d/ChangeLog b/board3d/ChangeLog
index 1982445a..b359bdc5 100644
--- a/board3d/ChangeLog
+++ b/board3d/ChangeLog
@@ -79,7 +79,7 @@ Mon May 24 8:56:45 2003 GMT Jon Kinsey
<[email protected]>
Wed May 17 9:56:45 2003 GMT Jon Kinsey <[email protected]>
- * drawboard3d.c, misc3d.c: Vary board tesselation based on accuracy
setting
+ * drawboard3d.c, misc3d.c: Vary board tessellation based on accuracy
setting
Wed May 12 10:56:45 2003 GMT Jon Kinsey <[email protected]>
@@ -148,7 +148,7 @@ Fri Nov 21 11:38:45 2003 GMT Jon Kinsey
<[email protected]>
Tue Nov 18 12:38:45 2003 GMT Jon Kinsey <[email protected]>
- * drawboard3d.c: Fixed chequer transparancy problem
+ * drawboard3d.c: Fixed chequer transparency problem
Mon Oct 20 10:38:45 2003 GMT Jon Kinsey <[email protected]>
diff --git a/board3d/DrawOGL.c b/board3d/DrawOGL.c
index 3d7295fd..d34c94e6 100644
--- a/board3d/DrawOGL.c
+++ b/board3d/DrawOGL.c
@@ -474,7 +474,7 @@ MAAmoveIndicator(void)
static void
circleOutlineOutward(float radius, float height, unsigned int accuracy)
-{ /* Draw an ouline of a disc in current z plane
with outfacing normals */
+{ /* Draw an outline of a disc in current z
plane with outfacing normals */
unsigned int i;
float angle, step;
@@ -492,7 +492,7 @@ circleOutlineOutward(float radius, float height, unsigned
int accuracy)
static void
circleOutline(float radius, float height, unsigned int accuracy)
-{ /* Draw an ouline of a disc in current z plane
*/
+{ /* Draw an outline of a disc in current z
plane */
unsigned int i;
float angle, step;
@@ -693,7 +693,7 @@ drawPointLegacy(const renderdata* prd, float tuv, unsigned
int i, int p, int out
}
glEnd();
}
- /* Move rest of point in slighlty */
+ /* Move rest of point in slightly */
if (p)
x -= -((PIECE_HOLE * (1 - TAKI_WIDTH)) / 2.0f);
else
diff --git a/board3d/ShimOGL.c b/board3d/ShimOGL.c
index 70628986..4b4f2377 100644
--- a/board3d/ShimOGL.c
+++ b/board3d/ShimOGL.c
@@ -276,16 +276,16 @@ void SHIMglVertex2f(GLfloat x, GLfloat y)
void SHIMglFrustum(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
GLfloat zNear, GLfloat zFar)
{
- mat4 frustrum;
- glm_frustum(left, right, bottom, top, zNear, zFar, frustrum);
- glm_mat4_mul(*GetCurMatStackMat(), frustrum, *GetCurMatStackMat());
+ mat4 frustum;
+ glm_frustum(left, right, bottom, top, zNear, zFar, frustum);
+ glm_mat4_mul(*GetCurMatStackMat(), frustum, *GetCurMatStackMat());
}
void SHIMglOrtho(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
GLfloat zNear, GLfloat zFar)
{
- mat4 frustrum;
- glm_ortho(left, right, bottom, top, zNear, zFar, frustrum);
- glm_mat4_mul(*GetCurMatStackMat(), frustrum, *GetCurMatStackMat());
+ mat4 frustum;
+ glm_ortho(left, right, bottom, top, zNear, zFar, frustum);
+ glm_mat4_mul(*GetCurMatStackMat(), frustum, *GetCurMatStackMat());
}
void SHIMglLoadIdentity(void)
diff --git a/board3d/drawboard3d.c b/board3d/drawboard3d.c
index d98a69b7..cb85ce55 100644
--- a/board3d/drawboard3d.c
+++ b/board3d/drawboard3d.c
@@ -1550,7 +1550,7 @@ drawPoint(const renderdata* prd, float tuv, unsigned int
i, int p, int outline)
}
glEnd();
}
- /* Move rest of point in slighlty */
+ /* Move rest of point in slightly */
if (p)
x -= -((PIECE_HOLE * (1 - TAKI_WIDTH)) / 2.0f);
else
@@ -2971,8 +2971,8 @@ int RenderGlyph(const FT_Outline* pOutline)
glNormal3f(0.0f, 0.0f, 1.0f);
- for (index = 0; index < mesh.tesselations->len; index++) {
- Tesselation* subMesh = &g_array_index(mesh.tesselations,
Tesselation, index);
+ for (index = 0; index < mesh.tessellations->len; index++) {
+ Tessellation* subMesh = &g_array_index(mesh.tessellations,
Tessellation, index);
glBegin(subMesh->meshType);
for (point = 0; point < subMesh->tessPoints->len; point++) {
diff --git a/board3d/font3d.c b/board3d/font3d.c
index 99d98946..209ae559 100644
--- a/board3d/font3d.c
+++ b/board3d/font3d.c
@@ -76,7 +76,7 @@ AddPoint(GArray* points, double x, double y)
{
if (points->len > 0) { /* Ignore duplicate contour points */
Point3d* point = &g_array_index(points, Point3d, points->len -
1);
- /* See if point is duplicated (often happens when tesselating)
+ /* See if point is duplicated (often happens when tessellating)
* so suppress lint error 777 (testing floats for equality) */
if ( /*lint --e(777) */ point->data[0] == x && point->data[1]
== y)
return;
@@ -220,7 +220,7 @@ GetFontHeight3d(const OGLFont* font)
}
GList* combineList;
-static Tesselation curTess;
+static Tessellation curTess;
extern void
TidyMemory(const Vectoriser* pVect, const Mesh* pMesh)
@@ -233,11 +233,11 @@ TidyMemory(const Vectoriser* pVect, const Mesh* pMesh)
g_array_free(contour->conPoints, TRUE);
}
g_array_free(pVect->contours, TRUE);
- for (i = 0; i < pMesh->tesselations->len; i++) {
- Tesselation* subMesh = &g_array_index(pMesh->tesselations,
Tesselation, i);
+ for (i = 0; i < pMesh->tessellations->len; i++) {
+ Tessellation* subMesh = &g_array_index(pMesh->tessellations,
Tessellation, i);
g_array_free(subMesh->tessPoints, TRUE);
}
- g_array_free(pMesh->tesselations, TRUE);
+ g_array_free(pMesh->tessellations, TRUE);
for (pl = g_list_first(combineList); pl; pl = g_list_next(pl)) {
g_free(pl->data);
@@ -286,7 +286,7 @@ tcbBegin(GLenum type, Mesh* UNUSED(pMesh))
void TESS_CALLBACK
tcbEnd( /*lint -e{818} */ Mesh* pMesh)
{ /* Declaring pMesh as constant isn't useful as
pointer member is modified (error 818) */
- g_array_append_val(pMesh->tesselations, curTess);
+ g_array_append_val(pMesh->tessellations, curTess);
}
#include "ShimOGL.h"
diff --git a/board3d/font3dOGL.c b/board3d/font3dOGL.c
index 45e38461..c6cbbfc8 100644
--- a/board3d/font3dOGL.c
+++ b/board3d/font3dOGL.c
@@ -19,7 +19,7 @@
#include "config.h"
#include "legacyGLinc.h"
-#include <GL/glu.h> /* Used for vertex tesselation */
+#include <GL/glu.h> /* Used for vertex tessellation */
#include "fun3d.h"
#include "util.h"
@@ -218,8 +218,8 @@ MAArenderGlyph(const FT_Outline* pOutline, int AA)
glNormal3f(0.f, 0.f, 1.f);
if (!AA)
{ // Inner part of font
- for (index = 0; index < mesh.tesselations->len; index++) {
- Tesselation* subMesh =
&g_array_index(mesh.tesselations, Tesselation, index);
+ for (index = 0; index < mesh.tessellations->len; index++) {
+ Tessellation* subMesh =
&g_array_index(mesh.tessellations, Tessellation, index);
glBegin(subMesh->meshType);
for (point = 0; point < subMesh->tessPoints->len;
point++) {
@@ -291,7 +291,7 @@ PopulateMesh(const Vectoriser* pVect, Mesh* pMesh)
combineList = NULL;
- pMesh->tesselations = g_array_new(FALSE, FALSE, sizeof(Tesselation));
+ pMesh->tessellations = g_array_new(FALSE, FALSE, sizeof(Tessellation));
gluTessCallback(tobj, GLU_TESS_BEGIN_DATA, GLUFUN(tcbBegin));
gluTessCallback(tobj, GLU_TESS_VERTEX_DATA, GLUFUN(tcbVertex));
diff --git a/board3d/fun3d.h b/board3d/fun3d.h
index df06079f..bb44ddba 100644
--- a/board3d/fun3d.h
+++ b/board3d/fun3d.h
@@ -98,10 +98,10 @@ typedef struct {
typedef struct {
GArray* tessPoints;
GLenum meshType;
-} Tesselation;
+} Tessellation;
typedef struct {
- GArray* tesselations;
+ GArray* tessellations;
} Mesh;
#define TT_COUNT 3 /* 3 texture types: general, piece and hinge */
diff --git a/board3d/misc3d.c b/board3d/misc3d.c
index e73a1a8c..8d1ca04f 100644
--- a/board3d/misc3d.c
+++ b/board3d/misc3d.c
@@ -64,8 +64,8 @@ idle(BoardData3d * bd3d)
void
StopIdle3d(const BoardData * bd, BoardData3d * bd3d)
-{ /* Animation has finished (or could have been
interruptted) */
- /* If interruptted - reset dice/moving piece details */
+{ /* Animation has finished (or could have been
interrupted) */
+ /* If interrupted - reset dice/moving piece details */
if (bd3d->shakingDice) {
bd3d->shakingDice = 0;
updateDiceOccPos(bd, bd3d);
diff --git a/eval.h b/eval.h
index 9a09b131..02e6780b 100644
--- a/eval.h
+++ b/eval.h
@@ -51,7 +51,7 @@
* rollouts do. */
#define OUTPUT_CUBEFUL_EQUITY 6
-/* Cubeful evalutions */
+/* Cubeful evaluations */
typedef enum {
OUTPUT_OPTIMAL = 0,
OUTPUT_NODOUBLE,
--
2.54.0