@@ -144,7 +144,7 @@ namespace RE
144144 {
145145 using func_t = decltype (&Renderer::MainScreen_AddPointLight);
146146 static REL::Relocation<func_t > func{ ID::Interface3D::MainScreen_AddPointLight };
147- return func (this , a_translation, a_diffuse, a_radius, a_dimmerVal);
147+ func (this , a_translation, a_diffuse, a_radius, a_dimmerVal);
148148 }
149149
150150 void MainScreen_AddSpotLight (
@@ -159,14 +159,14 @@ namespace RE
159159 {
160160 using func_t = decltype (&Renderer::MainScreen_AddSpotLight);
161161 static REL::Relocation<func_t > func{ ID::Interface3D::MainScreen_AddSpotLight };
162- return func (this , a_translation, a_lookAtPosition, a_lookAtObject, a_fov, a_diffuse, a_radius, a_dimmerVal, a_castShadows);
162+ func (this , a_translation, a_lookAtPosition, a_lookAtObject, a_fov, a_diffuse, a_radius, a_dimmerVal, a_castShadows);
163163 }
164164
165165 void MainScreen_ClearLights ()
166166 {
167167 using func_t = decltype (&Renderer::MainScreen_ClearLights);
168168 static REL::Relocation<func_t > func{ ID::Interface3D::MainScreen_ClearLights };
169- return func (this );
169+ func (this );
170170 }
171171
172172 void MainScreen_EnableAO (bool a_value)
@@ -222,7 +222,7 @@ namespace RE
222222 {
223223 using func_t = decltype (&Renderer::MainScreen_SetScreenAttached3D);
224224 static REL::Relocation<func_t > func{ ID::Interface3D::MainScreen_SetScreenAttached3D };
225- return func (this , a_root3D);
225+ func (this , a_root3D);
226226 }
227227
228228 void MainScreen_SetUseDeferredRenderer (bool a_value)
@@ -234,7 +234,7 @@ namespace RE
234234 {
235235 using func_t = decltype (&Renderer::MainScreen_SetWorldAttached3D);
236236 static REL::Relocation<func_t > func{ ID::Interface3D::MainScreen_SetWorldAttached3D };
237- return func (this , a_root3D);
237+ func (this , a_root3D);
238238 }
239239
240240 void MainScreen_SetWorldAttachedMenuIntensity (float a_diffuse, float a_emit)
@@ -256,21 +256,21 @@ namespace RE
256256 {
257257 using func_t = decltype (&Renderer::Offscreen_AddLight);
258258 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_AddLight };
259- return func (this , a_translation, a_diffuse, a_specular, a_dimmerVal);
259+ func (this , a_translation, a_diffuse, a_specular, a_dimmerVal);
260260 }
261261
262262 void Offscreen_Clear3D ()
263263 {
264264 using func_t = decltype (&Renderer::Offscreen_Clear3D);
265265 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_Clear3D };
266- return func (this );
266+ func (this );
267267 }
268268
269269 void Offscreen_ClearLights ()
270270 {
271271 using func_t = decltype (&Renderer::Offscreen_ClearLights);
272272 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_ClearLights };
273- return func (this );
273+ func (this );
274274 }
275275
276276 void Offscreen_Enable3D (bool a_value)
@@ -296,7 +296,7 @@ namespace RE
296296 {
297297 using func_t = decltype (&Renderer::Offscreen_Set3D);
298298 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_Set3D };
299- return func (this , a_3D);
299+ func (this , a_3D);
300300 }
301301
302302 void Offscreen_SetBackgroundColor (const NiColorA& a_color)
@@ -318,7 +318,7 @@ namespace RE
318318 {
319319 using func_t = decltype (&Renderer::Offscreen_SetDebugMode);
320320 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_SetDebugMode };
321- return func (this , a_on, a_small, a_target);
321+ func (this , a_on, a_small, a_target);
322322 }
323323
324324 void Offscreen_SetDirectionalLight (
@@ -329,7 +329,7 @@ namespace RE
329329 {
330330 using func_t = decltype (&Renderer::Offscreen_SetDirectionalLight);
331331 static REL::Relocation<func_t > func{ ID::Interface3D::Offscreen_SetDirectionalLight };
332- return func (this , a_xyPlaneAngle, a_zAngle, a_diffuse, a_dimmerVal);
332+ func (this , a_xyPlaneAngle, a_zAngle, a_diffuse, a_dimmerVal);
333333 }
334334
335335 void Offscreen_SetDisplayMode (
@@ -361,35 +361,35 @@ namespace RE
361361 {
362362 using func_t = decltype (&Renderer::Enable);
363363 static REL::Relocation<func_t > func{ ID::Interface3D::Enable };
364- return func (this , a_unhideGeometries);
364+ func (this , a_unhideGeometries);
365365 }
366366
367367 void Disable ()
368368 {
369369 using func_t = decltype (&Renderer::Disable);
370370 static REL::Relocation<func_t > func{ ID::Interface3D::Disable };
371- return func (this );
371+ func (this );
372372 }
373373
374374 static void DisableAll (bool a_disableAll)
375375 {
376376 using func_t = decltype (&Renderer::DisableAll);
377377 static REL::Relocation<func_t > func{ ID::Interface3D::DisableAll };
378- return func (a_disableAll);
378+ func (a_disableAll);
379379 }
380380
381381 void Release ()
382382 {
383383 using func_t = decltype (&Renderer::Release);
384384 static REL::Relocation<func_t > func{ ID::Interface3D::Release };
385- return func (this );
385+ func (this );
386386 }
387387
388388 void SetViewport (Scaleform::GFx::Movie& a_ui, const NiRect<float >& a_renderArea)
389389 {
390390 using func_t = decltype (&Renderer::SetViewport);
391391 static REL::Relocation<func_t > func{ ID::Interface3D::SetViewport };
392- return func (this , a_ui, a_renderArea);
392+ func (this , a_ui, a_renderArea);
393393 }
394394
395395 // members
0 commit comments