Commit Graph

48 Commits

Author SHA1 Message Date
Eratosthenes
7570db60f6 Make the StudMucked not crash with newimport. 2010-01-28 14:37:45 -05: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
Ray
2f88818eb9 Minor changes to aux-window support. 2008-12-11 10:24:37 -05:00
Ray
7d75e4af91 Add winner and pot to Mucked list list box + intfac imp. 2008-12-08 14:10:45 -05:00
Ray
1e9263f202 Fix width of left column. 2008-12-05 12:51:19 -05:00
Ray
7063e03d6e futile attempt to fix mystery crash 2008-12-03 12:48:04 -05:00
Ray
17ad796917 More changes to support mucked/aux windows. 2008-11-16 17:53:31 -05:00
Ray
d90fa208de Smooth wrinkles in mucked card display. 2008-11-13 17:07:24 -05:00
Ray
ca960cad96 Support for the mucked cards window. Still a bug in the card storing. 2008-11-12 22:45:09 -05:00
steffen123
7b13331331 p80 - a great many updates from Ray 2008-09-15 21:31:55 +01:00
steffen123
66d938accc p62 - major patch from ray with new stats in HUD
added db todo file with the things that are left for the db
2008-08-20 20:29:08 +01:00
steffen123
c716dfd35e p58 - added HUD from ray
fpdb_parse now returns hand id rather than site hand no
2008-08-18 23:53:25 +01:00