- Timestamp:
- Dec 23, 2008, 11:09:55 PM (15 years ago)
- Location:
- code/branches/bugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bugger
- Property svn:mergeinfo changed
/code/branches/network (added) merged: 2356 /code/branches/network64 (added) merged: 2210-2211,2245-2247,2255,2307,2309-2312,2316,2355
- Property svn:mergeinfo changed
-
code/branches/bugger/src/orxonox/objects/worldentities/Light.cc
r2447 r2531 103 103 void Light::registerVariables() 104 104 { 105 REGISTERDATA(this->type_, direction::toclient, new NetworkCallback<Light>(this, &Light::updateType));106 REGISTERDATA(this->diffuse_, direction::toclient, new NetworkCallback<Light>(this, &Light::updateDiffuseColour));107 REGISTERDATA(this->specular_, direction::toclient, new NetworkCallback<Light>(this, &Light::updateSpecularColour));108 REGISTERDATA(this->attenuation_, direction::toclient, new NetworkCallback<Light>(this, &Light::updateAttenuation));109 REGISTERDATA(this->spotlightRange_, direction::toclient, new NetworkCallback<Light>(this, &Light::updateSpotlightRange));105 registerVariable((int &)this->type_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::updateType)); 106 registerVariable(this->diffuse_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::updateDiffuseColour)); 107 registerVariable(this->specular_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::updateSpecularColour)); 108 registerVariable(this->attenuation_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::updateAttenuation)); 109 registerVariable(this->spotlightRange_, variableDirection::toclient, new NetworkCallback<Light>(this, &Light::updateSpotlightRange)); 110 110 } 111 111
Note: See TracChangeset
for help on using the changeset viewer.