Holding Nuts - open source poker game client and server texas hold em

Forum

You are not logged in.

Announcement

The forum is now configured for sending mails. So you can subscribe to topics and get informed via mail.

#1 2010-02-01 00:11:34

Winngy
Member
Registered: 2010-02-01
Posts: 5

anti-aliasing

Any way to disable this client side ?

Offline

 

#2 2010-02-01 08:26:09

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 108
Website

Re: anti-aliasing

There is no configurable option in the client to disable anti-aliasing. However, one could adjust this in the sources manually. It's the call to

Code:

setTransformationMode(Qt::SmoothTransformation);

Why do you need it turned off?

Offline

 

#3 2010-02-01 10:48:09

Winngy
Member
Registered: 2010-02-01
Posts: 5

Re: anti-aliasing

Because I come from here

http://www.maxinmontreal.com/forums/index.php

and "fuzzy" fonts are a PITA smile

Offline

 

#4 2010-02-01 12:24:21

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 108
Website

Re: anti-aliasing

Winngy wrote:

Because I come from here

http://www.maxinmontreal.com/forums/index.php

I don't get it. Do you mean a specific thread? I cannot search the forum without being logged in.

Winngy wrote:

and "fuzzy" fonts are a PITA smile

If anti-aliasing is completely turned off, the fonts will look kinda ugly. This has to do with the way the font is "painted" and when the window with its whole content is resized. There could be an optional config-var which turns this behaviour off.

Offline

 

#5 2010-02-01 13:05:26

Winngy
Member
Registered: 2010-02-01
Posts: 5

Re: anti-aliasing

Sorry , I forgot about the need to register on the forum , more info below.

http://code.google.com/p/openholdembot/

Im not sure on your feelings on "bots" but I see your traffic is very low on your server , we may be able to assist one another in the debug processes , we test our platform on your server (or a private server) providing feedback to yourselves.

SNG is fine for my purposes atm but cash games would be nice also.

"If anti-aliasing is completely turned off, the fonts will look kinda ugly. This has to do with the way the font is "painted" and when the window with its whole content is resized. There could be an optional config-var which turns this behaviour off."

Ideally a window size of 640 x 480 with plain fonts for names , balances , bets, pots etc would suit. Custom skins or xml stylesheets would be perfect.

Offline

 

#6 2010-02-01 13:44:03

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 108
Website

Re: anti-aliasing

Winngy wrote:

Sorry , I forgot about the need to register on the forum , more info below.

http://code.google.com/p/openholdembot/

Im not sure on your feelings on "bots" but I see your traffic is very low on your server , we may be able to assist one another in the debug processes , we test our platform on your server (or a private server) providing feedback to yourselves.

Ok, now that all makes sense to me smile

Interesting project, I'm gonna have a look at the sources. And no, I've got no problems with bots. But they really shouldn't be tested on the public server (even though the server traffic is low at the moment). So a private server would be best. Looking forward to your results/feedback!

Winngy wrote:

SNG is fine for my purposes atm but cash games would be nice also.

Different gamemodes would be great, yes. There wasn't a need for it till now as cash games without an accounting-system don't make much sense. You might implement it yourself, as I currently don't have time for it.

Winngy wrote:

Ideally a window size of 640 x 480 with plain fonts for names , balances , bets, pots etc would suit. Custom skins or xml stylesheets would be perfect.

This one is on our wishlist, too. Unfortunately this wasn't taken into account when the client was designed. So there's some refactoring needed.

Offline

 

#7 2010-02-03 20:21:31

Winngy
Member
Registered: 2010-02-01
Posts: 5

Re: anti-aliasing

I am trying to build using this method
_______________________________________________________________
When building with MinGW
â– Download and install MinGW (you may use the Automated MinGW Installer)
â– You need at least 'MinGW base tools', 'g++' and 'MinGW Make'
â– It's best to have the MinGW-executables in the Environment-Path
â– right-click on 'My Computer' and choose 'Properties'. In the box that opens, click the 'Advanced' tab. Next, click the button 'Environment Variables'. Add the full path to the MinGW executable directory 'bin' to the PATH variable.
These steps are needed for both variants (MingGW and Visual Studio)
â– Download and install CMake
■Set CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH environment variables to the includes and libraries of 3rd party libs (SDL, SQLite, …)
â– Run the CMake-GUI
â– select for 'Where is the source code' the base directory of the sources (e.g. C:\holdingnuts\trunk, not \src)
â– select for 'Where to build the binaries' any directory you want to have the binaries generated (e.g. C:\holdingnuts\build)
â– click on 'Configure' in order to create the CMake cache files.
â– Select the 'MinGW Makefiles' respectively 'Visual Studio 9 2008' (adjust your version) build-system.
â– check the configure-values. If a tool is not found, specify its path (e.g. windres.exe, qmake.exe)
â– confirm the configure-values by clicking on 'Configure' again. The Makefiles respectively the project-files are now generated.
When building with MinGW
â– open a console (run cmd.exe) and change into the generated build-directory
â– run mingw32-make
_______________________________________________________________

