Changeset 3227 for code/branches/netp6/src/network/synchronisable
- Timestamp:
- Jun 23, 2009, 8:53:51 PM (16 years ago)
- Location:
- code/branches/netp6/src/network/synchronisable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp6/src/network/synchronisable/Synchronisable.h
r3214 r3227 43 43 #include "NetworkCallback.h" 44 44 45 /*#define REGISTERDATA(varname, ...) \46 registerVariable((void*)&varname, sizeof(varname), DATA, __VA_ARGS__)47 #define REGISTERSTRING(stringname, ...) \48 registerVariable(&stringname, stringname.length()+1, STRING, __VA_ARGS__)*/49 45 50 46 namespace orxonox -
code/branches/netp6/src/network/synchronisable/SynchronisableSpecialisations.cc
r3214 r3227 73 73 registerVariable(variable.y, mode, cb, bidirectional); 74 74 } 75 // template <> void Synchronisable::registerVariable( Vector2& variable, uint8_t mode, NetworkCallbackBase* cb, bool bidirectional)76 // {77 // registerVariable( (const ColourValue&)variable, mode, cb, bidirectional);78 // }79 75 80 76 template <> void Synchronisable::registerVariable( const Vector3& variable, uint8_t mode, NetworkCallbackBase* cb, bool bidirectional)
Note: See TracChangeset
for help on using the changeset viewer.