[Opentnl-cvs] tnl/tnl tnlRPC.h,1.1,1.2
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <mar...@us...> - 2004-04-21 22:41:27
|
Update of /cvsroot/opentnl/tnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32291/tnl Modified Files: tnlRPC.h Log Message: Added scoreboard render call for game type Added client to server scoreboard update request Added CTF custom scoreboard rendering Added duplicate name checking on connect with .N appended for dupes Added -level command line argument for level loading Index: tnlRPC.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlRPC.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tnlRPC.h 20 Apr 2004 04:27:19 -0000 1.1 --- tnlRPC.h 21 Apr 2004 22:40:39 -0000 1.2 *************** *** 143,148 **** { U32 value; ! Int(U32 val) { value = val; } ! operator U32() { return value; } U32 getPrecisionBits() { return bitCount; } }; --- 143,148 ---- { U32 value; ! Int(U32 val=0) { value = val; } ! operator U32() const { return value; } U32 getPrecisionBits() { return bitCount; } }; *************** *** 155,160 **** { S32 value; ! SignedInt(S32 val) { value = val; } ! operator S32() { return value; } U32 getPrecisionBits() { return bitCount; } }; --- 155,160 ---- { S32 value; ! SignedInt(S32 val=0) { value = val; } ! operator S32() const { return value; } U32 getPrecisionBits() { return bitCount; } }; *************** *** 167,172 **** { F32 value; ! Float(F32 val) { value = val; } ! operator F32() { return value; } U32 getPrecisionBits() { return bitCount; } }; --- 167,172 ---- { F32 value; ! Float(F32 val=0) { value = val; } ! operator F32() const { return value; } U32 getPrecisionBits() { return bitCount; } }; *************** *** 179,184 **** { F32 value; ! SignedFloat(F32 val) { value = val; } ! operator F32() { return value; } U32 getPrecisionBits() { return bitCount; } }; --- 179,184 ---- { F32 value; ! SignedFloat(F32 val=0) { value = val; } ! operator F32() const { return value; } U32 getPrecisionBits() { return bitCount; } }; *************** *** 191,196 **** { U32 value; ! RangedU32(U32 val) { TNLAssert(value >= rangeStart && value <= rangeEnd, "Out of range value!"); value = val; } ! operator U32() { return value; } }; --- 191,196 ---- { U32 value; ! RangedU32(U32 val=rangeStart) { TNLAssert(value >= rangeStart && value <= rangeEnd, "Out of range value!"); value = val; } ! operator U32() const { return value; } }; |