@@ -324,6 +324,7 @@ static void export_engine_server(scope _server)
324
324
args (" client_index" , " name" )
325
325
)
326
326
327
+ #if !defined(ENGINE_BLADE)
327
328
.def (" reset_pvs" ,
328
329
&IVEngineServer::ResetPVS,
329
330
" Resets the potentially visible set. pvssize is the size in bytes of the buffer pointed to by pvs." ,
@@ -335,6 +336,7 @@ static void export_engine_server(scope _server)
335
336
" Merge the pvs bits into the current accumulated pvs based on the specified origin." ,
336
337
args (" origin" )
337
338
)
339
+ #endif
338
340
339
341
.def (" set_area_portal_state" ,
340
342
&IVEngineServer::SetAreaPortalState,
@@ -353,24 +355,28 @@ static void export_engine_server(scope _server)
353
355
" Given a node number and the specified PVS, return with the node is in the PVS." ,
354
356
args (" nodenum" , " pvs" , " vissize" )
355
357
)
356
-
358
+
359
+ #if !defined(ENGINE_BLADE)
357
360
.def (" check_areas_connected" ,
358
361
&IVEngineServer::CheckAreasConnected,
359
362
" Using area bits, check whether area 1 flows into area 2 and vice versa (depends on portal state)" ,
360
363
args (" area1" , " area2" )
361
364
)
365
+ #endif
362
366
363
367
.def (" get_area" ,
364
368
&IVEngineServer::GetArea,
365
369
" Given an origin, determine which area index the origin is within." ,
366
370
args (" origin" )
367
371
)
368
-
372
+
373
+ #if !defined(ENGINE_BLADE)
369
374
.def (" get_area_bits" ,
370
375
&IVEngineServer::GetAreaBits,
371
376
" Get area portal bit set." ,
372
377
args (" area" , " bits" , " buflen" )
373
378
)
379
+ #endif
374
380
375
381
.def (" get_area_portal_plane" ,
376
382
&IVEngineServer::GetAreaPortalPlane,
@@ -483,12 +489,13 @@ static void export_engine_server(scope _server)
483
489
" Marks the material (vmt file) for consistency checking." ,
484
490
args (" s" )
485
491
)
486
-
492
+ # if !defined(ENGINE_BLADE)
487
493
.def (" set_area_portal_states" ,
488
494
&IVEngineServer::SetAreaPortalStates,
489
495
" Mark some area portals as open/closed." ,
490
496
args (" portal_numbers" , " is_open" , " portals" )
491
497
)
498
+ #endif
492
499
493
500
.def (" notify_edict_flags_change" ,
494
501
&IVEngineServer::NotifyEdictFlagsChange,
0 commit comments