But I get the following errors , Any idea ?





Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd desktop

C:\Documents and Settings\Administrator\Desktop>cd hnbuild

C:\Documents and Settings\Administrator\Desktop\HNbuild>mingw32-make
Scanning dependencies of target Poker
[  1%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/GameDebug.cpp.obj
[  2%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/Card.cpp.obj
[  4%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/Deck.cpp.obj
[  5%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/HoleCards.cpp.obj
[  6%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/CommunityCards.cpp.
obj
[  8%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/GameLogic.cpp.obj
[  9%] Building CXX object src/libpoker/CMakeFiles/Poker.dir/Player.cpp.obj
Linking CXX static library libPoker.a
[  9%] Built target Poker
Scanning dependencies of target Network
[ 10%] Building C object src/system/CMakeFiles/Network.dir/Network.c.obj
Linking C static library libNetwork.a
[ 10%] Built target Network
Scanning dependencies of target SysAccess
[ 12%] Building C object src/system/CMakeFiles/SysAccess.dir/SysAccess.c.obj
Linking C static library libSysAccess.a
[ 12%] Built target SysAccess
Scanning dependencies of target System
[ 13%] Building CXX object src/system/CMakeFiles/System.dir/Tokenizer.cpp.obj
[ 15%] Building CXX object src/system/CMakeFiles/System.dir/ConfigParser.cpp.obj

[ 16%] Building C object src/system/CMakeFiles/System.dir/Logger.c.obj
Linking CXX static library libSystem.a
[ 16%] Built target System
[ 17%] Generating qrc_pclient.cxx
[ 19%] Generating pclient_res.obj
gcc: and\: No such file or directory
gcc: Settings/Administrator/Desktop/HNsrc/src/client: No such file or directory
C:\Qt\2010.01\mingw\bin\windres.exe: preprocessing failed.
mingw32-make[2]: *** [src/client/pclient_res.obj] Error 1
mingw32-make[1]: *** [src/client/CMakeFiles/holdingnuts.dir/all] Error 2
mingw32-make: *** [all] Error 2

C:\Documents and Settings\Administrator\Desktop\HNbuild>

Last edited by Winngy (2010-02-03 20:22:50)

Offline

 

#8 2010-02-03 21:10:52

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 108
Website

Re: anti-aliasing

Winngy wrote:

I am trying to build using this method
...
[ 19%] Generating pclient_res.obj
gcc: and\: No such file or directory
gcc: Settings/Administrator/Desktop/HNsrc/src/client: No such file or directory
C:\Qt\2010.01\mingw\bin\windres.exe: preprocessing failed.
mingw32-make[2]: *** [src/client/pclient_res.obj] Error 1
mingw32-make[1]: *** [src/client/CMakeFiles/holdingnuts.dir/all] Error 2
mingw32-make: *** [all] Error 2

C:\Documents and Settings\Administrator\Desktop\HNbuild>

Avoid space-characters in your build path. Our CMakeLists don't work with spaces in it.
http://www.holdingnuts.net/forum/viewto … pid=39#p39

Offline

 

#9 2010-02-03 22:28:42

Winngy
Member
Registered: 2010-02-01
Posts: 5

Re: anti-aliasing

Arrgh I give up !

Any chance you could build me a client with this turned off

winngylab1@hotmail.com

.rar is fine



datag wrote:

There is no configurable option in the client to disable anti-aliasing. However, one could adjust this in the sources manually. It's the call to

Code:

setTransformationMode(Qt::SmoothTransformation);

Why do you need it turned off?

Offline

 

#10 2010-02-05 22:23:51

datag
Developer
From: Germany/Bavaria
Registered: 2009-03-22
Posts: 108
Website

Re: anti-aliasing

Winngy wrote:

Arrgh I give up !

Any chance you could build me a client with this turned off

winngylab1@hotmail.com

.rar is fine

You've got mail.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB

Valid XHTML 1.0 Transitional