anagramarama
14 years agoUse a macro to indicate the space character substitution.
Pat Thoyts [Thu, 17 Jun 2010 00:00:02 +0000 (01:00 +0100)]
Use a macro to indicate the space character substitution.
It is somewhat safer to avoid non-ASCII characters in the source files
so avoid potential encoding issues on non-English platforms. And we may
as well use the # char as anything else. Macroified all usage of this
character and cleaned the errors reported by gcc for unchecked results.
Use fseek rather than reopening the wordlist file to start again.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoFinished the NSI installer - default create the start menu items.
Pat Thoyts [Wed, 16 Jun 2010 23:33:23 +0000 (00:33 +0100)]
Finished the NSI installer - default create the start menu items.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoProvide a Windows installer.
Pat Thoyts [Wed, 16 Jun 2010 12:38:07 +0000 (13:38 +0100)]
Provide a Windows installer.
This patch implements an installer for Windows using the open source
Nullsoft Scriptable Installation System (http://nsis.sourceforge.net) to
create a simple installation option for end users.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoMerged C code cleanup and low-cpu branch to master
Pat Thoyts [Wed, 16 Jun 2010 00:13:16 +0000 (01:13 +0100)]
Merged C code cleanup and low-cpu branch to master

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoAdded some unit tests for some of the utility functions.
Pat Thoyts [Tue, 15 Jun 2010 23:31:01 +0000 (00:31 +0100)]
Added some unit tests for some of the utility functions.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoCleanup of the C code
Pat Thoyts [Tue, 15 Jun 2010 23:30:15 +0000 (00:30 +0100)]
Cleanup of the C code
This patch cleans up some dubious constructs and replaces some functions
with standard library equivalents. Lots of C style changes.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agolowcpu: reduce the cpu usage by the gameloop.
Pat Thoyts [Tue, 15 Jun 2010 21:03:19 +0000 (22:03 +0100)]
lowcpu: reduce the cpu usage by the gameloop.
This patch adds support for building using nmake and MSVC on windows and
also modifies the gameloop to drop the cpu usage significantly using a
timer and waiting rather than constantly polling the SDL loop.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
14 years agoImported anagramarama-0.3.tar.gz v0.3
Pat Thoyts [Tue, 15 Jun 2010 20:13:20 +0000 (21:13 +0100)]
Imported anagramarama-0.3.tar.gz

14 years agoImported anagramarama-0.2.tar.gz v0.2
Pat Thoyts [Tue, 15 Jun 2010 19:57:37 +0000 (20:57 +0100)]
Imported anagramarama-0.2.tar.gz

14 years agoImported anagramarama-src-01.tar.gz v0.1
Pat Thoyts [Tue, 15 Jun 2010 19:47:54 +0000 (20:47 +0100)]
Imported anagramarama-src-01.tar.gz