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.
Alexander Golubev
22eaaf4699
|
9 years ago | |
---|---|---|
.. | ||
dialogs | 9 years ago | |
CMakeLists.txt | 9 years ago | |
COMPAT | 13 years ago | |
DESIGN | 13 years ago | |
Makefile.am | 13 years ago | |
README.LIB | 13 years ago | |
TODO | 12 years ago | |
kgame.cpp | 12 years ago | |
kgame.h | 13 years ago | |
kgamechat.cpp | 12 years ago | |
kgamechat.h | 13 years ago | |
kgameerror.cpp | 12 years ago | |
kgameerror.h | 13 years ago | |
kgameio.cpp | 13 years ago | |
kgameio.h | 12 years ago | |
kgamemessage.cpp | 12 years ago | |
kgamemessage.h | 13 years ago | |
kgamenetwork.cpp | 11 years ago | |
kgamenetwork.h | 13 years ago | |
kgameprocess.cpp | 13 years ago | |
kgameprocess.h | 12 years ago | |
kgameproperty.cpp | 13 years ago | |
kgameproperty.h | 13 years ago | |
kgamepropertyarray.h | 13 years ago | |
kgamepropertyhandler.cpp | 12 years ago | |
kgamepropertyhandler.h | 13 years ago | |
kgamepropertylist.h | 13 years ago | |
kgamesequence.cpp | 13 years ago | |
kgamesequence.h | 13 years ago | |
kgameversion.h | 13 years ago | |
kmessageclient.cpp | 11 years ago | |
kmessageclient.h | 13 years ago | |
kmessageio.cpp | 12 years ago | |
kmessageio.h | 12 years ago | |
kmessageserver.cpp | 11 years ago | |
kmessageserver.h | 11 years ago | |
kmessageserver.png | 13 years ago | |
kplayer.cpp | 12 years ago | |
kplayer.h | 13 years ago | |
libtdegames.html | 13 years ago | |
messages.txt | 13 years ago | |
scenario0.png | 13 years ago | |
scenario1.png | 13 years ago | |
scenario2.png | 13 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!