ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.154 by root, Wed Apr 9 14:36:47 2008 UTC vs.
Revision 1.155 by root, Thu Apr 10 15:35:16 2008 UTC

88 88
89struct UUID 89struct UUID
90{ 90{
91 uint64 seq; 91 uint64 seq;
92 92
93 static UUID cur; // last uuid generated
94 static void init ();
95 static UUID gen ();
96
93 UUID () { } 97 UUID () { }
94 UUID (uint64 seq) : seq(seq) { } 98 UUID (uint64 seq) : seq(seq) { }
95 operator uint64() { return seq; } 99 operator uint64() { return seq; }
96 void operator =(uint64 seq) { this->seq = seq; } 100 void operator =(uint64 seq) { this->seq = seq; }
97}; 101};
98
99extern void init_uuid ();
100extern UUID gen_uuid ();
101extern const uint64 UUID_SKIP;
102 102
103/* Definition for WILL_APPLY values. Replaces having harcoded values 103/* Definition for WILL_APPLY values. Replaces having harcoded values
104 * sprinkled in the code. Note that some of these also replace fields 104 * sprinkled in the code. Note that some of these also replace fields
105 * that were in the can_apply area. What is the point of having both 105 * that were in the can_apply area. What is the point of having both
106 * can_apply and will_apply? 106 * can_apply and will_apply?

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines