naja.git
11 years agoFix tests.
Simon Cross [Sat, 17 May 2014 19:09:21 +0000 (21:09 +0200)]
Fix tests.

11 years agoIntroduction level
Stefano Rivera [Sat, 17 May 2014 19:05:12 +0000 (21:05 +0200)]
Introduction level

11 years agoSetting defaults shouldn't be restricted to puzzles
Stefano Rivera [Sat, 17 May 2014 19:04:36 +0000 (21:04 +0200)]
Setting defaults shouldn't be restricted to puzzles

11 years agoRemove unnecessary quotes.
Simon Cross [Sat, 17 May 2014 19:01:32 +0000 (21:01 +0200)]
Remove unnecessary quotes.

11 years agoUse GenericBits's super cow powers.
Simon Cross [Sat, 17 May 2014 18:57:08 +0000 (20:57 +0200)]
Use GenericBits's super cow powers.

11 years agoMake GenericBits even more generic.
Simon Cross [Sat, 17 May 2014 18:56:52 +0000 (20:56 +0200)]
Make GenericBits even more generic.

11 years agoProper glyphs for GenericBits.
Simon Cross [Sat, 17 May 2014 18:40:01 +0000 (20:40 +0200)]
Proper glyphs for GenericBits.

11 years agotweaked spacing on win and lose screens
adrianna [Sat, 17 May 2014 18:39:03 +0000 (20:39 +0200)]
tweaked spacing on win and lose screens

11 years agoMake action.MSB_GLYPH a function, action.get_msb_glyph.
Simon Cross [Sat, 17 May 2014 18:37:31 +0000 (20:37 +0200)]
Make action.MSB_GLYPH a function, action.get_msb_glyph.

11 years agoMake action.GLYPHS a function, action.get_glyphs.
Simon Cross [Sat, 17 May 2014 18:35:33 +0000 (20:35 +0200)]
Make action.GLYPHS a function, action.get_glyphs.

11 years agoChess piece moves are in the corner.
Simon Cross [Sat, 17 May 2014 18:30:51 +0000 (20:30 +0200)]
Chess piece moves are in the corner.

11 years agoYou only win once.
Simon Cross [Sat, 17 May 2014 18:17:24 +0000 (20:17 +0200)]
You only win once.

11 years agoOptional remove win actions once they're used.
Simon Cross [Sat, 17 May 2014 18:17:13 +0000 (20:17 +0200)]
Optional remove win actions once they're used.

