summaryrefslogtreecommitdiffstats
path: root/libtdegames/kgame/README.LIB
diff options
context:
space:
mode:
Diffstat (limited to 'libtdegames/kgame/README.LIB')
-rw-r--r--libtdegames/kgame/README.LIB12
1 files changed, 12 insertions, 0 deletions
diff --git a/libtdegames/kgame/README.LIB b/libtdegames/kgame/README.LIB
new file mode 100644
index 00000000..512edbac
--- /dev/null
+++ b/libtdegames/kgame/README.LIB
@@ -0,0 +1,12 @@
+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!
+