You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michele Calgaro
bc3c69592f
|
7 months ago | |
---|---|---|
.. | ||
dialogs | 7 months ago | |
CMakeLists.txt | 9 years ago | |
COMPAT | 10 months ago | |
DESIGN | 11 months ago | |
Makefile.am | 4 years ago | |
README.LIB | 13 years ago | |
TODO | 12 years ago | |
kgame.cpp | 11 months ago | |
kgame.h | 7 months ago | |
kgamechat.cpp | 11 months ago | |
kgamechat.h | 7 months ago | |
kgameerror.cpp | 12 years ago | |
kgameerror.h | 13 years ago | |
kgameio.cpp | 11 months ago | |
kgameio.h | 7 months ago | |
kgamemessage.cpp | 12 years ago | |
kgamemessage.h | 7 months ago | |
kgamenetwork.cpp | 11 months ago | |
kgamenetwork.h | 7 months ago | |
kgameprocess.cpp | 11 months ago | |
kgameprocess.h | 7 months ago | |
kgameproperty.cpp | 13 years ago | |
kgameproperty.h | 7 months ago | |
kgamepropertyarray.h | 13 years ago | |
kgamepropertyhandler.cpp | 11 months ago | |
kgamepropertyhandler.h | 7 months ago | |
kgamepropertylist.h | 13 years ago | |
kgamesequence.cpp | 4 years ago | |
kgamesequence.h | 1 year ago | |
kgameversion.h | 13 years ago | |
kmessageclient.cpp | 11 months ago | |
kmessageclient.h | 11 months ago | |
kmessageio.cpp | 11 months ago | |
kmessageio.h | 1 year ago | |
kmessageserver.cpp | 11 months ago | |
kmessageserver.h | 1 year ago | |
kmessageserver.png | 8 years ago | |
kplayer.cpp | 11 months ago | |
kplayer.h | 7 months ago | |
libtdegames.html | 2 years ago | |
messages.txt | 1 year ago | |
scenario0.png | 8 years ago | |
scenario1.png | 8 years ago | |
scenario2.png | 8 years ago |
README.LIB
some thoughts and comments about the lib - usually for KGame hackers - setMin/MaxPlayers() etc. use KGameProperty::changeValue() which is slightly unclean but as these functions can only called by the ADMIN it doesn't matter. - AB: KGamePropertyList && KGamePropertyArray: for PolicyClean||PolicyDirty the values are streamed into a QDataStream as usual for PolicyDirty||PolicyLocal the values are streamed as well but additionally command() is called immediately. The values are read from the stream there. This is some kind of performance loss as it would be faster *not* to stream it but imediately call e.g. insert(). But it will probably save a *lot* of bugs!