]>
 
 
git.notmuchmail.org Git - kub/log 
 
 
 
 
 
 
summary  | 
shortlog  | log | 
commit  | 
commitdiff  | 
tree 
first ⋅ prev ⋅ next
 
Carl Worth  [Thu, 1 Mar 2007 14:43:45 +0000  (06:43 -0800)] 
 
Merge branch 'master' of kevin:kub 
 
Carl Worth  [Thu, 1 Mar 2007 14:43:00 +0000  (06:43 -0800)] 
 
Rename card to tile 
 
Kevin Worth  [Wed, 21 Feb 2007 06:02:08 +0000  (01:02  -0500)] 
 
Realized value for TILE_SUN_Y_OFFSET was missing from last commit 
 
Kevin Worth  [Wed, 21 Feb 2007 03:47:51 +0000  (22:47 -0500)] 
 
Completed tiledimensions.txt with missing values 
 
Kevin Worth  [Tue, 20 Feb 2007 18:44:42 +0000  (13:44 -0500)] 
 
Added tiledimensions.txt to document tile size constants 
 
Carl Worth  [Tue, 20 Feb 2007 17:45:07 +0000  (09:45 -0800)] 
 
Draw tiles as 1-13 instead of 0-12 
 
A simple off-by-one error in card_draw. 
 
Carl Worth  [Tue, 20 Feb 2007 17:44:35 +0000  (09:44 -0800)] 
 
Fix card_draw for multi-digit tiles. 
 
Previously, for tiles > 9 we were just using the next larger 
character values in ACII above '9'. Oops! Now, we're properly 
using snprintf to format the number as an integer within the 
string. 
 
Kevin Worth  [Tue, 20 Feb 2007 15:22:53 +0000  (10:22 -0500)] 
 
Fixed deck_draw, though still have bugs in card_draw 
 
Kevin Worth  [Tue, 20 Feb 2007 14:50:45 +0000  (09:50 -0500)] 
 
Started deck_draw, currently full of errors 
 
Carl Worth  [Tue, 20 Feb 2007 14:17:50 +0000  (06:17 -0800)] 
 
Temporarily add -Wno-unused-function 
 
Generally, this is a useful warning to have turned on, but for now 
while we have some unused functions still in-progress, let's turn it 
off so that we can have clean, warning-free compilation. 
 
Carl Worth  [Tue, 20 Feb 2007 14:15:45 +0000  (06:15 -0800)] 
 
Fix signature of card_compare to make qsort happy 
 
It really wants to see 'const void *' arguments. 
 
Carl Worth  [Tue, 20 Feb 2007 14:12:33 +0000  (06:12 -0800)] 
 
Fix compilation errors (& confusion) 
 
Kevin Worth  [Tue, 20 Feb 2007 13:44:15 +0000  (08:44 -0500)] 
 
Attempt at card_draw function, probably full of errors :) 
 
Kevin Worth  [Wed, 14 Feb 2007 19:59:58 +0000  (14:59 -0500)] 
 
Resized blanktile now drawn in corner 
 
Carl Worth  [Wed, 14 Feb 2007 18:34:40 +0000  (10:34 -0800)] 
 
Add comments about the various parts of the sun 
 
Carl Worth  [Wed, 14 Feb 2007 18:33:09 +0000  (10:33 -0800)] 
 
Add tile and sun id attributes 
 
Carl Worth  [Wed, 14 Feb 2007 18:32:22 +0000  (10:32 -0800)] 
 
Move duplicated style attributes to enclosing group 
 
Carl Worth  [Wed, 14 Feb 2007 17:56:34 +0000  (09:56 -0800)] 
 
Strip out most of the inkscape-specfic cruft from blanktile.svg 
 
Carl Worth  [Wed, 14 Feb 2007 17:56:13 +0000  (09:56 -0800)] 
 
Draw blanktile.svg instead of red6.svg so that numbers can be added dynamically 
 
Carl Worth  [Wed, 14 Feb 2007 17:29:05 +0000  (09:29 -0800)] 
 
Add very basic usage of librsvg to draw a red tile. 
 
This is basically the minimal necessary support to start using 
librsvg to render SVG graphics. Just a single, static red 6 tile 
for now. 
 
Carl Worth  [Wed, 14 Feb 2007 17:26:08 +0000  (09:26 -0800)] 
 
Add some cairo drawing (just a solid, red rectangle) 
 
This is the minimal necessary code to be able to start drawing 
with cairo. 
 
Carl Worth  [Wed, 14 Feb 2007 17:01:59 +0000  (09:01 -0800)] 
 
