1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
|
2005-09-15 Inge Wallin <ingwa@shihonage.lkpg.cendio.se>
Bump version number for release of KDE 3.5
* version.h (KPOKER_RELEASE_DATE): Bump version from 1.0 to 1.1
2005-02-18 Inge Wallin <inge@lysator.liu.se>
* version.h (KPOKER_VERSION): Bumped version to 1.0 for KDE 3.4.
2005-01-26 Inge Wallin <inge@lysator.liu.se>
----------------- CVS commit on stuff below --------------------
Code cleaning
* Make all blink parameters follow the m_ convention.
2005-01-18 <inge@lysator.liu.se>
Continue the code cleaning.
* kpoker.h (PokerGameType): new type
* (PokerGame): All public members now private.
* Make the player array owned by kpok instead of PokerGame.
----------------- CVS commit on stuff below --------------------
Continue making more members of PokerGame private.
* kpoker.h (PokerGame::m_activePlayers): now private
----------------- CVS commit on stuff below --------------------
* Bump version to 0.8alpha in anticipation of KDE 3.4.
Make members of PokerGame private.
* kpoker.cpp (Pokergame::newGame): new method
(PokerGame::m_minBet and m_maxBet): now private
2004-11-20 Inge Wallin <inge@lysator.liu.se>
Fix bug 93636: When "Fold" is pressed, the current round should be
ended immediately.
* kpoker.cpp (out): Call drawClick(), i.e. go to next game state,
instead of setting up the drawButton to let the user do it.
----------------- CVS commit on stuff below --------------------
Fix bug 93635: The status bar is wrong in many places.
* top.cpp (PokerWindow): connect the signal to clear the status
bar to the proper slot.
2004-11-03 Inge Wallin <inge@lysator.liu.se>
Rename the game states into something more logical
* kpoker.{h,cpp}: Renaming of poker game states
Exchange the faulty term "mix" for the correct one "shuffle".
* poker.{h,cpp}: mix() -> shuffle()
* misc files: call shuffle() instead.
2004-09-12 Inge Wallin <inge@lysator.liu.se>
Fix bug 88584: Use proper poker terminology:
* kpoker.cpp (kpok::misc): Set text on "Draw" button according to
game state
Code cleaning:
* kpoker.{h,cpp} (kpok): remove member newGameDlg
* kpoker.{h,cpp} (PokerGameState): StateDraw -> StateStartRound
* kpoker.{h,cpp} (PokerGameState): uppercase state names.
* misc: added some comments
----------------- CVS commit on stuff below --------------------
Continue separation of class kpok into model/view
* kpoker.h (PokerGame): make m_deck, m_state, m_pot, m_isDirty
private members and create accessor methods for them.
* kpoker.cpp, kpoker.cpp: Use the accessor methods.
* kpoker.{h,cpp} (PokerGame::newRound): new method
2004-09-11 Inge Wallin <inge@lysator.liu.se>
Introduced a class CardDeck
* poker.{h,cpp} (CardDeck): new class
* kpoker.{h,cpp} (PokerGame): new class
* kpoker.{h,cpp} (kpok::done): removed
Started separation of kpok into a poker game class and a view:
* kpoker.{h,cpp} (PokerGame): new class
Some cleanup
* player.{h,cpp}: Renamed class Player into PokerPlayer
* kpoker.{h,cpp}: references to Player -> PokerPlayer
----------------- CVS commit on stuff below --------------------
Remove a lot of unused methods and other cleanup
* poker.{h,cpp} (cleanFoundCards()): make protected
* player.h (Player::getCard()): don't convert to int.
* player.h (Player::cleanFoundCard()): remove
* playerbox.{h,cpp}: Prefix all members with m_.
(PlayerBox::getCashLabel{X,Y}): remove
----------------- CVS commit on stuff below --------------------
Break out all poker and card stuff into its own file
* poker.{h,cpp}: New files.
* player.{h,cpp}(card/poker stuff): moved to poker.{h,cpp}
----------------- CVS commit on stuff below --------------------
Remove all debug traces:
* player.h(Player::takeCard())
* player.cpp(PokerHand::operator<())
* kpoker.cpp(kpok::winner())
Move loading of card images to class CardImages:
* kpaint.{h,cpp}(CardImages::loadCards(),CardImages::loadDeck()): new methods.
* kpoker.{h,cpp}(loadCards,loadDeck): removed
Remove somestuff.cpp:
* somestuff.cpp: removed
* kpok::initWindow(): moved to kpoker.cpp
* Makefile.am(kpoker_SOURCES): remove somestuff.cpp
----------------- CVS commit on stuff below --------------------
Use the constants from the card classes.
* defines.h: Removed highestCard and CARDS
* player.h(numCards): new constant
* kpaint.cpp, kpoker.cpp, player.cpp, playerbox.cpp,
somestuff.cpp: Use numCards and PokerHandSize instead
Rename initSomeStuff() into initWindow()
* somestuff.cpp: Rename
* kpoker.cpp(kpok::kpok): Call initWindow() instead
Make the card images private.
* kpaint.h, kpaint.cpp(CardImages): make m_deck and m_cardImages
private
* kpoker.cpp (loadCards, loadDeck): Call the loading of cards
differently
2004-09-05 Inge Wallin <inge@lysator.liu.se>
Start structural cleanup
* kpoker.cpp (winner): Move from testers.cpp to kpoker.cpp.
* testers.cpp: deleted
2004-09-03 Inge Wallin <inge@lysator.liu.se>
Fix bug 88548: Kpoker: When you save a game and then immediately
quit, kpoker asks if you want to save the game anyway
* kpoker::isDirty: New member
* misc: set and use isDirty
2004-09-01 Inge Wallin <inge@lysator.liu.se>
* Removed the old code from the time before the switch of the
poker evaluation code. This was all contained in #if 0 - #endif
pairs.
2004-08-31 Inge Wallin <inge@lysator.liu.se>
Finish the great code cleanup.
* kpoker.h, kpoker.cpp (only visually, though. Structure remains
to be cleaned further.)
* main.cpp (main): Fixed copyright notice in About dialog.
2004-08-30 Inge Wallin <inge@lysator.liu.se>
Continue the great code cleanup.
* optionsdlg.h, optionsdlg.cpp
* newgamedlg.h, newgamedlg.cpp
2004-08-29 Inge Wallin <inge@lysator.liu.se>
Continue the great code cleanup.
* sound.cpp
* top.h, top.cpp
* defines.h
* kpaint.h, kpaint.cpp
* playerbox.h, playerbox.cpp
* kpoker.h (Status): Renamed into PokerGameState
* betbox.h, betbox.cpp
* somestuff.cpp
* testers.cpp
* player.h, player.cpp
2004-08-28 Inge Wallin <inge@lysator.liu.se>
Start of the great code cleanup
* global.h
* main.cpp
2004-08-26 Inge Wallin <inge@lysator.liu.se>
Rewrote the whole evaluation of a poker hand.
* player.h, player.cpp (PokerHand): New class
* kpaint.cpp, kpoker.cpp, kpoker.h, playerbox.cpp, testers.cpp:
use the new code.
2004-08-22 Inge Wallin <inge@lysator.liu.se>
Substituted the cardHelp array with a function Player::rank()
* player.h (cardHelp): removed
* player.cpp (initCardHelp): removed
* player.cpp (rank): new function
* kpoker.cpp (misc): don't call initCardHelp().
----------------------------------------------------------------
FIXME: The rest of this file should be named NEWS instead, since it is
only about releases.
Version 0.7 (Andreas Beckermann <b_mann@gmx.de>)
- added computer player
- fixed some bugs, added many more
- added bet/raise
- added a QGroupBox for every player
- improved status
- added possibility to start the game without installing
- added an optionsdialog
- added further options which are not in the dialog
- moved clickToHold and LHLabel to the new statusbar
- started API documenting
- much more
------------------------------------------------------------------------------
Version 0.6 (Mario Weilguni <mweilguni@kde.org>)
- made it work with new KDE-2 API
- made it work with --enable-final
------------------------------------------------------------------------------
Version 0.5
- fixed a problem with the recognition of straights (the combo ace-2-3-4-5 was
not recognized in all versions <0.4.1
- cleaned up the code a little
- KPoker is now considered to be stable - I fixed all reported bugs and I did
not find any new ones :)
------------------------------------------------------------------------------
Version 0.4.1
Silly me deleted some important lines that were initializing a timer while
merging my version of 0.4 with the one in the CVS. This caused 0.4 to
segfault when you press "Draw Cards" :-(
- [Robert William] put version.h back in.
- integrated version.h so that there is only one #define for the version &
release date (and not multiple ones like before)
- put epilogue into the documentation
------------------------------------------------------------------------------
Version 0.4
- deleted version.h because it is of no use
- put in that nice "wave" effect
- added sm-support
- some internal stuff (as usual :)
------------------------------------------------------------------------------
Version 0.3.1
- [Robert Williams] added getHelpMenu()
- [Robert Williams] added version.h
- changed minor look&feel stuff
------------------------------------------------------------------------------
Version 0.3
- kpoker got adapted to the new fsstnd (thanks Coolo !)
- kpoker now supports TDELocale (only works in the tdegames-distribution)
- added german language file (tdegames distribution only)
- kpoker should now run on DEC Alphas (thanks Uwe Thiem :)
------------------------------------------------------------------------------
Version 0.2
- reduced number of colors needed by the images for the backsides of cards
- KPoker documentation is now written in .sgml format
- lots of changes in makefiles
- fixed that "#include <top.h>" bug.
- sound support (experimental - *please* report problems)
------------------------------------------------------------------------------
Version 0.1.2
- made kpoker use KTopLevelWidget + the new menubars
- fixed silly problem with cardImage
- finished the helpfile
- built in new icon
- built in new backsides of cards (1000 thanks to our "icon/graphics Man")
------------------------------------------------------------------------------
Version 0.1.1
- made kpoker more "KDE conform" (like inserted separator between
help/help and help/about)
- fixed a few silly bugs/problems
- started to do the helpfile (halfway done right now)
|