Commit Graph

60 Commits

Author SHA1 Message Date
gimick
04d536e75d aux: stub new method update_card_positions 2011-04-10 13:44:43 +01:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
Eratosthenes
8477eb912b Revert "Begin integration of AW_HUD stuff."
This reverts commit 27f7921f6e.
2011-01-30 17:18:53 -05:00
Eratosthenes
27f7921f6e Begin integration of AW_HUD stuff. 2011-01-30 16:50:26 -05:00
Eratosthenes
d01951089b New file Aux_Hud. Minor mods to Mucked.
Aux_Hud is the prototype of the new HUD that uses the AW interface.
This version works as a minimal HUD, but the default HUD from 
Hud.py is also displayed.
2011-01-29 23:41:37 -05:00
Eratosthenes
a8f12db7f7 Clean up unused imports. 2010-11-26 21:01:34 -05:00
Eratosthenes
2f72f5416e Handle tourney table changes and closures. 2010-11-22 16:37:37 -05:00
steffen123
80c965d09f gettext-ify Mucked 2010-08-15 04:07:34 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
Worros
17bc9af88e Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	run_fpdb.py
2010-01-29 13:01:38 +08:00
Eratosthenes
7570db60f6 Make the StudMucked not crash with newimport. 2010-01-28 14:37:45 -05:00
Gerko de Roo
4ada389f86 Changed the card positions and mucked card
positions to relative positions.
2010-01-21 21:14:49 +01:00
unknown
a6b7292943 mostly None checkings fixed (== to is != to is not) 2009-11-03 14:30:52 -05:00
Mika Bostrom
6ec309a685 Provide extra path for mucked cards image
Modified:
* Mucked.py

When running from outside source tree, the image containing mucked
cards' faces could not be loaded. Provide an extra path to load from.
2009-10-22 08:44:45 +03:00
sqlcoder
6357f22f11 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-09-20 22:52:05 +01:00
sqlcoder
1640ab3cfc attempt to stop a KeyError problem (problem patching up the symptoms rather than fixing the cause) 2009-08-17 21:51:13 +01:00
Mika Bostrom
53eaee4d7c Fix mucked cards' position update
When menu->reposition is called, only the HUD windows were moved to
their new positions. The auxiliary windows used for mucked cards
remained where they were at the time the HUD instance was created. This
caused mucked cards to appear in wrong places after the poker table was
moved.

Split positioning code in Mucked.py to its own method. Now the same
routine that moves HUD windows to their new places also invokes code
to reposition auxiliary windows.

Now the mucked cards are displayed at correct screen coordinates too.
2009-08-15 10:44:04 +03:00
Ray
2adef78269 Get rid of intermediate prints. 2009-07-27 15:41:42 -04:00
Ray
2cfe7f2ccc Fix bug--get correct player id in Flop_Mucked tool tip. 2009-07-01 08:29:37 -04:00
Ray
a8b8ff2f4d More on Aux_Seats class. This seems to work OK. 2009-06-30 11:43:47 -04:00
Ray
7f7ad2a13e Further on Aux_Seats interface. Works. Not ready for prime time. 2009-06-25 10:07:40 -04:00
Ray
8cdac24517 Subclass Aux_Seats from Aux_Windows. Flop_mucked now a Aux_Seats. 2009-06-23 09:56:29 -04:00
Ray
e00887b865 Make Flop_Mucked work with the 0-52 card encoding. 2009-06-19 15:47:26 -04:00
Ray
a6a98a750f Clean up changes to use 0-52 card encoding. 2009-06-18 14:11:53 -04:00
Ray
63efc13cc9 Make Stud_Mucked work with the new card encoding scheme. 2009-06-17 14:24:16 -04:00
Ray
cd2b2aaf42 Comment out some intermediate print. 2009-04-06 11:03:51 -04:00
Ray
ceba4be73f More fixing of previous commit. 2009-03-25 17:48:43 -04:00
Ray
29bd0c2a7a Back out mucked window dragging changes. 2009-03-25 17:22:28 -04:00
Ray
01bc1cebf1 Fix numerous typos/bugs in previous commit. 2009-03-25 16:46:06 -04:00
Ray
9146758c5e Make flop_mucked windows follow the table on Windows. 2009-03-25 15:42:16 -04:00
eblade
a863743974 move move() under the line where position to move to is stored, instead of calculating position twice in two lines 2009-03-23 19:22:04 -04:00
eblade
2f4783b50b mucked: present() = show(), moved a line out of a loop
fpdb_simple: fix cardMap to understand "0", for stud games
2009-03-23 17:13:32 -04:00
Ray
ffb1f926d9 Better way to keep up with window positions. 2009-03-22 14:05:58 -04:00
Ray
969f5cc265 Make shift-middle-click work as intended. 2009-03-21 12:54:51 -04:00
Ray
847fd5f6c1 Tool tips for FlopMucked. 2009-03-20 19:32:02 -04:00
Ray
d59016f249 Button clicking for FlopMucked. 2009-03-20 19:28:57 -04:00
Ray
72c0cdfa52 Needed to make previous commit work. 2009-03-19 20:58:40 -04:00
Ray
75a94299f9 Make sure HUD_main gets community cards for AWs to use. 2009-03-19 13:18:50 -04:00
Ray
530462cc72 Fix for too large mucked windows on Windows. 2009-03-18 21:05:29 -04:00
Ray
9fca5a75b2 Allow saving of aux_window layouts. 2009-03-15 15:27:47 -04:00
Ray
f0413a66f5 Fix moved method, but didn't change reference. 2009-03-12 17:58:12 -04:00
Ray
8887ea7099 A start on saving aux_win layouts. More to come. 2009-03-11 14:12:56 -04:00
Ray
6314c5a7cc Display community cards. 2009-03-09 11:41:58 -04:00
Ray
1a417441f6 First commit of Mucked_Flop. Works, but needs polish. 2009-03-07 20:44:10 -05:00
Ray
a6d70e6e13 More tuning of the aux_window interface. 2009-03-04 20:04:23 -05:00
Ray
333cbdbf6d Speed and reliability changes (+cleanup) to aux window interface. 2009-02-25 23:35:15 -05:00
Ray
37a643f054 Kill aux windows when killing the HUD. 2009-01-26 14:31:08 -05:00
Ray
e0105c5ed1 Clean up db connection in aux window. Hole cards to stud mucked list. 2008-12-17 13:24:37 -05:00
Ray
a0ef01a0d1 Use execution_path() for finding card images. 2008-12-13 23:08:11 -05:00