Merge branch 'master' of kevin:kub 
 
Conflicts: 
 
	kub.c 
 
Carl Worth  [Wed, 14 Feb 2007 17:00:31 +0000  (09:00 -0800)] 
 
Document internals (and bug!) of card_group_is_run 
 
Carl Worth  [Wed, 14 Feb 2007 16:54:17 +0000  (08:54 -0800)] 
 
Add kub binary to .gitignore 
 
Kevin Worth  [Mon, 29 Jan 2007 18:07:17 +0000  (13:07 -0500)] 
 
One final(hopefully) fix to qsort 
 
Kevin Worth  [Mon, 29 Jan 2007 18:02:43 +0000  (13:02 -0500)] 
 
Removed extra card_compare 
 
Kevin Worth  [Mon, 29 Jan 2007 18:02:18 +0000  (13:02 -0500)] 
 
Couple of attempts to fix qsort, per Carl's suggestions. 
 
Kevin Worth  [Mon, 29 Jan 2007 16:45:54 +0000  (11:45 -0500)] 
 
Attempt at implementing qsort into card_group_is_run 
 
Carl Worth  [Mon, 29 Jan 2007 15:19:33 +0000  (07:19 -0800)] 
 
Implement card_group_is_run with one loop instead of two. 
 
It's simpler to just implement a single check for color in the same 
loop that's examining the color of every card. We don't need to 
check every pair of cards for matching color as we were in the old 
loop. 
 
Carl Worth  [Mon, 29 Jan 2007 15:09:23 +0000  (07:09 -0800)] 
 
Use subraction to implement card_compare 
 
Kevin Worth  [Mon, 29 Jan 2007 14:46:08 +0000  (09:46 -0500)] 
 
Fixed card_group_is_run to include last card in number compare 
 
Carl Worth  [Mon, 29 Jan 2007 14:22:36 +0000  (06:22 -0800)] 
 
Remove duplicate definition of card_group_is_run 
 
Carl Worth  [Mon, 29 Jan 2007 14:22:09 +0000  (06:22 -0800)] 
 
Add unconditional return value to card_compare 
 
This avoids a wanring from gcc about a function possibly not returning 
a value. 
 
Carl Worth  [Mon, 29 Jan 2007 14:21:18 +0000  (06:21 -0800)] 
 
Fix syntax errors in card_compare 
 
Carl Worth  [Mon, 29 Jan 2007 14:14:50 +0000  (06:14 -0800)] 
 
Add some minimal GTK+ love to kub 
 
This initializes GTK+, creates a window, and establishes 4 callback functions 
for handling expose, key press, and button press/release events. So far, 
the callbacks are just printing things to stdout and not really doing anything 
useful yet. 
 
Kevin Worth  [Sat, 27 Jan 2007 20:17:43 +0000  (15:17 -0500)] 
 
Added beginnings of card_compare and added to card_group_is_run(still incomplete) 
 
Kevin Worth  [Mon, 15 Jan 2007 20:39:56 +0000  (12:39 -0800)] 
 
New svg files of Kevin's Kub tiles 
 
Kevin Worth  [Sat, 4 Feb 2006 18:33:43 +0000  (10:33 -0800)] 
 
Kub can now _reliably_ shuffle deck and deal in 1-4 players 
 
Kevin Worth  [Sat, 21 Jan 2006 07:42:39 +0000  (23:42 -0800)] 
 
Minor fixes to kub 
 
Kevin Worth  [Sat, 21 Jan 2006 07:38:14 +0000  (23:38 -0800)] 
 
Completed _is_set and _is_run but still lacking debugging code for said functions 
 
Kevin Worth  [Sun, 15 Jan 2006 07:50:42 +0000  (23:50 -0800)] 
 
Fixed kub to print deck better(still not perfect) 
 
Kevin Worth  [Sat, 14 Jan 2006 18:50:49 +0000  (10:50 -0800)] 
 
Kub compiles with no errors but still plenty of bugs 
 
Carl Worth  [Sat, 27 Jan 2007 14:29:50 +0000  (06:29 -0800)] 
 
Add .gitignore file 
 
Carl Worth  [Sat, 27 Jan 2007 14:22:38 +0000  (06:22 -0800)] 
 
Add simple Makefile 
 
We needed a trivial little Makefile since we extracted kub 
out of a former project that had been using automake. 
 
Kevin Worth  [Sat, 14 Jan 2006 17:01:24 +0000  (09:01 -0800)] 
 
Add kub program