ebbit1q
18a07274d4
clangify everything with the new header sorting ( #3908 )
2020-03-18 17:36:02 -04:00
ctrlaltca
b6df5a4ac3
Deal with recent Qt methods deprecation ( #3801 )
...
* Deal with recent Qt methods deprecation
* Use std::sort, std::less instead of qSort/qLess
* Use QFontMetrics::horizontalAdvance instead of ::width
* Use qApp->primaryScreen() instead of QDesktopWidget
* use lambas instead of QSignalMapper
* Use QTreeWidgetItem::setForeground instead of ::setTextColor
* Use QDir::setPath instead of operator=(QString)
* Use QList::swapItemsAt instead of ::swap
* fix error
2019-08-27 20:06:54 -04:00
Rob Blanckaert
d932581f4a
Move to bottom of library in random order. ( #3549 )
...
* - Allow shuffling a subset of a zone
- When moving cards to the bottom of library, shuffle them after
- Process events in the correct order serverside
* Zach fixes
Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
* Comments + additional guard
2019-02-07 14:08:44 -05:00
ctrlaltca
b29bd9e070
Clang-format ( #3028 )
...
* 1/3 Add .clang-format file and travis compilation check
* 2/3 Run clang-format
* 3/3 Fix compilation problems due to include reordering
* 3bis/3 AfterControlStatement: false
2018-01-27 10:41:32 +01:00
Fabio Bas
ea5666c443
fix #1652 ; fix #467
2015-10-20 19:29:04 +02:00
Fabio Bas
a7b8934a1b
Fix remaining issues
2015-02-22 20:02:58 +01:00
Daenyth
6913f2bb4e
Merge branch 'master' into musty
...
Conflicts:
common/server_cardzone.cpp
2014-06-14 19:06:49 -04:00
Mark Morschhäuser
ccab97ca7d
RNG: added additional checks (which forced an interface redesign), updated comments
2014-06-09 13:31:21 +02:00
Name
0128798c64
4 Space Tabs
2014-03-08 11:35:35 -05:00
Musty Mustelidae
1d3667f37d
Implemented Fisher–Yates shuffle. Assumes RNG function is in form getNumber(min,max), with min and max inclusive (Did not find documentation on function)
2014-03-08 01:23:21 -05:00
Musty Mustelidae
2ad09399f4
Implemented Fisher–Yates shuffle. Assumes RNG function is in form getNumber(min,max), with min and max inclusive (Did not find documentation on function)
2014-03-07 09:09:56 -05:00
Max-Wilhelm Bruker
60a1f5d7d1
Server_CardZone::getFreeGridColumn() now runs in O(log n), which should remove the performance bottleneck when processing insertCard(x = -1) commands on a large zone, e.g. createToken
2013-01-20 16:40:15 +01:00
Max-Wilhelm Bruker
733aa6c52b
Server_CardZone speed optimisation
2013-01-03 18:16:17 +01:00
Max-Wilhelm Bruker
8b6eace312
code cleanup
2013-01-03 17:18:37 +01:00
Max-Wilhelm Bruker
7417236c3a
preliminary AlwaysRevealTopCard support related to issue #31 , server code cleanup (finally removed getGameState)
2012-03-31 21:47:30 +02:00
Max-Wilhelm Bruker
adbb607700
Revealing a library to a player now grants that player permission to drag cards out of that library onto his own table. This permission is revoked by shuffling the library. The zone view window tracks content changes of the zone for as long as the permission lasts so that card ID changes are kept track of. This hopefully fixes issues #5 and #12 .
2012-03-24 17:48:25 +01:00
Max-Wilhelm Bruker
80967b59e3
fixed another faceDown bug
2012-03-22 23:42:26 +01:00
Max-Wilhelm Bruker
d3b96b1a88
PB: server compiles again, standalone RemoteClient is able to log in
2011-12-30 21:50:25 +01:00
Max-Wilhelm Bruker
314f17091d
protobuf client->server communication almost working
2011-12-18 18:35:14 +01:00
Max-Wilhelm Bruker
4eb9dfc5bf
server-side part of client -> server commands almost converted to ProtocolBuffers. not usable yet
2011-12-04 23:21:31 +01:00
Max-Wilhelm Bruker
898623f1ba
filter running games; minor server code cleanup
2011-07-03 16:45:52 +02:00
Max-Wilhelm Bruker
8e0f7dcf03
Merge branch 'master' of ../bla
2011-03-29 23:09:40 +02:00
Max-Wilhelm Bruker
2f98abe892
fixFreeSpaces fixed
2011-03-29 23:04:48 +02:00
Max-Wilhelm Bruker
81a5d58d70
more mutexes
2011-03-22 19:37:56 +01:00
Max-Wilhelm Bruker
ce80d29f50
improved cipt handling, initial p/t for cards
2011-02-16 20:05:03 +01:00
Max-Wilhelm Bruker
b702a12428
server fixFreeSpaces fix
2011-01-26 03:31:54 +01:00
Max-Wilhelm Bruker
92e842bb74
fixed direct chat, fixed in-game attachment bugs
2011-01-25 00:12:35 +01:00
Max-Wilhelm Bruker
9c527fb5aa
Click to hide revealed cards; MultiMove function
2011-01-15 21:39:24 +01:00
Max-Wilhelm Bruker
5544de3213
minor fixes; added round clock
2011-01-08 14:22:41 +01:00
Max-Wilhelm Bruker
feb1dac1e1
attach arrow bug fix, improved stacking
2010-12-16 00:42:46 +01:00
Max-Wilhelm Bruker
f4962d021e
experimental card stacking
2010-12-14 19:26:40 +01:00
Max-Wilhelm Bruker
62a9003d3e
server has to assign free table space for a new card so that there is no race condition
2010-06-18 19:57:06 +02:00
Max-Wilhelm Bruker
1c2aa15b22
boom
2009-10-29 17:13:37 +01:00