CIA.vc
Parker Coates
Real-time open source activity stats
Stats » Authors » Parker Coates
informationsyndicateUTC clock
16:07 on Mar 20, 2010
event counters
The last message was received 0.82 days ago at 20:33 on Mar 19, 2010
0 messages so far today, 1 messages yesterday
2 messages so far this week, 1 messages last week
3 messages so far this month, 82 messages last month
811 messages since the first one, 2.03 years ago, for an average of 0.91 days between messages
recent messages
dateReversed sort columnprojectcontentlink
20:33 yesterdayKDE
Commit by coates :: r1105318 kpat/trunk/KDE/kdegames/kpat/dealer.cpp:
Fix some warnings about Cards being removed multiple times.

Cards were being removed from the scene after win animation to prevent
them from showing up on the edges if the window was resized. Then if the
CardDeck was destroyed before a new game was started, there was an
attempt to remove each of the cards again, resulting in a slew of
warnings from Qt.

Now we just hide the cards instead of removing them. This makes more
sense, anyway.
#
21:48 MondayKDE
Commit by coates :: r1103787 kpat/trunk/KDE/kdegames/kpat/libkcardgame/kcardthemewidget.cpp:
Add a missing i18n call.
#
19:52 SundayKDE
Commit by coates :: r1103305 kpat/trunk/KDE/kdegames/kpat/libkcardgame/ (3 files):
Add a real threaded solution for rendering previews.

The previous solution was halfassed just to have something sort of
working at the time. This threaded solution is roughly based on the one
used in KCardCache.
#
16:49 on Feb 24KDE
Commit by coates :: r1095606 libkdegames/trunk/KDE/kdegames/libkdegames/carddecks/svg-standard/COPYRIGHT:
Add copyright to the Standard deck.

This was not easy to track down. I ended up getting it from a forked
copy included in PySolFC.
#
20:39 on Feb 23KDE
Commit by coates :: r1095221 kpat/trunk/KDE/kdegames/kpat/libkcardgame/kcardtheme.knsrc:
Change the category name, once again.
#
02:54 on Feb 23KDE
Commit by coates :: r1094633 kpat/trunk/KDE/kdegames/kpat/ (3 files in 2 dirs):
Remove all usage of speeds.h from LibKCardGame.

I'm still not sure if this'll be the final setup,
but it's nice to finally have this cleaned up.
#
02:54 on Feb 23KDE
Commit by coates :: r1094632 kpat/trunk/KDE/kdegames/kpat/ (9 files in 2 dirs):
Remove KCardPile::animatedAdd().

Made several of the deal row animations much prettier in the process.
Timings still have to be worked out.
#
16:30 on Feb 22KDE
Commit by coates :: r1094361 kpat/trunk/KDE/kdegames/kpat/ (idiot.cpp idiot.h speeds.h):
Clean up and improvements to dealing in Aces Up.

Makes use of the new atSpeed functions. Also fixes an issue where cards
would "pop through" one another.
#
16:30 on Feb 22KDE
Commit by coates :: r1094360 kpat/trunk/KDE/kdegames/kpat/libkcardgame/ (kcardscene.cpp kcardscene.h):
Add KCardScene::(move|flip)CardToPileAtSpeed methods.

Some simultaneous card animations look better when all cards take the
same amount of time to reach their destinations. Others look cooler when
each card moves at a constant speed so that cards travelling short
distances arrive earlier than those moving greater distances.

Previously, KPat was abusing KCardPile::animatedAdd() for this task, but
that wasn't terribly clean and the card velocity was calculated in an
odd way from the scene dimensions and couldn't be adjusted. Having
dedicated functions in the API should help clean this up.
#
06:22 on Feb 22KDE
Commit by coates :: r1094088 kpat/trunk/KDE/kdegames/kpat/ (spider.cpp spider.h):
Remove special flip-top-card code from Spider.

Previously Spider had special checking for piles with their top card
face down after moving cards to a leg. This is no longer necessary as
KCardPile now handles top card flipping internally.
#
06:22 on Feb 22KDE
Commit by coates :: r1094087 kpat/trunk/KDE/kdegames/kpat/ (10 files in 2 dirs):
Reduce the usage of speeds.h.

This file is currently used in both KPat and LibKCardGame, which is a
bad thing. I've been slowly whittling away at its use in LKCG. I also
decided to switch away from defines to nice type-safe consts.
#
06:21 on Feb 22KDE
Commit by coates :: r1094086 kpat/trunk/KDE/kdegames/kpat/idiot.cpp:
Clean up card moving code in Aces Up.
#
06:21 on Feb 22KDE
Commit by coates :: r1094085 kpat/trunk/KDE/kdegames/kpat/libkcardgame/kabstractcarddeck.cpp:
Enable SmoothPixmapTransform when painting cards.

This fixes the scaling ugliness seen when peeking at a card.
#
06:21 on Feb 22KDE
Commit by coates :: r1094084 kpat/trunk/KDE/kdegames/kpat/libkcardgame/ (kcard.cpp kcard_p.h):
Make flip animation last only over the initial portion of the movement.

Now when flipping a card over a long distance, now only the initial part
of the travel is spent flipping the card and the card remains fully
flipped for the remainder of the travel. This looks a bit more
realistic.

Also optimised KCardAnimation progress calculations by storing the
deltas instead of the final values. This saves a substraction per
property on each update.
#
06:21 on Feb 22KDE
Commit by coates :: r1094083 kpat/trunk/KDE/kdegames/kpat/ (mod3.cpp mod3.h):
Eliminate the Mod3Pile class.

Instead of a custom PatPile subclass, we can get the same behaviour in a
cleaner why by reimplementing moveCardsToPile().
#
06:21 on Feb 22KDE
Commit by coates :: r1094082 kpat/trunk/KDE/kdegames/kpat/libkcardgame/ (kcardscene.cpp kcardscene.h):
Make moveCardToPile and flipCardToPile non-virtual.

Both methods are now implemented in terms of moveCardsToPile(), so
reimplementers can just place their "hooks" there.
#
06:21 on Feb 22KDE
Commit by coates :: r1094081 kpat/trunk/KDE/kdegames/kpat/ (5 files in 2 dirs):
Added a moveCardToPile() convenience method to KCardScene.
#
06:21 on Feb 22KDE
Commit by coates :: r1094080 kpat/trunk/KDE/kdegames/kpat/ (4 files in 2 dirs):
Remove KCardPile::moveCardsBack().

This was just a thing wrapper for calling KCard::raise() and
layoutCards(). Definitely does not need to be in the public interface.
#
06:21 on Feb 22KDE
Commit by coates :: r1094078 kpat/trunk/KDE/kdegames/kpat/ (11 files in 2 dirs):
Move KCardPile::moveCards() to KCardScene::moveCardsToPile().

A further attempt to move higher level functions out of KCardPile and
into KCardScene. This one had the unintended side effect of greatly
simplifying some special case handling in Freecell and Spider,
eliminating the need for the FreecellPile and SpiderPile classes as
well as some ugly pass through functions.

Also removed some unimplemented functions from freecell.h.
#
06:21 on Feb 22KDE
Commit by coates :: r1094077 kpat/trunk/KDE/kdegames/kpat/libkcardgame/kabstractcarddeck.cpp:
Remove the pointless KACDPrivate::loadInBackground() method.
#