11 years agoFix loading save games (by telling the loaded player about the board they're on)...
Simon Cross [Sat, 17 May 2014 18:16:45 +0000 (20:16 +0200)]
Fix loading save games (by telling the loaded player about the board they're on) (@nitwit).

11 years agoOS X build.
Jeremy Thurgood [Sat, 17 May 2014 18:30:29 +0000 (20:30 +0200)]
OS X build.

11 years agoHack hack hack hack
Stefano Rivera [Sat, 17 May 2014 18:09:09 +0000 (20:09 +0200)]
Hack hack hack hack

11 years agoUse GenericBits for NEWS.
Simon Cross [Sat, 17 May 2014 17:56:12 +0000 (19:56 +0200)]
Use GenericBits for NEWS.

11 years agoMenu text update.
Jeremy Thurgood [Sat, 17 May 2014 17:52:35 +0000 (19:52 +0200)]
Menu text update.

11 years agoUse new GenericBits in chess puzzle.
Simon Cross [Sat, 17 May 2014 17:48:49 +0000 (19:48 +0200)]
Use new GenericBits in chess puzzle.

11 years agoGenericBits action.
Simon Cross [Sat, 17 May 2014 17:48:02 +0000 (19:48 +0200)]
GenericBits action.

11 years agoUse parse_bits from utils.
Simon Cross [Sat, 17 May 2014 17:47:16 +0000 (19:47 +0200)]
Use parse_bits from utils.

11 years agoAdd parse_bits to utils.
Simon Cross [Sat, 17 May 2014 17:46:59 +0000 (19:46 +0200)]
Add parse_bits to utils.

11 years agoHave win require bits.
Simon Cross [Sat, 17 May 2014 17:20:19 +0000 (19:20 +0200)]
Have win require bits.

11 years agoBetter action text.
Jeremy Thurgood [Sat, 17 May 2014 17:47:23 +0000 (19:47 +0200)]
Better action text.

11 years agoClearBits action
Stefano Rivera [Sat, 17 May 2014 17:42:43 +0000 (19:42 +0200)]
ClearBits action

11 years agoOverrideable messages
Stefano Rivera [Sat, 17 May 2014 17:42:36 +0000 (19:42 +0200)]
Overrideable messages

11 years agoAdd a puzzle selection screen
Neil [Sat, 17 May 2014 17:38:30 +0000 (19:38 +0200)]
Add a puzzle selection screen

11 years agoUse "tile" consistently in player-visible text.
Jeremy Thurgood [Sat, 17 May 2014 17:37:31 +0000 (19:37 +0200)]
Use "tile" consistently in player-visible text.

11 years agopedantic correntions
adrianna [Sat, 17 May 2014 17:37:02 +0000 (19:37 +0200)]
pedantic correntions

11 years agoGain-MSB default action.
Jeremy Thurgood [Sat, 17 May 2014 17:31:43 +0000 (19:31 +0200)]
Gain-MSB default action.

11 years agoMove-if-MSB actions.
Jeremy Thurgood [Sat, 17 May 2014 17:25:33 +0000 (19:25 +0200)]
Move-if-MSB actions.

11 years agoDon't hardcode the initial cursor position
Stefano Rivera [Sat, 17 May 2014 17:08:10 +0000 (19:08 +0200)]
Don't hardcode the initial cursor position

11 years agoNot exactly Kasparov.
Simon Cross [Sat, 17 May 2014 17:07:47 +0000 (19:07 +0200)]
Not exactly Kasparov.

11 years agoShorter replacement params.
Jeremy Thurgood [Sat, 17 May 2014 17:04:37 +0000 (19:04 +0200)]
Shorter replacement params.

11 years agochanged bit toggle glyph to +/-
adrianna [Sat, 17 May 2014 17:03:26 +0000 (19:03 +0200)]
changed bit toggle glyph to +/-

11 years agoYAML knows about integers. Not tuples
Stefano Rivera [Sat, 17 May 2014 17:01:37 +0000 (19:01 +0200)]
YAML knows about integers. Not tuples

11 years agoAll puzzles to have cards without default actions.
Simon Cross [Sat, 17 May 2014 17:00:18 +0000 (19:00 +0200)]
All puzzles to have cards without default actions.

11 years agoMinor cleanup.
Jeremy Thurgood [Sat, 17 May 2014 17:01:21 +0000 (19:01 +0200)]
Minor cleanup.

11 years agoAdjust save slot positioning.
Jeremy Thurgood [Sat, 17 May 2014 17:00:08 +0000 (19:00 +0200)]
Adjust save slot positioning.

11 years agoFix cheat detection.
Jeremy Thurgood [Sat, 17 May 2014 16:59:21 +0000 (18:59 +0200)]
Fix cheat detection.

11 years agoAllow overriding defaults from puzzles
Stefano Rivera [Sat, 17 May 2014 16:59:06 +0000 (18:59 +0200)]
Allow overriding defaults from puzzles

11 years agoUse new countdown glyphs.
Jeremy Thurgood [Sat, 17 May 2014 16:45:49 +0000 (18:45 +0200)]
Use new countdown glyphs.

11 years agoPuzzles now live in a subdir
Stefano Rivera [Sat, 17 May 2014 16:31:33 +0000 (18:31 +0200)]
Puzzles now live in a subdir

11 years agocountdown glyphs
adrianna [Sat, 17 May 2014 16:29:38 +0000 (18:29 +0200)]
countdown glyphs

11 years agoFix tests.
Jeremy Thurgood [Sat, 17 May 2014 16:25:57 +0000 (18:25 +0200)]
Fix tests.

11 years agoOptimize
Stefano Rivera [Sat, 17 May 2014 16:16:57 +0000 (18:16 +0200)]
Optimize

11 years agoicotool doesn't care about indexed palettes
Stefano Rivera [Sat, 17 May 2014 16:16:49 +0000 (18:16 +0200)]
icotool doesn't care about indexed palettes

11 years agoFix the icon on Windows
Stefano Rivera [Sat, 17 May 2014 16:13:12 +0000 (18:13 +0200)]
Fix the icon on Windows

11 years agoWe now have a 64x64 icon
Stefano Rivera [Sat, 17 May 2014 16:10:16 +0000 (18:10 +0200)]
We now have a 64x64 icon

11 years agoRebuild the XPM icon too
Stefano Rivera [Sat, 17 May 2014 16:08:23 +0000 (18:08 +0200)]
Rebuild the XPM icon too

11 years agoMake icons
Stefano Rivera [Sat, 17 May 2014 16:02:30 +0000 (18:02 +0200)]
Make icons

11 years agoStart folder for puzzle decks.
Simon Cross [Sat, 17 May 2014 16:01:43 +0000 (18:01 +0200)]
Start folder for puzzle decks.

11 years agoicons with a lock
adrianna [Sat, 17 May 2014 16:00:08 +0000 (18:00 +0200)]
icons with a lock

11 years agoAdd (ugly) countdown timer to tile.
Jeremy Thurgood [Sat, 17 May 2014 15:47:20 +0000 (17:47 +0200)]
Add (ugly) countdown timer to tile.

11 years agoStandardise music volume
Neil [Sat, 17 May 2014 15:22:39 +0000 (17:22 +0200)]
Standardise music volume

11 years agoSad losing music or so
Neil [Sat, 17 May 2014 15:22:10 +0000 (17:22 +0200)]
Sad losing music or so

11 years agoMerge branch 'master' of git://ctpug.org.za/naja
David Sharpe [Sat, 17 May 2014 13:02:32 +0000 (15:02 +0200)]
Merge branch 'master' of git://ctpug.org.za/naja

11 years agoWhitespace
Stefano Rivera [Sat, 17 May 2014 15:17:03 +0000 (17:17 +0200)]
Whitespace

11 years agoActually barrel-shift
Stefano Rivera [Sat, 17 May 2014 15:16:20 +0000 (17:16 +0200)]
Actually barrel-shift

11 years agomissed a file
David Sharpe [Sat, 17 May 2014 13:02:16 +0000 (15:02 +0200)]
missed a file

11 years agoupdated parameters in yaml
David Sharpe [Sat, 17 May 2014 12:58:54 +0000 (14:58 +0200)]
updated parameters in yaml

11 years agoMerge branch 'master' of git://ctpug.org.za/naja
David Sharpe [Sat, 17 May 2014 12:51:20 +0000 (14:51 +0200)]
Merge branch 'master' of git://ctpug.org.za/naja

11 years agoDrop state when the game is over (after we've found out if we're cheating or not)
Neil [Sat, 17 May 2014 15:05:03 +0000 (17:05 +0200)]
Drop state when the game is over (after we've found out if we're cheating or not)

11 years agoVictory tune
Neil [Sat, 17 May 2014 14:55:13 +0000 (16:55 +0200)]
Victory tune

11 years agowin & lose return to main menu
Neil [Sat, 17 May 2014 14:54:24 +0000 (16:54 +0200)]
win & lose return to main menu

11 years agoAdrianna: We *can* spell your name correctly
Stefano Rivera [Sat, 17 May 2014 14:53:19 +0000 (16:53 +0200)]
Adrianna: We *can* spell your name correctly

11 years agoUse YAML and JSON support for deck loading.
Simon Cross [Sat, 17 May 2014 14:47:32 +0000 (16:47 +0200)]
Use YAML and JSON support for deck loading.

11 years agoAdd direct yaml and json support to resources.
Simon Cross [Sat, 17 May 2014 14:47:10 +0000 (16:47 +0200)]
Add direct yaml and json support to resources.

11 years agoDon't swallow deck load errors when debugging.
Simon Cross [Sat, 17 May 2014 14:46:45 +0000 (16:46 +0200)]
Don't swallow deck load errors when debugging.

11 years agoWe're generating single-channel sounds. Tell oggenc that
Stefano Rivera [Sat, 17 May 2014 14:34:25 +0000 (16:34 +0200)]
We're generating single-channel sounds. Tell oggenc that

11 years agoMOAR sounds
Stefano Rivera [Sat, 17 May 2014 14:21:35 +0000 (16:21 +0200)]
MOAR sounds

11 years agoUnbreak no-sound again
Neil [Sat, 17 May 2014 14:09:06 +0000 (16:09 +0200)]
Unbreak no-sound again

11 years agoUse new puzzle tiles.
Simon Cross [Sat, 17 May 2014 13:47:03 +0000 (15:47 +0200)]
Use new puzzle tiles.

11 years agoNew tile options for puzzles (PNGs).
Simon Cross [Sat, 17 May 2014 13:46:51 +0000 (15:46 +0200)]
New tile options for puzzles (PNGs).

11 years agoNew tile options for puzzles.
Simon Cross [Sat, 17 May 2014 13:46:29 +0000 (15:46 +0200)]
New tile options for puzzles.

11 years agoMusical menus
Stefano Rivera [Sat, 17 May 2014 13:57:29 +0000 (15:57 +0200)]
Musical menus

11 years agoUnbreak howto screen
Stefano Rivera [Sat, 17 May 2014 13:57:23 +0000 (15:57 +0200)]
Unbreak howto screen

11 years agoIcon Makefile
Stefano Rivera [Sat, 17 May 2014 13:48:14 +0000 (15:48 +0200)]
Icon Makefile

11 years agoLimit the number of win tiles in the game
Neil [Sat, 17 May 2014 13:23:24 +0000 (15:23 +0200)]
Limit the number of win tiles in the game

11 years agoAdd max_number limitation (with tests, nogal)
Neil [Sat, 17 May 2014 13:23:06 +0000 (15:23 +0200)]
Add max_number limitation (with tests, nogal)

11 years agobastard merge
David Sharpe [Sat, 17 May 2014 12:50:42 +0000 (14:50 +0200)]
bastard merge

11 years agoadded timed card specific behaviour
David Sharpe [Sat, 17 May 2014 12:47:02 +0000 (14:47 +0200)]
added timed card specific behaviour

11 years agoadded animations
David Sharpe [Sat, 17 May 2014 11:00:36 +0000 (13:00 +0200)]
added animations

11 years agonot actually text
adrianna [Sat, 17 May 2014 13:16:57 +0000 (15:16 +0200)]
not actually text

11 years agorestored missing tumbleweed
adrianna [Sat, 17 May 2014 13:14:52 +0000 (15:14 +0200)]
restored missing tumbleweed

11 years agoProper text for the game mode hint.
Simon Cross [Sat, 17 May 2014 13:14:53 +0000 (15:14 +0200)]
Proper text for the game mode hint.

11 years agoput back favicon
adrianna [Sat, 17 May 2014 13:10:13 +0000 (15:10 +0200)]
put back favicon

11 years agoadded website source
adrianna [Sat, 17 May 2014 13:05:18 +0000 (15:05 +0200)]
added website source

11 years agoBorders and better spacing and game mode for info_area.
Simon Cross [Sat, 17 May 2014 13:04:17 +0000 (15:04 +0200)]
Borders and better spacing and game mode for info_area.

11 years agoActually render borders.
Simon Cross [Sat, 17 May 2014 13:03:49 +0000 (15:03 +0200)]
Actually render borders.

11 years agoAdd INFO_RIGHT_PADDING constant.
Simon Cross [Sat, 17 May 2014 13:03:35 +0000 (15:03 +0200)]
Add INFO_RIGHT_PADDING constant.

11 years agoGenerate JSON during build time.
Stefano Rivera [Sat, 17 May 2014 12:57:13 +0000 (14:57 +0200)]
Generate JSON during build time.

And install time, if it doesn't exist, for install from git.

11 years agocard names should not be lists
Neil [Sat, 17 May 2014 12:45:22 +0000 (14:45 +0200)]
card names should not be lists

11 years agoUnbreak the game by adding card_names to the yaml files
Neil [Sat, 17 May 2014 12:34:12 +0000 (14:34 +0200)]
Unbreak the game by adding card_names to the yaml files

11 years agoAdd a card_name parameter
Neil [Sat, 17 May 2014 12:28:11 +0000 (14:28 +0200)]
Add a card_name parameter

11 years agoPEP-8
Stefano Rivera [Sat, 17 May 2014 12:39:52 +0000 (14:39 +0200)]
PEP-8

11 years agoHook up shift glyph
Stefano Rivera [Sat, 17 May 2014 12:39:03 +0000 (14:39 +0200)]
Hook up shift glyph

11 years agobitshift glyphs
adrianna [Sat, 17 May 2014 12:28:55 +0000 (14:28 +0200)]
bitshift glyphs

11 years agoBit shifts!
Stefano Rivera [Sat, 17 May 2014 12:26:17 +0000 (14:26 +0200)]
Bit shifts!

11 years agoMove hint up in preparation for state mode display (i.e. puzzle vs difficulty).
Simon Cross [Sat, 17 May 2014 11:50:55 +0000 (13:50 +0200)]
Move hint up in preparation for state mode display (i.e. puzzle vs difficulty).