summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/caas.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /kpat/freecell-solver/caas.c
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/freecell-solver/caas.c')
-rw-r--r--kpat/freecell-solver/caas.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpat/freecell-solver/caas.c b/kpat/freecell-solver/caas.c
index 4d359a40..8e8f5ebb 100644
--- a/kpat/freecell-solver/caas.c
+++ b/kpat/freecell-solver/caas.c
@@ -63,7 +63,7 @@
if (hash_value_int < 0) \
{ \
/* \
- * This is a bit tqmask that nullifies the sign bit of the \
+ * This is a bit mask that nullifies the sign bit of the \
* number so it will always be positive \
* */ \
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1))); \
@@ -92,7 +92,7 @@
if (hash_value_int < 0) \
{ \
/* \
- * This is a bit tqmask that nullifies the sign bit of the \
+ * This is a bit mask that nullifies the sign bit of the \
* number so it will always be positive \
* */ \
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1))); \
@@ -333,7 +333,7 @@ static GCC_INLINE void freecell_solver_cache_stacks(
if (hash_value_int < 0)
{
/*
- * This is a bit tqmask that nullifies the sign bit of the
+ * This is a bit mask that nullifies the sign bit of the
* number so it will always be positive
* */
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1)));
@@ -437,7 +437,7 @@ void freecell_solver_cache_talon(
if (hash_value_int < 0)
{
/*
- * This is a bit tqmask that nullifies the sign bit of the
+ * This is a bit mask that nullifies the sign bit of the
* number so it will always be positive
* */
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1)));
@@ -529,9 +529,9 @@ GCC_INLINE int freecell_solver_check_and_add_state(
if (check)
{
/* The new state was not found in the cache, and it was already inserted */
- if (new_state->tqparent)
+ if (new_state->parent)
{
- new_state->tqparent->num_active_tqchildren++;
+ new_state->parent->num_active_tqchildren++;
}
instance->num_states_in_collection++;