* fixed (potential) compile error when using GCC option "-std=gnu99"
(thanks to Tom "spot" Callaway)
+2009-10-30
+ * fixed (potential) compile error when using GCC option "-std=gnu99"
+ (thanks to Tom "spot" Callaway)
+
2009-10-28
* fixed array allocation in native Supaplex engine to correctly handle
preceding scratch buffers (needed because of missing border checking)
2009-10-28
* fixed array allocation in native Supaplex engine to correctly handle
preceding scratch buffers (needed because of missing border checking)
-#define COMPILE_DATE_STRING "2009-10-28 15:07"
+#define COMPILE_DATE_STRING "2009-10-30 22:02"
FreezeZonks = LInfo.InitialFreezeZonks;
#if 1
FreezeZonks = LInfo.InitialFreezeZonks;
#if 1
- /* set by main game tape code directly */
+ /* this is set by main game tape code to native random generator directly */
/* random seed used for recorded demos */
header->DemoRandomSeed = getFile16BitLE(file); /* yes, little endian */
/* random seed used for recorded demos */
header->DemoRandomSeed = getFile16BitLE(file); /* yes, little endian */
+ // header->DemoRandomSeed = getFile16BitBE(file); /* !!! TEST ONLY !!! */
#if 0
printf("::: file.c: DemoRandomSeed == %d\n", header->DemoRandomSeed);
#if 0
printf("::: file.c: DemoRandomSeed == %d\n", header->DemoRandomSeed);
hashtable_iterator(struct hashtable *h);
/*****************************************************************************/
hashtable_iterator(struct hashtable *h);
/*****************************************************************************/
-/* hashtable_iterator_key
- * - return the value of the (key,value) pair at the current position */
+/* key - return the key of the (key,value) pair at the current position */
-extern inline void *
-hashtable_iterator_key(struct hashtable_itr *i)
-{
- return i->e->k;
-}
+void *
+hashtable_iterator_key(struct hashtable_itr *i);
/*****************************************************************************/
/* value - return the value of the (key,value) pair at the current position */
/*****************************************************************************/
/* value - return the value of the (key,value) pair at the current position */
-extern inline void *
-hashtable_iterator_value(struct hashtable_itr *i)
-{
- return i->e->v;
-}
+void *
+hashtable_iterator_value(struct hashtable_itr *i);
/*****************************************************************************/
/* advance - advance the iterator to the next element
/*****************************************************************************/
/* advance - advance the iterator to the next element